Make common nextdown implementation generic.
[glibc.git] / ChangeLog
blob1fa70e57a0d1d3a5e031847385ba7a1beda8dfbc
1 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4         (libm-calls): Remove above.
6         * math/s_nextdown.c: Refactor into ...
7         * math/s_nextdown_template.c: New file.
8         * math/s_nextdownf.c: Removed.
9         * math/s_nextdownl.c: Removed.
11         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15         * math/Makefile (gen-libm-calls): Add s_fdim.
16         (libm-calls): Move to above.
18         * math/s_fdim.c: Renamed and refactored into to ...
19         * math/s_fdim_template.c: New file.
20         * math/s_fdiml.c: Removed.
21         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
22         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
24         * sysdeps/generic/math-type-macros-double.h:
25         (declare_mgen_alias): Don't declare if already declared.
26         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
27         Likewise.
29         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
30         (declare_mgen_alias): Don't declare if already declared.
31         (M_LIBM_NEED_COMPAT): Likewise.
32         (declare_mgen_libm_compat): Likewise.
33         (LDOUBLE_fdiml_libm_version): New macro.
35         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
36         Include math/s_fdim.c now that ldbl-opt version is not needed.
37         (declare_mgen_alias): New macro to disable aliasing.
39         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
40         (declare_mgen_alias): Likewise.
41         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
42         (declare_mgen_alias): Likewise.
43         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
44         (declare_mgen_alias): Likewise.
45         (M_LIBM_NEED_COMPAT): Likewise.
47 2016-09-01  Florian Weimer  <fweimer@redhat.com>
49         [BZ #20525]
50         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
51         Include <linux/quota.h>.
52         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
53         and btodb.
54         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
55         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
56         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
57         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
58         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
59         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
60         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
61         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
62         types.
63         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
64         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
66 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
68         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
69         (gammal_positive): Fix spacing.
70         (__ieee754_gammal_r): Likewise.
72 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
74         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
75         (_Float128): Define as long double, always.
76         (L): Apply long double type suffix, always.
78         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
79         _Float128, excepting comments.
81         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
86         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
91         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
92         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
93         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
94         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
95         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
96         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
97         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
98         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
99         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
100         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
101         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
102         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
103         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
104         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
105         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
106         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
107         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
108         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
109         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
110         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
111         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
112         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
113         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
114         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
115         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
116         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
117         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
118         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
119         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
120         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
121         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
122         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
123         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
124         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
125         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
126         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
127         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
128         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
129         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
130         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
131         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
132         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
133         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
134         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
135         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
136         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
137         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
138         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
139         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
140         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
141         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
142         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
143         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
144         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
145         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
146         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
147         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
148         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
150         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
151         _Float128, and include math_private.h.
152         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
154         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
155         long double semantics.
156         (_Float128): Likewise.
157         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
158         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
159         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
160         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
162 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
164         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
165         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
166         * sysdeps/s390/configure: Regenerated.
167         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
168         instruction for raising over-/underflow if z196 zarch is supported
169         by default.
170         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
172 2016-08-30  Svante Signell  <svante.signell@gmail.com>
174         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
175         it point to a dumb buffer for RPC to fill it.
177 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
179         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
180         instead of if/else.
181         (do_sin_slow): Likewise.
182         (do_sincos_1): Use fabs instead of if/else.
183         (do_sincos_2): Likewise.
184         (__sin): Likewise.
185         (__cos): Likewise.
186         (slow2): Likewise.
187         (sloww): Likewise.
188         (sloww1): Likewise.  Drop argument M.
189         (sloww2): Use fabs instead of if/else.
190         (bsloww): Likewise.
191         (bsloww1): Likewise.
192         (bsloww2): Likewise.
194         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
195         fall through comment.
196         (do_sincos_1): Likewise.
198         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
199         Consolidate switch cases 0 and 2.
201 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
203         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
204         (libm-calls): Remove the above.
206         * math/s_cexp_template.c: Update using type-generic macros.
207         * math/s_clog10_template.c: Likewise.
208         * math/s_cpow_template.c: Likewise.
209         * math/s_clog_template.c: Likewise.
210         * math/s_cproj_template.c: Likewise.
211         * math/s_csqrt_template.c: Likewise.
213         * math/s_cexp.c: Removed.
214         * math/s_cexpf.c: Removed.
215         * math/s_cexpl.c: Removed.
216         * math/s_clog10.c: Removed.
217         * math/s_clog10f.c: Removed.
218         * math/s_clog10l.c: Removed.
219         * math/s_cpow.c: Removed.
220         * math/s_cpowf.c: Removed.
221         * math/s_cpowl.c: Removed.
222         * math/s_clog.c: Removed.
223         * math/s_clogf.c: Removed.
224         * math/s_clogl.c: Removed.
225         * math/s_cproj.c: Removed.
226         * math/s_cprojf.c: Removed.
227         * math/s_cprojl.c: Removed.
228         * math/s_csqrt.c: Removed.
229         * math/s_csqrtf.c: Removed.
230         * math/s_csqrtl.c: Removed.
232         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
233         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
234         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
235         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
236         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
237         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
239         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
240         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
241         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
242         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
243         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
244         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
245         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
246         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
247         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
248         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
249         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
251         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
252         version.
254         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
255         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
256         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
257         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
259 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
261         * s_cexp_template.c: Copy of s_cexp.c.
262         * s_clog_template.c: Copy of s_clog.c.
263         * s_clog10_template.c: Copy of s_clog10.c.
264         * s_cpow_template.c: Copy of s_cpow.c.
265         * s_cproj_template.c: Copy of s_cproj.c.
266         * s_csqrt_template.c: Copy of s_csqrt.c.
268 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
270         [BZ #20517]
271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
272         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
273         exported.
275 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
277         * math/fetestexceptflag.c: New file.
278         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
279         Stefan Liebler.
280         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
281         (fetestexceptflag): New function declaration.
282         * manual/arith.texi (fetestexceptflag): Document function.
283         * math/Versions (fetestexceptflag): New libm symbol at version
284         GLIBC_2.25.
285         * math/Makefile (libm-support): Add fetestexceptflag.
286         (tests): Add test-fetestexceptflag.
287         * math/test-fetestexceptflag.c: New file.
288         * sysdeps/nacl/libm.abilist: Update.
289         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
302         Likewise.
303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
304         Likewise.
305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
306         Likewise.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
308         Likewise.
309         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
310         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
312         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
315         Likewise.
316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
317         Likewise.
318         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
319         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
320         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
322 2016-08-26  Florian Weimer  <fweimer@redhat.com>
324         [BZ #20432]
325         Avoid strong references to malloc-internal symbols when linking
326         statically, to support statically interposed mallocs.
327         * include/libc-symbols.h (call_function_static_weak): New macro.
328         * malloc/Makefile (tests): Add tst-interpose-nothread,
329         tst-interpose-thread, tst-interpose-static-nothread,
330         tst-interpose-static-thread.
331         (tests-static): Add tst-interpose-static-nothread,
332         tst-interpose-static-thread.
333         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
334         tst-interpose-aux-thread.o.
335         (test-extras): Add tst-interpose-aux-nothread,
336         tst-interpose-aux-thread.
337         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
338         tst-interpose-aux-nothread.o.
339         (tst-interpose-thread, tst-interpose-static-thread): Link with
340         tst-interpose-aux-thread.o and libthread.
341         * malloc/tst-interpose-aux-nothread.c: New file.
342         * malloc/tst-interpose-aux-thread.c: Likewise.
343         * malloc/tst-interpose-aux.c: Likewise.
344         * malloc/tst-interpose-aux.h: Likewise.
345         * malloc/tst-interpose-nothread.c: Likewise.
346         * malloc/tst-interpose-skeleton.c: Likewise.
347         * malloc/tst-interpose-static-nothread.c: Likewise.
348         * malloc/tst-interpose-static-thread.c: Likewise.
349         * malloc/tst-interpose-thread.c: Likewise.
350         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
351         * sysdeps/mach/hurd/fork.c (__fork): Only call
352         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
353         __malloc_fork_unlock_child if defined.
354         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
356 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
358         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
359         timespec C99 designated initialization.
361 2016-08-26  Florian Weimer  <fweimer@redhat.com>
363         [BZ #19946]
364         Avoid expected SIGALRM signals.
365         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
366         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
367         (xpthread_create, xpthread_detach, xpthread_join)
368         (delayed_exit_thread, delayed_exit): New functions.
369         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
370         (tf): Use xpthread_cond_wait.
371         (do_test): Likewise.  Replace alarm with delayed_exit.
372         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
373         (do_test): Call delayed_exit.  Report failure.
374         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
375         (do_test): Call delayed_exit.
376         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
377         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
378         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
379         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
380         error.
381         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
382         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
383         error.
384         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
385         (do_test): Call delayed_exit.
386         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
387         (do_test): Call delayed_exit.
388         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
389         (do_test): Call delayed_exit instead of alarm.  Use
390         xpthread_mutex_lock.
391         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
392         (do_test): Call delayed_exit instead of alarm.  Use
393         xpthread_mutex_lock.
394         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
395         (do_test): Call delayed_exit instead of alarm.
396         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
397         (do_test): Call delayed_exit instead of alarm.  Use
398         xpthread_spin_lock.
399         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
400         (do_test): Call delayed_exit instead of alarm.  Use
401         xpthread_join.
403 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
405         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
406         adjust CFA when allocating register save area on re-aligned
407         stack.
409 2016-08-26  Florian Weimer  <fweimer@redhat.com>
411         * string/tst-cmp.c: New test.
412         * string/Makefile (tests): Add it.
414 2016-08-25  Mark Wielaard  <mark@klomp.org>
416         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
417         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
418         (check_tree_recurse): Use newly defined accessors.
419         (check_tree): Likewise.
420         (maybe_split_for_insert): Likewise.
421         (__tfind): Likewise.
422         (__tdelete): Likewise.
423         (trecurse): Likewise.
424         (tdestroy_recurse): Likewise.
425         (__tsearch): Likewise. And add asserts for malloc alignment.
426         (__twalk): Cast root to node in case CHECK_TREE is defined.
428 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
430         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
432 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
434         * math/Makefile (libm-gen-calls): Add
435         catan, catanh, ctan, ctanh.
436         (libm-calls): Remove the above.
438         * math/s_catan_template.c: Update using type-generic macros.
439         * math/s_catanh_template.c: Likewise.
440         * math/s_ctan_template.c: Likewise.
441         * math/s_ctanh_template.c: Likewise.
443         * math/s_catanf.c: Removed.
444         * math/s_catan.c: Removed.
445         * math/s_catanl.c: Removed.
446         * math/s_catanhf.c: Removed.
447         * math/s_catanh.c: Removed.
448         * math/s_catanhl.c: Removed.
449         * math/s_ctanf.c: Removed.
450         * math/s_ctan.c: Removed.
451         * math/s_ctanl.c: Removed.
452         * math/s_ctanhf.c: Removed.
453         * math/s_ctanh.c: Removed.
454         * math/s_ctanhl.c: Removed.
456         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
457         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
458         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
459         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
460         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
461         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
463         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
464         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
465         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
466         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
468 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
470         * s_catan_template.c: Copy of s_catan.c.
471         * s_catanh_template.c: Copy of s_catanh.c.
472         * s_ctan_template.c: Copy of s_ctan.c.
473         * s_ctanh_template.c: Copy of s_ctanh.c.
475 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
477         * math/Makefile (gen-libm-calls): Move
478         casin, casinh, csin, csinh here.
479         (libm-calls): Remove the above.
481         * math/s_casin_template.c: Update using type-generic macros.
482         * math/s_casinh_template.c: Likewise.
483         * math/s_csin_template.c: Likewise.
484         * math/s_csinh_template.c: Likewise.
485         * math/k_casinh_template.c: Likewise.
487         * math/s_casinf.c: Removed.
488         * math/s_casin.c: Removed.
489         * math/s_casinl.c: Removed.
490         * math/s_casinh.c: Removed.
491         * math/s_casinhf.c: Removed.
492         * math/s_casinhl.c: Removed.
493         * math/s_csin.c: Removed.
494         * math/s_csinf.c: Removed.
495         * math/s_csinl.c: Removed.
496         * math/s_csinh.c: Removed.
497         * math/s_csinhf.c: Removed.
498         * math/s_csinhl.c: Removed.
499         * math/k_casinh.c: Removed.
500         * math/k_casinhf.c: Removed.
501         * math/k_casinhl.c: Removed.
503         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
504         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
505         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
506         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
508         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
509         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
510         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
511         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
512         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
513         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
514         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
515         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
517         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
518         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
519         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
520         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
522         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
523         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
524         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
525         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
527 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
529         * s_casin_template.c: Copy of s_casin.c.
530         * s_casinh_template.c: Copy of s_casinh.c.
531         * s_csin_template.c: Copy of s_csin.c.
532         * s_csinh_template.c: Copy of s_csinh.c.
533         * k_casinh_template.c: Copy of k_casinh.c.
535 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
537         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
539 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
541         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
542         (mul_split) Remove, rename as mul_splitl, remove
543         redundant float.h include, and include via mul_splitl.h
545         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
546         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
547         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
548         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
549         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
551         * math/mul_splitl.h: New file.
553         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
554         Move into mul_split.h, and remove redundant float.h include.
556         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
557         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
558         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
561         * math/mul_split.h: New file.
563 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
565         * math/Makefile (libm-gen-calls): Move
566         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
567         (libm-calls): Remove above.
569         * math/s_cacos_template.c: Update using type-generic macros.
570         * math/s_cacosh_template.c: Likewise.
571         * math/s_ccos_template.c: Likewise.
572         * math/s_ccosh_template.c: Likwise.
574         * math/s_cacosf.c: Removed.
575         * math/s_cacos.c: Removed.
576         * math/s_cacosl.c: Removed.
577         * math/s_cacoshf.c: Removed.
578         * math/s_cacosh.c: Removed.
579         * math/s_cacoshl.c: Removed.
580         * math/s_ccosf.c: Removed.
581         * math/s_ccos.c: Removed.
582         * math/s_ccosl.c: Removed.
583         * math/s_ccoshf.c: Removed.
584         * math/s_ccosh.c: Removed.
585         * math/s_ccoshl.c: Removed.
587         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
588         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
589         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
590         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
591         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
592         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
594         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
595         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
596         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
597         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
599         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
600         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
601         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
602         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
604 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
606         * s_cacos_template.c: Copy of s_cacos.c.
607         * s_cacosh_template.c: Copy of s_cacosh.c.
608         * s_ccos_template.c: Copy of s_ccos.c.
609         * s_ccosh_template.c: Copy of s_ccosh.c.
611 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
613         * stdlib/tst-strtod-round-skeleton.c:
614         Refactored from tst-strtod-round.c.
616         (L_): New macro to apply literal modifier.
617         (FNPFX): New macro to select str or wcs prefix.
618         (CHAR): New macro to choose wchar_t or char.
619         (STRM): New macro to choose printf for tested character type.
621         (STRTO): New macro to choose appropriate string -> real function.
622         (FNPFXS): Stringitized version of FNPFX.
623         (STR): Support for above macro.
624         (STRX): Likewise.
626         (TEST): Update with above macros.
627         (test): Likewise.
628         (GEN_ONE_TEST): Likewise.
629         (test_in_one_mode): Likewise.
631         * stdlib/tst-strtod-round.c: New file.
632         * wcsmbs/tst-wcstod-round.c: New file.
634         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
635         (tst-wcstod-round): Add libm depencency for fesetround.
637 2016-08-19  Zack Weinberg  <zackw@panix.com>
639         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
641 2016-08-18  Torvald Riegel  <triegel@redhat.com>
643         [BZ #20477]
644         * resolv/res_hconf.c (do_init): Use atomic access.
645         * resolv/res_hconf.h: Add comments.
646         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
647         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
650 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
652         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
653         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
654         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
655         Likewise.
657 2016-08-18  Florian Weimer  <fweimer@redhat.com>
659         [BZ #16907]
660         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
661         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
662         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
663         (__attribute__): Remove definition.
665 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
667         * sysdeps/ieee754/ldbl-128/e_asinl.c:
668         Remove unused sqrtl declaration.
670 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
672         * math/Makefile: (gen-libm-templates.stmp): New rule.
673         (libm-calls): Move carg conj cimag and cabs into ...
674         (gen-libm-calls): New variable.
675         (generated): Inform Make objects from gen-libm-calls
676         may be generated.
678         * sysdeps/generic/math-type-macros.h: New file.
679         * sysdeps/generic/math-type-macros-float.h: Likewise.
680         * sysdeps/generic/math-type-macros-double.h: Likewise.
681         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
682         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
683         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
685         * math/cabs.c: Refactor into
686         * math/cabs_template.c: new file.
687         * math/cabsf.c: Removed.
688         * math/cabsl.c: Removed.
689         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
690         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
692         * math/carg.c: Refactor into
693         * math/carg_template.c: new file.
694         * math/cargf.c: Removed.
695         * math/cargl.c: Removed.
696         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
697         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
699         * math/conj.c: Refactor into
700         * math/conj_template.c: new file.
701         * math/conjf.c: Removed.
702         * math/conjl.c: Removed.
703         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
704         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
706         * math/cimag.c: Refactor into
707         * math/cimag_template.c: new file.
708         * math/cimagf.c: Removed.
709         * math/cimagl.c: Removed.
710         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
711         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
713         * math/cimag.c: Refactor into
714         * math/cimag_template.c: new file.
715         * math/cimagf.c: Removed.
716         * math/cimagl.c: Removed.
717         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
718         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
720 2016-08-17  Florian Weimer  <fweimer@redhat.com>
722         Reduce time to expected nptl/tst-once5 failure.
723         * nptl/tst-once5.cc (TIMEOUT): Define.
725 2016-08-17  Florian Weimer  <fweimer@redhat.com>
727         [BZ #20452]
728         Avoid additional copies of objects in libc.a in static libraries.
729         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
730         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
731         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
732         rt-sysdep.
733         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
734         Add nptl-sysdep.
735         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
736         Add ptw-sysdep.
737         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
738         rt-sysdep.
739         * sysdeps/unix/sysv/linux/alpha/Makefile
740         (libpthread-shared-only-routines): Add ptw-sysdep,
741         ptw-sigprocmask, ptw-rt_sigaction.
742         * sysdeps/unix/sysv/linux/ia64/Makefile
743         (librt-shared-only-routines): Add rt-sysdep.
744         * sysdeps/unix/sysv/linux/i386/Makefile
745         (libpthread-shared-only-routines): Add libc-do-syscall.
746         * sysdeps/unix/sysv/linux/microblaze/Makefile
747         (libpthread-shared-only-routines): Add sysdep.
748         * sysdeps/unix/sysv/linux/powerpc/Makefile
749         (librt-shared-only-routines): Add rt-sysdep.
750         (libpthread-shared-only-routines): Add sysdep.
751         * sysdeps/unix/sysv/linux/s390/Makefile
752         (librt-shared-only-routines): Add rt-sysdep.
753         * sysdeps/unix/sysv/linux/sparc/Makefile
754         (librt-shared-only-routines): Add rt-sysdep.
755         (libpthread-shared-only-routines): Add sysdep.
756         * sysdeps/unix/sysv/linux/tile/Makefile
757         (libpthread-shared-only-routines): Likewise.
759 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
761         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
762         Mask implicit bit out of unpacked value.
763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
767         * sysdeps/sparc/fpu/fesetexcept.c: New file.
769         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
771         * sysdeps/s390/fpu/fesetexcept.c: New file.
773         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
774         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
777         * sysdeps/mips/fpu/fesetexcept.c: New file.
779         * sysdeps/m68k/fpu/fesetexcept.c: New file.
781         * sysdeps/ia64/fpu/fesetexcept.c: New file.
783         * sysdeps/hppa/fpu/fesetexcept.c: New file.
785         * sysdeps/arm/fesetexcept.c: New file.
787         * sysdeps/alpha/fpu/fesetexcept.c: New file.
789         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
791         * math/fesetexcept.c: New file.
792         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
793         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
794         * math/fenv.h: Define
795         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
796         <bits/libc-header-start.h> instead of including <features.h>.
797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
798         declaration.
799         * manual/arith.texi (fesetexcept): Document function.
800         * math/Versions (fesetexcept): New libm symbol at version
801         GLIBC_2.25.
802         * math/Makefile (libm-support): Add fesetexcept.
803         (tests): Add test-fesetexcept and test-fesetexcept-traps.
804         * math/test-fesetexcept.c: New file.
805         * math/test-fesetexcept-traps.c: Likewise.
806         * sysdeps/nacl/libm.abilist: Update.
807         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
808         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
809         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
811         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
812         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
813         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
814         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
815         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
816         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
817         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
818         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
820         Likewise.
821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
822         Likewise.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
824         Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
826         Likewise.
827         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
828         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
830         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
833         Likewise.
834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
835         Likewise.
836         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
840 2016-08-16  Florian Weimer  <fweimer@redhat.com>
842         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
843         New.
844         (do_test): Apply default_stack_size_in_mb if not set.
845         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
847 2016-08-15  Andreas Schwab  <schwab@suse.de>
849         [BZ #20435]
850         CVE-2016-6323
851         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
852         as .cantunwind.
854 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
856         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
857         comment from fraiseexcpt.c.
859         * math/test-fexcept.c (feraiseexcept_exact): New function.
860         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
861         (test_except): Likewise.
863 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
865         [BZ #20455]
866         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
867         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
868         to be restored.
870         * math/test-fexcept-traps.c: New file.
871         * math/test-fexcept.c: Likewise.
872         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
873         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
874         macro.
875         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
876         (EXCEPTION_SET_FORCES_TRAP): Likewise.
878 2016-08-09  Torvald Riegel  <triegel@redhat.com>
880         * include/atomic.h (atomic_fetch_and_relaxed,
881         atomic_fetch_and_release, atomic_fetch_or_release,
882         atomic_fetch_xor_release): New.
884 2016-08-06  Christian Seiler  <christian@iwakd.de>
886         [BZ #20444]
887         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
888         MACH_PORT_NULL.
890 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
892         * math/s_fdim.c: Avoid alias renamed.
893         * math/s_fdimf.c: Likewise.
894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
895         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
896         Add s_fdimf-vis3, s_fdim-vis3.
897         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
898         (CFLAGS-s_fdim-vis3.c): Likewise.
899         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
900         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
902 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
905         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
906         Remove s_fdimf-vis3, s_fdim-vis3.
907         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
908         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
915         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
916         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
918 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
920         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
921         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
922         -Wa,-Av9a -mvis.
924 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
926         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
927         LIT() to individual constants in simple expressions
928         after splitting on spaces.
929         (_apply_lit): Rename replaced version, and use it to
930         apply to what appears to be a token.
932         * math/libm-test.inc: Fix many, many issues with
933         spacing.
935 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
937         * math/math.h: Move comment about <bits/mathdef.h> definitions
938         above inclusion of <bits/mathdef.h>.  Do not mention
939         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
941 2016-08-05  Torvald Riegel  <triegel@redhat.com>
943         * include/atomic.h (atomic_exchange_relaxed): New.
945 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
947         * math/e_scalb.c: Do not include <fenv.h>.
948         (invalid_fn): Do calculation resulting in NaN instead of raising
949         FE_INVALID and returning a NaN explicitly.
950         * math/e_scalbf.c: Do not include <fenv.h>.
951         (invalid_fn): Do calculation resulting in NaN instead of raising
952         FE_INVALID and returning a NaN explicitly.
953         * math/e_scalbl.c: Do not include <fenv.h>.
954         (invalid_fn): Do calculation resulting in NaN instead of raising
955         FE_INVALID and returning a NaN explicitly.
957 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
959         * po/de.po: Updated from Translation Project.
960         * po/fi.po: Likewise.
961         * po/sv.po: Likewise.
963 2016-08-04  Florian Weimer  <fweimer@redhat.com>
965         [BZ #20452]
966         Use sysdep.o from libc.a in static libraries.
967         * sysdeps/unix/sysv/linux/i386/Makefile
968         (libpthread-shared-only-routines): Add sysdep.
969         (librt-shared-only-routines): Likewise.
971 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
973         * math/tgmath.h (nextdown): Define if
974         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
975         (nextup): Likewise.
977         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
978         macro.
979         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
980         Document.
981         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
982         Document macro.
983         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
984         (exp10f): Likewise.
985         (exp10l): Likewise.
986         * math/bits/mathcalls.h (exp10): Declare if
987         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
989         * manual/arith.texi (nextup): Fix typo in last change.
991 2016-08-03  Zack Weinberg  <zackw@panix.com>
993         [BZ #19239]
994         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
995         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
996         define major, minor, and makedev to issue deprecation warnings on use.
997         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
998         previously-activated deprecation warnings for these macros and prevent
999         subsequent inclusions of this header from having any effect.
1000         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1001         including <sys/sysmacros.h>, and undefine it again afterward.
1003 2016-08-03  Zack Weinberg  <zackw@panix.com>
1005         * sysdeps/generic/sys/sysmacros.h: Delete file.
1006         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1007         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1008         * bits/sysmacros.h: ... here; this encoding is now the generic
1009         encoding.  Now defines only the following macros:
1010         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1011         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1012         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1014         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1015         bits/sysmacros.h and the above new macros to generate the
1016         public implementations of major, minor, and makedev.
1017         * misc/tst-makedev.c: New test.
1018         * include/sys/sysmacros.h: New wrapper.
1020         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1021         (routines): Add makedev.
1022         (tests): Add tst-makedev.
1023         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1024         gnu_dev_makedev.
1025         * posix/Makefile (headers): Remove sys/sysmacros.h.
1026         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1028         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1029         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1030         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1031         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1032         * sysdeps/unix/sysv/linux/arm/libc.abilist
1033         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1034         * sysdeps/unix/sysv/linux/i386/libc.abilist
1035         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1036         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1037         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1038         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1039         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1040         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1041         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1042         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1043         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1048         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1050         * sysdeps/unix/sysv/linux/sh/libc.abilist
1051         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1052         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1055         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1056         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1057         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1058         Add GLIBC_2.25.
1060         * include/features.h (__glibc_clang_prereq): New macro.
1061         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1062         (__attribute_deprecated_msg__): New macros.
1064 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1066         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1067         macro.
1068         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1069         * manual/arith.texi (issignaling): Document as ISO from TS
1070         18661-1:2014.
1071         (nextup): Likewise.
1072         (nextupf): Likewise.
1073         (nextupl): Likewise.
1074         (nextdown): Likewise.
1075         (nextdownf): Likewise.
1076         (nextdownl): Likewise.
1077         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1078         macro.
1079         * math/math.h: Define
1080         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1081         <bits/libc-header-start.h> instead of including <features.h>.
1082         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1083         [__USE_GNU].
1084         * math/bits/mathcalls.h (nextdown): Declare if
1085         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1086         (nextup): Likewise.
1087         (__issignaling): Likewise.
1089 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1091         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1092         check, and remove __glibc_likely hint
1093         from FP_INFINITE check.
1094         * s_csinhf.c (__csinhf): Likewise.
1096         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1097         hint from FP_INFINITE check.
1098         * s_csinhl.c (__csinhl): Likewise.
1100 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1102         * math/Makefile (libm-calls): Insert F placeholder into
1103         object names.  Move w_lgamma_compat* routines into
1104         (libm-compat-calls): New variable.
1105         (libm-compat-calls-ldouble-yes): New variable.
1106         (calls): Insert F placeholder.
1107         (generated): Redefine using new type-foreach macro call.
1108         (routines): Likewise.
1110         (types): New variable to hold a list of symbolic names
1111         for each type supported by the target machine.
1112         (libm-routines): Redefine using new types variable.
1113         (type-foreach): macro to replace fooF with the
1114         appropriately suffixed foo for each types.
1116         (type-ldouble-suffix): New variable.
1117         (type-ldouble-routines): Likewise.
1118         (type-ldouble-yes): Likewise.
1119         (type-double-suffix): Likewise.
1120         (type-double-routines): Likewise.
1121         (type-float-suffix): Likewise.
1122         (type-float-routines): Likewise.
1124         (dbl-only-routines): Remove.
1125         (long-c-yes): Likewise.
1126         (long-m-routines): Likewise.
1127         (long-m-support): Likewise.
1128         (long-m-yes): Likewise.
1129         (test-longdouble-yes): Likewise.
1131         (test-float.o): Simplify by increasing the scope of the
1132         recipe which adds libm-test.stmp to the vector types.
1133         (test-ifloat.o): Likewise.
1134         (test-float-finite.o): Likewise.
1135         (test-double.o): Likewise
1136         (test-idouble.o): Likewise.
1137         (test-double-finite.o): Likewise.
1138         (test-ldouble.o): Likewise
1139         (test-ildoubl.o): Likewise.
1140         (test-ldouble-finite.o): Likewise.
1142         (libm-tests): Redefine type tests using foreach and the
1143         list of types in types.
1145         (CPPFLAGS-test-ildoubl.c): Rename to
1146         (CPPFLAGS-test-ildouble.c): New variable
1148         * math/test-ildoubl.c: Rename to
1149         * math/test-ildouble.c: New file.
1151 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1153         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1154         Use fabsl instead of fabs.
1155         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1156         Likewise.
1157         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1158         Add long double suffix to constant to ensure proper
1159         promotion to long double.
1161 2016-08-03  Tom Tromey  <tom@tromey.com>
1163         [BZ #20311]
1164         * nptl_db/Makefile (headers): Add proc_service.h.
1165         * nptl_db/proc_service.h: Add include guard.  Use
1166         __BEGIN/__END_DECLS.
1167         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1168         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1169         arguments.
1172 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1174         [BZ #17730]
1175         Avoid using memalign for TCB allocations.
1176         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1177         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1178         Avoid alignment gap in the TLS_DTV_AT_TP case.
1179         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1180         determine the pointer to free.
1181         * nptl/tst-tls3-malloc.c: New test.
1182         * nptl/Makefile (tests): Add it.
1183         (tst-tls3-malloc): Link with libdl, libpthread.
1184         (LDFLAGS-tst-tls3-malloc): Set.
1185         (tst-tls3-malloc.out): Depend on DSO used in test.
1187 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1189         [BZ #17730]
1190         Avoid using memalign for TLS allocations.
1191         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1192         is_static member with to_free member.
1193         (union dtv): Use struct dtv_pointer.
1194         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1195         dtv_pointer instead of is_static.
1196         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1197         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1198         instead of val.
1199         (allocate_dtv_entry): New function.
1200         (allocate_and_init): Return struct dtv_pointer.  Call
1201         allocate_dtv_entry instead of __libc_memalign.
1202         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1203         instead of val.
1204         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1205         instead of is_static.  Adjust call to allocate_and_init.
1206         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1207         struct dtv_pointer instead of val.
1209 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1211         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1212         (MALLOC_ALIGN_MASK): Move ...
1213         * malloc/malloc-internal.h: ... to here.
1214         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1216 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1218         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1219         (UDP_ENCAP_GTP1U): Likewise.
1221         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1222         (PF_MAX): Update value.
1223         (AF_QIPCRTR): New macro.
1225 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1227         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1228         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1229         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1231         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1232         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1233         s_truncf-vis3, s_trunc-vis3.
1234         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1235         (CFLAGS-s_ceil-vis3.c): Likewise.
1236         (CFLAGS-s_floorf-vis3.c): Likewise.
1237         (CFLAGS-s_floor-vis3.c): Likewise.
1238         (CFLAGS-s_truncf-vis3.c): Likewise.
1239         (CFLAGS-s_trunc-vis3.c): Likewise.
1240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1248         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1249         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1250         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1251         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1253 2016-08-02  David S. Miller  <davem@davemloft.net>
1255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1256         (__nearbyint_vis3): Don't check for sNaN before float register is
1257         loaded with the incoming argument.
1258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1259         (__nearbyintf_vis3): Likewise.
1260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1261         Likewise.
1262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1263         Likewise.
1265         * string/test-strncmp.c (do_test_limit): Make sure the test data
1266         stream is aligned as required for the type "CHAR".
1267         (do_test): Likewise.
1269 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1271         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1272         by beq instructions jumping to the end of the function.
1273         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1274         clobber list. Use "i" constraint instead of "X".
1275         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1276         of "X".
1278 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1280         * bits/libc-header-start.h: New file.
1281         * Makefile (headers): Add bits/libc-header-start.h.
1282         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1283         (__GLIBC_USE): New macro.
1284         * libio/stdio.h: Define
1285         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1286         <bits/libc-header-start.h> instead of including <features.h>.
1287         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1288         (open_memstream): Likewise.
1289         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1290         (__asprintf): Likewise.
1291         (asprintf): Likewise.
1292         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1293         (getdelim): Likewise.
1294         (getline): Likewise.
1295         * string/string.h: Define
1296         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1297         <bits/libc-header-start.h> instead of including <features.h>.
1298         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1299         (strndup): Likewise.
1300         * wcsmbs/wchar.h: Define
1301         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1302         <bits/libc-header-start.h> instead of including <features.h>.
1303         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1304         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1306 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1308         Support linking against compatibility symbols, for use in tests.
1309         * include/libc-symbols.h (symbol_version_reference): New macro.
1310         (symbol_version): Use it.
1311         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1312         (compat_symbol): Use compat_symbol_reference.
1313         (compat_symbol_1, compat_symbol_2): Remove.
1314         (compat_symbol_reference, compat_symbol_reference_1)
1315         (compat_symbol_reference_2): New macro.  Use
1316         symbol_version_reference.
1318 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1320         [BZ #19469]
1321         * malloc/Makefile (CPPFLAGS): Compile tests with
1322         -DTEST_NO_MALLOPT.
1323         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1325 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1327         [BZ #20033]
1328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1329         finite version.
1330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1332         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1333         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1334         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1335         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1336         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1337         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1338         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1347         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1348         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1349         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1350         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1351         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1352         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1353         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1354         in zero power.
1356 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1358         [BZ #20370]
1359         * malloc/arena.c (get_free_list): Update comment.  Assert that
1360         arenas on the free list have no attached threads.
1361         (remove_from_free_list): New function.
1362         (reused_arena): Call it.
1364 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1366         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1367         when it is a NaN.
1368         [_IEEE_FP_INEXACT] Remove.
1369         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1370         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1371         when it is a NaN.
1372         [_IEEE_FP_INEXACT] Remove.
1373         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1374         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1375         when it is a NaN.
1376         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1377         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1378         when its absolute value is greater than 0x1.0p52.
1379         [_IEEE_FP_INEXACT] Remove.
1380         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1381         when its absolute value is greater than 0x1.0p23.
1382         [_IEEE_FP_INEXACT] Remove.
1384 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1386         * version.h (RELEASE): Set to "development"
1387         (VERSION): Set to 2.24.90.
1388         * NEWS: Add 2.25 section.
1390         * version.h (RELEASE): Set to "stable"
1391         (VERSION): Set to 2.24.
1392         * include/features.h (__GLIBC_MINOR__): Set to 24.
1394         * NEWS: Add 2.24 fixed bugs.
1395         * po/libc.pot: Regenerate.
1397 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1400         [$(subdir) = math] (libm-sysdep_routines): Remove.
1401         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1402         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1403         s_truncf-vis3, s_trunc-vis3.
1404         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1406         file.
1407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1440         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1441         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1442         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1443         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1444         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1445         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1446         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1447         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1448         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1449         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1451 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1453         [BZ #20384]
1454         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1455         test-double-libmvec-sincos-avx-main.o,
1456         test-double-libmvec-sincos-avx2-main.o,
1457         test-double-libmvec-sincos-main.o,
1458         test-float-libmvec-sincosf-avx-main.o,
1459         test-float-libmvec-sincosf-avx2-main.o and
1460         test-float-libmvec-sincosf-main.o.
1461         test-float-libmvec-sincosf-avx512-main.o.
1462         ($(objpfx)test-double-libmvec-sincos): Also link with
1463         $(objpfx)test-double-libmvec-sincos-main.o.
1464         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1465         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1466         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1467         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1468         ($(objpfx)test-float-libmvec-sincosf): Also link with
1469         $(objpfx)test-float-libmvec-sincosf-main.o.
1470         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1471         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1472         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1473         test-double-libmvec-sincos-avx512-main.o and
1474         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1475         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1476         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1477         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1478         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1479         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1480         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1481         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1482         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1483         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1484         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1485         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1486         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1487         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1488         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1489         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1490         -DREQUIRE_AVX2.
1491         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1492         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1493         -DREQUIRE_AVX512F.
1494         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1495         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1496         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1497         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1498         file.
1499         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1500         Likewise.
1501         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1502         Likewise.
1503         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1504         Likewise.
1505         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1506         Likewise.
1507         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1508         Likewise.
1509         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1510         Likewise.
1511         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1512         Likewise.
1514 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1516         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1518 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1520         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1521         and typo in a comment about AT_HWCAP entry.
1523 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1525         * sysdeps/aarch64/libm-test-ulps: Updated.
1527 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1529         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1530         of r13 as it is not restored in mvcle case.
1532 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1534         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1535         Rename "ret" to "__ret".
1536         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1537         inline_syscall5, inline_syscall6): Likewise.
1539 2016-07-19   Will Newton  <will.newton@gmail.com>
1541         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1542         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1543         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1544         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1545         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1547 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1549         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1550         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1551         -mfpmath=387 with $(rtld-CFLAGS).
1552         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1553         $(rtld-CFLAGS).
1555 2016-07-18   Ross Burton  <ross.burton@intel.com>
1556              Khem Raj  <raj.khem@gmail.com>
1558         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1559         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1560         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1561         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1562         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1563         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1564         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1565         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1566         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1567         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1568         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1569         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1570         R_METAG_TLS_DTPOFF): New.
1572 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1573             Matt Clay  <mclay@lycos.com>
1575         [BZ #20357]
1576         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1577         to call __mpsin/__mpcos and to negate values.
1578         * math/auto-libm-test-in: Add test.
1579         * math/auto-libm-test-out: Regenerate.
1581 2016-07-18  Zack Weinberg  <zackw@panix.com>
1583         * grp/Makefile: Don't install the internal header grp-merge.h.
1585 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1587         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1589 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1591         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1593 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1595         [BZ #15368]
1596         * sysdeps/unix/sysv/linux/nptl-signals.h
1597         (__nptl_clear_internal_signals): New function.
1598         (__libc_signal_block_all): Likewise.
1599         (__libc_signal_block_app): Likewise.
1600         (__libc_signal_restore_set): Likewise.
1601         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1602         implementation.
1603         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1604         the cached pid/tid value in pthread structure.
1606 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1608         [BZ #20347]
1609         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1611 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1613         [BZ #20348]
1614         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1615         preadv64, pwrite64 and pwritev64.
1617 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1619         [BZ #20350]
1620         * posix/tst-preadwrite.c: Renamed to ...
1621         * posix/tst-preadwrite-common.c: This.
1622         (PREAD): Removed.
1623         (PWRITE): Likewise.
1624         (STRINGIFY): Likewise.
1625         (STRINGIFY2): Likewise.
1626         (do_prepare): Make it static and remove function arguments.
1627         (do_test): Likewise.
1628         (PREPARE): Updated.
1629         (TEST_FUNCTION): New.
1630         (name): Make it static.
1631         (fd): Likewise.
1632         (do_prepare): Use create_temp_file.
1633         (do_test): Renamed to ...
1634         (do_test_with_offset): This.  Make it static and accept offset.
1635         Properly check return value of PWRITE and PREAD.  Return bytes
1636         read.  Don't close fd nor unlink name.
1637         * posix/tst-preadwrite.c: Rewrite.
1638         * posix/tst-preadwrite64.c: Likewise.
1640 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1642         [BZ #20309]
1643         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1644         -mtls-dialect=gnu2 works.
1645         * configure: Regenerated.
1646         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1647         (tests): Add tst-gnu2-tls1.
1648         (modules-names): Add tst-gnu2-tls1mod.
1649         ($(objpfx)tst-gnu2-tls1): New.
1650         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1651         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1652         * elf/tst-gnu2-tls1.c: New file.
1653         * elf/tst-gnu2-tls1mod.c: Likewise.
1654         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1655         bytes for push in the PLT entry to align the stack.
1657 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1659         [BZ #20349]
1660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1662 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1664         [BZ #18707]
1665         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1666         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1668 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1670         * sysdeps/unix/sysv/linux/sysdep.h
1671         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1672         guards.
1673         * misc/tst-preadvwritev-common.c: New file.
1674         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1675         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1676         a check for files larger than 2GB.
1678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1679         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1680         * sysdeps/unix/sysv/linux/pread.c
1681         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1682         __OFF_T_MATCHES_OFF64_T.
1683         * sysdeps/unix/sysv/linux/pread64.c
1684         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1685         * sysdeps/unix/sysv/linux/preadv.c
1686         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1687         * sysdeps/unix/sysv/linux/preadv64.c
1688         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1689         * sysdeps/unix/sysv/linux/pwrite.c
1690         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1691         * sysdeps/unix/sysv/linux/pwrite64.c
1692         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1693         * sysdeps/unix/sysv/linux/pwritev.c
1694         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1695         * sysdeps/unix/sysv/linux/pwritev64.c
1696         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1698 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1701         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1703 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1705         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1707 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1709         [BZ #20240]
1710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1711         (CFLAGS-s_modf-ppc32.c): New variable.
1712         (CFLAGS-s_modff-ppc32.c): Likewise.
1713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1714         (CFLAGS-s_modf-ppc64.c): Likewise.
1715         (CFLAGS-s_modff-ppc64.c): Likewise.
1717 2016-07-07  Andreas Schwab  <schwab@suse.de>
1719         [BZ #20263]
1720         * nptl/tst-robust10.c: New test.
1721         * nptl/Makefile (tests): Add tst-robust10.
1723 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1725         [BZ #20263]
1726         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1728 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1730         * sysdeps/s390/linkmap.h (struct link_map_machine):
1731         Remove member gotplt and add member jmprel.
1732         * sysdeps/s390/s390-32/dl-machine.h
1733         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1734         instead of gotplt with &got[3].
1735         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1736         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1738 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1740         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1742 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1744         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1745         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1746         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1747         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1748         * libio/vtables.c (_IO_vtable_check)
1749         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1750         * libio/libioP.h (IO_set_accept_foreign_vtables)
1751         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1753 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1755         [BZ #20314]
1756         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1757         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1758         $(common-objpfx)cmath.
1759         ($(common-objpfx)cstdlib): New target.
1760         ($(common-objpfx)cmath): Likewise.
1762 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1764         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1766 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1768         [BZ #20327]
1769         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1770         are not part of the string.
1772 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1774         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1775         * nptl/tst-cancel4-common.h (fifoname): New variable.
1776         (fifofd): Likewise.
1777         (cl_fifo): New function.
1778         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1779         SIGINT.
1780         (tf_open): Add early cancel test.
1782 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1784         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1786 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1788         * sysdeps/generic/ldsodefs.h
1789         (dl_symbol_visibility_binds_local_p): New inline function.
1790         * elf/dl-addr.c (determine_info): Treat hidden and internal
1791         symbols as local.
1792         * elf/dl-lookup.c (do_lookup_x): Likewise.
1793         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1795 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1797         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1798         invalid exception for a sNaN input.
1799         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1800         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1801         (__nearbyint_vis3): Likewise
1802         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1803         (__nearbyintf_vis3): Likewise
1804         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1805         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1806         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1807         Likewise.
1808         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1809         Likewise.
1811 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1813         [BZ #20139]
1814         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1815         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1816         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1817         2.24 or above.
1818         (HAVE_AVX512_ASM_SUPPORT): Removed.
1819         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1820         * sysdeps/x86_64/configure: Regenerated.
1821         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1822         check unconditional.
1823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1824         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1826         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1827         Likewise.
1828         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1829         Likewise.
1830         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1831         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1832         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1834         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1835         Likewise.
1836         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1837         Likewise.
1838         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1840         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1841         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1842         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1843         Likewise.
1844         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1845         Likewise.
1846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1847         Likewise.
1848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1849         Likewise.
1850         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1851         Likewise.
1852         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1853         Likewise.
1854         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1855         Likewise.
1856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1857         Likewise.
1858         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1859         Likewise.
1860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1861         Likewise.
1862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1863         Likewise.
1865 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1867         [BZ #20024]
1868         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1869         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1870         of this implementation of vector function.
1871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1872         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1874         Likewise.
1875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1877         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1878         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1879         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1880         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1881         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1882         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1883         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1884         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1885         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1886         for testing vector sincos with fixed ABI.
1887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1888         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1889         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1890         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1891         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1893         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1894         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1895         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1896         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1897         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1898         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1899         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1900         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1902         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1904 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1906         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1908 2016-06-30  Anton Blanchard  <anton@samba.org>
1910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1911         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1912         s_sinf-ppc64.
1913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1916         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1918 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1922         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1923         e_expf-ppc64.
1924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1927         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1929 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1931         [BZ #20277]
1932         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1933         when SHARED is defined.
1935 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1937         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1938         (index_arch_Prefer_ERMS): Likewise.
1939         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1940         __memcpy_erms for Prefer_ERMS.
1941         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1942         (__memmove_erms): Enabled for libc.a.
1943         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1944         __memmove_erms or Prefer_ERMS.
1945         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1946         __mempcpy_erms for Prefer_ERMS.
1947         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1948         __memset_erms for Prefer_ERMS.
1950 2016-06-30  Andreas Schwab  <schwab@suse.de>
1952         [BZ #20262]
1953         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1954         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1955         of memory.
1957 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1959         [BZ #18645]
1960         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1961         (test-extras): Add tst-cleanupx4aux.
1962         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1963         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1964         tst-cleanupx4aux.o.
1965         * nptl/tst-cleanupx4aux.c: New file.
1967 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1969         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1971 2016-06-29  Andreas Schwab  <schwab@suse.de>
1973         [BZ #20260]
1974         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1975         address before the beginning of the string as an integer to avoid
1976         array-bounds warning.
1978 2016-06-28  Richard Henderson  <rth@redhat.com>
1980         * elf/elf.h (EM_BPF): New.
1981         (EM_NUM): Update.
1982         (R_BPF_NONE, R_BPF_MAP_FD): New.
1984         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1985         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1986         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1987         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1988         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1989         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1990         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1991         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1992         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1993         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1994         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1995         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1996         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1997         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1998         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1999         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2000         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2001         (EM_NUM): Update.
2003 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2005         [BZ #18960]
2006         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2007         Set _nl_current_LC_CATEGORY_used to two instead of one.
2009 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2011         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2012         (do_test): ... this.
2013         (TEST_FUNCTION): New macro.
2014          Include test-skeleton.c.
2015         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2016         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2018 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #15479]
2021         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2022         floating-point environment rather than just control word.
2023         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2024         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2025         floating-point environment, with "invalid" exceptions merged in,
2026         rather than just control word.
2027         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2028         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2029         "inexact" exceptions.
2031         [BZ #15479]
2032         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2033         floating-point environment rather than just control word.
2034         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2035         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2036         floating-point environment, with "invalid" exceptions merged in,
2037         rather than just control word.
2038         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2039         * math/libm-test.inc (floor_test_data): Do not allow spurious
2040         "inexact" exceptions.
2042         [BZ #15479]
2043         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2044         floating-point environment rather than just control word.
2045         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2046         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2047         floating-point environment, with "invalid" exceptions merged in,
2048         rather than just control word.
2049         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2050         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2051         "inexact" exceptions.
2053 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2055         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2056         __libc_vfork.
2057         (__vfork) [IS_IN (libc)]: Remove alias.
2058         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2059         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2062 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2064         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2065         of atomic_compare_and_exchange_bool_rel.
2066         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2067         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2068         catomic_compare_and_exchange_bool_rel): Remove.
2069         * sysdeps/aarch64/atomic-machine.h
2070         (atomic_compare_and_exchange_bool_rel): Likewise.
2071         * sysdeps/alpha/atomic-machine.h
2072         (atomic_compare_and_exchange_bool_rel): Likewise.
2073         * sysdeps/arm/atomic-machine.h
2074         (atomic_compare_and_exchange_bool_rel): Likewise.
2075         * sysdeps/mips/atomic-machine.h
2076         (atomic_compare_and_exchange_bool_rel): Likewise.
2077         * sysdeps/microblaze/atomic-machine.h
2078         ( __arch_compare_and_exchange_bool_8_rel,
2079         __arch_compare_and_exchange_bool_16_rel): Likewise.
2080         * sysdeps/powerpc/atomic-machine.h
2081         ( __arch_compare_and_exchange_bool_8_rel,
2082         __arch_compare_and_exchange_bool_16_rel): Likewise.
2083         * sysdeps/powerpc/powerpc32/atomic-machine.h
2084         ( __arch_compare_and_exchange_bool_32_rel,
2085         __arch_compare_and_exchange_bool_64_rel): Likewise.
2086         * sysdeps/powerpc/powerpc64/atomic-machine.h
2087         ( __arch_compare_and_exchange_bool_32_rel,
2088         __arch_compare_and_exchange_bool_64_rel): Likewise.
2089         * sysdeps/tile/atomic-machine.h
2090         (atomic_compare_and_exchange_bool_rel): Likewise.
2092 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2094         [BZ #20296]
2095         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2096         when either argument is a NaN.
2097         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2098         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2100         * math/libm-test.inc (snan_value_ld): New macro.
2101         (isgreater_test_data): Add sNaN tests.
2102         (isgreaterequal_test_data): Likewise.
2103         (isless_test_data): Likewise.
2104         (islessequal_test_data): Likewise.
2105         (islessgreater_test_data): Likewise.
2106         (isunordered_test_data): Likewise.
2107         (nextafter_test_data): Likewise.
2108         (nexttoward_test_data): Likewise.
2109         (remainder_test_data): Likewise.
2110         (remquo_test_data): Likewise.
2111         (significand_test_data): Likewise.
2112         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2114 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2116         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2117         environment macros are defined.
2118         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2120 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2122         [BZ #20191]
2123         Implement vtable verification in libio.
2124         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2125         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2126         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2127         _IO_new_file_init_internal instead of _IO_file_init.
2128         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2129         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2130         * libio/Makefile (routines): Add vtables.
2131         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2132         (_IO_init): Remove, not for internal use.
2133         (_IO_init_internal): Declare, internal replacement for _IO_init.
2134         (_IO_file_init): Remove, not for internal use.
2135         (_IO_new_file_init): Remove, not for internal use.
2136         (_IO_new_file_init_internal): Declare, internal replacement for
2137         _IO_new_file_init.
2138         (_IO_old_file_init): Remove, not for internal use.
2139         (_IO_old_file_init_internal): Declare, internal replacement for
2140         _IO_old_file_init.
2141         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2142         internal use.
2143         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2144         Declare.
2145         (libio_vtable): New macro.
2146         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2147         functions.
2148         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2149         _IO_new_file_init.
2150         (_IO_new_file_init): New externally visible wrapper which disables
2151         vtable verification.
2152         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2153         Define as vtables.
2154         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2155         (_IO_init): New externally visible wrapper which disables
2156         vtable verification.
2157         * libio/iofdopen.c (_IO_new_fdopen): Call
2158         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2159         comment.
2160         * libio/iofopen.c (__fopen_internal): Call
2161         _IO_new_file_init_internal instead of _IO_file_init.
2162         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2163         Define as vtables.
2164         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2165         _IO_new_file_init_internal instead of _IO_file_init.
2166         * libio/iopopen.c (_IO_new_popen): Likewise.
2167         (_IO_proc_jumps): Define as vtable.
2168         * libio/iovdprintf.c (_IO_vdprintf): Call
2169         _IO_new_file_init_internal instead of _IO_file_init.
2170         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2171         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2172         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2173         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2174         _IO_old_file_init.
2175         (_IO_old_file_init): New externally visible wrapper which disables
2176         vtable verification.
2177         (_IO_old_file_jumps): Define as vtable.
2178         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2179         _IO_old_file_init_internal instead of _IO_old_file_init.
2180         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2181         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2182         (_IO_old_proc_jumps): Define as vtable.
2183         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2184         Define as vtables.
2185         * libio/vtables.c: New file.
2186         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2187         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2188         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2189         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2190         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2191         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2192         instead of _IO_init.
2194 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2196         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2198 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2200         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2201         potentially unused.
2203 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2205         * test-skeleton.c (write_message): New function.
2206         * malloc/tst-mallocfork2.c (write_message): Remove.
2207         * debug/tst-longjmp_chk2.c (write_indented): New function.
2208         (write_message): Remove.
2209         (stackoverflow_handler): Call write_indented.
2211 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2213         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2214         "inexact" exceptions after fnstenv.
2215         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2216         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2217         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2219 2015-06-22  Zack Weinberg  <zackw@panix.com>
2221         * sysdeps/generic/bits/hwcap.h: Moved to ...
2222         * bits/hwcap.h: Here.
2224 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2226         * sysdeps/aarch64/memcpy.S (memcpy):
2227         Further tuning for performance.
2229 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2231         [BZ #20284]
2232         * malloc/arena.c (reused_arena): Do not return NULL if we start
2233         out with a non-corrupted arena.
2235 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2237         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2238         * misc/tst-preadvwritev.c: New file.
2239         * misc/tst-preadvwritev64.c: Likewise.
2240         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2241         usage.
2242         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2243         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2244         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2245         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2247 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2249         [BZ #19654]
2250         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2251         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2252         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2253         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2254         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2255         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2256         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2257         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2258         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2259         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2260         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2261         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2262         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2263         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2264         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2265         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2266         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2267         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2268         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2269         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2270         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2271         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2272         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2273         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2274         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2275         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2277 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2279         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2280         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2282 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2284         * sysdeps/aarch64/memcpy.S (memcpy):
2285         Rewrite of optimized memcpy and memmove.
2286         * sysdeps/aarch64/memmove.S (memmove): Remove
2287         memmove code (merged into memcpy.S).
2289 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2291         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2292         * sysdeps/generic/dl-dtv.h: New file.
2293         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2294         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2295         (dtv_t): Remove.
2296         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2297         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2298         (dtv_t): Remove.
2299         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2300         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2301         (dtv_t): Remove.
2302         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2303         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2304         (dtv_t): Remove.
2305         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2306         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2307         (dtv_t): Remove.
2308         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2309         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2310         (dtv_t): Remove.
2311         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2312         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2313         (dtv_t): Remove.
2314         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2315         (dtv_t): Remove.
2316         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2317         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2318         (dtv_t): Remove.
2319         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2320         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2321         (dtv_t): Remove.
2322         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2323         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2324         (dtv_t): Remove.
2325         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2326         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2327         (dtv_t): Remove.
2328         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2329         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2330         (dtv_t): Remove.
2331         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2332         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2333         (dtv_t): Remove.
2334         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2335         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2336         (dtv_t): Remove.
2337         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2338         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2339         (dtv_t): Remove.
2341 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2343         Revert symbol poisoning of  __malloc_initialize_hook.
2344         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2345         poisoning.
2346         * malloc/Makefile: Remove un-poisoning.
2347         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2348         instead of old__malloc_initialize_hook.
2349         * malloc/malloc-hooks.h: Likewise.
2350         * malloc/malloc.c: Likewise.
2351         * malloc/mcheck-init.c: Likewise.
2353 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2355         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2357 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2359         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2360         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2361         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2362         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2364 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2366         * NEWS: Mention addition of nextup and nextdown.
2367         * manual/arith.texi: Document nextup and nextdown.
2368         * manual/libm-err-tab.pl: Add nextup and nextdown.
2369         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2370         * math/Versions (libm): Add GLIBC_2.24.
2371         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2372         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2373         Add new test.
2374         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2375         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2376         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2377         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2378         (nextup_test_data): Likewise.
2379         (nextdown_test_data): Likewise.
2380         * math/s_nextdown.c: New file.
2381         * math/s_nextdownf.c: Likewise.
2382         * math/s_nextdownl.c: Likewise.
2383         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2384         F(nextup): New function.
2385         F(nextdown): Likewise.
2386         * math/tgmath.h: Add nextup and nextdown.
2387         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2388         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2389         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2391         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2393         Add nextup and nextdown.
2394         (CFLAGS-nldbl-nextup.c): New variable.
2395         (CFLAGS-nldbl-nextdown.c): Likewise.
2396         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2397         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2398         * sysdeps/nacl/libm.abilist: Update.
2399         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2413         Likewise.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2418         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2423         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2424         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2425         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2426         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2428 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2430         * manual/pattern.texi: Fix typos & grammar errors.
2432 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2434         * manual/search.texi: Fix typos & grammar errors.
2436 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2438         * manual/message.texi: Fix typos & grammar errors.
2440 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2442         * manual/contrib.texi: Fix spelling typos.
2443         * manual/crypt.texi: Likewise.
2444         * manual/filesys.texi: Likewise.
2445         * manual/locale.texi: Likewise.
2446         * manual/message.texi: Likewise.
2447         * manual/nss.texi: Likewise.
2448         * manual/string.texi: Likewise.
2450 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2452         * manual/locale.texi: Fix typos & grammar errors.
2454 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2456         * manual/charset.texi: Fix typos & grammar errors.
2458 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2460         * manual/string.texi: Fix typos.
2462 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2464         * manual/ctype.texi: Fix typos.
2466 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2468         * manual/memory.texi: Fix various typos & grammar errors.
2470 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2472         [BZ #20255]
2473         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2474         * math/libm-test.inc (fdim_test_data): Add another test.
2476         [BZ #6796]
2477         [BZ #20255]
2478         [BZ #20256]
2479         * math/s_fdim.c: Include <math_private.h>.
2480         (__fdim): Use math_narrow_eval on result.
2481         * math/s_fdimf.c: Include <math_private.h>.
2482         (__fdimf): Use math_narrow_eval on result.
2483         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2484         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2485         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2486         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2487         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2488         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2489         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2490         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2491         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2492         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2493         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2494         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2495         overflow.  Add sNaN tests.
2497         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2498         fpclassify.
2499         * math/s_fdimf.c (__fdimf): Likewise.
2500         * math/s_fdiml.c (__fdiml): Likewise.
2502 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2504         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2505         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2507         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2508         ifunc'ed strcasecmp/strncasecmp.
2509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2510         [EALIGN]: Removed.
2511         [END]: Likewise.
2512         [__strcasecmp]: Define instead of the above to control symbol name.
2513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2514         for __strcasecmp_power8.
2515         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2516         for __strncasecmp_power8.
2517         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2519         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2520         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2521         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2522         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2524 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2526         [BZ #20252]
2527         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2528         arguments when second argument is a NaN.
2529         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2530         qNaN tests.
2532         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2533         (conj_test_data): Likewise.
2534         (copysign_test_data): Likewise.
2535         (creal_test_data): Likewise.
2536         (fma_test_data): Likewise.
2537         (fmod_test_data): Likewise.
2539         [BZ #20250]
2540         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2541         itself.
2542         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2543         zero input to itself.
2544         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2545         Likewise.
2546         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2547         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2548         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2549         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2550         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2552 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2554         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2555         * nptl/tst-cancel4-common.c: New file.
2556         * nptl/tst-cancel4-common.h: Likewise.
2557         * nptl/tst-cancel4.c: Move common definitions to
2558         tst-cancel4-common.{c,h} file.
2559         * nptl/tst-cancel4_1.c: New test.
2560         * nptl/tst-cancel4_2.c: New test.
2562 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2564         [BZ #20248]
2565         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2566         (write_message): New function.
2567         (stackoverflow_handler): Call it instead of printf, to avoid
2568         excessive stack usage by printf.
2569         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2571 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2573         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2574         (prio_inherit_missing): Remove define.
2575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2576         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2580         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2582         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2583         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2584         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2586 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2588         [BZ #19670]
2589         [BZ #19672]
2591         * io/test-lfs.c (do_prepare): Use xmalloc.
2592         * io/tst-fcntl.c (do_prepare): Likewise.
2593         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2594         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2595         * login/tst-utmp.c (do_prepare): Likewise.
2596         * posix/tst-exec.c (do_prepare): Likewise.
2597         * posix/tst-pathconf.c (prepare): Likewise.
2598         * posix/tst-spawn.c (do_prepare): Likewise.
2599         * posix/tst-truncate.c (do_prepare): Likewise.
2600         * rt/tst-aio.c (do_prepare): Likewise.
2601         * rt/tst-aio64.c (do_prepare): Likewise.
2603 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2605         [BZ #20237]
2606         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2607         (get*ent): Set entidx to NULL during initialization.  If entidx is
2608         NULL, start iteration from the beginning.
2610 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2612         * malloc/malloc.c (musable): Return correct size for dumped fake
2613         mmapped chunk.
2615 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2617         [BZ #20222]
2618         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2619         (_IO_cookie_write): Likewise.
2620         (_IO_cookie_seek): Likewise.
2621         (_IO_cookie_close): Likewise.
2622         (_IO_old_cookie_seek): Likewise.
2623         (set_callbacks): New function.
2624         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2626 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2628         * locale/programs/localedef.c (oldstyle_tables): Remove.
2629         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2631 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2633         [BZ #20240]
2634         * math/Makefile (CFLAGS-s_modf.c): New variable.
2635         (CFLAGS-s_modff.c): Likewise.
2636         (CFLAGS-s_modfl.c): Likewise.
2637         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2639 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2641         [BZ #20215]
2642         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2643         [!__GNUC_PREREQ (3,2)]: Likewise.
2645 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2647         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2648         (msghdr.msg_controllen): Likewise.
2649         (cmsghdr.cmsg_len): Likewise.
2650         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2651         ptw-oldsendmsg.
2652         (CFLAGS-oldrecvmsg.c): Remove rule.
2653         (CFLAGS-oldsendmsg.c): Likewise.
2654         (CFLAGS-recvmsg.c): Add rule.
2655         (CFLAGS-sendmsg.c): Likewise.
2656         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2657         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2658         (CFLAGS-recvmsg.c): Remove rule.
2659         (CFLAGS-sendmsg.c): Likewise.
2660         (CFLAGS-oldrecvmsg.c): Likewise.
2661         (CFLAGS-oldsendmsg.c): Likewise.
2662         (CFLAGS-recvmmsg.c): Likewise.
2663         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2664         to kernel defined interfaces.
2665         (msghdr.msg_controllen): Likewise.
2666         (cmsghdr.cmsg_len): Likewise.
2667         (msghdr.__glibc_reserved1): Remove member.
2668         (msghdr.__glibc_reserved2): Likewise.
2669         (cmsghdr.__glibc_reserved1): Likewise.
2670         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2671         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2672         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2673         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2674         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2675         version.
2676         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2677         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2678         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2679         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2680         Remove recvmsg and sendmsg.
2681         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2686         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2687         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2690         Likewise.
2691         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2692         [libc] (GLIBC_2.24): Likewise.
2693         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2694         Likewise.
2695         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2698         [libc] (GLIBC_2.24): Likewise.
2699         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2704         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2705         Likewise.
2706         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2707         Likewise.
2708         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2709         Likewise.
2710         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2711         Likewise.
2712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2713         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2714         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2715         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2716         version for {recv,send,recm,sendm}msg.
2717         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2730         Likewise.
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2732         Likewise.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2744         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2745         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2747 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2749         [BZ #19564]
2750         Remove __malloc_initialize_hook from the API.
2751         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2752         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2753         #pragma GCC poison.
2754         * malloc/malloc-hooks.h: New file.
2755         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2756         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2757         (old__malloc_initialize_hook): Rename from
2758         __malloc_initialize_hook to evade poisoning.  Turn into compat
2759         symbol.
2760         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2761         __malloc_initialize_hook.
2762         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2763         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2764         * manual/memory.texi (Hooks for Malloc): Remove
2765         __malloc_initialize_hook.  Adjust hook example.
2767 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2769         [BZ #20235]
2770         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2771         itself.
2772         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2773         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2775         [BZ #20234]
2776         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2777         infinity or NaN input to itself.
2779         [BZ #20233]
2780         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2781         to itself.
2783         [BZ #20232]
2784         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2785         itself.
2787 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2789         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2790         __libc_start_main via GOT.
2792 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2794         * sysdeps/x86_64/memcopy.h: New file.
2795         * sysdeps/x86_64/wordcopy.c: Likewise.
2797 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2799         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2800         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2801         <cstdlib>.
2802         (optimization_barrier): New.
2803         (do_test): Use it.  Call quick_exit in the global namespace.
2804         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2805         instead of <cstdlib>, <thread>.
2806         (optimization_barrier): New.
2807         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2808         Call quick_exit in the global namespace.
2809         (do_test): Call optimization_barrier.  Use pthread_create,
2810         pthread_join instead of std::thread.
2812 2016-06-09  Andreas Schwab  <schwab@suse.de>
2814         [BZ #19755]
2815         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2816         new entries in auto-propagate mode.
2817         * nscd/grpcache.c (cache_addgr): Likewise.
2819 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2821         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2822         New functions.
2823         (add_temp_file): Use them.
2825 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2827         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2829 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2831         [BZ #20229]
2832         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2833         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2834         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2836         [BZ #20228]
2837         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2838         itself.
2839         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2840         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2842         [BZ #20227]
2843         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2844         itself.
2845         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2846         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2847         * math/libm-test.inc (log_test_data): Add sNaN tests.
2849         [BZ #20226]
2850         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2851         itself.
2852         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2853         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2854         (exp10_test_data): Likewise.
2855         (expm1_test_data): Likewise.
2857         [BZ #20225]
2858         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2859         itself.
2860         * math/s_ldexpf.c (__ldexpf): Likewise.
2861         * math/s_ldexpl.c (__ldexpl): Likewise.
2862         * math/w_scalbln.c (__w_scalbln): Likewise.
2863         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2864         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2865         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2866         (scalbln_test_data): Likewise.
2868         [BZ #20224]
2869         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2870         argument to itself.
2871         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2873 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2875         [BZ #19776]
2876         * sysdeps/x86_64/memcpy.S: Make it dummy.
2877         * sysdeps/x86_64/mempcpy.S: Likewise.
2878         * sysdeps/x86_64/memmove.S: New file.
2879         * sysdeps/x86_64/memmove_chk.S: Likewise.
2880         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2881         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2882         * sysdeps/x86_64/memmove.c: Removed.
2883         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2884         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2885         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2886         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2887         Likewise.
2888         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2889         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2891         memcpy-sse2-unaligned, memmove-avx-unaligned,
2892         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2894         (__libc_ifunc_impl_list): Replace
2895         __memmove_chk_avx512_unaligned_2 with
2896         __memmove_chk_avx512_unaligned.  Remove
2897         __memmove_chk_avx_unaligned_2.  Replace
2898         __memmove_chk_sse2_unaligned_2 with
2899         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2900         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2901         with __memmove_avx512_unaligned.  Replace
2902         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2903         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2904         with __memcpy_chk_avx512_unaligned.  Remove
2905         __memcpy_chk_avx_unaligned_2.  Replace
2906         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2907         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2908         Replace __memcpy_avx512_unaligned_2 with
2909         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2910         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2911         with __mempcpy_chk_avx512_unaligned.  Remove
2912         __mempcpy_chk_avx_unaligned_2.  Replace
2913         __mempcpy_chk_sse2_unaligned_2 with
2914         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2915         Replace __mempcpy_avx512_unaligned_2 with
2916         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2917         Replace __mempcpy_sse2_unaligned_2 with
2918         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2919         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2920         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2921         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2922         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2923         (ENTRY): Removed.
2924         (END): Likewise.
2925         (ENTRY_CHK): Likewise.
2926         (libc_hidden_builtin_def): Likewise.
2927         Don't include ../memcpy.S.
2928         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2929         __memcpy_chk_avx512_unaligned_erms and
2930         __memcpy_chk_avx512_unaligned.  Use
2931         __memcpy_chk_avx_unaligned_erms and
2932         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2933         Default to __memcpy_chk_sse2_unaligned.
2934         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2935         Change function suffix from unaligned_2 to unaligned.
2936         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2937         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2938         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2939         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2940         (ENTRY): Removed.
2941         (END): Likewise.
2942         (ENTRY_CHK): Likewise.
2943         (libc_hidden_builtin_def): Likewise.
2944         Don't include ../mempcpy.S.
2945         (mempcpy): New.  Add a weak alias.
2946         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2947         __mempcpy_chk_avx512_unaligned_erms and
2948         __mempcpy_chk_avx512_unaligned.  Use
2949         __mempcpy_chk_avx_unaligned_erms and
2950         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2951         Default to __mempcpy_chk_sse2_unaligned.
2953 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2955         [BZ #19881]
2956         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2957         into ...
2958         * sysdeps/x86_64/memset.S: This.
2959         (__bzero): Removed.
2960         (__memset_tail): Likewise.
2961         (__memset_chk): Likewise.
2962         (memset): Likewise.
2963         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2964         defined.
2965         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2966         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2967         (__memset_zero_constant_len_parameter): Check SHARED instead of
2968         PIC.
2969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2970         memset-avx2 and memset-sse2-unaligned-erms.
2971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2972         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2973         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2974         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2975         (__bzero): Enabled.
2976         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2977         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2978         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2979         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2980         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2981         (memset): Removed.
2982         (__memset_chk): Likewise.
2983         (MEMSET_SYMBOL): New.
2984         (libc_hidden_builtin_def): Replace __memset_sse2 with
2985         __memset_sse2_unaligned.
2986         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2987         __memset_chk_sse2 and __memset_chk_avx2 with
2988         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2989         Use __memset_chk_sse2_unaligned_erms or
2990         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2991         __memset_chk_avx512_unaligned_erms and
2992         __memset_chk_avx512_unaligned.
2994 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2996         * math/gen-auto-libm-test.c (fp_format_desc): remove
2997         suffix member.
2998         (output_generic_value): Remove usage of suffix member,
2999         and the resulting unuse of the fp_format argument.
3000         (output_for_one_input_case): Remove unused fp_format
3001         parameter.
3003         * math/auto-libm-test-out: Regenerate.
3005         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3006         usage with TEST_COND_ibm128.
3007         (TEST_COND_flt_32): Remove.
3008         (TEST_COND_dbl_64): Remove.
3009         (TEST_COND_ldbl_96_intel): Remove.
3010         (TEST_COND_ldbl_96_m68k): Remove.
3011         (TEST_COND_ldbl_128): Remove.
3013 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3015         * auto-libm-test-in:
3016         Replace flt-32 usage with binary32.
3017         Replace dbl-64 usage with binary64.
3018         Replace ldbl-intel-96 usage with intel96.
3019         Replace ldbl-m68k-96 usage with m68k96.
3020         Replace ldbl-128ibm usage with ibm128.
3021         Replace ldbl-128 usage with binary128.
3023         * auto-libm-test-out: Regenerate.
3025 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3027         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3028         (parse_ulps): Dynamically generate type name matching
3029         string from all_floats.
3030         (get_ulps): Generate the ulps as an array instead.
3031         (output_ulps): Dynamically compose the type based
3032         on the number of supported formats, and print
3033         the indices as type specific helper macros.
3035         * math/libm-test.inc: Remove comment about CHOOSE.
3036         (ulp_data): Generate the type in libm-test-ulps.h.
3037         (ULP_IDX): New macro.
3038         (find_ulps): Update usage of max_ulp.
3040         * math/test-double-vlen2.h (CHOOSE): Remove.
3041         * math/test-double-vlen4.h (CHOOSE): Likewise.
3042         * math/test-double-vlen8.h (CHOOSE): Likewise.
3043         * math/test-float.c (CHOOSE): Likewise.
3044         * math/test-float-finite.c (CHOOSE): Likewise.
3045         * math/test-double.c (CHOOSE): Likewise.
3046         * math/test-double-finite.c (CHOOSE): Likewise.
3047         * math/test-idouble.c (CHOOSE): Likewise.
3048         * math/test-ifloat.c (CHOOSE): Likewise.
3049         * math/test-ildoubl.c (CHOOSE): Likewise.
3050         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3051         * math/test-ldouble.c (CHOOSE): Likewise.
3053         * math/test-float.h (TEST_FLOAT): Remove.
3054         * math/test-double.h (TEST_DOUBLE): Likewise.
3055         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3057 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3059         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3060         (parse_args): Strip C suffix from floating point literals
3061         typed with 'f' and wrap them with LIT().
3063         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3064         (test_ff_f_data_nexttoward): Rename to
3065         (test_fj_f_data): New struct.
3066         (nexttoward_test_data): Relabel tests as
3067         TEST_fj_f instead of TEST_ff_f.
3069 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3071         Emacs bug 23726.
3072         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3073         (__libc_realloc): Correct size computation for dumped fake mmapped
3074         chunks.
3076 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3078         [BZ #20219]
3079         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3080         to itself.
3081         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3083         [BZ #20218]
3084         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3085         to itself.
3086         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3088 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3090         [BZ #20195]
3091         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3092         check to ...
3093         (init_cpu_features): Here.
3095 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3097         [BZ #20214]
3098         * sysdeps/unix/sysv/linux/bits/in.h
3099         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3100          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3101         Define to 1.
3102         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3103          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3104         Define to 0.
3105         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3106         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3108 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3110         [BZ #20198]
3111         * stdlib/Makefile (tests): Add tst-quick_exit, and
3112         tst-thread-quick_exit.
3113         [ifeq ($(have-cxx-thread_local),yes)]
3114         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3115         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3116         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3117         (LDLIBS-tst-thread-quick_exit): Likewise.
3118         [ifneq ($(have-cxx-thread_local),yes)]
3119         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3120         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3121         If run_dtors is true call __call_tls_dtors.
3122         (exit): Call __run_exit_handlers with run_dtors set to true.
3123         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3124         definition.
3125         * stdlib/quick_exit.c (quick_exit): Remove function.
3126         (__new_quick_exit): New function.
3127         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3128         function.
3129         * stdlib/tst-quick_exit.cc: New file.
3130         * stdlib/tst-thread-quick_exit.cc: New file.
3131         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3132         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3133         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3134         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3135         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3136         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3137         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3138         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3139         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3140         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3141         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3142         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3143         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3144         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3145         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3146         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3151         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3152         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3153         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3154         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3155         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3158         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3159         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3160         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3162 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3164         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3165         a typo in comments.
3167 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #20213]
3170         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3171         argument to itself.
3172         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3174 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3176         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3177         required flags.
3178         (CFLAGS-pwritev64.c): Likewise.
3179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3181         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3182         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3183         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3184         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3185         syscall from auto-generation.
3186         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3187         [WORDSIZE == 64] (pwritev64): Remove macro.
3188         [!PWRITEV] (PWRITEV): Likewise.
3189         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3190         [!PWRITEV] (PWRITE): Likewise.
3191         [!PWRITEV] (OFF_T): Likewise.
3192         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3193         (LO_HI_LONG): Remove macro.
3194         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3195         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3196         (PWRITEV): Remove macro.
3197         (PWRITEV_REPLACEMENTE): Likewise.
3198         (PWRITE): Likewise.
3199         (OFF_T): Likewise.
3200         (pwritev64): New function.
3201         * nptl/tst-cancel4.c (tf_writev): Add test.
3203         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3204         required flags.
3205         (CFLAGS-preadv64.c): Likewise.
3206         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3207         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3208         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3209         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3210         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3211         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3212         syscall from auto-generation.
3213         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3214         [WORDSIZE == 64] (preadv64): Remove macro.
3215         [!PREADV] (PREADV): Likewise.
3216         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3217         [!PREADV] (PREAD): Likewise.
3218         [!PREADV] (OFF_T): Likewise.
3219         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3220         (LO_HI_LONG): Remove macro.
3221         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3222         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3223         (PREADV): Remove macro.
3224         (PREADV_REPLACEMENTE): Likewise.
3225         (PREAD): Likewise.
3226         (OFF_T): Likewise.
3227         (preadv64): New function.
3228         * nptl/tst-cancel4.c (tf_preadv): Add test.
3230 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3232         [BZ #20212]
3233         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3234         argument to itself.
3235         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3237 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3239         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3240         New symbol defined as libc_hidden_def.
3241         (strcasestr): Became a weak alias to __strcasestr.
3242         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3243         according to multi-arch support.  Move __stpncpy hidden
3244         definition from here to...
3245         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3246         symbol stpncpy.
3247         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3248         libc_hidden_builtin_def.
3249         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3250         memset symbol to use when multi-arch support is available.
3252 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3254         * dlfcn/tst-rec-dlopen.c: Include string.h.
3256 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3258         * manual/install.texi: Remove mention of --without-tls
3259         * INSTALL: Regenerate.
3261 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3263         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3264         Remove.
3265         (call_function, interposed_malloc_called): New variables.
3266         (malloc): New function.
3267         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3268         and clear call_function as needed.
3270 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3272         * include/wchar.h (__wmemset): Use __typeof.
3274 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3276         * include/wchar.h (__wmemset): Declare function without typeof.
3278 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3280         [BZ #20205]
3281         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3282         exponent when incrementing negative subnormal with low mantissa
3283         word zero.
3284         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3285         Add another test.
3287 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3289         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3290         __wmemset instead of wmemset.
3292 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3294         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3295         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3296         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3297         __USE_KERNEL_IPV6_DEFS to 0.
3298         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3299         Update comment.
3301 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3303         [BZ #19861]
3304         Do not use IFUNC resolver with potentially unrelocated symbol.
3305         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3306         (DEFINE_FORK): Remove macro and inline definition.
3307         (fork_alias): Renamed from fork_ifunc.
3308         (__fork_alias): Renamed from __fork_ifunc.
3310 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3312         [BZ 19653]
3313         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3314         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3316 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3318         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3319         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3320         i386-linux-gnu).
3321         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3322         Set to no.
3323         * sysdeps/mach/hurd/configure: Refresh.
3325 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3327         [BZ #20178]
3328         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3329         on failure instead of exit.
3331 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3333         [BZ #3629]
3334         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3335         of POSIX.1-2008.
3337 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3339         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3340           Use PLT entry for calling _hurd_self_sigstate.
3342 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3344         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3345         available logical processors with SMT level type sharing L2
3346         cache for Intel processors.
3348 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3350         [BZ #20160]
3351         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3352         argument to itself before returning the result.
3353         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3354         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3355         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3357         Likewise.
3358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3359         Likewise.
3360         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3361         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3362         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3363         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3364         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3365         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3367         [BZ #20160]
3368         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3369         argument to itself before returning the result.
3370         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3371         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3372         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3373         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3374         Likewise.
3375         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3376         Likewise.
3377         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3378         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3379         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3380         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3381         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3382         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3384 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3386         * libm-test.inc: Replace usage of M_El with
3387         (lit_e): New macro.
3389 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3391         * libm-test.inc: Replace usage of M_PI_4l with
3392         (lit_pi_4_d): New macro.
3394 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3396         * libm-test.inc: Replace usage of M_PIl with
3397         (lit_pi): New macro.
3399 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3401         * libm-test.inc: Replace usage of M_PI2l with
3402         (lit_pi_2_d): New macro.
3404         * math/test-double.h (LITM): New macro.
3405         * math/test-float.h (LITM): Likewise.
3406         * math/test-ldouble.h (LITM): Likewise.
3408 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3410         * libm-test.inc (M_PI_34l): Rename to
3411         (lit_pi_3_m_4_d): New Macro.
3412         (M_PI_34_LOG10El): Rename to
3413         (lit_pi_3_m_4_ln10_m_d): New Macro.
3414         (M_PI2_LOG10El): Rename to
3415         (lit_pi_2_ln10_m_d):  New Macro.
3416         (M_PI4_LOG10El): Rename to
3417         (lit_pi_4_ln10_m_d):  New Macro.
3418         (M_PI_LOG10El): Rename to
3419         (lit_pi_ln10_d):  New Macro.
3421 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3423         [BZ #20157]
3424         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3425         determine whether to negate low half if [_ARCH_PPCGR], and integer
3426         comparison otherwise.
3427         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3428         determine whether to negate low half.
3430         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3431         (NO_TEST_INLINE_DOUBLE): Likewise.
3432         (TEST_COND_x86_64): Likewise.
3433         (TEST_COND_x86): Likewise.
3434         (M_PI_6l): Likewise.
3436 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3438         * math/libm-test.inc:
3439         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3440         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3441         (TEST_LDOUBLE): Update usage to evaluate as true if
3442         the guarded tests match the property being tested.
3443         (LDBL_MAX_EXP): Change to MAX_EXP.
3444         (LDBL_MIN_EXP): Change to MIN_EXP.
3445         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3446         nexttoward tests.
3448 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3450         * math/libm-test.inc:
3451         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3452         (TYPE_MIN): Likewise.
3453         (TYPE_TRUE_MIN): Likewise.
3454         (TYPE_MAX): Likewise.
3455         (MIN_EXP): Likewise.
3456         (MAX_EXP): Likewise.
3457         (MANT_DIG): Likewise.
3459         (FSTR_MAX): New macro.
3460         (__CONCATX): Likewise.
3461         (QTYPE_STR): Likewise.
3462         (TEST_COND_binary32): Likewise.
3463         (TEST_COND_binary64): Likewise.
3464         (TEST_COND_binary128): Likewise.
3465         (TEST_COND_ibm128): Likewise.
3466         (TEST_COND_intel96): Likewise.
3467         (TEST_COND_m68k96): Likewise.
3469         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3470         (TEST_COND_dbl_64): Likewise.
3471         (TEST_COND_ldbl_96_intel): Likewise.
3472         (TEST_COND_ldbl_96_m68k): Likewise.
3473         (TEST_COND_ldbl_128): Likewise.
3474         (TEST_COND_ldbl_128ibm): Likewise.
3476         (plus_zero): Redefine using LIT macro.
3477         (minus_zero): Likewise.
3478         (plus_infty): Redefine as (INF).
3479         (minux_infty): Redefine as (-INF).
3480         (max_value): Redefine as TYPE_MAX.
3481         (min_value): Redefine as TYPE_MIN.
3482         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3484         (print_float): Refactor to use snprintf to convert FLOAT values
3485         to string. This brings it closer to dropin replacement of strtof
3486         for the TS 18661 defined types.
3487         (update_stats): Likewise.
3488         (print_complex_function_ulps): Likewise.
3489         (print_max_error): Likewise.
3490         (print_complex_max_error): Likewise.
3491         (check_float_internal): Likewise.
3493         * math/test-float.h (PREFIX): New macro.
3494         (LIT): Likewise.
3495         (TYPE_STR): Likewise.
3496         (FTOSTR): Likewise.
3498         * math/test-double.h (PREFIX): New macro.
3499         (LIT): Likewise.
3500         (TYPE_STR): Likewise.
3501         (FTOSTR): Likewise.
3503         * math/test-ldouble.h (PREFIX): New macro.
3504         (LIT): Likewise.
3505         (TYPE_STR): Likewise.
3506         (FTOSTR): Likewise.
3508 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3510         [BZ #20156]
3511         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3512         to itself when zero or not finite.
3513         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3514         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3515         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3516         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3518 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3520         [BZ #20153]
3521         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3522         x * x + x for infinities and NaNs.
3524         [BZ #20151]
3525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3526         argument to itself before returning result.
3527         (__ieee754_y0l): Likewise.
3528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3529         (__ieee754_y1l).
3531         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3532         (atan_test_data): Likewise.
3533         (ceil_test_data): Likewise.
3534         (cos_test_data): Likewise.
3535         (cosh_test_data): Likewise.
3536         (erf_test_data): Likewise.
3537         (exp2_test_data): Likewise.
3538         (fabs_test_data): Likewise.
3539         (floor_test_data): Likewise.
3540         (ilogb_test_data): Likewise.
3541         (j0_test_data): Likewise.
3542         (j1_test_data): Likewise.
3543         (jn_test_data): Likewise.
3544         (lgamma_test_data): Likewise.
3545         (lrint_test_data): Likewise.
3546         (llrint_test_data): Likewise.
3547         (logb_test_data): Likewise.
3548         (lround_test_data): Likewise.
3549         (llround_test_data): Likewise.
3550         (nearbyint_test_data): Likewise.
3551         (rint_test_data): Likewise.
3552         (round_test_data): Likewise.
3553         (sin_test_data): Likewise.
3554         (sincos_test_data): Likewise.
3555         (sinh_test_data): Likewise.
3556         (sqrt_test_data): Likewise.
3557         (tan_test_data): Likewise.
3558         (tanh_test_data): Likewise.
3559         (tgamma_test_data): Likewise.
3560         (trunc_test_data): Likewise.
3561         (y0_test_data): Likewise.
3562         (y1_test_data): Likewise.
3563         (yn_test_data): Likewise.
3565         * math/libm-test.inc: Update comment about NaN testing.
3566         (TEST_SNAN): New macro.
3567         (snan_value): Likewise.
3568         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3569         (fpclassify_test_data): Add sNaN tests.
3570         (isfinite_test_data): Likewise.
3571         (isinf_test_data): Likewise.
3572         (isnan_test_data): Likewise.
3573         (isnormal_test_data): Likewise.
3574         (issignaling_test_data): Likewise.
3575         (signbit_test_data): Likewise.
3576         * math/gen-libm-test.pl (%beautify): Add snan_value.
3577         (show_exceptions): Add argument $test_snan.
3578         (parse_args): Handle snan_value as non-finite.  Update call to
3579         show_exceptions.
3580         * math/Makefile (libm-test-no-inline-cflags): Add
3581         -fsignaling-nans.
3583 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3585         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3586         (CFLAGS-oldsendmsg.c): Add rule.
3587         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3588         Correct recvmsg symbol name.
3589         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3590         Likewise.
3592 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3594         * sysdeps/unix/sysv/linux/Makefile
3595         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3596         oldsendmmsg.
3597         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3598         sendmmsg.
3599         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3602         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3605         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3607         Likewise.
3608         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3609         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3610         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3611         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3612         iovlen and controllen fields to adjust to POSIX specification.
3613         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3615         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3616         and change to correct expected type.
3617         (msghdr.msg_controllen): Likewise.
3618         (cmsghdr.cmsg_len): Likewise.
3619         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3620         expected POSIX assumption about the size.
3621         (msghdr.msg_controllen): Likewise.
3622         (msghdr.__glibc_reserved1): Likewise.
3623         (msghdr.__glibc_reserved2): Likewise.
3624         (cmsghdr.cmsg_len): Likewise.
3625         (cmsghdr.__glibc_reserved1): Likewise.
3626         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3627         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3628         (CFLAGS-sendmsg.c): Remove rule.
3629         (CFLAGS-recvmsg.c): Likewise.
3630         (CFLAGS-oldsendmsg.c): Add rule.
3631         (CFLAGS-oldrecvmsg.c): Likewise.
3632         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3633         recvmsg and sendmsg.
3634         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3635         Likewise.
3636         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3637         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3638         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3639         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3640         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3641         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3642         Likewise.
3643         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3644         Likewise.
3645         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3646         Likewise.
3647         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3648         Likewise.
3649         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3650         Likewise.
3651         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3652         Likewise.
3653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3654         (GLIBC_2.24): Likewise.
3655         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3656         Likewise.
3657         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3660         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3661         Likewise.
3662         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3663         Likewise.
3664         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3665         Likewise.
3666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3667         (GLIBC_2.24): Likewise.
3668         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3669         Likewise.
3670         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3671         Likewise.
3672         * sysdeps/unix/sysv/linux/Makefile
3673         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3674         (CFLAGS-sendmsg.c): Add rule.
3675         (CFLAGS-recvmsg.c): Likewise.
3676         (CFLAGS-oldsendmsg.c): Likewise.
3677         (CFLAGS-oldrecvmsg.c): Likewise.
3678         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3679         initialization.
3680         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3681         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3682         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3683         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3684         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3685         iovlen and controllen fields to adjust to POSIX specification.
3686         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3687         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3688         added recvmsg and sendmsg.
3689         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3691         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3692         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3694         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3695         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3696         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3697         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3698         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3699         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3702         Likewise.
3703         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3705         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3706         Likewise.
3707         Likewise.
3708         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3709         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3710         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3711         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3712         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3713         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3715         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3719         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3721         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3722         from auto-generation.
3723         (sendmsg): Likewise.
3724         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3725         (sendmsg): Likewise.
3726         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3727         (sendmsg): Likewise.
3728         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3729         (sendmsg): Likewise.
3730         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3731         (sendmsg): Likewise.
3732         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3733         (sendmsg): Likewise.
3734         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3735         Likewise.
3736         (sendmsg): Likewise.
3737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3738         (sendmsg): Likewise.
3739         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3741         Remove.
3742         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3743         Likewise.
3744         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3745         Undefine.
3746         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3747         Likewise.
3748         * sysdeps/unix/sysv/linux/kernel-features.h
3749         (__ASSUME_SENDMSG_SYSCALL): Define.
3750         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3753         Remove.
3754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3755         Likewise.
3756         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3757         Undefine.
3758         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3759         Likewise.
3760         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3761         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3762         Remove.
3763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3764         Likewise.
3765         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3766         Undefine.
3767         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3768         Likewise.
3769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3770         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3771         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3772         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3773         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3774         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3775         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3776         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3777         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3779 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3781         * stdlib/gen-tst-strtod-round.c: Add backslash to
3782         compile command in comment.
3783         (printfp): Remove the literal suffix, and define an infinite
3784         value as INF to avoid expansion clash with INFINITY.
3785         (round_str): Remove the literal suffix.
3786         (round_for_all): Likewise, remove the now duplicate ldbl-64
3787         entry, and remove some magic constants.
3789         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3790         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3791         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3792         (_CONCAT): New macro.
3793         (CONCAT): Likewise.
3794         (CHOOSE_ld): Likewise.
3795         (CHOOSE_f): Likewise.
3796         (CHOOSE_d): Likewise.
3797         (FTYPE_MEMBER): Likewise.
3798         (BOOL_MEMBER): Likewise.
3799         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3800         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3801         (_XNTRY): Likewise.
3802         (XNTRY): Likewise.
3803         (_ENTRY): Likewise.
3804         (ENTRY): Likewise.
3805         (test_exactness): Generate members via macro.
3806         (test_results): Likewise.
3807         (test): Update members.
3808         (TEST): Redefine using new macros.
3809         (INF): New macro.
3810         (fetestmodes): New structure.
3811         (do_test): Refactor to be type generic.
3812         (test_in_one_mode): Refactor duplicate code into
3813         (GEN_ONE_TEST): New macro.
3815         * stdlib/tst-strtod-round-data.h: Regenerate.
3817         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3818         Extend to pass additional arbitrary parameters to
3819         generators.
3821 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3823         [BZ #15479]
3824         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3825         floating-point state after first floating-point operation on
3826         input.  Restore full floating-point state instead of just rounding
3827         mode.
3828         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3829         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3830         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3831         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3832         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3834         [BZ #15479]
3835         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3836         floating-point state after first floating-point operation on
3837         input.  Restore full floating-point state instead of just rounding
3838         mode.
3839         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3840         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3841         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3842         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3843         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3845 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3847         [BZ #19727]
3848         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3849         valid high surrogate.
3850         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3851         of an utf16 surrogate.
3852         * iconv/gconv_simple.c (BODY): Likewise.
3853         * iconvdata/bug-iconv12.c: New file.
3854         * iconvdata/Makefile (tests): Add bug-iconv12.
3856 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3858         [BZ #19726]
3859         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3860         outptrp in case of an illegal input.
3861         * iconv/tst-iconv6.c: New file.
3862         * iconv/Makefile (tests): Add tst-iconv6.
3864 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3866         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3867         an error in case of a value in range of an utf16 low surrogate.
3869 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3871         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3872         an error in case of a value in range of an utf16 low surrogate.
3874 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3876         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3877         Move to ...
3878         * sysdeps/s390/Makefile: ... here.
3879         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3880         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3881         (BRANCH_ON_COUNT): New define.
3882         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3883         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3884         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3885         run on s390-32, too.
3886         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3887         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3888         run on s390-32, too.
3889         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3890         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3891         run on s390-32, too.
3893 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3895         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3896         etf3eh or new vector loop-variant.
3898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3900         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3901         etf3eh or new vector loop-variant.
3903 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3905         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3906         or new vector loop-variant.
3908 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3910         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3911         Rename to TR_LOOP and usage of tr instead of troo instruction.
3913 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3915         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3918 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3920         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3921         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3922         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3923         New override define.
3924         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3926 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3928         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3929         * sysdeps/s390/configure.ac: Add test for S390 vector register
3930         support in gcc.
3931         * sysdeps/s390/configure: Regenerated.
3933 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3935         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3936         Install file from $(objpfx)gconv-modules.
3937         ($(objpfx)gconv-modules): Concatenate architecture specific file
3938         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3939         * sysdeps/s390/gconv-modules: New file.
3940         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3941         Deleted.
3942         ($(objpfx)gconv-modules-s390): Deleted.
3943         (sysdeps-gconv-modules): New variable.
3945 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3947         [BZ #15479]
3948         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3949         of immediate operand to rounding instruction.
3950         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3951         Likewise.
3952         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3953         Likewise.
3954         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3955         Likewise.
3957 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3959         * math/libm-test.inc (MIN_EXP): Directly define as
3960         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3962 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3964         * math/libm-test.inc (MANT_DIG): Directly define as
3965         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3967 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3969         * stdlib/gen-tst-strtod-round.c (main):
3970           Change usage to more closely match the generated
3971           output.  Add usage and compilation instructions.
3972           (string_to_fp): Add and use FILE* parameter as
3973           output target.
3974           (print_fp): Likewise.
3975           (round_str): Likewise.
3976           (round_for_all): Likewise.
3977         * stdlib/tst-strtod-round.c (tests): Move into
3978         * stdlib/tst-strtod-round-data.h: New file.
3980 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3982         [BZ #15479]
3983         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3984         (__round): Do not force "inexact" exception.
3985         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3986         variable.
3987         (__round): Do not force "inexact" exception.
3988         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3989         (__roundf): Do not force "inexact" exception.
3990         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3991         (__roundl): Do not force "inexact" exception.
3992         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3993         (__roundl): Do not force "inexact" exception.
3994         * math/libm-test.inc (round_test_data): Do not allow spurious
3995         "inexact" exceptions.
3997         [BZ #15479]
3998         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3999         exception in comment.
4000         (huge): Remove variable.
4001         (__floor): Do not force "inexact" exception.
4002         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4003         "inexact" exception in comment.
4004         (huge): Remove variable.
4005         (__floor): Do not force "inexact" exception.
4006         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4007         exception in comment.
4008         (huge): Remove variable.
4009         (__floorf): Do not force "inexact" exception.
4010         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4011         exception in comment.
4012         (huge): Remove variable.
4013         (__floorl): Do not force "inexact" exception.
4015         [BZ #15479]
4016         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4017         exception in comment.
4018         (huge): Remove variable.
4019         (__ceil): Do not force "inexact" exception.
4020         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4021         "inexact" exception in comment.
4022         (huge): Remove variable.
4023         (__ceil): Do not force "inexact" exception.
4024         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4025         (__ceilf): Do not force "inexact" exception.
4026         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4027         exception in comment.
4028         (huge): Remove variable.
4029         (__ceill): Do not force "inexact" exception.
4031 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4033         * config.h.in (BIND_NOW): New.
4034         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4035         * configure: Regenerated.
4036         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4037         indirect branch via the GOT slot.
4039 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4041         [BZ #19765]
4042         * sysdeps/s390/mempcpy.S: New File.
4043         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4044         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4045         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4046         Add mempcpy variants.
4047         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4048         (memcpy): Adjust to be usable from mempcpy entry point.
4049         (__memcpy_mvcle): Likewise.
4050         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4051         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4052         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4053         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4054         (__memcpy_z10): Likewise.
4055         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4057 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4059         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4060         Remove __GI_ symbol.
4061         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4062         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4063         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4064         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4065         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4066         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4068 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4070         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4071         Use cghi instead of chi to compare 64bit value.
4073 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4075         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4076         Jump to 1MB check before executing mvc-loop.
4078 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4080         [BZ #6527]
4081         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4082         unconditionally.
4083         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4085 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4087         * stdlib/tst-strtod6.c (do_test): Use new type generic
4088         invocation of the test function.
4089         (test): Refactor into ...
4090         (TEST_STRTOD): New macro base function.
4092 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4094         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4095         (TEST_STRTOD): New macro.
4096         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4098 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4100         * stdlib/tst-strtod6.c (do_test): Use new type generic
4101         invocation of the test function.
4102         (test): Refactor into ...
4103         (TEST_STRTOD): New macro base function.
4105 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4107         CVE-2016-4429
4108         [BZ #20112]
4109         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4110         payload.
4112 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4114         [BZ #20111]
4115         * bits/sockaddr.h (_SS_SIZE): Define.
4116         * bits/socket.h (_SS_SIZE): Remove.
4117         (_SS_PADSIZE): Adjust to account for all padding.
4118         (struct sockaddr_storage): Update comment.  Avoid implicit
4119         padding.
4120         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4121         (_SS_PADSIZE): Adjust to account for all padding.
4122         (struct sockaddr_storage): Update comment.  Avoid implicit
4123         padding.
4124         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4125         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4126         (_SS_PADSIZE): Adjust to account for all padding.
4127         (struct sockaddr_storage): Update comment.  Avoid implicit
4128         padding.
4129         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4130         __SS_SIZE is 126 in this version.
4131         * inet/tst-sockaddr.c: New file.
4132         * inet/Makefile (tests): Add tst-sockaddr.c
4133         (tst-sockaddr.c): Compile with non-strict aliasing.
4135 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4137         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4138         [XPG3 || XPG4].
4139         (NL_ARGMAX): Also expect for [XPG3].
4140         (NL_LANGMAX): Likewise.
4141         (NL_MSGMAX): Likewise.
4142         (NL_NMAX): Likewise.
4143         (NL_SETMAX): Likewise.
4144         (NL_TEXTMAX): Likewise.
4145         (NZERO): Likewise.
4146         (TMP_MAX): Likewise.
4147         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4148         variable.
4150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4151         (PF_MAX): Update value.
4152         (AF_KCM): New macro.
4153         (SOL_NETBEUI): Likewise.
4154         (SOL_LLC): Likewise.
4155         (SOL_DCCP): Likewise.
4156         (SOL_NETLINK): Likewise.
4157         (SOL_TIPC): Likewise.
4158         (SOL_RXRPC): Likewise.
4159         (SOL_PPPOL2TP): Likewise.
4160         (SOL_BLUETOOTH): Likewise.
4161         (SOL_PNPIPE): Likewise.
4162         (SOL_RDS): Likewise.
4163         (SOL_IUCV): Likewise.
4164         (SOL_CAIF): Likewise.
4165         (SOL_ALG): Likewise.
4166         (SOL_NFC): Likewise.
4167         (SOL_KCM): Likewise.
4168         (MSG_BATCH): New enum value and macro.
4170 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4172         [BZ #18185]
4173         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4174         sharing L2 cache to 2 for Knights Landing.
4176 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4178         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4179         (FTW_DP): Do not expect for [XPG3 || XPG4].
4180         (FTW_SL): Do not expect for [XPG3].
4181         (FTW_SLN): Likewise.
4182         (FTW_PHYS): Likewise.
4183         (FTW_MOUNT): Likewise.
4184         (FTW_DEPTH): Likewise.
4185         (FTW_CHDIR): Likewise.
4186         (nftw): Likewise.
4187         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4188         variable.
4190 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4192         * manual/errno.texi: Fix various typos & grammar errors.
4194 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4196         * manual/intro.texi: Fix duplicated typo.
4198 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4200         [BZ #13304]
4201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4202         <float.h>, <math_private.h> and <stdlib.h>.
4203         (add_split): New function.
4204         (mul_split): Likewise.
4205         (ext_val): New typedef.
4206         (store_ext_val): New function.
4207         (mul_ext_val): New function.
4208         (compare): New function.
4209         (add_split_ext): New function.
4210         (__fmal): After checking for Inf, NaN and zero, compute result as
4211         an exact sum of scaled double values in round-to-nearest before
4212         adding those up and adjusting for other rounding modes.
4213         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4214         tests of fma.
4215         * math/auto-libm-test-out: Regenerated.
4217 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4219         [BZ #20119]
4220         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4221         processor level type mask for CPUID with EAX == 11.
4223 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4225         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4226         logical threads if the HTT bit is 0.
4227         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4228         (index_cpu_HTT): Likewise.
4229         (reg_HTT): Likewise.
4231 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4233         [BZ #20115]
4234         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4235         Remove alignments on jump targets.
4237 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4239         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4240         (getpwent): Likewise.
4241         (setpwent): Likewise.
4242         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4243         variable.
4245         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4246         (remque): Likewise.
4247         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4248         variable.
4250 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4252         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4253         not being tested.
4255 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4257         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4258         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4259         call.
4260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4261         (__condvar_cleanup1): Likewise.
4263 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4265         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4266         New
4267         (__pthread_unwind): Renamed to ...
4268         (PTHREAD_UNWIND): This.
4269         (__pthread_enable_asynccancel): Replace
4270         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4272 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4274         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4275         (CLONE_NEWCGROUP): New macro.
4277         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4278         (Q_GETNEXTQUOTA): New macro.
4280 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4282         [BZ #19907]
4283         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4284         buffer updated by the previous run.
4285         * string/test-memcpy.c (do_one_test): Likewise.
4286         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4287         * string/test-memmove.c (do_one_test): Likewise.
4289 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4291         [BZ #20094]
4292         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4293         not [__USE_XOPEN].
4294         (unlockpt): Likewise.
4295         (ptsname): Likewise.
4296         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4297         variable.
4299         [BZ #20076]
4300         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4301         instead of [__USE_UNIX98].
4302         (S_ISSOCK): Likewise.
4303         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4304         variable.
4306         [BZ #20074]
4307         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4308         [__USE_POSIX].
4309         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4310         variable.
4312         [BZ #20051]
4313         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4314         (ttyslot): Do not declare.
4315         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4316         (ttyslot): New prototype.
4317         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4318         variable.
4319         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4321 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4323         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4325 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4327         Fix race condition in tst-mallocfork2, use fewer resources.
4328         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4329         to current process group.
4330         (signal_sender): Yield in the non-sleeping case.
4332 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4334         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4335         (ecvt): Likewise.
4336         (fcvt): Likewise.
4337         (gcvt): Likewise.
4338         (getsubopt): Likewise.
4339         (grantpt): Likewise.
4340         (initstate): Likewise.
4341         (l64a): Likewise.
4342         (mktemp): Likewise.
4343         (mkstemp): Likewise.
4344         (ptsname): Likewise.
4345         (random): Likewise.
4346         (realpath): Likewise.
4347         (setstate): Likewise.
4348         (srandom): Likewise.
4349         (ttyslot): Likewise.
4350         (unlockpt): Likewise.
4351         (valloc): Likewise.
4353         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4354         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4355         variable.
4357 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4359         [BZ #20072]
4360         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4361         init_cpu_features only if SHARED is defined.
4362         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4364 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4366         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4367         non-inclusive caches on Intel processors.
4369 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4371         * malloc/malloc.c (dumped_main_arena_start)
4372         (dumped_main_arena_end): New variables.
4373         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4374         (do_check_chunk): Skip dumped fake mmapped chunks.
4375         (munmap_chunk): Likewise.
4376         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4377         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4378         mmapped chunks.
4379         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4380         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4381         and dumped_main_arena_end to cover the dumped heap.
4383 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4385         * conform/data/time.h-data (getdate_err): Do not expect for
4386         [XPG3].
4387         (getdate): Likewise.
4388         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4389         variable.
4391         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4392         (F_ULOCK): Likewise.
4393         (F_TEST): Likewise.
4394         (F_TLOCK): Likewise.
4395         (useconds_t): Likewise.
4396         (intptr_t): Do not expect for [XPG3] or [XPG4].
4397         (brk): Do not expect for [XPG3]
4398         (fchown): Likewise.
4399         (fchdir): Likewise.
4400         (ftruncate): Likewise.
4401         (getdtablesize): Likewise.
4402         (gethostid): Likewise.
4403         (getpagesize): Likewise.
4404         (getpgid): Likewise.
4405         (getsid): Likewise.
4406         (getwd): Likewise.
4407         (lchown): Likewise.
4408         (lockf): Likewise.
4409         (readlink): Likewise.
4410         (sbrk): Likewise.
4411         (setpgrp): Likewise.
4412         (setregid): Likewise.
4413         (setreuid): Likewise.
4414         (symlink): Likewise.
4415         (sync): Likewise.
4416         (truncate): Likewise.
4417         (ualarm): Likewise.
4418         (usleep): Likewise.
4419         (vfork): Likewise.
4420         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4421         variable.
4423         [BZ #20054]
4424         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4425         not [__USE_UNIX98].
4426         * conform/data/unistd.h-data (gethostname): Do not expect for
4427         [XPG3].
4429         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4430         [!POSIX] (S_IFBLK): Likewise.
4431         [!POSIX] (S_IFCHR): Likewise.
4432         [!POSIX] (S_IFIFO): Likewise.
4433         [!POSIX] (S_IFREG): Likewise.
4434         [!POSIX] (S_IFDIR): Likewise.
4435         [!POSIX] (S_IFLNK): Likewise.
4436         [!POSIX] (S_IFSOCK): Likewise.
4437         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4438         variable.
4439         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4441 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4443         * sysdeps/aarch64/memset.S (__memset):
4444         Rewrite of optimized memset.
4446 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4448         [BZ #19703]
4449         Partially async-signal-safe fork for single-threaded processes.
4450         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4451         variable.  Do not acquire and reset/release malloc and libio locks
4452         in single-threaded processes.
4453         * malloc/tst-mallocfork2.c: New file.
4454         * malloc/Makefile (tests): Add it.
4456 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4458         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4459         argument.  Use scratch buffer instead of extend_alloca.
4460         (gethosts): Use scratch buffer instead of extend_alloca.
4461         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4462         extend_alloca.
4463         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4465 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4467         [BZ #20055]
4468         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4469         instead of [__USE_UNIX98].
4470         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4471         [__USE_UNIX98].
4472         * conform/data/termios.h-data (tcgetsid): Do not expect for
4473         [XPG3].
4474         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4475         variable.
4476         (test-xfail-XPG4/termios.h/conform): Likewise.
4478 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4480         Do not use mcheck in localedef.
4481         * locale/programs/localedef.c (turn_on_mcheck)
4482         (__malloc_initialize_hook): Remove.
4484 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4486         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4487         * sysdeps/s390/s390-64/Makefile: Likewise.
4489 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4491         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4492         Remove ifunc-defines.sym.
4493         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4494         Likewise.
4495         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4496         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4497         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4498         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4499         rtld-global-offsets.sym.
4500         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4501         * sysdeps/x86/cpu-features-offsets.sym: This.
4502         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4503         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4505 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4507         [BZ #20073]
4508         * io/sys/stat.h (fchmod): Declare for
4509         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4510         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4511         variable.
4513         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4514         [XPG3] (S_IFSOCK): Likewise.
4515         [XPG3] (S_ISVTX): Likewise.
4516         [XPG3] (S_ISLNK): Likewise.
4517         [XPG3] (S_ISSOCK): Likewise.
4518         [XPG3] (fchmod): Likewise.
4519         [XPG3] (lstat): Likewise.
4520         [XPG3] (mknod): Likewise.
4522         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4523         [XPG3].  Expect type long and XFAIL for [XPG4].
4524         (st_blocks): Likewise.
4526         [BZ #20044]
4527         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4528         (pthread_atfork): New prototype.
4529         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4530         variable.
4532         [BZ #20043]
4533         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4534         prototype.
4536 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4538         [BZ #20017]
4539         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4540         gmtime.
4542 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4544         [BZ #19994]
4545         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4546         flag in _res.options.
4548 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4550         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4551         [XPG3 || XPG4].
4552         (blksize_t): Likewise.
4553         (clockid_t): Likewise.
4554         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4555         variable.
4556         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4558 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4560         * sysdeps/unix/sysv/linux/s390/init-first.c:
4561         Add VDSO_SYMBOL(getcpu).
4562         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4563         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4564         Add VDSO_SYMBOL(getcpu).
4565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4566         New define HAVE_GETCPU_VSYSCALL.
4567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4569 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4571         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4572         instead of <sysdeps/x86_64/cacheinfo.c>.
4573         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4574         * sysdeps/x86/cacheinfo.c: Here.
4576 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4578         * malloc/malloc-internal.h: Adjust header file guard.
4580 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4582         [BZ #19787]
4583         * inet/getnameinfo.c (check_sprintf_result): New function.
4584         (CHECKED_SNPRINTF): New macro.
4585         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4586         to the host buffer.
4587         (gni_host_local): Use checked_copy to copy the host name.
4588         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4589         (gni_serv_local): Use checked_copy to copy the service name.
4590         (getnameinfo): Remove unnecessary truncation of result buffers.
4592 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4594         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4595         in case of inet_ntop failure.
4597 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4599         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4600         avoid long lines.
4601         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4602         variables.
4603         (gni_host_inet, gni_host_local): Add comment.
4604         (gni_host): Add comment.  Use temporary to avoid long lines.
4606 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4608         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4609         registers specifiers where general purpose registers specifiers should
4610         have been used.
4612 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4614         [BZ #19779]
4615         CVE-2016-1234
4616         Avoid copying names of directory entries.
4617         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4618         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4619         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4620         (struct readdir_result): New type.
4621         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4622         (GL_READDIR): New macros.
4623         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4624         (convert_dirent, convert_dirent64): New functions.
4625         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4626         convert_dirent64.  Adjust references to the readdir result.
4627         * sysdeps/unix/sysv/linux/i386/glob64.c:
4628         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4629         * posix/bug-glob2.c (LONG_NAME): Define.
4630         (filesystem): Add LONG_NAME.
4631         (my_DIR): Increase the size of room_for_dirent.
4633 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4635         [BZ #20041]
4636         * misc/sys/select.h (__need_timespec): Only define if
4637         [__USE_XOPEN2K].
4638         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4639         variable.
4640         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4641         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4642         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4644 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4645             Segher Boessenkool  <segher@gcc.gnu.org>
4647         [BZ #20004]
4648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4649         (__novec_swapcontext): Add missing load.
4651 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4653         [BZ #20023]
4654         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4655         <time.h>.
4656         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4657         variable.
4658         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4660 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4663         flags CLONE_VM compare.
4665 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4667         [BZ #20031]
4668         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4669         completely empty.
4671 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4673         [BZ #19573]
4674         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4675         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4676         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4677         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4678         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4679         (hesiod_free_list): Mark as hidden.
4680         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4681         res_set, res_get.
4682         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4683         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4684         (hesiod_init): Remove obsolete res_ninit call.
4685         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4686         (hesiod_bind): Do not call init.
4687         (get_txt_records): Use res_mkquery, res_send instead of
4688         res_nmkquery, res_nsend.
4689         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4690         instead of _nss_hesiod_init.
4691         (_nss_hesiod_initgroups_dyn): Likewise.
4692         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4693         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4694         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4696 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4698         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4699         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4701 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4703         * hesiod/hesiod.h: Remove RCS keyword.
4704         * hesiod/hesiod_p.h: Likewise.
4706         * hesiod/hesiod.c: Likewise.
4708 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4710         [BZ #12450]
4711         * locale/iso-639.def: Add Samogitian/sgs.
4713 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4715         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4717         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4719 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4720             Carlos O'Donell  <carlos@redhat.com>
4722         [BZ #19072]
4723         * grp/Makefile (headers): Add grp-merge.h
4724         (routines): Add grp-merge.
4725         * grp/getgrgid_r.c: Include grp-merge.h.
4726         (DEEPCOPY_FN): Define.
4727         (MERGE_FN): Define.
4728         * grp/getgrname_r.c: Include grp-merge.h.
4729         (DEEPCOPY_FN): Define.
4730         (MERGE_FN): Define.
4731         * grp/grp-merge.c: New file.
4732         * grp/grp-merge.h: New file.
4733         * include/grp-merge.h: New file.
4734         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4735         __copy_grp@GLIBC_PRIVATE.
4736         * manual/nss.texi (Actions in the NSS configuration): Describe
4737         return, continue, and merge.
4738         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4739         (DEEPCOPY_FN): Define.
4740         (MERGE_FN): Define.
4741         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4742         (DEEPCOPY_FN): Define.
4743         (MERGE_FN): Define.
4744         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4745         [!MERGE_FN]: Define __merge_einval.
4746         (CHECK_MERGE): Define.
4747         (REENTRANT_NAME): Process merge if do_merge is true.
4748         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4749         (__nss_getent_r): Likewise.
4750         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4751         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4753 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4755         [BZ #20012]
4756         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4757         length to calculate the buffer to read.
4758         (fmemopen_write): Set the buffer position based on bytes written.
4759         (fmemopen_seek): Return EINVAL for invalid whence modes.
4761         [BZ #19957]
4762         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4763         tst-getpid2.
4764         (test): Add tst-clone2.
4765         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4766         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4767         pid/tid fields for CLONE_VM.
4768         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4769         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4771         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4772         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4773         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4774         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4775         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4777         Likewise.
4778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4779         Likewise.
4780         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4781         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4782         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4783         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4784         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4785         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4786         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4787         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4789 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4791         [BZ #19642]
4792         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4793         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4794         (gni_serv_local, gni_serv): New functions extracted from
4795         getnameinfo.
4796         (getnameinfo): Call gni_host and gni_serv to perform the
4797         processing.  Always free scratch buffer.
4799 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4801         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4802         remaining bytes in the dest string, with zeros.
4804 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4806         [BZ #20010]
4807         CVE-2016-3706
4808         * sysdeps/posix/getaddrinfo.c
4809         (convert_hostent_to_gaih_addrtuple): New function.
4810         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4811         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4812         AF_INET data.
4814 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4816         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4817         callback function gl_readdir.
4818         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4819         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4820         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4821         memcpy to copy the name.
4822         * manual/pattern.texi (Calling Glob): Document requirements for
4823         implementations of the gl_readdir callback function.
4824         * manual/examples/mkdirent.c: New example.
4825         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4826         per the manual guidance.
4827         * posix/tst-gnuglob.c (my_readdir): Likewise.
4829 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4831         [BZ #20014]
4832         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4833         not [__USE_POSIX].
4834         (getchar_unlocked): Likewise.
4835         (putc_unlocked): Likewise.
4836         (putchar_unlocked): Likewise.
4837         (flockfile): Likewise.
4838         (ftrylockfile): Likewise.
4839         (funlockfile): Likewise.
4840         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4841         variable.
4842         (test-xfail-XPG4/stdio.h/conform): Likewise.
4844         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4845         Expect constant.
4846         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4847         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4848         variable.
4849         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4850         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4852         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4853         [__USE_LARGEFILE64] (off64_t): Likewise.
4854         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4855         variable.
4857 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4859         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4861 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4863         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4864         * resolv/res_init.c: Likewise.
4865         * resolv/res_mkquery.c: Likewise.
4867 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4869         * resolv/res_init.c (isascii): Do not define.  Use definition in
4870         <ctype.h>.
4871         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4872         (LOG_AUTH): Remove.
4873         (SPRINTF): Remove, adjust caller.
4874         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4876 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4878         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4879         SUNSECURITY conditional.
4880         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4882 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4884         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4885         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4886         Remove BSD-related preprocessor conditionals.
4887         * conf/portability.h: Remove.
4889 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4891         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4892         * resolv/res_data.c: Likewise.
4894 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4896         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4897         * resolv/res_data.c: Remove code conditional on ultrix.
4899 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4901         * resolv/res_init.c (RFC1535): Do not define.  Remove
4902         RFC1535 preprocessor conditionals.
4903         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4904         because there configuration options which make the resolver
4905         behavior different.
4907 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4909         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4910         RESOLVSORT preprocessor conditionals.
4911         * resolv/nss_dns/dns-host.c: Likewise.
4912         * resolv/res_init.c: Likewise.
4914 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4916         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4917         is never defined.
4919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4921         * inet/inet_lnaof.c: Remove SCSS keyword.
4922         * inet/inet_mkadr.c: Likewise.
4923         * inet/inet_net.c: Likewise.
4924         * inet/inet_netof.c: Likewise.
4925         * inet/rcmd.c: Likewise.
4926         * inet/rexec.c: Likewise.
4927         * inet/ruserpass.c: Likewise.
4929 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4931         * resolv/inet_addr.c: Remove _LIBC conditionals.
4932         * resolv/res_data.c: Likewise.
4933         * resolv/res_init.c: Likewise.
4934         * resolv/res_mkquery.c: Likewise.
4935         * resolv/res_libc.c: Update comment.
4936         * resolv/README: Update.
4938 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4940         * resolv/gethnamaddr.c: Remove SCSS keyword.
4941         * resolv/herror.c: Likewise.
4942         * resolv/inet_addr.c: Likewise.
4943         * resolv/inet_net_ntop.c: Likewise.
4944         * resolv/inet_net_pton.c: Likewise.
4945         * resolv/inet_neta.c: Likewise.
4946         * resolv/inet_ntop.c: Likewise.
4947         * resolv/inet_pton.c: Likewise.
4948         * resolv/ns_date.c: Remove RCS keyword.
4949         * resolv/ns_name.c: Likewise.
4950         * resolv/ns_netint.c: Likewise.
4951         * resolv/ns_parse.c: Likewise.
4952         * resolv/ns_print.c: Likewise.
4953         * resolv/ns_samedomain.c: Likewise.
4954         * resolv/ns_ttl.c: Likewise.
4955         * resolv/nsap_addr.c: Likewise.
4956         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4957         * resolv/res_data.c: Remove RCS keyword.
4958         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4959         * resolv/res_init.c: Likewise.
4960         * resolv/res_mkquery.c: Likewise.
4961         * resolv/res_query.c: Likewise.
4962         * resolv/res_send.c: Likewise.
4964 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4966         * conform/data/stdio.h-data (fdopen): Expect also for
4967         [XPG3 || XPG4].
4969         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4970         (fseeko): Likewise.
4971         (ftello): Likewise.
4972         (ftrylockfile): Likewise.
4973         (funlockfile): Likewise.
4974         (getc_unlocked): Likewise.
4975         (getchar_unlocked): Likewise.
4976         (putc_unlocked): Likewise.
4977         (putchar_unlocked): Likewise.
4979 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4981         [BZ #19868]
4982         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4983         DNS packet syntax checks (which were not needed before).  Skip
4984         over non-PTR records.
4986 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4988         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4989         definition.  Include <stddef.h> instead.
4991 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4993         [BZ #19831]
4994         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4995         function.
4996         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4997         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4999 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5001         [BZ #19862]
5002         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5003         (getanswer_r): Do not call syslog.
5004         (gaih_getanswer_slice): Likewise.
5005         * resolv/gethnamaddr.c (AskedForGot): Remove.
5006         (getanswer): Do not call syslog.
5007         (gethostbyaddr): Likewise.
5009 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5011         * conform/data/signal.h-data (union sigval): Expect also if
5012         [XOPEN2K].
5013         (struct sigevent): Likewise.
5014         (SIGEV_NONE): Likewise.
5015         (SIGEV_SIGNAL): Likewise.
5016         (SIGEV_THREAD): Likewise.
5017         (SIGRTMIN): Likewise.
5018         (SIGRTMAX): Likewise.
5019         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5020         variable.
5021         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5023 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5025         [BZ #19830]
5026         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5027         (gaih_getanswer_slice): Likewise.
5028         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5029         Also check for availability of RR metadata.
5031 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5033         [BZ #19825]
5034         * resolv/res_send.c (send_vc): Remove early *resplen2
5035         initialization.  Set *resplen2 on socket error.  Call
5036         close_and_return_error for other errors.
5038 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5040         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5041         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5042         (SCM_IUCV_TRGCLS): New define.
5044 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5046         [BZ #20005]
5047         * libio/fmemopen.c (fmemopen_write): Update internal position after
5048         write.
5049         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5050         * stdio-common/tst-fmemopen4.c: New file..
5052 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5054         [BZ #19996]
5055         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5056         not [__USE_XOPEN2K].
5057         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5058         variable.
5060         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5061         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5062         variable.
5064         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5065         [__USE_XOPEN2K8].
5066         [__USE_LARGEFILE64] (off64_t): Likewise.
5067         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5068         variable.
5070 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5072         [BZ #19989]
5073         * libio/stdio.h (cuserid): Do not declare if
5074         [__USE_XOPEN2K && !__USE_GNU].
5075         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5076         variable.
5078 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5080         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5081         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5083         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5084         ifunc'ed strcspn.
5085         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5086         [EALIGN]: Removed.
5087         [END]: Likewise
5088         [STRSPN]: Define instead of the above to control symbol name.
5089         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5090         New file.
5091         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5092         Likewise.
5093         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5094         Likewise.
5095         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5096         Likewise.
5097         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5098         [INITIAL_MASK]: New macro.
5099         [STRCSPN]: Likewise.
5100         [UPDATE_MASK]: Likewise.
5101         [USE_AS_STRCSPN]: Lisewise.
5103 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5105         [BZ #19931]
5106         * stdio-common/tst-vfprintf-width-prec.c: New file.
5107         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5108         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5109         (generated): Add mtrace-related files.
5110         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5111         (tst-%-mem.out): New pattern rule, replaces
5112         tst-printf-bz18872-mem.out.
5113         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5114         specifier, deallocate any previously allocated work buffer.
5116 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5118         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5119         Add nop before __startcontext, add explaining comments.
5121 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5123         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5124         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5125         completely different API.
5127         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5128         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5129         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5130         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5131         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5132         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5133         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5134         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5135         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5136         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5138 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5140         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5142 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5144         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5145         when it is the default of 0.
5147 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5149         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5150         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5151         (sysdep_routines): Add new strcasestr targets.
5152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5153         (__libc_ifunc_impl_list): Likewise.
5154         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5155         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5156         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5157         * sysdeps/powerpc/powerpc64/power8/Makefile:
5158         New file to add strcasestr-ppc64 to sysdep_routines.
5159         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5160         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5162 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5164         * benchtests/Makefile (wcsmbs-benchset): Include only for
5165         native builds and runs.
5166         (LOCALES): Likewise.
5167         (bench-build): Build timing-type here instead of the bench
5168         target.  Generate locale only for native builds.
5169         * benchtests/README: Add note for cross-building.
5171         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5173         * benchtests/README: Update README to include instructions on
5174         using bench-build.
5176         * Makefile.in (bench-build): New target.
5177         * Rules (PHONY): Add bench-build target.
5178         * benchtests/Makefile (bench): Depend on bench-build.
5179         (bench-build): New target.
5181 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5183         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5184         profil_reply_port.
5185         (profile_waiter): Do not initialize profil_reply_port.
5186         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5187         frequency instead of tick length in us.
5189 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5191         [BZ #18712]
5192         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5193         (__old_mempcpy_small): Likewise.
5194         (__old_strcpy_small): Likewise.
5195         (__old_stpcpy_small): Likewise.
5196         (__old_strpbrk_c2): Fix compat symbol name.
5197         (__old_strpbrk_c3): Likewise.
5198         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5199         (__mempcpy_small): Remove.
5200         (__strcpy_small): Remove.
5201         (__stpcpy_small): Remove.
5203 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5205         [BZ #19400]
5206         * locale/iso-639.def: Add the Talossan/tzl language.
5208 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5210         [BZ #16983]
5211         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5212         comment.  Add "ln" to strchr check on postal_fmt.
5214 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5216         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5217         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5218         tel_dom_fmt.
5220 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5222         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5223         (sysdep_routines): Added __strlen_power8.
5224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5225         __strlen_power8 entry.
5226         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5227         Implementation for POWER8.
5228         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5229         for __strlen_power8.
5230         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5231         Implementation for POWER8.
5233 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5235         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5237 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5239         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5240         Goldmont and Airmont processors.
5242 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5244         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5245         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5246         (__STRING2_SMALL_GET32): Remove.
5247         (memset): Remove.
5248         (__memset_1): Remove.
5249         (__memset_gc): Remove.
5250         (__mempcpy): Remove.
5251         (mempcpy): Remove.
5252         (__mempcpy_args): Remove.
5253         (strchr): Remove.
5254         (strcpy): Remove.
5255         (strcpy_args): Remove.
5256         (__stpcpy_args): Remove.
5257         (__strcmp_cc): Remove.
5258         (__strcmp_gc): Remove.
5259         (strstr): Remove.
5261 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5263         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5264         * nis/nis_call.c (nis_server_cache_add): Likewise.
5266 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5268         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5270 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5272         * malloc/arena.c (__malloc_fork_lock_parent)
5273         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5274         internal_function attribute.
5276 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5278         * stdio-common/printf_fp.c (__printf_fp_l):
5279         Rename ___printf_fp_l to __printf_fp_l and
5280         remove strong alias. Use libc_hidden_def instead
5281         of ldbl_hidden_def macro.
5283 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5285         Remove malloc hooks from fork handler.  They are no longer needed
5286         because malloc runs right before fork, and no malloc calls from
5287         other fork handlers are not possible anymore.
5288         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5289         declarations.
5290         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5291         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5292         (atfork_recursive_cntr): Remove.
5293         (__malloc_fork_lock_parent): Do not override malloc hooks and
5294         thread_arena.
5295         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5296         thread_arena.
5297         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5298         thread_arena instead of save_arena.
5300 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5302         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5303         (thread_atfork, thread_atfork_static): Remove.
5304         * sysdeps/mach/hurd/malloc-machine.h:
5305         (thread_atfork, thread_atfork_static): Remove.
5307 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5309         [BZ #19431]
5310         Run the malloc fork handler as late as possible to avoid deadlocks.
5311         * malloc/malloc-internal.h: New file.
5312         * malloc/malloc.c: Include it.
5313         * malloc/arena.c (ATFORK_MEM): Remove.
5314         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5315         Update comment.
5316         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5317         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5318         Remove outdated comment.
5319         (ptmalloc_init): Do not call thread_atfork.  Remove
5320         thread_atfork_static.
5321         * malloc/tst-malloc-fork-deadlock.c: New file.
5322         * Makefile (tests): Add tst-malloc-fork-deadlock.
5323         (tst-malloc-fork-deadlock): Link against libpthread.
5324         * manual/memory.texi (Aligned Memory Blocks): Update safety
5325         annotation comments.
5326         * sysdeps/nptl/fork.c (__libc_fork): Call
5327         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5328         __malloc_fork_unlock_child.
5329         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5331 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5333         [BZ #19613]
5334         Remove union wait.
5335         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5336         (w_stopsig, w_stopval): Remove.
5337         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5338         stat_loc argument.
5339         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5340         (__WAIT_STATUS_DEFN): Remove.
5341         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5342         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5343         (wait, wait3, wait4): Use int * for the stat_loc argument.
5344         * posix/wait.c (__wait): Likewise.
5345         * posix/wait3.c (__wait3): Likewise.
5346         * posix/wait4.c (__wait4): Likewise.
5347         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5348         (__WAIT_STATUS_DEFN): Remove.
5349         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5350         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5351         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5352         argument.
5353         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5354         * sysdeps/posix/wait3.c (__wait3): Likewise.
5355         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5356         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5357         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5358         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5359         stat_loc argument.
5360         * manual/process.texi (BSD Wait Functions): Remove union wait.
5362 2016-04-13  Andreas Schwab  <schwab@suse.de>
5364         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5365         (test-extras): Add tst-tlsalign-vars.
5366         * math/Makefile: Wrap long lines.
5367         (libm-vec-test-wrappers): Define.
5368         (test-extras): Add $(libm-vec-test-wrappers).
5369         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5370         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5371         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5372         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5373         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5374         (extra-test-objs): Add corresponding objects.
5376 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5378         [BZ #19928]
5379         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5380         New.
5381         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5382         times of shared cache size.
5383         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5384         (VMOVNT): New.
5385         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5386         (VMOVNT): Likewise.
5387         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5388         (VMOVNT): Likewise.
5389         (VMOVU): Changed to movups for smaller code sizes.
5390         (VMOVA): Changed to movaps for smaller code sizes.
5391         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5392         comments.
5393         (PREFETCH): New.
5394         (PREFETCH_SIZE): Likewise.
5395         (PREFETCHED_LOAD_SIZE): Likewise.
5396         (PREFETCH_ONE_SET): Likewise.
5397         Rewrite to use forward and backward loops, which move 4 vector
5398         registers at a time, to support overlapping addresses and use
5399         non temporal store if size is above the threshold and there is
5400         no overlap between destination and source.
5402 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5404         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5405         Include dl-vdso.
5406         * sysdeps/unix/sysv/linux/mips/Versions: Add
5407         __vdso_clock_gettime.
5408         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5409         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5410         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5411         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5412         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5413         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5414         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5415         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5418 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5420         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5421         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5424         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5425         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5428         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5429         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5430         syscalls generation.
5431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5432         [__NR_pwrite64] (__NR_write): Remove define.
5433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5434         [__NR_pwrite64] (__NR_write): Remove define.
5435         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5436         Remove define.
5437         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5438         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5439         Remove define.
5440         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5441         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5442         Linux implementation as base.
5443         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5445         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5446         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5447         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5451         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5453         syscall generation.
5454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5455         [__NR_pread64] (__NR_pread): Remove define.
5456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5457         [__NR_pread64] (__NR_pread): Likewise.
5458         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5459         define.
5460         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5461         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5462         Remove define.
5463         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5464         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5465         Linux implementation as base.
5466         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5467         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5468         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5470         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5471         definition.
5472         (__ALIGNMENT_COUNT): Likewise.
5473         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5474         (__ALIGNMENT_COUNT): Likewise.
5475         (SYSCALL_LL): New define.
5476         (SYSCALL_LL64): Likewise.
5477         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5478         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5479         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5480         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5483         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5485         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5486         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5487         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5489 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5491         [BZ #19865]
5492         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5493         original buffer before retry.
5495 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5497         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5498         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5499         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5500         GLRO(dl_auxv) list.
5501         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5502         including <ldsodefs.h>.
5503         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5505 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5507         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5508         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5509         $(CPPFLAGS).
5511 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5513         [BZ #17950]
5514         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5515         Add -mfpmath=387.
5517 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5519         * sysdeps/i386/configure.ac: Change == to = when calling test.
5520         * sysdeps/x86_64/configure.ac: Likewise.
5521         * sysdeps/i386/configure: Regenerated.
5522         * sysdeps/x86_64/configure: Likewise.
5524 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5526         [BZ #16137]
5527         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5528         * benchtests/bench-strcoll.c (input_files): Likewise.
5529         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5530         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5531         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5533 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5535         [BZ #19929]
5536         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5537         [__USE_XOPEN2K8 && !__USE_GNU].
5538         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5539         variable.
5541         [BZ #19925]
5542         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5543         define if [!__USE_MISC && __USE_XOPEN2K].
5544         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5545         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5546         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5547         Likewise.
5548         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5549         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5550         variable.
5551         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5553 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5555         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5556         (sysdep_routines): Add new strspn targets.
5557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5558         (__libc_ifunc_impl_list): Add strspn.
5559         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5560         New file.
5561         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5562         Likewise.
5563         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5564         Likewise.
5565         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5566         Likewise.
5568 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5570         * misc/hsearch_r.c: Include <limits.h>.
5572 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5574         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5576 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5578         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5579         (MEMCPY_SYMBOL): New.
5580         (MEMPCPY_SYMBOL): Likewise.
5581         (MEMMOVE_CHK_SYMBOL): Likewise.
5582         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5583         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5584         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5585         Provide alias for memcpy in libc.a and ld.so.
5587 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5589         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5590         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5591         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5592         Disabled fro now.
5593         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5594         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5596 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5598         * benchtests/Makefile (string-benchset): Add memcpy-large,
5599         memmove-large and memset-large.
5600         * benchtests/bench-memcpy-large.c: New file.
5601         * benchtests/bench-memmove-large.c: Likewise.
5602         * benchtests/bench-memmove-large.c: Likewise.
5603         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5605 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5607         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5608         32-bit displacement to avoid long nop between instructions.
5610 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5612         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5613         a comment on VMOVU and VMOVA.
5615 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5617         [BZ #19633]
5618         Use specified locale for number formatting in strfmon_l.
5619         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5620         (__nl_lookup_word): New inline functions.
5621         * include/printf.h (__print_fp_l): Declare.
5622         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5623         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5624         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5625         (___printf_fp): New function.
5626         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5627         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5628         * stdlib/tst-strfmon_l.c (do_test): New test.
5629         * stdlib/Makefile (tests): Add kt.
5630         (LOCALES): Build additional locales.
5631         (tst-strfmon_l.out): Require locales.
5633 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5635         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5636         if not in libc.
5637         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5638         Likewise.
5639         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5640         Likewise.
5641         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5642         Likewise.
5644 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5646         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5647         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5648         with unaligned_erms.
5649         (__memmove_erms): Skip if source == destination.
5650         (__memmove_unaligned_erms): Don't check source == destination
5651         first.
5653 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5655         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5656         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5658 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5660         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5661         * string/strspn.c (strspn): Likewise.
5663 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5665         * benchtests/bench-memset.c (do_test): Support 64-byte
5666         alignment.
5667         (test_main): Test 64-byte alignment.
5669 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5671         * benchtests/bench-memmove.c (test_main): Test 64-byte
5672         alignment.
5674 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5676         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5678 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5680         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5681         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5682         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5684         * string/strpbrk.c (strpbrk): Rewrite function.
5685         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5686         (__strpbrk_c2): Likewise.
5687         (__strpbrk_c3): Likewise.
5688         * string/string-inlines.c
5689         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5690         Likewise.
5691         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5692         Likewise.
5694         * string/strspn.c (strcspn): Rewrite function.
5695         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5696         (__strspn_c1): Remove inline function.
5697         (__strspn_c2): Likewise.
5698         (__strspn_c3): Likewise.
5699         * string/string-inlines.c
5700         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5701         compatibility symbol.
5702         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5703         Likewise.
5704         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5705         Likewise.
5706         * string/string-inlines.c: Include generic version.
5708 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5709             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5711         * string/Version (libc): Add GLIBC_2.24.
5712         * string/strcspn.c (strcspn): Rewrite function.
5713         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5714         (__strcspn_c1): Remove inline function.
5715         (__strcspn_c2): Likewise.
5716         (__strcspn_c3): Likewise.
5717         * string/string-inline.c
5718         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5719         compatibility symbol.
5720         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5721         Likewise.
5722         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5723         Likewise.
5724         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5726 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5728         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5729         Use ahi instead of aghi to adjust stack pointer.
5731 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5733         [BZ #19853]
5734         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5735         TEST to take significant digits as second parameter.
5736         [TEST]: Redefine in terms of TEST_N taking 30
5737         significant digits.
5738         (do_test): Add test case to demonstrate precision
5739         failure in the ldbl-128ibm printf.
5740         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5741         (__mpn_extract_long_double): Carry 7 extra intermediate
5742         bits of precision to aide computing difference when
5743         signs differ.
5745 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5747         [BZ #19881]
5748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5749         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5750         memset-avx512-unaligned-erms.
5751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5752         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5753         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5754         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5755         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5756         __memset_sse2_unaligned_erms, __memset_erms,
5757         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5758         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5759         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5760         file.
5761         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5762         Likewise.
5763         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5764         Likewise.
5765         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5766         Likewise.
5768 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5770         [BZ #19776]
5771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5772         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5773         memmove-avx512-unaligned-erms.
5774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5775         (__libc_ifunc_impl_list): Test
5776         __memmove_chk_avx512_unaligned_2,
5777         __memmove_chk_avx512_unaligned_erms,
5778         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5779         __memmove_chk_sse2_unaligned_2,
5780         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5781         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5782         __memmove_avx512_unaligned_erms, __memmove_erms,
5783         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5784         __memcpy_chk_avx512_unaligned_2,
5785         __memcpy_chk_avx512_unaligned_erms,
5786         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5787         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5788         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5789         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5790         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5791         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5792         __mempcpy_chk_avx512_unaligned_erms,
5793         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5794         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5795         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5796         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5797         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5798         __mempcpy_erms.
5799         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5800         file.
5801         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5802         Likwise.
5803         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5804         Likwise.
5805         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5806         Likwise.
5808 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5810         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5811         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5812         (La_s390_64_regs): Likewise.
5813         (La_s390_32_retval): Append vector register lrv_v24.
5814         (La_s390_64_retval): Likeweise.
5815         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5816         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5817         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5818         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5820 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5822         [BZ #19916]
5823         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5824         to create a non-vector/vector version for _dl_runtime_resolve and
5825         _dl_runtime_profile. Move implementation to ...
5826         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5827         (_dl_runtime_resolve) Save and restore fpr/vrs.
5828         (_dl_runtime_profile) Save and restore vrs and fix some issues
5829         if _dl_call_pltexit is called.
5830         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5831         Choose the correct resolver function if running on a machine with vx.
5832         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5833         to create a non-vector/vector version for _dl_runtime_resolve and
5834         _dl_runtime_profile. Move implementation to ...
5835         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5836         (_dl_runtime_resolve) Save and restore fpr/vrs.
5837         (_dl_runtime_profile) Save and restore vrs and fix some issues
5838         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5839         Choose the correct resolver function if running on a machine with vx.
5841 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5843         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5845 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5847         [BZ #19509]
5848         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5849         skip_map != NULL.
5850         * elf/tst-dlsym-error.c: New file.
5851         * elf/Makefile (tests): Add tst-dlsym-error.
5852         (tst-dlsym-error): Link against libdl.
5854 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5857         (__ASSUME_FUTIMESAT): Remove macro.
5858         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5860 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5862         [BZ #19879]
5863         CVE-2016-3075
5864         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5865         copy name.
5867 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5869         [BZ #19837]
5870         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5871         error if parse_line fails.
5873 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5875         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5876         (index_cpu_ERMS): Likewise.
5877         (reg_ERMS): Likewise.
5879 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5881         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5882         PER_LINUX_FDPIC): Add.
5884 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5887         memcpy-avx512-no-vzeroupper.
5888         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5889         to ...
5890         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5891         (MEMCPY): Don't define.
5892         (MEMCPY_CHK): Likewise.
5893         (MEMPCPY): Likewise.
5894         (MEMPCPY_CHK): Likewise.
5895         (MEMPCPY_CHK): Renamed to ...
5896         (__mempcpy_chk_avx512_no_vzeroupper): This.
5897         (MEMPCPY_CHK): Renamed to ...
5898         (__mempcpy_chk_avx512_no_vzeroupper): This.
5899         (MEMCPY_CHK): Renamed to ...
5900         (__memmove_chk_avx512_no_vzeroupper): This.
5901         (MEMCPY): Renamed to ...
5902         (__memmove_avx512_no_vzeroupper): This.
5903         (__memcpy_avx512_no_vzeroupper): New alias.
5904         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5906 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5908         [BZ #18858]
5909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5910         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5911         and mempcpy-avx512-no-vzeroupper.
5912         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5913         New.
5914         (MEMPCPY): Likewise.
5915         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5916         (MEMPCPY_CHK): New.
5917         (MEMPCPY): Likewise.
5918         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5919         (MEMPCPY): Likewise.
5920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5921         (MEMPCPY): Likewise.
5922         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5923         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5924         Likewise.
5925         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5926         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5928 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5929              Amit Pawar  <Amit.Pawar@amd.com>
5931         [BZ #19583]
5932         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5933         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5934         processors.  Set Fast_Copy_Backward for AMD Excavator
5935         processors.
5936         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5937         New.
5938         (index_arch_Fast_Unaligned_Copy): Likewise.
5939         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5940         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5942 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5944         [BZ #19791]
5945         * resolv/res_send.c (close_and_return_error): New function.
5946         (send_dg): Initialize *resplen2 after reopen failure.  Call
5947         close_and_return_error for error returns.  On error paths without
5948         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5949         successful return.
5951 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5953         [BZ# 19860]
5954         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5955         zero if the compiler does not provide the AVX512F bit.
5957 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #19848]
5960         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5961         from 8 to 4.
5962         (__ieee754_powl): Compare integer exponent against 4 not 8.
5963         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5964         from 8 to 4.
5965         (__ieee754_powl): Compare integer exponent against 4 not 8.
5966         * math/auto-libm-test-in: Add more tests of pow.
5967         * math/auto-libm-test-out: Regenerated.
5968         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5971 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5973         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5974         Make code unconditional.
5975         [!__NR_utimensat]: Remove conditional code.
5976         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5977         Make code unconditional.
5978         [!__NR_utimensat]: Remove conditional code.
5979         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5980         Make code unconditional.
5981         [!__NR_utimensat]: Remove conditional code.
5983 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5985         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5986         Make code unconditional.
5988 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5990         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5991         call-clobbered %eax on retry path.
5992         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5994 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5996         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5997         Don't set %rcx twice before "rep movsb".
5999 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6001         [BZ #19583]
6002         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6003         inline.  Check family before setting family, model and
6004         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6005         bits here.
6006         (init_cpu_features): Replace HAS_CPU_FEATURE and
6007         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6008         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6009         for Intel processors with usable AVX2.  Call get_common_indeces
6010         for other processors with family == NULL.
6011         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6012         (CPU_FEATURES_ARCH_P): Likewise.
6013         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6014         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6016 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6018         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6019         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6020         $(shared-thread-library) instead of hardcoding the path to libpthread.
6022 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6024         * sysdeps/unix/sysv/linux/kernel-features.h
6025         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6026         * sysdeps/unix/sysv/linux/getdents.c
6027         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6028         [!have_no_getdents64_defined]: Likewise.
6029         (__GETDENTS): Remove __have_no_getdents64 conditional.
6031 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6034         Remove macro.
6035         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6036         <kernel-features.h>.
6037         (signalfd) [__NR_signalfd4]: Make code unconditional.
6038         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6040 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6042         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6043         style.
6045 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6047         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6048         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6049         __pthread_unwind.
6050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6051         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6053         (__condvar_cleanup1): Likewise.
6055 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6057         [BZ #19822]
6058         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6059         move it to the final $@ location.
6061 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6063         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6064         access where posix_spawn success and pid argument is null.
6065         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6066         success case.
6068 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6070         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6072         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6074         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6075         and __fcntl.
6076         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6077         __fcntl only.
6078         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6079         adding attribute_hidden to __open and __fcntl.
6081         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6082         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6083         depend on libc-modules.h,
6084         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6086 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6088         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6089         Remove macro.
6090         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6091         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6092         entry.
6094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6095         Remove macro.
6096         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6097         include <kernel-features.h>.
6098         [!__ASSUME_FALLOCATE]: Remove conditional code.
6099         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6101 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6104         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6106         (_ZGVdN4v_cos_avx2): Likewise.
6107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6108         (_ZGVdN4v_cos): Likewise.
6109         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6110         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6111         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6112         (_ZGVdN4v_exp_avx2): Likewise.
6113         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6114         (_ZGVdN4v_exp): Likewise.
6115         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6116         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6117         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6118         (_ZGVdN4v_log_avx2): Likewise.
6119         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6120         (_ZGVdN4v_log): Likewise.
6121         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6122         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6124         (_ZGVdN4vv_pow_avx2): Likewise.
6125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6126         (_ZGVdN4vv_pow): Likewise.
6127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6128         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6130         (_ZGVdN4v_sin_avx2): Likewise.
6131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6132         (_ZGVdN4v_sin): Likewise.
6133         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6134         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6135         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6136         (_ZGVdN4vvv_sincos_avx2): Likewise.
6137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6138         (_ZGVdN4vvv_sincos): Likewise.
6139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6140         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6142         (_ZGVbN4v_cosf_sse4): Likewise.
6143         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6144         (_ZGVdN8v_cosf_avx2): Likewise.
6145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6146         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6147         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6148         (_ZGVbN4v_expf_sse4): Likewise.
6149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6150         (_ZGVdN8v_expf_avx2): Likewise.
6151         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6152         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6153         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6154         (_ZGVbN4v_logf_sse4): Likewise.
6155         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6156         (_ZGVdN8v_logf_avx2): Likewise.
6157         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6158         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6160         (_ZGVbN4vv_powf_sse4): Likewise.
6161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6162         (_ZGVdN8vv_powf_avx2): Likewise.
6163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6164         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6166         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6168         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6170         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6172         (_ZGVbN4v_sinf_sse4): Likewise.
6173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6174         (_ZGVdN8v_sinf_avx2): Likewise.
6175         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6176         Use JUMPTARGET to call callee.
6177         (WRAPPER_IMPL_SSE2_ff): Likewise.
6178         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6179         (WRAPPER_IMPL_AVX): Likewise.
6180         (WRAPPER_IMPL_AVX_ff): Likewise.
6181         (WRAPPER_IMPL_AVX_fFF): Likewise.
6182         (WRAPPER_IMPL_AVX512): Likewise.
6183         (WRAPPER_IMPL_AVX512_ff): Likewise.
6184         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6185         Likewise.
6186         (WRAPPER_IMPL_SSE2_ff): Likewise.
6187         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6188         (WRAPPER_IMPL_AVX): Likewise.
6189         (WRAPPER_IMPL_AVX_ff): Likewise.
6190         (WRAPPER_IMPL_AVX_fFF): Likewise.
6191         (WRAPPER_IMPL_AVX512): Likewise.
6192         (WRAPPER_IMPL_AVX512_ff): Likewise.
6193         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6195 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6197         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6198         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6199         qualifier.
6200         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6201         internal_function qualifiers.
6203 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6205         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6206         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6207         * math/atest-exp.c (exp_mpn): Mark chk unused.
6208         * math/atest-exp2.c (exp_mpn): Likwise.
6209         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6210         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6212 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6214         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6215         Remove macro.
6216         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6217         <kernel-features.h>.
6218         [__NR_ppoll]: Make code unconditional.
6219         [!__ASSUME_PPOLL]: Remove conditional code.
6221         * sysdeps/unix/sysv/linux/kernel-features.h
6222         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6223         (__ASSUME_ACCEPT4): Likewise.
6224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6225         Define.
6226         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6227         Likewise.
6228         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6229         Likewise.
6230         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6231         Likewise.
6232         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6233         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6234         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6235         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6236         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6237         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6240         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6241         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6242         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6243         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6244         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6245         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6246         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6248         Likewise.
6249         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6250         Likewise.
6251         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6252         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6253         0x040300].
6254         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6255         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6256         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6257         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6258         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6259         0x030300].
6260         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6261         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6262         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6263         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6264         0x040300].
6265         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6267         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6268         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6269         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6270         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6271         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6272         0x030300].
6273         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6274         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6275         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6276         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6277         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6278         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6281         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6282         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6283         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6284         0x040300].
6285         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6286         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6287         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6288         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6289         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6292         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6293         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6294         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6296         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6298         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6299         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6300         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6301         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6302         Likewise.
6303         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6304         Likewise.
6306 2016-03-15  Andreas Schwab  <schwab@suse.de>
6308         [BZ #19257]
6309         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6310         statp->_u._ext.nscount as loop count.
6312 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6314         * math/test-signgam-finite-c99.c: Also #undef
6315         __LIBC_INTERNAL_MATH_INLINES.
6316         * math/test-signgam-main.c: Likewise.
6318 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6320         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6321         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6322         (MADV_FREE): Likewise.
6323         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6324         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6325         EPOLLEXCLUSIVE.
6327 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6329         * timezone/README: Remove mention of checktab.awk. Mention wiki
6330         SharedSourceFiles.
6332 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6334         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6335         WUNTRACED.
6337 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6339         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6340         order to match the type of p when calling atomic_exchange_acq().
6342 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6344         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6345         cfi_offset calls.
6346         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6347         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6348         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6349         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6350         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6352 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6354         * timezone/checktab.awk: Removed.
6356 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6358         * manual/math.texi (Errors in Math Functions): Document relaxed
6359         accuracy goals for IBM long double.
6360         * math/libm-test.inc (test_exceptions): Always allow spurious
6361         "underflow" and "inexact" exceptions for IBM long double.
6363 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6365         [BZ #19762]
6366         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6367         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6368         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6369         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6370         (bit_arch_*): This for feature array.
6371         (bit_*): Renamed to ...
6372         (bit_cpu_*): This for cpu array.
6373         (index_*): Renamed to ...
6374         (index_arch_*): This for feature array.
6375         (index_*): Renamed to ...
6376         (index_cpu_*): This for cpu array.
6377         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6378         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6379         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6380         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6381         bit_##name with index_cpu_##name and bit_cpu_##name.
6382         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6383         bit_##name with index_arch_##name and bit_arch_##name.
6385 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6387         [BZ #19792]
6388         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6389         Terminate FDE before return label.
6391 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #19790]
6394         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6395         (rintl): Define as macro.
6396         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6397         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6398         of fesetround.  Ensure results are evaluated before end of scope.
6399         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6400         USE_AS_NEARBYINTL and include s_rintl.c.
6401         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6402         Disable exception traps in new environment.
6403         (libc_feholdsetround_ppc_ctx): Likewise.
6405 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6407         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6408         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6409         (tst_audit10_aux) [__AVX512F__]: ... here.
6411 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6413         * include/sys/auxv.h: New file.
6415 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6417         [BZ #19759]
6418         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6420 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6422         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6423         operand modifier.
6424         (feclearexcept): Likewise.
6426 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6428         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6429         to reflect the entire 32-bit HWCAP.
6430         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6431         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6433 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6435         [BZ #19783]
6436         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6437         $(test-via-rtld-prefix).
6438         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6440 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6442         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6443         union wait.  Report any non-zero exit status as error.
6445 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6447         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6448         configured with --enable-hardcoded-path-in-tests.
6450 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #19677]
6453         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6454         (__ieee754_remainderl): Put zero low parts in canonical form.
6455         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6456         file.  Based on
6457         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6458         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6459         with wrapper round test-fmodrem-ldbl-128ibm.c.
6460         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6461         file.
6462         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6463         Likewise.
6464         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6465         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6467 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6469         [BZ #19610]
6470         * elf/ldconfig.c (opt_link): Update comment.
6471         (options): Update help string for option -X.
6472         (search_dir): Unlink stale symbolic link only if updating symbolic
6473         links.
6474         * elf/tst-ldconfig-X.sh: New file.
6475         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6476         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6478 2016-03-07  Andreas Schwab  <schwab@suse.de>
6480         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6481         needed arguments.
6483 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6485         [BZ #15333]
6486         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6487         to lstat64.
6489 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6491         * libio/filedoalloc.c (isatty): Remove.
6492         (local_isatty): Add comment.  Call __isatty directly.
6493         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6494         * libio/wfiledoalloc.c (isatty): Remove.
6495         (_IO_wfile_doallocate): Update comment.
6497 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6499         [BZ #19269]
6500         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6501         tst-audit4-aux.o.
6502         (tst-audit10): Depend on tst-audit10-aux.o.
6503         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6504         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6505         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6506         instead of inline AVX code.
6507         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6508         instead of inline AVX512 code.
6509         * sysdeps/x86_64/tst-audit4-aux.c: New file
6510         * sysdeps/x86_64/tst-audit10-aux.c: New file
6512         [BZ #19648]
6513         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6515 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6517         [BZ #14750]
6518         [BZ #10354]
6519         [BZ #18433]
6520         * include/sched.h (__clone): Add hidden prototype.
6521         (__clone2): Likewise.
6522         * include/unistd.h (__dup): Likewise.
6523         * posix/Makefile (tests): Add tst-spawn2.
6524         * posix/tst-spawn2.c: New file.
6525         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6526         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6527         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6528         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6529         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6530         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6531         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6532         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6533         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6534         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6535         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6537         Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6539         Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6541         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6542         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6543         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6544         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6545         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6547         * sysdeps/unix/sysv/linux/nptl-signals.h
6548         (____nptl_is_internal_signal): New function.
6549         * sysdeps/unix/sysv/linux/spawni.c: New file.
6551         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6552         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6553         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6554         * posix/tst-execvp2.c (do_test): Likewise.
6555         * posix/tst-execvp3.c (do_test): Likewise.
6556         * posix/tst-execvp4.c (do_test): Likewise.
6557         * posix/tst-execvpe1.c: New file.
6558         * posix/tst-execvpe2.c: Likewise.
6559         * posix/tst-execvpe3.c: Likewise.
6560         * posix/tst-execvpe4.c: Likewise.
6561         * posix/tst-execvpe5.c: Likewise.
6562         * posix/tst-execvpe6.c: Likewise.
6564         [BZ #19534]
6565         * posix/execl.c (execl): Remove dynamic memory allocation.
6566         * posix/execle.c (execle): Likewise.
6567         * posix/execlp.c (execlp): Likewise.
6569 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6571         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6572         Replace .text with .text.avx512.
6573         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6574         Likewise.
6576 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6578         * sysdeps/generic/libnsl.abilist: New file.
6579         * sysdeps/generic/libutil.abilist: New file.
6581 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6583         [BZ #19762]
6584         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6585         HAS_ARCH_FEATURE with Fast_Rep_String.
6586         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6587         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6588         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6589         Likewise.
6590         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6591         Likewise.
6592         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6593         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6594         Likewise.
6595         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6596         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6597         Likewise.
6599 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6601         [BZ #19745]
6602         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6603         with *%rax in call.
6605 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6607         [BZ #19745]
6608         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6609         with *__libc_start_main@GOTPCREL(%rip) in call.
6611 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6613         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6614         inside conditional for nonempty $(CXX).
6616         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6617         nonempty.
6619         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6620         to test for empty $(CXX) rather than $(CXX) of "no".
6622 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6624         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6626 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6627             H.J. Lu  <hongjiu.lu@intel.com>
6629         [BZ #18880]
6630         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6631         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6632         enable __memcpy_ssse3_back.
6634 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6636         [BZ #19758]
6637         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6638         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6640 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6642         [BZ #19490]
6643         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6644         (__fentry__): Likewise.
6646 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6648         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6649         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6651 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6653         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6654         __mcount_internal directly.
6655         (C_LABEL(__fentry__)): Likewise.
6656         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6657         directly.
6659 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6661         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6662         (__start_context): Call __setcontext directly.
6664 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6666         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6667         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6668         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6669         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6671         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6672         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6673         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6674         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6675         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6676         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6677         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6678         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6679         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6680         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6681         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6682         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6684         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6685         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6686         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6687         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6688         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6689         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6690         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6691         Remove conditional code.
6692         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6693         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6694         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6695         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6696         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6697         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6698         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6699         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6700         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6701         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6702         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6703         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6705 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6707         * NEWS (2.23): Fix typo in bug 19048 text.
6709 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6711         [BZ #14259]
6712         * Makeconfig: Rename msgcatdir to localedir.
6713         Rename inst_msgcatdir to inst_localedir.
6714         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6715         * config.make.in: Add localedir.
6716         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6717         (ldd-rewrite): Likewise.
6718         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6719         (install-others): Use inst_localedir.
6720         (CPPFLAGS): Use localedir.
6721         * locale/Makefile (locale-CPPFLAGS): Likewise.
6722         * po/Makefile (mo-installed): Use inst_localedir.
6724         [BZ #19575]
6725         * localedata/charmaps/GB18030: Update comments regarding PAU to
6726         non-PUA mappings.
6728 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6730         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6731         test for header.
6732         * sysdeps/unix/sysv/linux/configure: Regenerated.
6733         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6734         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6735         Remove conditional code.
6736         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6738         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6739         Define to 3.2.0.
6740         (arch_minimum_kernel): Likewise.
6741         * sysdeps/unix/sysv/linux/configure: Regenerated.
6742         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6743         Define to 2.6.32.
6744         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6745         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6746         (arch_minimum_kernel): Define to 2.6.32.
6747         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6748         * README: Document Linux 3.2 requirement.
6749         * manual/install.texi (Linux): Document Linux 3.2 headers
6750         requirement.
6751         * INSTALL: Regenerated.
6753 2016-02-24  Andreas Schwab  <schwab@suse.de>
6755         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6756         if !NO_LONG_DOUBLE.
6758 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6760         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6761         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6763 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6765         [BZ #19512]
6766         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6768 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6770         * posix/tst-dir.c: Include libc-internal.h.
6772 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6774         [BZ #19056]
6775         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6776         * manual/filesys.texi (Reading/Closing Directory): Mention
6777         deprecaion.
6778         * posix/tst-dir.c (main): Disable deprecation warning in test.
6780 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6782         [BZ #19679]
6783         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6784         Renamed to ...
6785         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6786         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6787         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6788         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6789         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6790         * sysdeps/x86_64/dl-trampoline.h
6791         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6792         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6794 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6796         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6798 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6800         * elf/elf.h (R_386_GOT32X): New.
6801         (R_386_NUM): Update.
6802         (R_X86_64_GOTPCRELX: New.
6803         (R_X86_64_REX_GOTPCRELX): New.
6804         (R_X86_64_NUM): Update.
6806 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6808         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6810 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6812         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6813         assign attr->stackaddr to it, and adjust it down when
6814         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6815         [_STACK_GROWS_UP]: Delete assert.
6816         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6817         Implement stack grows up logic.
6818         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6819         stack grows up logic.
6821 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6823         * NEWS: Update with 2.24 template.
6825 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6827         [BZ #19678]
6828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6829         Ensure +0.0 is returned when taking the next value below the least
6830         positive value.
6832 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6834         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6835         available.  Do not define NO_THREADS.
6836         * malloc/malloc.c: Do not check NO_THREADS.
6837         * malloc/arena.c: Likewise.
6839 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6841         * malloc/malloc.c (__libc_mallinfo): Update comment.
6842         (struct malloc_par): Remove max_total_mem member, it was always 0.
6843         (int_mallinfo): Store 0 into usmblks (no functional change).
6844         * malloc/hooks.c (struct malloc_state): Document that
6845         max_total_mem is always 0.
6846         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6847         always 0.
6848         * manual/memory.texi (Statistics of Malloc): Likewise.
6850 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6852         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6853         * malloc/arena.c (arena_max): Remove.
6854         (heap_trim, _int_new_arena): Do not update arena_max.
6856 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6858         * resolv/res_init.c (res_ninit): Update comment.
6860 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6862         [BZ #19505]
6863         * posix/spawn_int.h: Add headers and include guard.
6864         (__spawn_valid_fd): New function.
6865         * posix/spawn_faction_addopen.c
6866         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6867         * posix/spawn_faction_addclose.c
6868         (posix_spawn_file_actions_addclose): Likewise.
6869         * posix/spawn_faction_adddup2.c
6870         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6871         second file descriptor.
6872         * posix/spawn_valid_fd.c: New file.
6873         * posix/tst-posix_spawn-fd.c: New file.
6874         * posix/Makefile (routines): Add spawn_valid_fd.
6875         (tests): Add tst-posix_spawn-fd.
6877 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6879         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6880         (do_test): Limit the number of arenas, so that we can use fewer
6881         outer threads.  Limit timeout to 3 seconds, in preparation for a
6882         larger TIMEOUT value.
6884 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6886         [BZ #19674]
6887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6888         sign in overflowing and underflowing results when overflow or
6889         underflow is detected early.  Include sign in result before rather
6890         than after scaling.
6892         [BZ #19603]
6893         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6894         (__ieee754_remainderl): Adjust sign of integer version of low part
6895         when taking absolute value of high part.
6896         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6897         * math/libm-test.inc (remainder_test_data): Add another test.
6898         (remquo_test_data): Likewise.
6900 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6902         [BZ #19602]
6903         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6904         equal high parts and both low parts zero specially.
6905         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6906         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6907         Add test-fmodl-ldbl-128ibm.
6909         [BZ #19595]
6910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6911         common logic for all cases of shifting subnormal results.  Do not
6912         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6913         exponent to ldbl_insert_mantissa in subnormal case.
6915         [BZ #19594]
6916         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6917         on high and low parts then adjust result and use
6918         ldbl_canonicalize_int if needed.
6920         [BZ #19593]
6921         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6922         on high part and __floor or __ceil on low part then use
6923         ldbl_canonicalize_int if needed.
6925         [BZ #19592]
6926         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6927         high and low parts then use ldbl_canonicalize_int if needed.
6929         [BZ #17899]
6930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6931         New function.
6932         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6933         on high and low parts then use ldbl_canonicalize_int if needed.
6935 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6937         * configure: Regenerated.
6939         * po/libc.pot: Regenerated.
6941         * po/be.po: Updated translation.
6942         * po/bg.po: Likewise.
6943         * po/ca.po: Likewise.
6944         * po/cs.po: Likewise.
6945         * po/da.po: Likewise.
6946         * po/el.po: Likewise.
6947         * po/eo.po: Likewise.
6948         * po/es.po: Likewise.
6949         * po/fi.po: Likewise.
6950         * po/fr.po: Likewise.
6951         * po/gl.po: Likewise.
6952         * po/hr.po: Likewise.
6953         * po/hu.po: Likewise.
6954         * po/ia.po: Likewise.
6955         * po/id.po: Likewise.
6956         * po/it.po: Likewise.
6957         * po/ja.po: Likewise.
6958         * po/lt.po: Likewise.
6959         * po/nb.po: Likewise.
6960         * po/nl.po: Likewise.
6961         * po/pt_BR.po: Likewise.
6962         * po/rw.po: Likewise.
6963         * po/sk.po: Likewise.
6964         * po/sl.po: Likewise.
6965         * po/sv.po: Likewise.
6966         * po/tr.po: Likewise.
6967         * po/zh_CN.po: Likewise.
6968         * po/zh_TW.po: Likewise.
6970         * version.h (RELEAES): Set to "development".
6971         (VERSION): Set to 2.23.90.
6973         * version.h (RELEASE): Set to "stable".
6974         (VERSION): Set to 2.23.
6975         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6977         * NEWS: Updated fixed bugs.
6979 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6980             Wilco Dijkstra  <wdijkstr@arm.com>
6982         [BZ #19462]
6983         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6984         (_STRING_INLINE_unaligned): This.
6985         * include/string.h: Include <string_private.h>.
6986         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6987         _STRING_INLINE_unaligned.
6988         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6989         (_STRING_INLINE_unaligned): New.
6990         * sysdeps/aarch64/string_private.h: New file.
6991         * sysdeps/generic/string_private.h: Likewise.
6992         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6993         * sysdeps/s390/string_private.h: Likewise.
6994         * sysdeps/x86/string_private.h: Likewise.
6995         * sysdeps/m68k/m680x0/m68020/bits/string.h
6996         (_STRING_ARCH_unaligned): Renamed to ...
6997         (_STRING_INLINE_unaligned): This.
6998         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6999         to ...
7000         (_STRING_INLINE_unaligned): This.
7001         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7002         to ...
7003         (_STRING_INLINE_unaligned): This.
7004         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7005         to ...
7006         (_STRING_INLINE_unaligned): This.
7008 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7009             H.J. Lu  <hongjiu.lu@intel.com>
7011         [BZ #19590]
7012         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7013         relocation.
7015 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7017         [BZ #18665]
7018         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7019         *herrno_p.
7020         (gaih_getanswer): Document functional behviour. Return tryagain
7021         if any result is tryagain.
7022         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7023         when freed.
7024         * resolv/res_send.c: Add copyright text.
7025         (__libc_res_nsend): Document that MAXPACKET is expected.
7026         (send_vc): Document. Remove buffer reuse.
7027         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7028         size of the buffer. Add Dprint for truncated UDP buffer.
7030 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7032         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7033         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7034         * INSTALL: Regenerate.
7036 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7037             Jonathan Wakely  <jwakely@redhat.com>
7038             Carlos O'Donell  <carlos@redhat.com>
7040         [BZ 19439]
7041         * math/Makefile (tests): Add test-math-isinff.
7042         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7043         * math/bits/mathcalls.h [__USE_MISC]: Use
7044         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7045         functions not in C++11 and which don't conflict e.g. isinff,
7046         isinfl etc.
7047         * math/test-math-isinff.cc: New file.
7049 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7051         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7053 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7055         [BZ #19529]
7056         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7058 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7060         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7062 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #19550]
7065         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7066         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7067         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7068         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7069         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7070         New syscall entry.
7071         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7072         New syscall entry.
7073         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7074         syscall entry.
7076 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7078         [BZ #18240]
7079         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7080         unsigned int wraparound.
7082 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7084         [BZ #18240]
7085         * misc/bug18240.c: New test.
7086         * misc/Makefile (tests): Add it.
7088 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7089             Joseph Myers  <joseph@codesourcery.com>
7091         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7092         load in branch delay slot when less than a word of input left.
7094 2016-01-27  Andreas Schwab  <schwab@suse.de>
7096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7097         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7098         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7099         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7101 2016-01-26  David S. Miller  <davem@davemloft.net>
7103         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7105 2016-01-25  David S. Miller  <davem@davemloft.net>
7107         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7108         __sqrtl_finite.
7109         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7110         instead using versioned_symbol.
7111         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7112         of entries.
7114         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7115         __sqrtl_finite to GLIBC_2.23
7117 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7119         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7121 2016-01-25  Andreas Schwab  <schwab@suse.de>
7123         [BZ #17514]
7124         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7125         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7126         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7127         * nptl/tst-mutex-errorcheck.c: New file.
7129 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7131         [BZ #18560]
7132         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7133         (IPCOP_semop): Likewise.
7134         (IPCOP_semget): Likewise.
7135         (IPCOP_semctl): Likewise.
7136         (IPCOP_msgsnd): Likewise.
7137         (IPCOP_msgrcv): Likewise.
7138         (IPCOP_msgget): Likewise.
7139         (IPCOP_msgctl): Likewise.
7140         (IPCOP_shmat): Likewise.
7141         (IPCOP_shmdt): Likewise.
7142         (IPCOP_shmget): Likewise.
7143         (IPCOP_shmctl): Likewise.
7145 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7147         * string/tst-endian.c: Include <libc-internal.h>.
7148         (do_test): Ignore tautological-compare warnings around
7149         "htobeXX (beXXtoh (i)) != i" and
7150         "htoleXX (leXXtoh (i)) != i" if-statements.
7152 2016-01-24  David S. Miller  <davem@davemloft.net>
7154         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7155         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7156         alias.
7157         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7158         __sqrtl_finite.
7160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7162 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7164         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7165         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7166         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7168 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7170         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7171         (thread_func): Use new function to simplify barrier check.
7172         (do_test): Use new function to simplify checking barrier exit
7173         code, and actually join the child thread.
7175 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7177         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7178         semicolon.
7179         (__libc_tend): Likewise.
7180         (__libc_tabort): Likewise.
7182 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7184         * sysdeps/nios2/libm-test-ulps: Update.
7185         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7186         (__gtsf2): Likewise.
7187         (__unorddf2): Likewise.
7188         (__unordsf2): Likewise.
7189         (__ledf2): Likewise.
7191 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7193         * nis/nis_table.c (__follow_path): Disable diagnostic for
7194         uninitialized variable that is a false positive for gcc 4.7.
7195         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7197 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7199         * sysdeps/nacl/lowlevellock-futex.h
7200         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7201         Always evaluate PRIVATE argument.
7203 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7205         [BZ #19490]
7206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7207         (pthread_cond_broadcast): Use ENTRY/END
7208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7209         (pthread_cond_signal): Likewise.
7210         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7211         Likewise.
7212         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7213         Likewise.
7214         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7215         Likewise.
7217 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7219         * sysdeps/ieee754/dbl-64/s_finite.c
7220         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7221         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7222         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7224         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7227         (__gtsf2): Add as optional for libc.so.
7228         (__unordsf2): Likewise.
7229         (__signbit): Remove for libc.so.
7230         (__signbitl): Likewise.
7232 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7234         * iconvdata/bug-iconv11.c (test_ibm93x):
7235         Use %zu printf format specifier for size_t argument.
7237 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7239         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7240         already-recorded ulps.
7241         * sysdeps/arm/libm-test-ulps: Regenerated.
7242         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7243         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7244         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7246 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7247             Paul Pluzhnikov  <ppluzhnikov@google.com>
7249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7250         assembler not supporting AVX-512.
7252 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7254         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7256 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7258         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7259         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7261         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7263         * sysdeps/arm/libm-test-ulps: Regenerated.
7265 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7267         [BZ #19451]
7268         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7270 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7272         [BZ #19486]
7273         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7274         * sysdeps/generic/fix-fp-int-convert-overflow.h
7275         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7276         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7277         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7278         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7279         Likewise.
7280         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7281         Avoid conversions to long int where inexact exceptions
7282         could be raised.
7283         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7284         Likewise.
7285         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7286         Avoid conversions to long long int where inexact exceptions
7287         could be raised.
7288         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7289         Likewise.
7291 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7293         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7294         * configure: Regenerated.
7296 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7298         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7300 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7302         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7303         outside of comment.
7305 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7307         * nptl/tst-barrier1.c: Add description on first line.
7308         * nptl/tst-barrier2.c: Likewise.
7309         * nptl/tst-barrier3.c: Likewise.
7310         * nptl/tst-barrier4.c: Likewise.
7311         * nptl/tst-barrier5.c: Likewise.
7313 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7315         [BZ #18868]
7316         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7318 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7322         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7323         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7324         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7325         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7326         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7327         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7328         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7329         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7330         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7332 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7334         [BZ #13065]
7335         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7336         new implementation.
7337         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7338         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7339         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7340         (BARRIER_IN_THRESHOLD): New macro.
7341         * nptl/pthread_barrierattr_setpshared.c
7342         (pthread_barrierattr_setpshared): Clean up.
7343         * nptl/tst-barrier4.c: Correct comment.
7344         * nptl/tst-barrier5.c: New file.
7345         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7346         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7347         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7348         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7349         * nptl/lowlevelbarrier.sym: Remove.
7350         * nptl/DESIGN-barrier.txt: Remove.
7351         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7352         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7353         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7354         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7355         error.
7356         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7357         implementation.
7359 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7361         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7362         (do_child): Mask SIGRTMIN while thr is running.
7364 2016-01-15  Martin Sebor  <msebor@redhat.com>
7366         [BZ #19432]
7367         * iconvdata/Makefile: Add bug-iconv11.
7368         * iconvdata/bug-iconv11.c: New test.
7369         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7370         * iconvdata/ibm933.c: Same.
7371         * iconvdata/ibm935.c: Same.
7372         * iconvdata/ibm937.c: Same.
7373         * iconvdata/ibm939.c: Same.
7375 2016-01-15  Martin Sebor  <msebor@redhat.com>
7377         [BZ #19443]
7378         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7379         [DEBUG] (_ufc_set_bits): Declare used.
7380         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7381         [DEBUG] (print_all): Declare used.
7382         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7383         operands of the ternary ?: expression to target type.
7384         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7385         calling the undeclared abort.
7386         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7388 2016-01-15  Martin Sebor  <msebor@redhat.com>
7390         [BZ #18755]
7391         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7392         warnings.
7393         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7394         (__gai_create_helper_thread): Same.
7395         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7396         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7397         to suppress -Wmaybe-uninitialized warnings.
7399 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7401         [BZ #19465]
7402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7403         inside if.
7404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7408 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7410         [BZ #19466]
7411         * time/tst-mktime2.c (time_t_max): Removed.
7412         (time_t_min): Likewise.
7413         (TYPE_SIGNED): New.
7414         (TYPE_MINIMUM): Likewise.
7415         (TYPE_MAXIMUM): Likewise.
7416         (TIME_T_MIN): Likewise.
7417         (TIME_T_MAX): Likewise.
7418         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7419         and TIME_T_MIN.
7420         (do_test): Likewise.
7422 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7424         [BZ #19467]
7425         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7426         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7428 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7430         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7432 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7434         * benchtests/Makefile (PYTHON): Define.
7435         (bench-func): Use $(PYTHON) to run python scripts.
7436         ($(objpfx)bench-%.c): Likewise.
7438 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7440         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7441         leading slash when `file_name' is "/".
7443 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7445         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7446         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7447         Likewise.
7448         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7449         Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7451         Likewise.
7452         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7453         enum constant and macro.
7454         (PTRACE_SETSIGMASK): Likewise.
7455         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7456         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7457         (PTRACE_GETSIGMASK): Likewise.
7458         (PTRACE_SETSIGMASK): Likewise.
7459         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7460         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7461         Likewise.
7462         (PTRACE_SETSIGMASK): Likewise.
7463         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7464         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7465         (PTRACE_GETSIGMASK): Likewise.
7466         (PTRACE_SETSIGMASK): Likewise.
7467         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7469         Likewise.
7470         (PTRACE_SETSIGMASK): Likewise.
7471         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7473         Likewise.
7474         (PTRACE_SETSIGMASK): Likewise.
7475         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7476         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7477         Likewise.
7478         (PTRACE_SETSIGMASK): Likewise.
7479         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7481 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7482             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7484         [BZ #19439]
7485         * math/bits/mathcalls.h
7486         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7487         prototype.
7488         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7490 2016-01-11  Andreas Schwab  <schwab@suse.de>
7492         [BZ #19253]
7493         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7494         cache when TZDEFRULES was used.
7495         * time/tst-tzname.c: New file.
7496         * time/Makefile (test): Add tst-tzname.
7497         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7498         * timezone/Makefile (test-zones): Add $(posixrules-file).
7499         ($(testdata)/$(posixrules-file)): New rule.
7501 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7503         Fix doc quoting problems with Texinfo 5
7504         Without this change, in the info file output, Texinfo 5 quotes code
7505         in text with undirected single quotes 'like this' and generates
7506         code examples that with many PDF readers cannot be cut out of PDFs
7507         and pasted into code.
7508         * manual/libc.texinfo: Configure the libc manual like the GNU
7509         Emacs manual, by using @documentencoding and setting
7510         txicodequoteundirected and txicodequotebacktick.  This way,
7511         Texinfo 5 quotes code in text with directed single quotes ‘like
7512         this’ and produces examples that can be cut out of PDFs.  This
7513         change causes Texinfo 5 to generate info files that contain UTF-8
7514         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7515         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7517 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7519         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7520         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7521         barriers to their respective compiler built-ins.
7522         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7523         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7524         * sysdeps/powerpc/sysdep.h: Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7529 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7531         * scripts/config.guess: Revert previous shebang change.
7532         * scripts/config.sub: Likewise.
7533         * scripts/mkinstalldirs: Likewise.
7535 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7537         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7538         PPC_FEATURE2_HAS_IEEE128.
7539         * sysdeps/powerpc/dl-procinfo.c:
7540         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7542 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7544         [BZ #19415]
7545         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7546         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7547         (_dl_lookup_address): Rewrite using function resolver trampoline.
7548         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7549         two bits in address.
7551 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7553         * longlong.h: Change !__SHMEDIA__ to
7554         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7555         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7557 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7558             Joseph Myers  <joseph@codesourcery.com>
7559             Mark Shinwell  <shinwell@codesourcery.com>
7560             Andrew Stubbs  <ams@codesourcery.com>
7561             Rich Felker <dalias@libc.org>
7563         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7565 2016-01-07  Richard Henderson  <rth@redhat.com>
7567         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7569 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7571         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7572         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7573         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7574         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7575         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7577 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7578             Joseph Myers  <joseph@codesourcery.com>
7580         * timezone/private.h: Update from tzcode 2015g.
7581         * timezone/tzfile.h: Likewise.
7582         * timezone/tzselect.ksh: Likewise.
7583         * timezone/zdump.c: Likewise.
7584         * timezone/zic.c: Likewise.
7585         * timezone/ialloc.c: Remove file.
7586         * timezone/scheck.c: Likewise.
7587         * timezone/Makefile (extra-objs): Remove variable.
7588         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7589         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7590         -Wno-maybe-uninitialized.
7591         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7592         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7593         (CFLAGS-ialloc.c): Remove variable.
7594         (CFLAGS-scheck.c): Likewise.
7595         * timezone/README: Update list of files from tzcode.
7597 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7599         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7600         instead of __fxprintf when _LIBC is undefined.
7602 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7604         * catgets/test-gencat.sh: Remove space after shebang.
7605         * conform/GlibcConform.pm: Likewise.
7606         * conform/check-header-lists.sh: Likewise.
7607         * conform/conformtest.pl: Likewise.
7608         * conform/linknamespace.pl: Likewise.
7609         * conform/list-header-symbols.pl: Likewise.
7610         * debug/catchsegv.sh: Likewise.
7611         * elf/genrtldtbl.awk: Likewise.
7612         * elf/tst-pathopt.sh: Likewise.
7613         * elf/tst-rtld-load-self.sh: Likewise.
7614         * grp/tst_fgetgrent.sh: Likewise.
7615         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7616         * iconvdata/gen-8bit-gap.sh: Likewise.
7617         * iconvdata/gen-8bit.sh: Likewise.
7618         * iconvdata/run-iconv-test.sh: Likewise.
7619         * intl/tst-gettext.sh: Likewise.
7620         * intl/tst-gettext2.sh: Likewise.
7621         * intl/tst-gettext4.sh: Likewise.
7622         * intl/tst-gettext6.sh: Likewise.
7623         * intl/tst-translit.sh: Likewise.
7624         * io/ftwtest-sh: Likewise.
7625         * libio/test-freopen.sh: Likewise.
7626         * locale/gen-translit.pl: Likewise.
7627         * malloc/tst-mtrace.sh: Likewise.
7628         * manual/check-safety.sh: Likewise.
7629         * manual/libc-texinfo.sh: Likewise.
7630         * manual/tsort.awk: Likewise.
7631         * manual/xtract-typefun.awk: Likewise.
7632         * nptl/tst-cancel-wrappers.sh: Likewise.
7633         * nptl/tst-tls6.sh: Likewise.
7634         * posix/globtest.sh: Likewise.
7635         * posix/tst-getconf.sh: Likewise.
7636         * posix/wordexp-tst.sh: Likewise.
7637         * scripts/check-c++-types.sh: Likewise.
7638         * scripts/check-local-headers.sh: Likewise.
7639         * scripts/config.guess: Likewise.
7640         * scripts/config.sub: Likewise.
7641         * scripts/cpp: Likewise.
7642         * scripts/cross-test-ssh.sh: Likewise.
7643         * scripts/documented.sh: Likewise.
7644         * scripts/evaluate-test.sh: Likewise.
7645         * scripts/gen-libc-abis: Likewise.
7646         * scripts/gen-sorted.awk: Likewise.
7647         * scripts/list-fixed-bugs.py: Likewise.
7648         * scripts/merge-test-results.sh: Likewise.
7649         * scripts/mkinstalldirs: Likewise.
7650         * scripts/rellns-sh: Likewise.
7651         * scripts/test-installation.pl: Likewise.
7652         * scripts/update-copyrights: Likewise.
7653         * stdio-common/tst-printf.sh: Likewise.
7654         * stdio-common/tst-unbputc.sh: Likewise.
7655         * stdlib/tst-fmtmsg.sh: Likewise.
7656         * stdlib/tst-setcontext3.sh: Likewise.
7657         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7658         * sysdeps/unix/make-syscalls.sh: Likewise.
7660 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7662         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7663         asm stw with atomic_exchange_rel.  Add explanatory comment.
7664         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7665         Likewise.
7667 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7669         [BZ #19122]
7670         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7671         * sysdeps/generic/dl-unistd.h: New file.
7672         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7674 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7676          [BZ #19122]
7677          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7678          * sysdeps/generic/dl-mman.h: New file.
7679          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7681 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7683         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7684         trailing whitespace removed.
7685         * scripts/config.guess: Update to version 2016-01-01.
7686         * scripts/config.sub: Update to version 2016-01-01.
7687         * scripts/move-if-change: Update from gnulib.
7689 2016-01-04  Anton Blanchard  <anton@samba.org>
7691         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7692         for array indices.
7693         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7695 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7697         * NEWS: Update copyright dates.
7698         * catgets/gencat.c (print_version): Likewise.
7699         * csu/version.c (banner): Likewise.
7700         * debug/catchsegv.sh: Likewise.
7701         * debug/pcprofiledump.c (print_version): Likewise.
7702         * debug/xtrace.sh (do_version): Likewise.
7703         * elf/ldconfig.c (print_version): Likewise.
7704         * elf/ldd.bash.in: Likewise.
7705         * elf/pldd.c (print_version): Likewise.
7706         * elf/sotruss.sh: Likewise.
7707         * elf/sprof.c (print_version): Likewise.
7708         * iconv/iconv_prog.c (print_version): Likewise.
7709         * iconv/iconvconfig.c (print_version): Likewise.
7710         * locale/programs/locale.c (print_version): Likewise.
7711         * locale/programs/localedef.c (print_version): Likewise.
7712         * login/programs/pt_chown.c (print_version): Likewise.
7713         * malloc/memusage.sh (do_version): Likewise.
7714         * malloc/memusagestat.c (print_version): Likewise.
7715         * malloc/mtrace.pl: Likewise.
7716         * manual/libc.texinfo: Likewise.
7717         * nptl/version.c (banner): Likewise.
7718         * nscd/nscd.c (print_version): Likewise.
7719         * nss/getent.c (print_version): Likewise.
7720         * nss/makedb.c (print_version): Likewise.
7721         * posix/getconf.c (main): Likewise.
7722         * scripts/test-installation.pl: Likewise.
7723         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7725         * All files with FSF copyright notices: Update copyright dates
7726         using scripts/update-copyrights.
7727         * intl/plural.c: Regenerated.
7728         * locale/programs/charmap-kw.h: Likewise.
7729         * locale/programs/locfile-kw.h: Likewise.
7731 2016-01-02  Helge Deller  <deller@gmx.de>
7733         [BZ #19285]
7734         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7735         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7736         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7737         (MADV_xxK_PAGES): Remove.
7739 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7741         [BZ #15421]
7742         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7743         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7744         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7745         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7747 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7749         [BZ #19408]
7750         * sysdeps/unix/sysv/linux/personality.c: New file.
7751         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7752         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7753         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7754         (sysdep_routines): Add personality.
7755         (tests): Add tst-personality.
7756         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7758         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7759         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7760         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7761         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7762         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7763         Likewise.
7764         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7765         Likewise.
7766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7769         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7770         Likewise.
7772 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7774         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7775         (PATH_ARM_SYSTYPE): Remove.
7776         (PATH_CPUINFO): Likewise.
7777         (IO_BASE_FOOTBRIDGE): Likewise.
7778         (IO_SHIFT_FOOTBRIDGE): Likewise.
7779         (struct platform): Likewise.
7780         (init_iosys): Remove compatibility code for 2.4 kernels.
7781         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7783 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7785         * malloc/tst-malloc-thread-fail.c: New file.
7786         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7787         (tst-malloc-thread-fail): Link against libpthread.
7789 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7791         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7792         (get_parser): New function.
7793         (main): New function.
7795 2015-12-29  Rob Wu  <rob@robwu.nl>
7797         [BZ #19369]
7798         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7800 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7802         [BZ #19270]
7803         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7805 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7807         [BZ #15421]
7808         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7810 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7812         [BZ #13690]
7813         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7814         after releasing it.
7815         (__lll_robust_unlock): Likewise.
7816         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7817         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7818         (lll_robust_unlock): Likewise.
7819         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7820         Prevent warnings in callers.
7822 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7824         * malloc/arena.c (list_lock): Update comment.
7826 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7828         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7829         __parse_hwcap_and_convert_at_platform to libc.a.
7831 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7833         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7834         platform and feature support for POWER9.
7835         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7836         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7837         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7838         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7839         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7840         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7841         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7842         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7844 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7846         Harmonize generic stdio-lock support with nptl
7848         This fixes build when _IO_funlockfile is a macro, fixes build where
7849         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7850         stack unwind.
7852         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7853         _IO_release_lock ): Use cleanup attribute on new
7854         _IO_acquire_lock_file variable instead of assuming that
7855         _IO_release_lock will be called.
7856         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7857         _IO_acquire_lock_needs_exceptions_enabled.
7858         (_IO_acquire_lock_clear_flags2): New macro.
7860 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7862         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7864 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7866         [BZ #19182]
7867         * malloc/arena.c (list_lock): Document lock ordering requirements.
7868         (free_list_lock): New lock.
7869         (ptmalloc_lock_all): Comment on free_list_lock.
7870         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7871         (detach_arena): Update comment.  free_list_lock is now needed.
7872         (_int_new_arena): Use free_list_lock around detach_arena call.
7873         Acquire arena lock after list_lock.  Add comment, including FIXME
7874         about incorrect synchronization.
7875         (get_free_list): Switch to free_list_lock.
7876         (reused_arena): Acquire free_list_lock around detach_arena call
7877         and attached threads counter update.  Add two FIXMEs about
7878         incorrect synchronization.
7879         (arena_thread_freeres): Switch to free_list_lock.
7880         * malloc/malloc.c (struct malloc_state): Update comments to
7881         mention free_list_lock.
7883 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7885         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7886         Remove functions.
7887         (sloww, sloww1): Accept argument to offset quadrant.
7888         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7889         quadrant.
7890         (__sin, __cos): Consolidate common code into new functions.
7891         (reduce_sincos_1, do_sincos_1): New functions.
7892         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7895         code to new functions.
7896         (reduce_sincos_2, do_sincos_2): New functions.
7897         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7900         common code for sincos.
7901         (__cos) [!IN_SINCOS]: Likewise.
7902         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7903         New function.
7904         (__sincos): Use it.
7906 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7908         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7909         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7910         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7912 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7914         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7917         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7918         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7919         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7920         index_Prefer_No_VZEROUPPER): New feature.
7921         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7922         Prefer_No_VZEROUPPER for Knights Landing.
7924 015-12-18  Torvald Riegel  <triegel@redhat.com>
7926         * math/atest-exp2.c (mp_exp_m1): Remove.
7928 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7930         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7931         syscalls.
7932         (__SYSCALL0): New macro.
7933         (__SYSCALL1): Likewise.
7934         (__SYSCALL2): Likewise.
7935         (__SYSCALL3): Likewise.
7936         (__SYSCALL4): Likewise.
7937         (__SYSCALL5): Likewise.
7938         (__SYSCALL6): Likewise.
7939         (__SYSCALL_CONCAT_X): Likewise.
7940         (__SYSCALL_CONCAT): Likewise.
7941         (__SYSCALL_DIST): Likewise.
7942         (__SYSCALL_CALL): Likewise.
7944 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7946         [BZ #19363]
7947         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7949 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7951         [BZ #19375]
7952         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7953         negative subnormals.
7955 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7958         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7959         (INTERNAL_SYSCALL_NCS): Use it.
7960         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7962 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7964         [BZ #19243]
7965         * malloc/arena.c (get_free_list): Remove assert and adjust
7966         reference count handling.  Add comment about reused_arena
7967         interaction.
7968         (reused_arena): Add comments abount get_free_list interaction.
7969         * malloc/tst-malloc-thread-exit.c: New file.
7970         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7971         (tst-malloc-thread-exit): Link against libpthread.
7973 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7975         [BZ #19367]
7976         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7977         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7978         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7979         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7980         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7982 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7984         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7985         Silvermont optimizations for Knights Landing.
7987 2015-12-15  Andreas Schwab  <schwab@suse.de>
7989         [BZ #17197]
7990         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7991         immediately after emitting SI.
7992         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7993         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7994         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7995         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7996         * iconvdata/bug-iconv10.c: New file.
7997         * iconvdata/Makefile (tests): Add bug-iconv10.
7998         ($(objpfx)bug-iconv10.out): New rule.
8000 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8002         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8003         aliasing violation.
8005 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8007         [BZ #18472]
8008         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8009         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8010         conditionals for them.
8011         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8012         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8014         sys/kdaemon.h.
8015         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8016         compat-only syscall, obsoleted in glibc 2.23.
8017         (create_module): Likewise.
8018         (get_kernel_syms): Likewise.
8019         (query_module): Likewise.
8020         (uselib): Likewise.
8021         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8023 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8025         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8026         <linux/version.h>.
8027         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8028         conditional code.
8029         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8030         and ioshift_name initialization.
8032 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8035         Fix indentation.
8037 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8039         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8041 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8043         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8045 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8046             Jakub Wilk  <jwilk@debian.org>
8048         [BZ #19347]
8049         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8050         to change the group of the device to the tty group.
8052 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8054         Split large string section; add truncation advice
8055         * manual/examples/strncat.c: Remove.
8056         This example was misleading, as the code would have undefined
8057         behavior if "hello" was longer than SIZE.  Anyway, the manual
8058         shouldn't encourage strncpy+strncat for this sort of thing.
8059         * manual/string.texi (Copying Strings and Arrays): Split into
8060         three sections Copying Strings and Arrays, Concatenating Strings,
8061         and Truncating Strings, as this section was way too long.  All
8062         cross-referenced changed.  Add advice about string-truncation
8063         functions.  Remove misleading strncat example.
8065 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8067         * manual/nss.texi (NSS Modules Interface): Document
8068         NSS_STATUS_NOTFOUND and SUCCESS.
8070 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8072         [BZ 18568]
8073         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8074         201505L, for Unicode 8.
8076 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8078         * locale/C-translit.h: Regenerate.
8080 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8082         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8083         and U+0153.
8085 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8087         [BZ #19351]
8088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8089         expanding log(1+z), compare z rather than its square with epsilon
8090         to determine when to avoid evaluating the expansion.
8092         [BZ #19350]
8093         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8094         Increase overflow threshold.
8096         [BZ #19349]
8097         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8098         when small.
8100         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8102         New macro.
8103         [__LINUX_KERNEL_VERSION >= 0x040300]
8104         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8105         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8106         Likewise.
8107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8108         Likewise.
8109         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8110         Likewise.
8111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8112         Likewise.
8113         [__LINUX_KERNEL_VERSION >= 0x040300]
8114         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8115         [__LINUX_KERNEL_VERSION >= 0x040300]
8116         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8117         [__LINUX_KERNEL_VERSION >= 0x040300]
8118         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8119         [__LINUX_KERNEL_VERSION >= 0x040300]
8120         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8121         [__LINUX_KERNEL_VERSION >= 0x040300]
8122         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8124         Likewise.
8125         [__LINUX_KERNEL_VERSION >= 0x040300]
8126         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8128         Likewise.
8129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8130         Likewise.
8131         [__LINUX_KERNEL_VERSION >= 0x040300]
8132         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8134         Likewise.
8135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8136         Likewise.
8137         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8139         Likewise.
8140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8141         Likewise.
8142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8143         Likewise.
8144         [__LINUX_KERNEL_VERSION >= 0x040300]
8145         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8147         Likewise.
8148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8149         Likewise.
8150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8151         Likewise.
8152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8153         Likewise.
8154         [__LINUX_KERNEL_VERSION >= 0x040300]
8155         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8156         [__LINUX_KERNEL_VERSION >= 0x040300]
8157         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8158         [__LINUX_KERNEL_VERSION >= 0x040300]
8159         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8160         [__LINUX_KERNEL_VERSION >= 0x040300]
8161         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8162         [__LINUX_KERNEL_VERSION >= 0x040300]
8163         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8165         Likewise.
8166         [__LINUX_KERNEL_VERSION >= 0x040300]
8167         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8169         Likewise.
8170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8171         Likewise.
8172         [__LINUX_KERNEL_VERSION >= 0x040300]
8173         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8175         Likewise.
8176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8177         Likewise.
8178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8179         (__ASSUME_SOCKET_SYSCALL): Likewise.
8180         (__ASSUME_BIND_SYSCALL): Likewise.
8181         (__ASSUME_CONNECT_SYSCALL): Likewise.
8182         (__ASSUME_LISTEN_SYSCALL): Likewise.
8183         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8184         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8185         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8186         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8187         (__ASSUME_SEND_SYSCALL): Likewise.
8188         (__ASSUME_SENDTO_SYSCALL): Likewise.
8189         (__ASSUME_RECV_SYSCALL): Likewise.
8190         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8191         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8192         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8193         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8194         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8195         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8196         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8197         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8198         Likewise.
8199         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8200         Likewise.
8201         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8202         Likewise.
8203         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8204         Likewise.
8205         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8206         Likewise.
8207         [__LINUX_KERNEL_VERSION >= 0x020625]
8208         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8209         [__LINUX_KERNEL_VERSION >= 0x020625]
8210         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8211         [__LINUX_KERNEL_VERSION >= 0x020625]
8212         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8213         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8214         Likewise.
8215         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8216         Likewise.
8217         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8218         Likewise.
8219         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8220         Likewise.
8221         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8222         Likewise.
8223         [__LINUX_KERNEL_VERSION >= 0x020625]
8224         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8225         [__LINUX_KERNEL_VERSION >= 0x020625]
8226         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8228         Likewise.
8229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8230         Likewise.
8232 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8234         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8235         record the current if the current ABI and CPU support the FP64
8236         extension.
8237         (has-modd-spreg): Define to record the current if the current ABI and
8238         CPU support 32-bit floating point values in odd FPU registers.
8239         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8240         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8241         $(has-modd-spreg) equals yes.
8242         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8243         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8244         $(has-modd-spreg) equal yes.
8246 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8248         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8249         basename.
8251 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8253         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8254         (bench-string): ... here.
8255         (bench): Add bench-string.
8256         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8257         to *-benchset to reflect what they are.
8258         (benchset): Adjust.
8260         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8261         cos-inputs.
8263 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8265         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8266         __attribute__ ((__simd__)) for vector math function declarations.
8268 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8270         Fix typo in strncat, wcsncat manual entries
8271         * manual/string.texi (Copying and Concatenation): Fix typos in
8272         sample implementations of strncat and wcsncat, by having them use
8273         the old value of the destination length, not the new one.
8275 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8277         [BZ #16961]
8278         [BZ #16962]
8279         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8280         string on the stack for strtod.
8281         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8282         a string on the stack for strtof.
8283         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8284         constructing a string on the stack for strtold.
8285         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8286         __strtold_nan to GLIBC_PRIVATE.
8287         * math/test-nan-overflow.c: New file.
8288         * math/test-nan-payload.c: Likewise.
8289         * math/Makefile (tests): Add test-nan-overflow and
8290         test-nan-payload.
8292 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8294         Consistency about byte vs character in string.texi
8295         * manual/string.texi (String and Array Utilities):
8296         Distinguish more carefully among bytes, multibyte characters,
8297         and wide characters.  Use "byte" when talking about C 'char',
8298         to distinguish it more clearly from multibyte characters.
8299         Say "wide character" or "multibyte character" instead of
8300         "character", when a wide or multibyte character is intended.
8301         Similarly for "multibyte string" versus "string".
8302         Define these terms more carefully.
8304 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8306         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8307         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8308         Likewise.
8309         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8310         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8311         * sysdeps/sh/math_private.h: New file.
8312         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8313         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8314         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8315         long double function name.
8316         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8317         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8320         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8322         Remove __finitel, __isinfl, and __isnanl.
8323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8324         Likewise.
8325         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8327         Remove __finitel.
8328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8329         Likewise.
8330         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8332 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8334         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8335         installed libmvec_nonshared.a.
8337 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8339         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8340         (sysdep_routines): Likewise.
8341         (sysdep-rtld-routines): Likewise.
8342         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8343         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8344         * sysdeps/powerpc/Versions: Added new
8345         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8346         * sysdeps/powerpc/hwcapinfo.c: New file.
8347         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8348         and parse hwcap, hwcap2 and platform number information.
8349         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8350         to store HWCAP+HWCAP2 and platform number.
8351         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8352         for HWCAP+HWCAP2 and platform number in the TCB.
8353         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8354         the HWCAP, HWCAP2 and platform number in the TCB.
8355         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8356         (TLS_INIT_TP): Included calls to add the hwcap and
8357         at_platform values in the TCB in TP initialization.
8358         (TLS_DEFINE_INIT_TP): Likewise.
8359         (THREAD_GET_HWCAP): New macro.
8360         (THREAD_SET_HWCAP): Likewise.
8361         (THREAD_GET_AT_PLATFORM): Likewise.
8362         (THREAD_SET_AT_PLATFORM): Likewise.
8363         * sysdeps/powerpc/powerpc32/dl-machine.h:
8364         (dl_platform_init): New function that calls
8365         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8366         powerpc32.
8367         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8368         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8369         this functionality, static linking case.
8370         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8371         linking case.
8372         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8373         __parse_hwcap_and_convert_at_platform for the static linking case.
8374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8375         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8376         ABI list for GLIBC 2.23.
8377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8378         Likewise.
8379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8380         Likewise.
8382 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8384         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8385         * configure: Regenerate.
8386         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8387         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8389 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8391         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8392         * iconvdata/ibm933.c: Likewise.
8393         * iconvdata/ibm935.c: Likewise.
8394         * iconvdata/ibm937.c: Likewise.
8395         * iconvdata/ibm939.c: Likewise.
8397 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8399         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8400         pthread_join.
8401         * nptl/tst-cancel21.c (tf): Likewise.
8403 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8405         [BZ #19313]
8406         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8407         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8408         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8409         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8410         Likewise.
8411         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8412         Likewise.
8413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8414         Likewise.
8415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8416         Likewise.
8417         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8418         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8419         unsigned long int with __CPU_MASK_TYPE.
8421 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8423         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8425 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8427         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8428         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8429         t512.x.
8430         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8432 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8434         [BZ #19214]
8435         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8436         argument to return extended model.  Update family and model
8437         with extended family and model when family == 0x0f.
8438         (init_cpu_features): Updated.
8440 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8442         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8443         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8445         * sysdeps/mach/hurd/mmap64.c: New file.
8447 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8449         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8450         rights for its main user thread in NEWTASK.
8452 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8454         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8455         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8457 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8459         [BZ #14259]
8460         * Makeconfig: Rename localedir to complocaledir.
8461         Rename inst_localedir to inst_complocaledir.
8462         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8463         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8464         * configure.ac: Use libc_cv_complocaledir.
8465         * configure: Regenerate.
8466         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8467         -DCOMPLOCALEDIR.
8468         * locale/findlocale.c: Use COMPLOCALEDIR.
8469         * locale/loadarchive.c: Likewise.
8470         * locale/programs/locale.c: Likewise.
8471         * locale/programs/localedef.c: Likewise.
8472         * locale/programs/locarchive.c: Likewise.
8473         * localedata/Makefile: Use inst_complocaledir.
8474         * sysdeps/gnu/configure: Regenerate.
8475         * sysdeps/hppa/configure: Regenerate.
8476         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8477         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8479         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8480         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8481         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8482         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8484 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8486         [BZ #19058]
8487         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8488         AS_NEEDED.
8489         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8490         workaround.
8491         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8492         libmvec-static-only-routines): Added new file.
8493         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8495 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8497         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8498         of interrupted RPC instead of restoring it.
8500         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8501         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8502         libc_hidden_def.
8503         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8504         into initialized data instead of common. Define rtld_hidden_data_def.
8505         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8506         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8507         libc_hidden_def.
8508         (if_freenameindex): Add libc_hidden_weak.
8509         (if_nameindex): Add libc_hidden_weak.
8510         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8511         __open64.
8512         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8513         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8514         * sysdeps/mach/nanosleep.c: Include <time.h>
8515         (__nanosleep): Rename to __libc_nanosleep.
8516         (__nanosleep): Add weak_alias.
8517         (nanosleep): Update alias.
8519 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8521         * stdlib/strtod_nan.c: New file.
8522         * stdlib/strtod_nan_double.h: Likewise.
8523         * stdlib/strtod_nan_float.h: Likewise.
8524         * stdlib/strtod_nan_main.c: Likewise.
8525         * stdlib/strtod_nan_narrow.h: Likewise.
8526         * stdlib/strtod_nan_wide.h: Likewise.
8527         * stdlib/strtof_nan.c: Likewise.
8528         * stdlib/strtold_nan.c: Likewise.
8529         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8530         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8531         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8532         * wcsmbs/wcstod_nan.c: Likewise.
8533         * wcsmbs/wcstof_nan.c: Likewise.
8534         * wcsmbs/wcstold_nan.c: Likewise.
8535         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8536         strtold_nan.
8537         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8538         wcstof_nan.
8539         * include/stdlib.h (__strtof_nan): Declare and use
8540         libc_hidden_proto.
8541         (__strtod_nan): Likewise.
8542         (__strtold_nan): Likewise.
8543         (__wcstof_nan): Likewise.
8544         (__wcstod_nan): Likewise.
8545         (__wcstold_nan): Likewise.
8546         * include/wchar.h (____wcstoull_l_internal): Declare.
8547         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8548         (____strtoull_l_internal): Remove declaration.
8549         (STRTOF_NAN): Define macro.
8550         (SET_MANTISSA): Remove macro.
8551         (STRTOULL): Likewise.
8552         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8553         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8554         (STRTOF_NAN): Define macro.
8555         (SET_MANTISSA): Remove macro.
8556         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8557         (SET_MANTISSA): Remove macro.
8558         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8559         macro.
8560         (SET_MANTISSA): Remove macro.
8561         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8562         macro.
8563         (SET_MANTISSA): Remove macro.
8564         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8565         (SET_MANTISSA): Remove macro.
8566         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8567         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8568         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8570         [BZ #19266]
8571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8572         upper case and lower case letters inside NAN(), not using TOLOWER.
8573         * stdlib/tst-strtod-nan-locale-main.c: New file.
8574         * stdlib/tst-strtod-nan-locale.c: Likewise.
8575         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8576         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8577         Depend on $(gen-locales).
8578         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8579         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8580         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8581         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8582         Depend on $(gen-locales).
8583         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8585 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8587         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8589         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8591         __finitel, __isinfl, and __isnanl.
8592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8593         Likewise.
8594         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8596         __finitel.
8597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8598         Likewise.
8599         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8601 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8603         * malloc/memusage.c (me): Remove redundant getenv call.
8605 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8607         [BZ #19143]
8608         [BZ #19164]
8609         * nptl/check-cpuset.h: Remove.
8610         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8611         Remove CPU set size check.
8612         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8613         Likewise.
8614         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8615         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8616         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8617         (__pthread_setaffinity_new): Remove CPU set size check.
8618         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8619         (__kernel_cpumask_size): Remove.
8620         (__sched_setaffinity_new): Remove CPU set size check.
8621         * manual/threads.texi (Default Thread Attributes): Remove stale
8622         reference to check_cpuset_attr, determine_cpumask_size in comment.
8623         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8624         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8625         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8626         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8627         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8628         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8629         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8630         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8631         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8632         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8633         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8634         skeleton test file.
8635         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8636         tst-affinity-pid.
8638 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8640         * scripts/update-abilist.sh: New file.
8641         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8642         * Makerules (update-all-abi-%, update-all-abi)
8643         (subdir_update-all-abi): New targets.
8644         * elf/Makefile (update-all-abi): New target.
8646 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8648         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8649         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8650         (__libc_lock_define_initialized): Use it.
8651         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8652         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8653         * malloc/malloc.c (main_arena): Likewise.
8654         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8655         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8657 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8659         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8660         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8661         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8662         (PTRACE_O_MASK): Update value.
8663         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8664         New value in enum __ptrace_setoptions.
8665         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8666         (PTRACE_O_MASK): Update value.
8667         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8668         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8669         (PTRACE_O_MASK): Update value.
8670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8671         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8672         (PTRACE_O_MASK): Update value.
8673         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8674         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8675         (PTRACE_O_MASK): Update value.
8676         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8677         New value in enum __ptrace_setoptions.
8678         (PTRACE_O_MASK): Update value.
8679         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8680         New value in enum __ptrace_setoptions.
8681         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8682         (PTRACE_O_MASK): Update value.
8684         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8685         New macro.
8686         (PACKET_AUXDATA): Likewise.
8687         (PACKET_ORIGDEV): Likewise.
8688         (PACKET_VERSION): Likewise.
8689         (PACKET_HDRLEN): Likewise.
8690         (PACKET_RESERVE): Likewise.
8691         (PACKET_TX_RING): Likewise.
8692         (PACKET_LOSS): Likewise.
8693         (PACKET_VNET_HDR): Likewise.
8694         (PACKET_TX_TIMESTAMP): Likewise.
8695         (PACKET_TIMESTAMP): Likewise.
8696         (PACKET_FANOUT): Likewise.
8697         (PACKET_TX_HAS_OFF): Likewise.
8698         (PACKET_QDISC_BYPASS): Likewise.
8699         (PACKET_ROLLOVER_STATS): Likewise.
8700         (PACKET_FANOUT_DATA): Likewise.
8701         (PACKET_MR_UNICAST): Likewise.
8703         [BZ #19242]
8704         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8705         (TOUPPER): Likewise.
8706         * stdlib/tst-strtol-locale-main.c: New file.
8707         * stdlib/tst-strtol-locale.c: Likewise.
8708         * stdlib/Makefile (tests): Add tst-strtol-locale.
8709         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8710         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8711         Depend on $(gen-locales).
8712         * wcsmbs/tst-wcstol-locale.c: New file.
8713         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8714         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8715         tr_TR.ISO-8859-9.
8716         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8717         Depend on $(gen-locales).
8719 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8721         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8722         __glibc_likely instead of __builtin_expect.  After falling back to
8723         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8724         system interface to register the code pages as occupied.
8726 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8729         [!ARM_MATH_PRIVATE_H].
8730         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8731         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8732         [!HPPA_MATH_PRIVATE_H].
8733         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8734         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8735         to [!I386_MATH_PRIVATE_H].
8736         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8737         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8738         Change guard to [!M68K_MATH_PRIVATE_H].
8739         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8740         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8741         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8742         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8743         macro.
8744         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8745         [!MIPS_MATH_PRIVATE_H].
8746         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8747         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8748         [!NIO2_MATH_PRIVATE_H].
8749         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8750         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8751         [!TILE_MATH_PRIVATE_H].
8752         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8754         [BZ #15421]
8755         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8756         initialize with 0 and define as weak alias of __signgam.
8757         * include/math.h [!_ISOMAC] (__signgam): Declare.
8758         * math/Makefile (libm-calls): Add w_lgamma_compat.
8759         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8760         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8761         test-signgam-ullong-init.
8762         (tests-static): Add test-signgam-uchar-static,
8763         test-signgam-uchar-init-static, test-signgam-uint-static,
8764         test-signgam-uint-init-static, test-signgam-ullong-static and
8765         test-signgam-ullong-init-static.
8766         (CFLAGS-test-signgam-uchar.c): New variable.
8767         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8768         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8769         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8770         (CFLAGS-test-signgam-uint.c): Likewise.
8771         (CFLAGS-test-signgam-uint-init.c): Likewise.
8772         (CFLAGS-test-signgam-uint-static.c): Likewise.
8773         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8774         (CFLAGS-test-signgam-ullong.c): Likewise.
8775         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8776         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8777         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8778         * math/Versions (libm): Add GLIBC_2.23.
8779         * math/lgamma-compat.h: New file.
8780         * math/test-signgam-main.c: Likewise.
8781         * math/test-signgam-uchar-init-static.c: Likewise.
8782         * math/test-signgam-uchar-init.c: Likewise.
8783         * math/test-signgam-uchar-static.c: Likewise.
8784         * math/test-signgam-uchar.c: Likewise.
8785         * math/test-signgam-uint-init-static.c: Likewise.
8786         * math/test-signgam-uint-init.c: Likewise.
8787         * math/test-signgam-uint-static.c: Likewise.
8788         * math/test-signgam-uint.c: Likewise.
8789         * math/test-signgam-ullong-init-static.c: Likewise.
8790         * math/test-signgam-ullong-init.c: Likewise.
8791         * math/test-signgam-ullong-static.c: Likewise.
8792         * math/test-signgam-ullong.c: Likewise.
8793         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8794         wrapper of w_lgamma_main.c.
8795         * math/w_lgamma_compat.c: New file.
8796         * math/w_lgamma_compatf.c: Likewise.
8797         * math/w_lgamma_compatl.c: Likewise.
8798         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8799         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8800         defining compatibility symbols.
8801         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8802         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8803         wrapper of w_lgammaf_main.c.
8804         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8805         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8806         defining compatibility symbols.
8807         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8808         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8809         wrapper of w_lgammal_main.c.
8810         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8811         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8812         defining compatibility symbols.
8813         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8814         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8815         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8816         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8817         <lgamma-compat.h>.
8818         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8819         (__ieee754_gamma): Define as alias.
8820         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8821         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8822         <lgamma-compat.h>.
8823         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8824         (__ieee754_gammaf): Define as alias.
8825         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8826         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8827         <lgamma-compat.h>.
8828         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8829         (__ieee754_gammal): Define as alias.
8830         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8831         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8832         <math/w_lgamma_compat.c>.
8833         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8834         Define as alias of __lgamma_compat and use in defining lgammal.
8835         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8836         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8837         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8838         (USE_AS_COMPAT): New macro.
8839         (LGAMMA_OLD_VER): Undefine and redefine.
8840         (lgammal): Do not define here.
8841         (gammal): Only define here if [GAMMA_ALIAS].
8842         * conform/linknamespace.pl (@whitelist): Remove signgam.
8843         * sysdeps/nacl/libm.abilist: Update.
8844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8857         Likewise.
8858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8859         Likewise.
8860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8861         Likewise.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8863         Likewise.
8864         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8868         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8870         Likewise.
8871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8877 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8879         [BZ #16364]
8880         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8881         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8883 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8885         * sysdeps/s390/fpu/bits/mathinline.h:
8886         Use __asm__ [__volatile__] instead of asm [volatile].
8887         * sysdeps/s390/abort-instr.h: Likewise.
8888         * sysdeps/s390/atomic-machine.h: Likewise.
8889         * sysdeps/s390/bits/string.h: Likewise.
8890         * sysdeps/s390/dl-tls.h: Likewise.
8891         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8892         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8893         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8894         * sysdeps/s390/fpu/fesetround.c: Likewise.
8895         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8896         * sysdeps/s390/fpu/s_fma.c: Likewise.
8897         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8898         * sysdeps/s390/memusage.h: Likewise.
8899         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8900         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8901         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8902         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8903         * sysdeps/s390/nptl/tls.h: Likewise.
8904         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8905         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8906         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8907         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8908         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8909         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8910         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8911         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8912         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8913         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8914         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8915         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8916         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8917         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8918         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8919         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8920         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8921         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8922         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8924         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8925         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8926         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8928 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8929             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8931         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8932         Add lwarx hint, and use macro for acquire instruction.
8933         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8934         Likewise.
8935         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8936         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8937         update to use new atomic macros.
8939 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8941         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8942         (__lll_trylock_elision): Fix setting of adapt_count.
8943         * sysdeps/unix/sysv/linux/powerpc/htm.h
8944         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8945         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8946         (_ABORT_SYSCALL): Renumber, and clarify definition.
8947         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8949 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8951         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8952         after system headers to prevent MIN/MAX redefinition.  Define
8953         HAVE_ALLOCA to preserve builtin alloca usage.
8955 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8957         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8958         static and don't set or restore rounding.
8959         (__cos)[IN_SINCOS]: Likewise.
8960         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8961         (__sincos): Set and restore rounding mode.  Remove check for infinite
8962         or NaN input.
8964         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8966         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8967         as used.
8969 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8971         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8973 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8975         * config.make.in (have-glob-dat-reloc): New.
8976         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8977         target supports GLOB_DAT relocaton. AC_SUBST.
8978         * configure: Regenerated.
8979         * elf/Makefile (tests): Add tst-prelink.
8980         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8981         (tst-prelink-ENV): New.
8982         ($(objpfx)tst-prelink-conflict.out): Likewise.
8983         ($(objpfx)tst-prelink-cmp.out): Likewise.
8984         * sysdeps/x86/tst-prelink.c: Moved to ...
8985         * elf/tst-prelink.c: Here.
8986         * sysdeps/x86/tst-prelink.exp: Moved to ...
8987         * elf/tst-prelink.exp: Here.
8988         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8989         (tst-prelink-ENV): Removed.
8990         ($(objpfx)tst-prelink-conflict.out): Likewise.
8991         ($(objpfx)tst-prelink-cmp.out): Likewise.
8992         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8994 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8996         [BZ #14551]
8997         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8998         (__mpn_construct_long_double): If high part overflows to infinity,
8999         set errno and recompute overflowed result of the correct sign.
9000         * sysdeps/ieee754/ldbl-128ibm/Makefile
9001         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9002         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9003         $(libm).
9004         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9006 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9008         [BZ #15479]
9009         [BZ #19238]
9010         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9011         floating-point state after first operation on input.  Restore full
9012         state rather than just rounding mode.
9013         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9014         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9015         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9017         [BZ #19235]
9018         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9019         add 0.5 to integer arguments.
9020         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9021         Likewise.
9022         (.LC2): New object.
9024 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9026         * scripts/pylintrc (reports): Set to no.
9028 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9030         * elf/dl-load.c (open_verify): Take new argument FD.
9031         Skip __open call if passed FD is not -1.
9032         (_dl_map_object, open_path): Update callers.
9033         * elf/dl-sysdep-open.h: New file.
9034         * elf/dl-load.c: Include it.
9035         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9036         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9037         * sysdeps/nacl/dl-sysdep-open.h: New file.
9038         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9039         from libc to rtld.
9041 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9043         [BZ #19228]
9044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9045         and restore full floating-point state.
9046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9047         Likewise.
9048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9049         Likewise.
9050         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9051         Likewise.
9052         * math/test-nearbyint-except-2.c: New file.
9053         * math/Makefile (tests): Add test-nearbyint-except-2.
9055 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9057         [BZ #19178]
9058         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9059         (tst-prelink-ENV): New.
9060         ($(objpfx)tst-prelink-conflict.out): Likewise.
9061         ($(objpfx)tst-prelink-cmp.out): Likewise.
9062         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9063         * sysdeps/x86/tst-prelink.c: New file.
9064         * sysdeps/x86/tst-prelink.exp: Likewise.
9066 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9068         * math/auto-libm-test-in: Add another test of pow.
9069         * math/auto-libm-test-out: Regenerated.
9070         * math/libm-test.inc (pow_test_data): Add another test.
9072 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9074         [BZ #19219]
9075         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9076         weak_alias to nearbyintl.
9078 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9080         * sysdeps/aarch64/bits/string.h: New file.
9081         (_STRING_ARCH_unaligned): Define.
9083 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9085         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9086         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9087         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9088         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9091 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9093         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9094         for original name of the DSO.  Add it to the name list of the DSO
9095         if it is actually given.
9096         (_dl_map_object): Keep track of whether an audit module rewrote
9097         the file name.  If yes, pass the original name to
9098         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9099         debugging is enabled, log the change of the file name.
9100         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9101         _dl_map_object_from_fd.
9102         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9103         * elf/tst-audit11.c: New file
9104         * elf/tst-auditmod11.c: New file.
9105         * elf/tst-audit11mod1.c: New file.
9106         * elf/tst-audit11mod2.c: New file.
9107         * elf/tst-audit11mod2.map: New file.
9108         * elf/tst-audit12.c: New file
9109         * elf/tst-auditmod12.c: New file.
9110         * elf/tst-audit12mod1.c: New file.
9111         * elf/tst-audit12mod2.c: New file.
9112         * elf/tst-audit12mod2.map: New file.
9113         * elf/tst-audit12mod3.c: New file.
9115 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9117         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9118         Don't create weak aliases,
9119         because versioned symbols are created later.
9120         * sysdeps/s390/s390-32/setjmp.S
9121         (setjmp, _setjmp): Remove weak and rename to an unique name
9122         in SHARED case due to existing versioned symbols.
9123         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9124         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9125         (getcontext): Create weak alias only in non SHARED case.
9126         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9128 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9130         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9131         (__ASSUME_*_SYSCALL) Define new macros.
9132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9133         Remove socketcall syscalls.
9134         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9135         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9136         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9137         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9138         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9139         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9141 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9143         [BZ #12926]
9144         Terminate process on invalid netlink response.
9145         * sysdeps/unix/sysv/linux/netlinkaccess.h
9146         (__netlink_assert_response): Declare.
9147         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9148         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9149         (sysdep_routines): Add netlink_assert_response.
9150         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9151         __netlink_assert_response.
9152         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9153         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9154         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9155         __netlink_assert_response.
9157 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9159         [BZ #19178]
9160         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9161         (RTYPE_CLASS_PLT): Likewise.
9162         (RTYPE_CLASS_COPY): Likewise.
9163         (RTYPE_CLASS_TLS): Likewise.
9164         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9165         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9166         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9167         DL_DEBUG_PRELINK.
9169 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9171         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9172         calls with argument -0.5.
9173         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9175         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9176         (libc_cv_z_nodlopen): Likewise.
9177         (libc_cv_z_initfirst): Likewise.
9178         * configure: Regenerated.
9180 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9182         Simplify abilist format to be line-based.
9183         * scripts/abilist.awk: Collect descriptors in the descs variable.
9184         (emit): Write descs variable and sort it
9185         externally, with sort.
9186         * sysdeps/**/*.abilist: Convert to new format.
9188 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9190         [BZ #11460]
9191         * io/Makefile (routines): Add fts64.
9192         (tests): Add tst-fts and tst-fts-lfs.
9193         (CFLAGS-fts64.c): New.
9194         * io/Versions (GLIBC_2.23): New.
9195         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9196         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9197         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9198         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9199         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9200         (FTSENT64): Likewise.
9201         (fts64_children): Likewise.
9202         (fts64_close): Likewise.
9203         (fts64_open): Likewise.
9204         (fts64_read): Likewise.
9205         (fts64_set): Likewise.
9206         * io/fts64.c: New file.
9207         * io/tst-fts.c: New test.
9208         * io/tst-fts-lfs.c: Likewise.
9209         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9210         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9211         fts64_set.
9212         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9213         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9214         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9215         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9216         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9217         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9218         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9219         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9220         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9221         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9222         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9223         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9224         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9226         Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9228         Likewise.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9241         * sysdeps/wordsize-64/fts.c: New file.
9242         * sysdeps/wordsize-64/fts64.c: Likewise.
9243         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9244         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9245         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9246         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9248 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9250         * math/libm-test.inc (NON_FINITE): New macro.
9251         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9252         * math/gen-libm-test.pl (show_exceptions): Add argument
9253         $non_finite.
9254         (parse_args): Update call to show_exceptions.
9255         * math/test-math-finite.h: New file.
9256         * math/test-math-no-finite.h: Likewise.
9257         * math/test-double-finite.c: Likewise.
9258         * math/test-float-finite.c: Likewise.
9259         * math/test-ldouble-finite.c: Likewise.
9260         * math/test-double.c: Include "test-math-no-finite.h".
9261         * math/test-float.c: Include "test-math-no-finite.h".
9262         * math/test-ldouble.c: Include "test-math-no-finite.h".
9263         * math/test-math-inline.h (TEST_FINITE): New macro.
9264         * math/test-math-vector.h (TEST_FINITE): Likewise.
9265         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9266         (libm-tests): Add test-float-finite and test-double-finite.
9267         ($(objpfx)test-float-finite.o): New dependency on
9268         $(objpfx)libm-test.stmp.
9269         ($(objpfx)test-double-finite.o): Likewise.
9270         ($(objpfx)test-ldouble-finite.o): Likewise.
9271         (libm-test-no-inline-cflags): New variable.
9272         (libm-test-finite-cflags): Likewise.
9273         (CFLAGS-test-float-finite.c): Likewise.
9274         (CFLAGS-test-double-finite.c): Likewise.
9275         (CFLAGS-test-ldouble-finite.c): Likewise.
9276         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9277         (CFLAGS-test-double.c): Likewise.
9278         (CFLAGS-test-ldouble.c): Likewise.
9280 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9282         * io/fcntl.c (__fcntl): Add ... to prototype.
9283         * misc/ioctl.c (__ioctl): Likewise.
9284         * misc/syscall.c (syscall): Likewise.
9286 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9288         * scripts/list-fixed-bugs.py: New file.
9290         [BZ #19213]
9291         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9292         returned for argument 1.
9293         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9294         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9295         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9296         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9297         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9298         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9300         [BZ #19211]
9301         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9302         __USE_XOPEN], not if [!__USE_ISOC99].
9303         (lgammaf): Likewise.
9304         (lgammal): Likewise.
9305         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9306         (gammaf): Likewise.
9307         (gammal): Likewise.
9308         * math/test-signgam-finite-c11.c: New file.
9309         * math/test-signgam-finite-c99.c: Likewise.
9310         * math/test-signgam-finite.c: Likewise.
9311         * math/Makefile (tests): Add test-signgam-finite,
9312         test-signgam-finite-c99 and test-signgam-finite-c11.
9313         (CFLAGS-test-signgam-finite.c): New variable.
9314         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9315         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9317         [BZ #19212]
9318         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9319         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9320         500].
9321         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9322         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9323         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9324         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9325         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9326         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9327         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9328         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9329         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9330         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9332         [BZ #19209]
9333         * math/bits/math-finite.h (ldexp): Remove declaration.
9334         (ldexpf): Likewise.
9335         (ldexpl): Likewise.
9337         [BZ #19205]
9338         * math/bits/math-finite.h (acosf): Condition declaration on
9339         [__USE_ISOC99].
9340         (acosl): Likewise.
9341         (acoshf): Likewise.
9342         (acoshl): Likewise.
9343         (asinf): Likewise.
9344         (asinl): Likewise.
9345         (atan2f): Likewise.
9346         (atan2l): Likewise.
9347         (atanhf): Likewise.
9348         (atanhl): Likewise.
9349         (coshf): Likewise.
9350         (coshl): Likewise.
9351         (expf): Likewise.
9352         (expl): Likewise.
9353         (fmodf): Likewise.
9354         (fmodl): Likewise.
9355         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9356         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9357         (j0l): Likewise.
9358         (y0f): Likewise.
9359         (y0l): Likewise.
9360         (j1f): Likewise.
9361         (j1l): Likewise.
9362         (y1f): Likewise.
9363         (y1l): Likewise.
9364         (jnf): Likewise.
9365         (jnl): Likewise.
9366         (ynf): Likewise.
9367         (ynl): Likewise.
9368         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9369         (lgammal_r): Likewise.
9370         (__lgamma_r_finite): New declaration.
9371         (__lgammaf_r_finite): Likewise.
9372         (__lgammal_r_finite): Likewise.
9373         (lgamma): Use __lgamma_r_finite.
9374         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9375         __lgammaf_r_finite.
9376         (lgammal): Condition definition on [__USE_ISOC99].  Use
9377         __lgammal_r_finite.
9378         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9379         __lgamma_r_finite.
9380         (gammaf): Condition definition on [__USE_ISOC99].  Use
9381         __lgammaf_r_finite.
9382         (gammal): Condition definition on [__USE_ISOC99].  Use
9383         __lgammal_r_finite.
9384         (logf): Condition declaration on [__USE_ISOC99].
9385         (logl): Likewise.
9386         (log10f): Likewise.
9387         (log10l): Likewise.
9388         (ldexpf): Likewise.
9389         (ldexpl): Likewise.
9390         (powf): Likewise.
9391         (powl): Likewise.
9392         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9393         __USE_ISOC99].
9394         (remainderf): Condition declaration on [__USE_ISOC99].
9395         (remainderl): Likewise.
9396         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9397         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9398         (scalbl): Likewise.
9399         (sinhf): Condition declaration on [__USE_ISOC99].
9400         (sinhl): Likewise.
9401         (sqrtf): Likewise.
9402         (sqrtl): Likewise.
9404 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9406         * sysdeps/arm/atomic-machine.h
9407         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9408         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9409         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9410         Remove conditional code.
9411         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9412         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9413         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9414         Change conditional to [__ASSEMBLER__].
9415         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9416         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9417         [!__ASSEMBLER__].
9418         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9419         code.
9420         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9421         conditional macro definitions.
9422         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9423         (__arch_compare_and_exchange_val_16_acq): Likewise.
9424         (__arch_compare_and_exchange_val_32_acq): Likewise.
9425         (atomic_exchange_and_add): Likewise.
9426         (atomic_add): Likewise.
9427         (atomic_add_negative): Likewise.
9428         (atomic_add_zero): Likewise.
9429         (atomic_bit_set): Likewise.
9430         (atomic_bit_test_set): Likewise.
9431         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9432         code unconditional.
9433         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9435         * math/test-math-errno.h: New file.
9436         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9437         empty.
9438         (TEST_ERRNO): New macro.
9439         (TEST_EXCEPTIONS): Likewise.
9440         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9441         (TEST_EXCEPTIONS): Likewise.
9442         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9443         * math/test-double.c: Include "test-math-errno.h".
9444         * math/test-float.c: Likewise.
9445         * math/test-ldouble.c: Likewise.
9446         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9447         code unconditional.
9448         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9449         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9450         unconditional.
9451         (test_errno): Only run code if TEST_ERRNO.
9452         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9454 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9456         * nptl/tst-once5.cc: Remove attribution.
9458 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9460         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9461         sqrt, tan, tanh, y0, y1 and yn.
9462         * math/auto-libm-test-out: Regenerated.
9463         * math/libm-test.inc (scalb_test_data): Add more tests.
9464         (scalbn_test_data): Likewise.
9465         (scalbln_test_data): Likewise.
9466         (signbit_test_data): Likewise.
9467         (sin_test_data): Likewise.
9468         (sincos_test_data): Likewise.
9469         (sinh_test_data): Likewise.
9470         (sqrt_test_data): Likewise.
9471         (tan_test_data): Likewise.
9472         (tanh_test_data): Likewise.
9473         (tgamma_test_data): Likewise.
9474         (y0_test_data): Likewise.
9475         (y1_test_data): Likewise.
9476         (yn_test_data): Likewise.
9477         (significand_test_data): Likewise.
9478         * sysdeps/i386/fpu/libm-test-ulps: Update.
9480 2015-11-03  David Kastrup  <dak@gnu.org>
9482         [BZ #18604]
9483         * assert/assert.h (assert): Don't macro-expand failed assertion
9484         expression in error message.
9485         * malloc/malloc.c (assert): Likewise.
9487 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9489         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9490         test.
9491         * configure: Regenerated.
9493 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9495         * math/libm-test.inc (modf_test_data): Add more tests.
9496         (nearbyint_test_data): Likewise.
9497         (nextafter_test_data): Likewise.
9498         (nexttoward_test_data): Likewise.
9499         (pow_test_data): Likewise.
9500         (remainder_test_data): Likewise.
9501         (remquo_test_data): Likewise.
9502         (rint_test_data): Likewise.
9504         [BZ #19201]
9505         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9506         Check for zero remainder in case of large exponents and ensure
9507         correct sign of result in that case.
9508         * math/libm-test.inc (remainder_test_data): Add more tests.
9510         [BZ #6799]
9511         * math/s_nextafter.c: Include <errno.h>.
9512         (__nextafter): Set errno on overflow and underflow.
9513         * math/s_nexttowardf.c: Include <errno.h>.
9514         (__nexttowardf): Set errno on overflow and underflow.
9515         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9516         (__nextafterl): Set errno on overflow and underflow.
9517         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9518         (__nexttoward): Set errno on overflow and underflow.
9519         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9520         (__nexttowardf): Set errno on overflow and underflow.
9521         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9522         (__nextafterf): Set errno on overflow and underflow.
9523         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9524         (__nextafterl): Set errno on overflow and underflow.
9525         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9526         (__nexttoward): Set errno on overflow and underflow.
9527         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9528         (__nexttowardf): Set errno on overflow and underflow.
9529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9530         (__nextafterl): Set errno on overflow and underflow.
9531         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9532         (__nexttoward): Set errno on overflow and underflow.
9533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9534         (__nexttowardf): Set errno on overflow and underflow.
9535         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9536         (__nexttoward): Set errno on overflow and underflow.
9537         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9538         (__nexttowardf): Set errno on overflow and underflow.
9539         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9540         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9541         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9542         (__nextafterl): Set errno on overflow and underflow.
9543         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9544         setting to be missing on overflow.  Add more tests.
9545         (nexttoward_test_data): Likewise.
9547         * configure.ac (libc_cv_initfini_array): Remove configure test.
9548         * configure: Regenerated.
9550 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9552         [BZ #19189]
9553         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9554         non-finite argument handle arguments with negative sign.
9556         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9557         result from infinite argument.
9558         (j1_test_data): Likewise.
9559         (jn_test_data): Likewise.
9560         (y0_test_data): Likewise.
9561         (y1_test_data): Likewise.
9562         (yn_test_data): Likewise.
9564         [BZ #16171]
9565         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9566         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9567         * math/w_remainderf.c (dremf): Define as weak alias of
9568         __remainderf.
9569         * math/w_remainderl.c (dreml): Define as weak alias of
9570         __remainderl.
9571         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9572         __remainder.
9573         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9574         __remainderf.
9575         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9576         __remainderl.
9577         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9578         weak alias of remainderl.
9579         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9580         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9581         alias of __remainder.
9582         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9583         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9584         strong alias of __remainderl.
9585         (dreml): Use long_double_symbol.
9586         * math/Makefile (libm-calls): Remove w_drem.
9587         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9588         (CFLAGS-nldbl-drem.c): Remove variable.
9589         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9590         * math/w_drem.c: Remove file.
9591         * math/w_dremf.c: Likewise.
9592         * math/w_dreml.c: Likewise.
9593         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9594         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9595         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9597         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9598         * sysdeps/i386/configure: Regenerated.
9599         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9600         * sysdeps/x86_64/configure: Regenerated.
9602         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9603         test.
9604         (libc_cv_visibility_attribute): Likewise.
9605         (libc_cv_protected_data): Test unconditionally.
9606         (libc_cv_broken_visibility_attribute): Remove configure test.
9607         (libc_cv_have_sdata_section): Test unconditionally.
9608         * configure: Regenerated.
9610         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9611         * include/scratch_buffer.h: Include <stddef.h> instead of
9612         <libc-internal.h>.
9613         (struct scratch_buffer): Use max_align_t instead of
9614         libc_max_align_t.
9616 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9618         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9619         instead of extend_alloca.  Change control flow to avoid a goto.
9620         Remove assert which is trivially always true.
9622 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9624         [BZ #16068]
9625         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9626         (FE_ALL_EXCEPT_X86): New macro.
9627         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9628         FE_ALL_EXCEPT.  Ensure precision control is included in
9629         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9630         handle "denormal operand exception" and clear FZ and DAZ bits.
9631         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9632         (FE_ALL_EXCEPT_X86): New macro.
9633         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9634         FE_ALL_EXCEPT.  Ensure precision control is included in
9635         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9636         handle "denormal operand exception" and clear FZ and DAZ bits.
9637         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9638         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9639         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9640         test-fenv-x87 and test-fenv-sse-2.
9641         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9643         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9644         * math/test-double.h (BUILD_COMPLEX): New macro.
9645         * math/test-float.h (BUILD_COMPLEX): Likewise.
9646         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9648         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9649         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9650         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9652         instead of DBL_DENORM_MIN in comment.
9653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9654         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9655         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9656         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9658         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9660 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9662         [BZ# 19048]
9663         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9664         attached_threads member.
9665         (main_arena): Initialize attached_threads.
9666         * malloc/arena.c (list_lock): Update comment.
9667         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9668         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9669         (deattach_arena): New function.
9670         (_int_new_arena): Initialize arena reference count and deattach
9671         replaced arena.
9672         (get_free_list, reused_arena): Update reference count and deattach
9673         replaced arena.
9674         (arena_thread_freeres): Update arena reference count and only put
9675         unreferenced arenas on the free list.
9677 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9679         [BZ #19181]
9680         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9681         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9682         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9683         * math/test-fenv-clear-main.c: New file.
9684         * math/test-fenv-clear.c: Likewise.
9685         * math/Makefile (tests): Add test-fenv-clear.
9686         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9687         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9688         test-fenv-clear-sse.
9689         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9691         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9692         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9693         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9695 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9697         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9698         static libc.
9700 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9702         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9703         test.
9704         * sysdeps/i386/configure: Regenerated.
9705         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9706         test.
9707         * sysdeps/x86_64/configure: Regenerated.
9708         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9710         memset-avx2 unconditionally instead of conditionally on
9711         [$(config-cflags-avx2) = yes].
9712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9713         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9714         unconditional.
9715         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9716         * sysdeps/x86_64/multiarch/memset_chk.S
9717         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9718         to [IS_IN (libc) && SHARED].
9720 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9722         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9723         configure test.
9724         * sysdeps/arm/configure: Regenerated.
9725         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9726         Define variable if not already defined.
9728         [BZ #17404]
9729         * sysdeps/mips/atomic-machine.h
9730         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9731         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9732         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9734         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9735         unconditional.
9736         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9737         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9738         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9739         unconditional.
9740         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9741         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9742         unconditional.
9743         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9744         * stdlib/setenv.c
9745         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9746         code unconditional.
9747         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9748         Remove conditional code.
9749         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9750         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9751         unconditional.
9752         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9753         code.
9754         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9755         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9756         unconditional.
9757         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9758         code.
9759         * sysdeps/ieee754/ldbl-128/k_tanl.c
9760         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9761         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9762         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9763         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9764         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9766         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9767         unconditional.
9768         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9769         code.
9770         * sysdeps/ieee754/ldbl-96/k_tanl.c
9771         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9772         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9774         * nptl/tst-initializers1-c11.c: New file.
9775         * nptl/tst-initializers1-gnu11.c: Likewise.
9776         * nptl/Makefile (tests): Add these new tests.
9777         (CFLAGS-tst-initializers1-c11.c): New variable.
9778         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9780         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9781         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9782         instead of -std=gnu99.
9783         * configure.ac (systemtap): Test with -std=gnu11 instead of
9784         -std=gnu99.
9785         * configure: Regenerated.
9786         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9787         in compilation command in comment.
9789         * sysdeps/nptl/configure.ac: Remove file.
9790         * sysdeps/nptl/configure: Remove generated file.
9791         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9792         * configure: Regenerated.
9793         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9794         * config.make.in (have-forced-unwind): Remove variable.
9795         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9796         unconditional.
9797         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9798         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9799         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9800         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9801         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9802         unconditional.
9804 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9806         [BZ #19174]
9807         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9808         .skip_lock_out_of_tbegin_retries.
9809         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9810         (__lll_lock_elision): Likewise, and respect a value of
9811         try_tbegin <= 0.
9813 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9815         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9816         statement.
9818 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9820         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9821         variable.
9822         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9823         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9825         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9826         of -std=c1x -D_ISOC11_SOURCE.
9828         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9829         * configure: Regenerated.
9830         * manual/install.texi (Tools for Compilation): Document
9831         requirement for GCC 4.7 or later.
9832         * INSTALL: Regenerated.
9834 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9836         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9837         on CNT to a conditional jump to 'puntdata'.
9839 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9841         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9842         (libc_cv_gcc_tls_model_attr): Likewise.
9843         * configure: Regenerated.
9845         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9846         * configure: Regenerated.
9847         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9849 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9851         * configure.ac (old_glibc_headers): Remove configure test.
9852         * configure: Regenerated.
9853         * config.make.in (old-glibc-headers): Remove variable.
9854         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9855         (install): Remove dependency on remove-old-headers.
9856         (headers2_0): Remove variable.
9857         (remove-old-headers): Remove rule.
9859         * configure.ac (libc_cv_dot_text): Remove configure test.
9860         (libc_cv_asm_set_directive): Use .text instead of
9861         ${libc_cv_dot_text} in configure test.
9862         * configure: Regenerated.
9864 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9866         [BZ #19168]
9867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9869 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9871         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9872         not support static linking.
9873         * configure: Regenerate.
9875 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9877         * math/libm-test.inc (check_float_internal): Do not special-case
9878         errors up to 0.5 ulp.
9880         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9881         log2.
9882         * math/auto-libm-test-out: Regenerated.
9883         * math/libm-test.inc (MAX_EXP): New macro.
9884         (ilogb_test_data): Add more tests.
9885         (isfinite_test_data): Likewise.
9886         (isgreater_test_data): Likewise.
9887         (isgreaterequal_test_data): Likewise.
9888         (isinf_test_data): Likewise.
9889         (isless_test_data): Likewise.
9890         (islessequal_test_data): Likewise.
9891         (islessgreater_test_data): Likewise.
9892         (isnan_test_data): Likewise.
9893         (isnormal_test_data): Likewise.
9894         (issignaling_test_data): Likewise.
9895         (isunordered_test_data): Likewise.
9896         (j0_test_data): Likewise.
9897         (j1_test_data): Likewise.
9898         (jn_test_data): Likewise.
9899         (lgamma_test_data): Likewise.
9900         (log_test_data): Likewise.
9901         (log10_test_data): Likewise.
9902         (log1p_test_data): Likewise.
9903         (log2_test_data): Likewise.
9904         (logb_test_data): Likewise.
9905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9907         [BZ #18611]
9908         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9909         avoid excess range and precision on underflow.
9910         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9911         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9912         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9913         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9914         underflow.
9915         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9917         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9918         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9919         * math/auto-libm-test-in: Do not allow missing errno setting for
9920         tests of j1 and jn.
9921         * math/auto-libm-test-out: Regenerated.
9923 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9925         [BZ #15491]
9926         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9927         floating-point environment instead of clearing all exceptions.
9928         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9929         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9930         merging in "invalid" exceptions from frndint.
9931         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9932         * math/test-nearbyint-except.c: New file.
9933         * math/Makefile (tests): Add test-nearbyint-except.
9935 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9937         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9939         * sysdeps/tile/libm-test-ulps: Regenerated.
9941 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9944         (__NR_sync_file_range2): Assume it is always defined.
9945         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9946         (__NR_sync_file_range): Assume it is always defined.
9948 2015-10-22  Andreas Schwab  <schwab@suse.de>
9950         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9951         INTERNAL_SYSCALL_ERRNO.
9952         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9953         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9954         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9955         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9956         Likewise.
9957         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9959 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9961         * io/tst-fcntl.c (fd): New static variable.
9962         (do_prepare): Open temporary file here....
9963         (do_test): ...not here.
9965         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9967 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9969         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9970         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9971         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9972         Moved before "#ifdef __ASSEMBLER__".
9974 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9976         [BZ #19156]
9977         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9978         arguments very close to 0.
9980 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9982         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9983         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9985 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9987         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9988         New.  Defined for GCC 5 and above when not compiling for
9989         profiling.
9990         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9992         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9993         Renamed to ...
9994         (CFLAGS-epoll_pwait.o): This.
9995         (CFLAGS-mmap.c): Renamed to ...
9996         (CFLAGS-mmap.o): This.
9997         (CFLAGS-mmap64.c): Renamed to ...
9998         (CFLAGS-mmap64.o): This.
9999         (CFLAGS-epoll_pwait.os): New.
10000         (CFLAGS-mmap.os): Likewise.
10001         (CFLAGS-mmap64.os): Likewise.
10002         (CFLAGS-semtimedop.os): Likewise.
10003         (CFLAGS-semtimedop.c): Renamed to ...
10004         (CFLAGS-semtimedop.o): This.
10006 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10008         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10009         warning message.
10011 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10013         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10014         * Makefile ($(objpfx)c++-types-check.out): Filter out
10015         $(+gccwarn-c) instead of -Wstrict-prototypes.
10017         * io/fts.c (fts_open): Convert to prototype-style function
10018         definition.
10019         * malloc/mcheck.c (mcheck): Likewise.
10020         (mcheck_pedantic): Likewise.
10021         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10022         internal_function.
10023         (re_search_internal): Likewise.
10024         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10025         prototype-style function definition.
10026         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10027         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10028         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10029         (xdr_utmpptr): Likewise.
10030         (xdr_utmparr): Likewise.
10031         (xdr_utmpidle): Likewise.
10032         (xdr_utmpidleptr): Likewise.
10033         (xdr_utmpidlearr): Likewise.
10035         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10036         log, log10 and log2.
10037         * math/auto-libm-test-out: Regenerated.
10038         * math/libm-test.inc (fmod_test_data): Add more tests.
10039         (fpclassify_test_data): Likewise.
10040         (frexp_test_data): Likewise.
10041         (hypot_test_data): Likewise.
10042         (ilogb_test_data): Likewise.
10044 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10046         * debug/fortify_fail.c (__fortify_fail): Convert to
10047         prototype-style function definition.  Use internal_function.
10048         * libio/genops.c (save_for_backup): Convert to prototype-style
10049         function definition.
10050         * libio/wgenops.c (save_for_wbackup): Likewise.
10051         * login/grantpt.c (grantpt): Likewise.
10052         * login/ptsname.c (ptsname): Likewise.
10053         (__ptsname_r): Likewise.
10054         * login/unlockpt.c (unlockpt): Likewise.
10055         * mach/msgserver.c (__mach_msg_server): Likewise.
10056         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10057         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10058         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10059         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10060         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10061         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10062         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10063         Likewise.
10064         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10065         internal_function.
10066         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10067         prototype-style function definition.
10068         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10069         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10070         (__pthread_create_2_0): Likewise.
10071         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10072         * nptl/register-atfork.c (__register_atfork): Likewise.
10073         * posix/glob.c (glob): Likewise.
10074         * posix/regcomp.c (re_comp): Likewise.
10075         * posix/regexec.c (re_exec): Likewise.
10076         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10077         [!__STDC__]: Remove conditional code.
10078         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10079         [!__STDC__]: Remove conditional code.
10080         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10081         [!__STDC__]: Remove conditional code.
10082         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10083         [!__STDC__]: Remove conditional code.
10084         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10085         [!__STDC__]: Remove conditional code.
10086         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10087         [!__STDC__]: Remove conditional code.
10088         * stdlib/mul.c [__STDC__]: Make code unconditional.
10089         [!__STDC__]: Remove conditional code.
10090         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10091         [!__STDC__]: Remove conditional code.
10092         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10093         [!__STDC__]: Remove conditional code.
10094         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10095         function definition.
10096         (STRTOF): Likewise.
10097         * stdlib/strtod_l.c (__STRTOF): Likewise.
10098         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10099         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10100         (__strtol_l): Likewise.
10101         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10102         [!__STDC__]: Remove conditional code.
10103         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10104         definition.
10105         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10106         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10107         type.
10108         (__strcasecmp): Convert to prototype-style function definition.
10109         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10110         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10111         type.
10112         (__strncasecmp): Convert to prototype-style function definition.
10113         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10114         * sunrpc/xdr.c (xdr_union): Likewise.
10115         * sunrpc/xdr_array.c (xdr_array): Likewise.
10116         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10117         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10118         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10119         Likewise.
10120         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10121         Likewise.
10122         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10123         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10124         Likewise.
10125         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10126         (LOCALE_PARAM_PROTO): Likewise.
10127         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10128         argument type.
10129         (ut_argument_spec): Remove macro.
10130         (ut_argument_spec_iso): Rename to ut_argument_spec.
10131         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10132         prototype-style function definition.
10133         (memcpy_uppcase): Likewise.
10134         (__strftime_internal): Likewise.
10135         (my_strftime): Likewise.
10136         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10137         (LOCALE_PARAM_DECL): Likewise.
10138         [_LIBC] (LOCALE_PARAM): Include argument type.
10139         (__strptime_internal): Convert to prototype-style function
10140         definition.
10141         (strptime): Likewise.
10142         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10143         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10144         type.
10145         (__wcscasecmp): Convert to prototype-style function definition.
10146         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10147         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10148         type.
10149         (__wcsncasecmp): Convert to prototype-style function definition.
10151         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10152         function definition.
10153         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10154         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10155         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10156         * elf/dl-minimal.c (_itoa): Likewise.
10157         * hurd/hurdmalloc.c (malloc): Likewise.
10158         (free): Likewise.
10159         (realloc): Likewise.
10160         * inet/inet6_option.c (inet6_option_space): Likewise.
10161         (inet6_option_init): Likewise.
10162         (inet6_option_append): Likewise.
10163         (inet6_option_alloc): Likewise.
10164         (inet6_option_next): Likewise.
10165         (inet6_option_find): Likewise.
10166         * io/ftw.c (FTW_NAME): Likewise.
10167         (NFTW_NAME): Likewise.
10168         (NFTW_NEW_NAME): Likewise.
10169         (NFTW_OLD_NAME): Likewise.
10170         * libio/iofwide.c (_IO_fwide): Likewise.
10171         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10172         (_IO_str_init_static): Likewise.
10173         (_IO_str_init_readonly): Likewise.
10174         (_IO_str_overflow): Likewise.
10175         (_IO_str_underflow): Likewise.
10176         (_IO_str_count): Likewise.
10177         (_IO_str_seekoff): Likewise.
10178         (_IO_str_pbackfail): Likewise.
10179         (_IO_str_finish): Likewise.
10180         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10181         (_IO_wstr_overflow): Likewise.
10182         (_IO_wstr_underflow): Likewise.
10183         (_IO_wstr_count): Likewise.
10184         (_IO_wstr_seekoff): Likewise.
10185         (_IO_wstr_pbackfail): Likewise.
10186         (_IO_wstr_finish): Likewise.
10187         * locale/programs/localedef.c (normalize_codeset): Likewise.
10188         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10189         (add_locales_to_archive): Likewise.
10190         (delete_locales_from_archive): Likewise.
10191         * malloc/malloc.c (__libc_mallinfo): Likewise.
10192         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10193         * misc/tsearch.c (__tfind): Likewise.
10194         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10195         * nptl/pthread_attr_getdetachstate.c
10196         (__pthread_attr_getdetachstate): Likewise.
10197         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10198         Likewise.
10199         * nptl/pthread_attr_getinheritsched.c
10200         (__pthread_attr_getinheritsched): Likewise.
10201         * nptl/pthread_attr_getschedparam.c
10202         (__pthread_attr_getschedparam): Likewise.
10203         * nptl/pthread_attr_getschedpolicy.c
10204         (__pthread_attr_getschedpolicy): Likewise.
10205         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10206         Likewise.
10207         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10208         Likewise.
10209         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10210         Likewise.
10211         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10212         Likewise.
10213         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10214         (__pthread_attr_init_2_0): Likewise.
10215         * nptl/pthread_attr_setdetachstate.c
10216         (__pthread_attr_setdetachstate): Likewise.
10217         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10218         Likewise.
10219         * nptl/pthread_attr_setinheritsched.c
10220         (__pthread_attr_setinheritsched): Likewise.
10221         * nptl/pthread_attr_setschedparam.c
10222         (__pthread_attr_setschedparam): Likewise.
10223         * nptl/pthread_attr_setschedpolicy.c
10224         (__pthread_attr_setschedpolicy): Likewise.
10225         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10226         Likewise.
10227         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10228         Likewise.
10229         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10230         Likewise.
10231         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10232         Likewise.
10233         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10234         Likewise.
10235         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10236         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10237         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10238         use internal_function.
10239         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10240         prototype-style function definition.
10241         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10242         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10243         internal_function.
10244         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10245         Convert to prototype-style function definition.
10246         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10247         Likewise.
10248         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10249         Likewise.
10250         (__pthread_mutex_unlock): Likewise.
10251         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10252         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10253         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10254         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10255         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10256         * nss/makedb.c (process_input): Likewise.
10257         * posix/fnmatch.c (__strchrnul): Likewise.
10258         (__wcschrnul): Likewise.
10259         (fnmatch): Likewise.
10260         * posix/fnmatch_loop.c (FCT): Likewise.
10261         * posix/glob.c (globfree): Likewise.
10262         (__glob_pattern_type): Likewise.
10263         (__glob_pattern_p): Likewise.
10264         * posix/regcomp.c (re_compile_pattern): Likewise.
10265         (re_set_syntax): Likewise.
10266         (re_compile_fastmap): Likewise.
10267         (regcomp): Likewise.
10268         (regerror): Likewise.
10269         (regfree): Likewise.
10270         * posix/regexec.c (regexec): Likewise.
10271         (re_match): Likewise.
10272         (re_search): Likewise.
10273         (re_match_2): Likewise.
10274         (re_search_2): Likewise.
10275         (re_search_stub): Likewise.  Use internal_function
10276         (re_copy_regs): Likewise.
10277         (re_set_registers): Convert to prototype-style function
10278         definition.
10279         (prune_impossible_nodes): Likewise.  Use internal_function.
10280         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10281         prototype-style function definition.
10282         (inet_net_pton_ipv4): Likewise.
10283         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10284         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10285         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10286         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10287         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10288         Make variadic.
10289         * time/strptime_l.c (localtime_r): Convert to prototype-style
10290         function definition.
10291         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10292         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10293         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10294         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10296         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10297         definition.
10298         (_ufc_doit_r): Likewise.
10299         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10300         (_ufc_output_conversion_r): Likewise.
10301         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10302         * inet/rcmd.c (rcmd_af): Likewise.
10303         (rcmd): Likewise.
10304         (ruserok_af): Likewise.
10305         (ruserok): Likewise.
10306         (ruserok2_sa): Likewise.
10307         (ruserok_sa): Likewise.
10308         (iruserok_af): Likewise.
10309         (iruserok): Likewise.
10310         (__ivaliduser): Likewise.
10311         (__validuser2_sa): Likewise.
10312         * inet/rexec.c (rexec_af): Likewise.
10313         (rexec): Likewise.
10314         * inet/ruserpass.c (ruserpass): Likewise.
10315         * locale/programs/xmalloc.c (xcalloc): Likewise.
10316         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10317         * math/w_drem.c (__drem): Likewise.
10318         * math/w_dremf.c (__dremf): Likewise.
10319         * math/w_dreml.c (__dreml): Likewise.
10320         * misc/daemon.c (daemon): Likewise.
10321         * resolv/res_debug.c (p_fqnname): Likewise.
10322         * stdlib/div.c (div): Likewise.
10323         * string/memcmp.c (memcmp_bytes): Likewise.
10324         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10325         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10327         * crypt/cert.c (main): Convert to prototype-style function
10328         definition.
10329         * io/pipe.c (__pipe): Likewise.
10330         * io/pipe2.c (__pipe2): Likewise.
10331         * misc/futimesat.c (futimesat): Likewise.
10332         * misc/utimes.c (__utimes): Likewise.
10333         * posix/execve.c (__execve): Likewise.
10334         * posix/execvp.c (execvp): Likewise.
10335         * posix/execvpe.c (__execvpe): Likewise.
10336         * posix/fexecve.c (fexecve): Likewise.
10337         * socket/socketpair.c (socketpair): Likewise.
10338         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10339         * stdlib/erand48.c (erand48): Likewise.
10340         * stdlib/erand48_r.c (__erand48_r): Likewise.
10341         * stdlib/jrand48.c (jrand48): Likewise.
10342         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10343         * stdlib/lcong48.c (lcong48): Likewise.
10344         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10345         * stdlib/nrand48.c (nrand48): Likewise.
10346         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10347         * stdlib/seed48.c (seed48): Likewise.
10348         * stdlib/seed48_r.c (__seed48_r): Likewise.
10349         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10350         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10351         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10353 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10355         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10356         * configure: Regenerated.
10357         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10358         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10359         unconditional.
10360         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10361         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10362         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10363         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10364         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10365         unconditional.
10366         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10368         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10369         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10371         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10372         function definition.
10373         * crypt/crypt_util.c (__encrypt_r): Likewise.
10374         * libio/genops.c (_IO_no_init): Likewise.
10375         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10376         (_IO_old_fopencookie): Likewise.
10377         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10378         * libio/iogetline.c (_IO_getline): Likewise.
10379         (_IO_getline_info): Likewise.
10380         * libio/iogetwline.c (_IO_getwline): Likewise.
10381         (_IO_getwline_info): Likewise.
10382         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10383         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10384         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10385         (find_entry): Likewise.
10386         (iterate_table): Likewise.
10387         (lookup): Likewise.
10388         * login/forkpty.c (forkpty): Likewise.
10389         * misc/hsearch_r.c (__hsearch_r): Likewise.
10390         * misc/select.c (__select): Likewise.
10391         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10392         Likewise.
10393         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10394         Likewise.
10395         * nptl/old_pthread_cond_timedwait.c
10396         (__pthread_cond_timedwait_2_0): Likewise.
10397         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10398         * nptl/pthread_barrierattr_getpshared.c
10399         (pthread_barrierattr_getpshared): Likewise.
10400         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10401         Likewise.
10402         * nptl/pthread_mutex_setprioceiling.c
10403         (pthread_mutex_setprioceiling): Likewise.
10404         * nptl/pthread_mutexattr_getprioceiling.c
10405         (pthread_mutexattr_getprioceiling): Likewise.
10406         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10407         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10408         Likewise.
10409         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10410         Likewise.
10411         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10412         Likewise.
10413         * socket/recvfrom.c (__recvfrom): Likewise.
10414         * socket/sendto.c (__sendto): Likewise.
10415         * socket/setsockopt.c (__setsockopt): Likewise.
10416         * stdio-common/_itoa.c (_itoa): Likewise.
10417         * stdio-common/_itowa.c (_itowa): Likewise.
10418         * stdio-common/reg-printf.c (__register_printf_specifier):
10419         Likewise.
10420         (__register_printf_function): Likewise.
10421         * stdio-common/tempname.c (__path_search): Likewise.
10422         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10423         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10424         * stdlib/random_r.c (__initstate_r): Likewise.
10425         * stdlib/setenv.c (__add_to_environ): Likewise.
10426         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10427         * streams/getpmsg.c (getpmsg): Likewise.
10428         * streams/putmsg.c (putmsg): Likewise.
10429         * streams/putpmsg.c (putpmsg): Likewise.
10430         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10431         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10432         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10433         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10434         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10435         * sunrpc/svc_udp.c (cache_get): Likewise.
10436         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10437         * sysdeps/mach/hurd/getcwd.c
10438         (__canonicalize_directory_name_internal): Likewise.
10439         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10440         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10441         * sysdeps/mach/hurd/select.c (__select): Likewise.
10442         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10443         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10444         * sysdeps/sparc/nptl/pthread_barrier_init.c
10445         (__pthread_barrier_init): Likewise.
10446         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10447         (__pthread_cond_timedwait): Likewise.
10448         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10449         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10450         Likewise.
10451         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10452         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10453         Likewise.
10454         * sysvipc/semtimedop.c (semtimedop): Likewise.
10455         * time/setitimer.c (__setitimer): Likewise.
10456         * time/strftime_l.c (emacs_strftime): Likewise.
10458 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10460         * config.make.in (have-ssp): Delete.
10461         (stack-protector): New variable.
10462         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10463         cache test for -fstack-protector-strong.  Export stack_protector to
10464         the best ssp flag.
10465         * configure: Regenerated.
10466         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10467         * nscd/Makefile (CFLAGS-nscd): Likewise.
10468         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10470 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10472         [BZ #19122]
10473         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10474         attribute_hidden.
10476 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10478         [BZ #18743]
10479         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10480         code to...
10481         (ELIDE_LOCK): ...here.
10482         (__get_new_count): New function with part of the code from
10483         __elide_lock that updates the value of adapt_count after a
10484         transaction abort.
10485         (__elided_trylock): Moved this code to...
10486         (ELIDE_TRYLOCK): ...here.
10488 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10490         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10491         * configure: Regenerate.
10492         * INSTALL: Regenerate.
10493         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10494         and tweak grammar.
10496 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10498         * login/programs/pt_chown.c: Include signal.h
10499         (main): Clear any signal mask from the parent process.
10501 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10503         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10504         * configure: Regenerated.
10505         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10506         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10507         $(gnu89-inline-CFLAGS).
10509         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10510         test.
10511         (libc_cv_asm_weakext_directive): Likewise.
10512         * configure: Regenerated.
10513         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10514         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10515         * include/libc-symbols.h
10516         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10517         #error.
10518         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10519         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10521         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10522         prototype-style function definition.
10523         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10524         * sysdeps/i386/ffs.c (__ffs): Likewise.
10525         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10526         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10527         Likewise.
10528         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10529         Likewise.
10530         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10532         Likewise.
10533         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10534         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10535         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10536         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10537         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10538         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10539         * sysdeps/mach/hurd/access.c (__access): Likewise.
10540         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10541         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10542         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10543         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10544         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10545         (cthread_getspecific): Likewise.
10546         (cthread_setspecific): Likewise.
10547         (__libc_getspecific): Likewise.
10548         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10549         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10550         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10551         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10552         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10553         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10554         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10555         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10556         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10557         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10558         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10559         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10560         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10561         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10562         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10563         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10564         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10565         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10566         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10567         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10568         * sysdeps/mach/hurd/link.c (__link): Likewise.
10569         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10570         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10571         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10572         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10573         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10574         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10575         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10576         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10577         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10578         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10579         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10580         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10581         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10582         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10583         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10584         * sysdeps/mach/hurd/send.c (__send): Likewise.
10585         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10586         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10587         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10588         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10589         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10590         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10591         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10592         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10593         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10594         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10595         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10596         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10597         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10598         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10599         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10600         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10601         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10602         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10603         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10604         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10605         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10606         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10607         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10608         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10609         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10610         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10611         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10612         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10613         * sysdeps/posix/alarm.c (alarm): Likewise.
10614         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10615         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10616         * sysdeps/posix/dup.c (__dup): Likewise.
10617         * sysdeps/posix/dup2.c (__dup2): Likewise.
10618         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10619         (main): Likewise.
10620         * sysdeps/posix/flock.c (__flock): Likewise.
10621         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10622         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10623         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10624         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10625         * sysdeps/posix/isatty.c (__isatty): Likewise.
10626         * sysdeps/posix/killpg.c (killpg): Likewise.
10627         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10628         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10629         * sysdeps/posix/raise.c (raise): Likewise.
10630         * sysdeps/posix/remove.c (remove): Likewise.
10631         * sysdeps/posix/rename.c (rename): Likewise.
10632         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10633         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10634         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10635         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10636         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10637         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10638         * sysdeps/posix/sigset.c (sigset): Likewise.
10639         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10640         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10641         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10642         * sysdeps/posix/time.c (time): Likewise.
10643         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10644         (ttyname): Likewise.
10645         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10646         * sysdeps/posix/utime.c (utime): Likewise.
10647         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10648         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10649         Likewise.
10650         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10651         (pthread_spin_trylock): Likewise.
10652         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10653         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10654         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10655         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10656         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10657         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10658         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10659         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10660         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10661         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10662         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10663         * sysdeps/s390/ffs.c (__ffs): Likewise.
10664         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10665         Likewise.
10666         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10667         Likewise.
10668         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10669         Likewise.
10670         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10671         (pthread_barrier_destroy): Likewise.
10672         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10673         (__pthread_barrier_wait): Likewise.
10674         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10675         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10676         (__pthread_barrier_wait): Likewise.
10677         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10678         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10679         (memcmp_not_common_alignment): Likewise.
10680         (MEMCMP): Likewise.
10681         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10682         (_wordcopy_fwd_dest_aligned): Likewise.
10683         (_wordcopy_bwd_aligned): Likewise.
10684         (_wordcopy_bwd_dest_aligned): Likewise.
10685         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10686         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10687         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10688         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10689         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10690         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10691         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10692         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10693         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10694         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10695         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10696         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10697         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10698         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10699         * sysdeps/unix/stime.c (stime): Likewise.
10700         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10701         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10702         Likewise.  Use internal_function.
10703         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10704         Convert to prototype-style function definition.
10705         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10706         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10707         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10708         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10709         Likewise.  Use internal_function.
10710         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10711         prototype-style function definition
10712         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10713         Likewise.
10714         (__getlogin_r): Likewise.
10715         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10716         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10717         (__pthread_cond_broadcast): Likewise.
10718         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10719         (__pthread_cond_destroy): Likewise.
10720         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10721         (__pthread_cond_init): Likewise.
10722         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10723         (__pthread_cond_signal): Likewise.
10724         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10725         (__pthread_cond_wait): Likewise.
10726         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10727         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10728         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10729         Likewise.
10730         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10731         Likewise.
10732         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10735         Likewise.
10736         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10738         (__ftruncate64): Likewise.
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10740         (truncate64): Likewise.
10741         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10742         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10743         (pthread_getcpuclockid): Likewise.
10744         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10745         Likewise.
10746         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10747         Likewise.
10748         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10749         Likewise.
10750         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10751         Likewise.
10752         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10753         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10754         (__libc_sigaction): Likewise.
10755         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10758         (__sigprocmask): Likewise.
10759         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10760         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10761         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10762         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10763         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10764         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10765         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10766         Likewise.
10767         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10768         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10769         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10770         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10772         Likewise.
10773         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10774         (__sigprocmask): Likewise.
10775         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10776         (cfgetispeed): Likewise.
10777         (cfsetospeed): Likewise.
10778         (cfsetispeed): Likewise.
10779         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10780         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10781         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10782         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10783         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10784         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10785         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10786         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10787         Likewise.
10788         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10789         Likewise.
10790         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10791         Likewise.
10792         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10793         Likewise.
10794         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10796 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10798         sunrpc: Rewrite with explicit TLS access using __thread.
10799         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10800         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10801         directly.
10802         (__rpc_thread_variables): Access thread_rpc_vars directly.
10803         Eliminate redundant assignment of the tvp variable.
10805 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10807         malloc: Rewrite with explicit TLS access using __thread.
10808         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10809         (tsd_setspecific, tsd_getspecific): Remove.
10810         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10811         (tsd_setspecific, tsd_getspecific): Likewise.
10812         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10813         (tsd_setspecific, tsd_getspecific): Likewise.
10814         * malloc/arena.c (thread_arena): New TLS variable.
10815         (arena_key): Remove variable.
10816         (arena_get): Use thread_arena.
10817         (arena_lookup): Remove macro.
10818         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10819         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10820         (_int_new_arena, get_free_list, reused_arena)
10821         (arena_thread_freeres): Use thread_arena.
10822         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10823         tsd_getspecific, tsd_setspecific from safety annotations.
10824         (Allocating Cleared Space): Remove arena_lookup from safety
10825         annotations.
10827 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10829         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10830         struct scratch_buffer instead of extend_alloca.
10832 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10834         * sysdeps/unix/sysv/linux/kernel-features.h
10835         (__ASSUME_SOCK_CLOEXEC): Remove.
10836         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10837         (__have_paccept): Remove unused macro.
10838         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10839         * misc/syslog.c (openlog_internal): Remove fallback code for
10840         !__ASSUME_SOCK_CLOEXEC.
10841         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10842         missing SOCK_CLOEXEC.
10843         * nscd/connections.c (have_sock_cloexec): Remove definition.
10844         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10845         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10846         !__ASSUME_SOCK_CLOEXEC.
10847         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10848         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10849         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10850         definition.
10851         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10852         code for !__ASSUME_SOCK_CLOEXEC.
10854 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10856         [BZ #18982]
10857         * manual/stdio.texi (Variable Arguments Output): Add portability
10858         note, explaining that vfprintf clobbers the va_list pointer.
10860 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10862         * math/libm-test.inc (fabs_test_data): Add more tests.
10863         (fdim_test_data): Likewise.
10864         (fma_test_data): Likewise.
10865         (fmax_test_data): Likewise.
10866         (fmin_test_data): Likewise.
10867         (fmod_test_data): Likewise.
10869 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10871         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10872         data.
10874 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10876         * math/libm-test.inc (ceil_test_data): Add more tests and more
10877         expectations for "inexact".
10878         (floor_test_data): Add more tests.
10879         (round_test_data): Likewise.
10880         (trunc_test_data): Likewise.
10882         * crypt/cert.c (good_bye): Convert to prototype-style function
10883         definition.
10884         (get8): Likewise.
10885         (put8): Likewise.
10886         * crypt/crypt-entry.c (crypt): Likewise.
10887         (__fcrypt): Likewise.
10888         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10889         (_ufc_set_bits): Likewise.
10890         (_ufc_clearmem): Likewise.
10891         (__init_des_r): Likewise.
10892         (shuffle_sb): Likewise.
10893         (shuffle_sb): Likewise.
10894         (_ufc_setup_salt_r): Likewise.
10895         (_ufc_mk_keytab_r): Likewise.
10896         (_ufc_dofinalperm_r): Likewise.
10897         (encrypt): Likewise.
10898         (__setkey_r): Likewise.
10899         (setkey): Likewise.
10900         * crypt/md5.c (md5_init_ctx): Likewise.
10901         (md5_read_ctx): Likewise.
10902         (md5_finish_ctx): Likewise.
10903         (md5_stream): Likewise.
10904         (md5_buffer): Likewise.
10905         (md5_process_bytes): Likewise.
10906         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10907         (__sha256_finish_ctx): Likewise.
10908         (__sha256_process_bytes): Likewise.
10909         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10910         (__sha512_finish_ctx): Likewise.
10911         (__sha512_process_bytes): Likewise.
10912         * ctype/isctype.c (__isctype): Likewise.
10913         * debug/backtrace.c (__backtrace): Likewise.
10914         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10915         * debug/fgets_chk.c (__fgets_chk): Likewise.
10916         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10917         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10918         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10919         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10920         * debug/memset_chk.c (__memset_chk): Likewise.
10921         * debug/strcat_chk.c (__strcat_chk): Likewise.
10922         * debug/strncat_chk.c (__strncat_chk): Likewise.
10923         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10924         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10925         * dirent/dirfd.c (dirfd): Likewise.
10926         * dirent/getdents.c (__getdirentries): Likewise.
10927         * dirent/getdents64.c (getdirentries64): Likewise.
10928         * dirent/rewinddir.c (__rewinddir): Likewise.
10929         * dirent/seekdir.c (seekdir): Likewise.
10930         * dirent/telldir.c (telldir): Likewise.
10931         * elf/sln.c (makesymlinks): Likewise.
10932         (makesymlink): Likewise.
10933         * gmon/gmon.c (__moncontrol): Likewise.
10934         (__monstartup): Likewise.
10935         (write_hist): Likewise.
10936         (write_call_graph): Likewise.
10937         (write_bb_counts): Likewise.
10938         * grp/setgroups.c (setgroups): Likewise.
10939         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10940         * inet/inet_net.c (inet_network): Likewise.
10941         * inet/inet_netof.c (inet_netof): Likewise.
10942         * inet/rcmd.c (rresvport_af): Likewise.
10943         (rresvport): Likewise.
10944         * io/access.c (__access): Likewise.
10945         * io/chdir.c (__chdir): Likewise.
10946         * io/chmod.c (__chmod): Likewise.
10947         * io/chown.c (__chown): Likewise.
10948         * io/close.c (__close): Likewise.
10949         * io/creat.c (creat): Likewise.
10950         * io/creat64.c (creat64): Likewise.
10951         * io/dup.c (__dup): Likewise.
10952         * io/dup2.c (__dup2): Likewise.
10953         * io/dup3.c (__dup3): Likewise.
10954         * io/euidaccess.c (__euidaccess): Likewise.
10955         * io/faccessat.c (faccessat): Likewise.
10956         * io/fchmod.c (__fchmod): Likewise.
10957         * io/fchmodat.c (fchmodat): Likewise.
10958         * io/fchown.c (__fchown): Likewise.
10959         * io/fchownat.c (fchownat): Likewise.
10960         * io/fcntl.c (__fcntl): Likewise.
10961         * io/flock.c (__flock): Likewise.
10962         * io/fts.c (fts_load): Likewise.
10963         (fts_close): Likewise.
10964         (fts_read): Likewise.
10965         (fts_set): Likewise.
10966         (fts_children): Likewise.
10967         (fts_build): Likewise.
10968         (fts_stat): Likewise.
10969         (fts_sort): Likewise.
10970         (fts_alloc): Likewise.
10971         (fts_lfree): Likewise.
10972         (fts_palloc): Likewise.
10973         (fts_padjust): Likewise.
10974         (fts_maxarglen): Likewise.
10975         (fts_safe_changedir): Likewise.
10976         * io/getwd.c (getwd): Likewise.
10977         * io/isatty.c (__isatty): Likewise.
10978         * io/lchown.c (__lchown): Likewise.
10979         * io/link.c (__link): Likewise.
10980         * io/linkat.c (linkat): Likewise.
10981         * io/lseek.c (__libc_lseek): Likewise.
10982         * io/mkdir.c (__mkdir): Likewise.
10983         * io/mkdirat.c (mkdirat): Likewise.
10984         * io/mkfifo.c (mkfifo): Likewise.
10985         * io/mkfifoat.c (mkfifoat): Likewise.
10986         * io/open.c (__libc_open): Likewise.
10987         * io/open64.c (__libc_open64): Likewise.
10988         * io/readlink.c (__readlink): Likewise.
10989         * io/readlinkat.c (readlinkat): Likewise.
10990         * io/rmdir.c (__rmdir): Likewise.
10991         * io/symlink.c (__symlink): Likewise.
10992         * io/symlinkat.c (symlinkat): Likewise.
10993         * io/ttyname.c (ttyname): Likewise.
10994         * io/ttyname_r.c (__ttyname_r): Likewise.
10995         * io/umask.c (__umask): Likewise.
10996         * io/unlink.c (__unlink): Likewise.
10997         * io/unlinkat.c (unlinkat): Likewise.
10998         * io/utime.c (utime): Likewise.
10999         * libio/clearerr.c (clearerr): Likewise.
11000         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11001         * libio/feof.c (_IO_feof): Likewise.
11002         * libio/feof_u.c (feof_unlocked): Likewise.
11003         * libio/ferror.c (_IO_ferror): Likewise.
11004         * libio/ferror_u.c (ferror_unlocked): Likewise.
11005         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11006         * libio/fileno.c (__fileno): Likewise.
11007         * libio/fputc.c (fputc): Likewise.
11008         * libio/fputc_u.c (fputc_unlocked): Likewise.
11009         * libio/fputwc.c (fputwc): Likewise.
11010         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11011         * libio/freopen.c (freopen): Likewise.
11012         * libio/freopen64.c (freopen64): Likewise.
11013         * libio/fseek.c (fseek): Likewise.
11014         * libio/fseeko.c (fseeko): Likewise.
11015         * libio/fseeko64.c (fseeko64): Likewise.
11016         * libio/ftello.c (__ftello): Likewise.
11017         * libio/ftello64.c (ftello64): Likewise.
11018         * libio/fwide.c (fwide): Likewise.
11019         * libio/genops.c (_IO_un_link): Likewise.
11020         (_IO_link_in): Likewise.
11021         (_IO_least_marker): Likewise.
11022         (_IO_switch_to_main_get_area): Likewise.
11023         (_IO_switch_to_backup_area): Likewise.
11024         (_IO_switch_to_get_mode): Likewise.
11025         (_IO_free_backup_area): Likewise.
11026         (_IO_switch_to_put_mode): Likewise.
11027         (__overflow): Likewise.
11028         (__underflow): Likewise.
11029         (__uflow): Likewise.
11030         (_IO_setb): Likewise.
11031         (_IO_doallocbuf): Likewise.
11032         (_IO_default_underflow): Likewise.
11033         (_IO_default_uflow): Likewise.
11034         (_IO_default_xsputn): Likewise.
11035         (_IO_sgetn): Likewise.
11036         (_IO_default_xsgetn): Likewise.
11037         (_IO_sync): Likewise.
11038         (_IO_default_setbuf): Likewise.
11039         (_IO_default_seekpos): Likewise.
11040         (_IO_default_doallocate): Likewise.
11041         (_IO_init): Likewise.
11042         (_IO_old_init): Likewise.
11043         (_IO_default_sync): Likewise.
11044         (_IO_default_finish): Likewise.
11045         (_IO_default_seekoff): Likewise.
11046         (_IO_sputbackc): Likewise.
11047         (_IO_sungetc): Likewise.
11048         (_IO_set_column): Likewise.
11049         (_IO_set_column): Likewise.
11050         (_IO_adjust_column): Likewise.
11051         (_IO_get_column): Likewise.
11052         (_IO_init_marker): Likewise.
11053         (_IO_remove_marker): Likewise.
11054         (_IO_marker_difference): Likewise.
11055         (_IO_marker_delta): Likewise.
11056         (_IO_seekmark): Likewise.
11057         (_IO_unsave_markers): Likewise.
11058         (_IO_nobackup_pbackfail): Likewise.
11059         (_IO_default_pbackfail): Likewise.
11060         (_IO_default_seek): Likewise.
11061         (_IO_default_stat): Likewise.
11062         (_IO_default_read): Likewise.
11063         (_IO_default_write): Likewise.
11064         (_IO_default_showmanyc): Likewise.
11065         (_IO_default_imbue): Likewise.
11066         (_IO_iter_next): Likewise.
11067         (_IO_iter_file): Likewise.
11068         * libio/getc.c (_IO_getc): Likewise.
11069         * libio/getwc.c (_IO_getwc): Likewise.
11070         * libio/iofclose.c (_IO_new_fclose): Likewise.
11071         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11072         * libio/iofflush.c (_IO_fflush): Likewise.
11073         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11074         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11075         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11076         * libio/iofgets.c (_IO_fgets): Likewise.
11077         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11078         * libio/iofgetws.c (fgetws): Likewise.
11079         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11080         * libio/iofopen64.c (_IO_fopen64): Likewise.
11081         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11082         (_IO_cookie_write): Likewise.
11083         (_IO_cookie_seek): Likewise.
11084         (_IO_cookie_close): Likewise.
11085         (_IO_cookie_seekoff): Likewise.
11086         (_IO_old_cookie_seek): Likewise.
11087         * libio/iofputs.c (_IO_fputs): Likewise.
11088         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11089         * libio/iofputws.c (fputws): Likewise.
11090         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11091         * libio/iofread.c (_IO_fread): Likewise.
11092         * libio/iofread_u.c (__fread_unlocked): Likewise.
11093         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11094         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11095         * libio/ioftell.c (_IO_ftell): Likewise.
11096         * libio/iofwrite.c (_IO_fwrite): Likewise.
11097         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11098         * libio/iogets.c (_IO_gets): Likewise.
11099         * libio/iopadn.c (_IO_padn): Likewise.
11100         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11101         (_IO_new_popen): Likewise.
11102         (_IO_new_proc_close): Likewise.
11103         * libio/ioputs.c (_IO_puts): Likewise.
11104         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11105         (_IO_seekoff): Likewise.
11106         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11107         (_IO_seekpos): Likewise.
11108         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11109         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11110         * libio/ioungetc.c (_IO_ungetc): Likewise.
11111         * libio/ioungetwc.c (ungetwc): Likewise.
11112         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11113         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11114         * libio/iowpadn.c (_IO_wpadn): Likewise.
11115         * libio/libc_fatal.c (__libc_fatal): Likewise.
11116         * libio/memstream.c (__open_memstream): Likewise.
11117         (_IO_mem_sync): Likewise.
11118         (_IO_mem_finish): Likewise.
11119         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11120         (_IO_old_file_close_it): Likewise.
11121         (_IO_old_file_finish): Likewise.
11122         (_IO_old_file_fopen): Likewise.
11123         (_IO_old_file_attach): Likewise.
11124         (_IO_old_file_setbuf): Likewise.
11125         (_IO_old_do_write): Likewise.
11126         (old_do_write): Likewise.
11127         (_IO_old_file_underflow): Likewise.
11128         (_IO_old_file_overflow): Likewise.
11129         (_IO_old_file_sync): Likewise.
11130         (_IO_old_file_seekoff): Likewise.
11131         (_IO_old_file_write): Likewise.
11132         (_IO_old_file_xsputn): Likewise.
11133         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11134         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11135         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11136         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11137         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11138         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11139         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11140         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11141         (_IO_old_popen): Likewise.
11142         (_IO_old_proc_close): Likewise.
11143         * libio/oldpclose.c (__old_pclose): Likewise.
11144         * libio/pclose.c (__new_pclose): Likewise.
11145         * libio/peekc.c (_IO_peekc_locked): Likewise.
11146         * libio/putc.c (_IO_putc): Likewise.
11147         * libio/putc_u.c (putc_unlocked): Likewise.
11148         * libio/putchar.c (putchar): Likewise.
11149         * libio/putchar_u.c (putchar_unlocked): Likewise.
11150         * libio/putwc.c (putwc): Likewise.
11151         * libio/putwc_u.c (putwc_unlocked): Likewise.
11152         * libio/putwchar.c (putwchar): Likewise.
11153         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11154         * libio/rewind.c (rewind): Likewise.
11155         * libio/setbuf.c (setbuf): Likewise.
11156         * libio/setlinebuf.c (setlinebuf): Likewise.
11157         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11158         * libio/vscanf.c (_IO_vscanf): Likewise.
11159         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11160         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11161         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11162         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11163         (_IO_switch_to_main_wget_area): Likewise.
11164         (_IO_switch_to_wbackup_area): Likewise.
11165         (_IO_wsetb): Likewise.
11166         (_IO_wdefault_pbackfail): Likewise.
11167         (_IO_wdefault_finish): Likewise.
11168         (_IO_wdefault_uflow): Likewise.
11169         (__woverflow): Likewise.
11170         (__wuflow): Likewise.
11171         (__wunderflow): Likewise.
11172         (_IO_wdefault_xsputn): Likewise.
11173         (_IO_wdefault_xsgetn): Likewise.
11174         (_IO_wdoallocbuf): Likewise.
11175         (_IO_wdefault_doallocate): Likewise.
11176         (_IO_switch_to_wget_mode): Likewise.
11177         (_IO_free_wbackup_area): Likewise.
11178         (_IO_switch_to_wput_mode): Likewise.
11179         (_IO_sputbackwc): Likewise.
11180         (_IO_sungetwc): Likewise.
11181         (_IO_adjust_wcolumn): Likewise.
11182         (_IO_init_wmarker): Likewise.
11183         (_IO_wmarker_delta): Likewise.
11184         (_IO_seekwmark): Likewise.
11185         (_IO_unsave_wmarkers): Likewise.
11186         * libio/wmemstream.c (open_wmemstream): Likewise.
11187         (_IO_wmem_sync): Likewise.
11188         (_IO_wmem_finish): Likewise.
11189         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11190         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11191         * locale/programs/simple-hash.c (init_hash): Likewise.
11192         (delete_hash): Likewise.
11193         (insert_entry): Likewise.
11194         (set_entry): Likewise.
11195         (next_prime): Likewise.
11196         (is_prime): Likewise.
11197         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11198         (xmalloc): Likewise.
11199         (xrealloc): Likewise.
11200         * locale/programs/xstrdup.c (xstrdup): Likewise.
11201         * localedata/collate-test.c (xstrcoll): Likewise.
11202         * localedata/xfrm-test.c (xstrcmp): Likewise.
11203         * login/getlogin_r.c (__getlogin_r): Likewise.
11204         * login/getpt.c (__posix_openpt): Likewise.
11205         * login/login_tty.c (login_tty): Likewise.
11206         * login/setlogin.c (setlogin): Likewise.
11207         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11208         (mach_msg_destroy_port): Likewise.
11209         (mach_msg_destroy_memory): Likewise.
11210         * malloc/mcheck.c (flood): Likewise.
11211         * misc/acct.c (acct): Likewise.
11212         * misc/brk.c (__brk): Likewise.
11213         * misc/chflags.c (chflags): Likewise.
11214         * misc/chroot.c (chroot): Likewise.
11215         * misc/fchflags.c (fchflags): Likewise.
11216         * misc/fstab.c (getfsspec): Likewise.
11217         (getfsfile): Likewise.
11218         * misc/fsync.c (fsync): Likewise.
11219         * misc/ftruncate.c (__ftruncate): Likewise.
11220         * misc/ftruncate64.c (__ftruncate64): Likewise.
11221         * misc/getdomain.c (getdomainname): Likewise.
11222         (getdomainname): Likewise.
11223         * misc/gethostname.c (__gethostname): Likewise.
11224         * misc/getpass.c (getpass): Likewise.
11225         * misc/getttyent.c (skip): Likewise.
11226         (value): Likewise.
11227         * misc/gtty.c (gtty): Likewise.
11228         * misc/hsearch.c (hsearch): Likewise.
11229         (hcreate): Likewise.
11230         * misc/hsearch_r.c (__hcreate_r): Likewise.
11231         (__hdestroy_r): Likewise.
11232         * misc/ioctl.c (__ioctl): Likewise.
11233         * misc/mkdtemp.c (mkdtemp): Likewise.
11234         * misc/mkostemp.c (mkostemp): Likewise.
11235         * misc/mkostemp64.c (mkostemp64): Likewise.
11236         * misc/mkostemps.c (mkostemps): Likewise.
11237         * misc/mkostemps64.c (mkostemps64): Likewise.
11238         * misc/mkstemp.c (mkstemp): Likewise.
11239         * misc/mkstemp64.c (mkstemp64): Likewise.
11240         * misc/mkstemps.c (mkstemps): Likewise.
11241         * misc/mkstemps64.c (mkstemps64): Likewise.
11242         * misc/mktemp.c (__mktemp): Likewise.
11243         * misc/preadv.c (preadv): Likewise.
11244         * misc/preadv64.c (preadv64): Likewise.
11245         * misc/pwritev.c (pwritev): Likewise.
11246         * misc/pwritev64.c (pwritev64): Likewise.
11247         * misc/readv.c (__readv): Likewise.
11248         * misc/revoke.c (revoke): Likewise.
11249         * misc/setdomain.c (setdomainname): Likewise.
11250         * misc/setegid.c (setegid): Likewise.
11251         * misc/seteuid.c (seteuid): Likewise.
11252         * misc/sethostid.c (sethostid): Likewise.
11253         * misc/sethostname.c (sethostname): Likewise.
11254         * misc/setregid.c (__setregid): Likewise.
11255         * misc/setreuid.c (__setreuid): Likewise.
11256         * misc/sstk.c (sstk): Likewise.
11257         * misc/stty.c (stty): Likewise.
11258         * misc/syscall.c (syscall): Likewise.
11259         * misc/syslog.c (setlogmask): Likewise.
11260         * misc/truncate.c (__truncate): Likewise.
11261         * misc/truncate64.c (truncate64): Likewise.
11262         * misc/ualarm.c (ualarm): Likewise.
11263         * misc/usleep.c (usleep): Likewise.
11264         * misc/ustat.c (ustat): Likewise.
11265         * misc/writev.c (__writev): Likewise.
11266         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11267         * nptl/old_pthread_cond_broadcast.c
11268         (__pthread_cond_broadcast_2_0): Likewise.
11269         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11270         Likewise.
11271         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11272         Likewise.
11273         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11274         Likewise.
11275         * nptl/pt-raise.c (raise): Likewise.
11276         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11277         Likewise.
11278         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11279         * nptl/pthread_barrierattr_destroy.c
11280         (pthread_barrierattr_destroy): Likewise.
11281         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11282         Likewise.
11283         * nptl/pthread_barrierattr_setpshared.c
11284         (pthread_barrierattr_setpshared): Likewise.
11285         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11286         Likewise.
11287         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11288         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11289         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11290         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11291         Likewise.
11292         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11293         Likewise.
11294         * nptl/pthread_condattr_getpshared.c
11295         (pthread_condattr_getpshared): Likewise.
11296         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11297         Likewise.
11298         * nptl/pthread_condattr_setpshared.c
11299         (pthread_condattr_setpshared): Likewise.
11300         * nptl/pthread_detach.c (pthread_detach): Likewise.
11301         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11302         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11303         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11304         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11305         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11306         Likewise.
11307         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11308         Likewise.
11309         * nptl/pthread_mutex_getprioceiling.c
11310         (pthread_mutex_getprioceiling): Likewise.
11311         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11312         Likewise.
11313         * nptl/pthread_mutexattr_getprotocol.c
11314         (pthread_mutexattr_getprotocol): Likewise.
11315         * nptl/pthread_mutexattr_getpshared.c
11316         (pthread_mutexattr_getpshared): Likewise.
11317         * nptl/pthread_mutexattr_getrobust.c
11318         (pthread_mutexattr_getrobust): Likewise.
11319         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11320         Likewise.
11321         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11322         Likewise.
11323         * nptl/pthread_mutexattr_setprioceiling.c
11324         (pthread_mutexattr_setprioceiling): Likewise.
11325         * nptl/pthread_mutexattr_setprotocol.c
11326         (pthread_mutexattr_setprotocol): Likewise.
11327         * nptl/pthread_mutexattr_setpshared.c
11328         (pthread_mutexattr_setpshared): Likewise.
11329         * nptl/pthread_mutexattr_setrobust.c
11330         (pthread_mutexattr_setrobust): Likewise.
11331         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11332         Likewise.
11333         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11334         Likewise.
11335         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11336         Likewise.
11337         * nptl/pthread_rwlockattr_getkind_np.c
11338         (pthread_rwlockattr_getkind_np): Likewise.
11339         * nptl/pthread_rwlockattr_getpshared.c
11340         (pthread_rwlockattr_getpshared): Likewise.
11341         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11342         Likewise.
11343         * nptl/pthread_rwlockattr_setkind_np.c
11344         (pthread_rwlockattr_setkind_np): Likewise.
11345         * nptl/pthread_rwlockattr_setpshared.c
11346         (pthread_rwlockattr_setpshared): Likewise.
11347         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11348         Likewise.
11349         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11350         Likewise.
11351         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11352         Likewise.
11353         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11354         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11355         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11356         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11357         * nptl/sem_close.c (sem_close): Likewise.
11358         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11359         * nptl/sem_init.c (__old_sem_init): Likewise.
11360         * nptl/sigaction.c (__sigaction): Likewise.
11361         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11362         * posix/_exit.c (_exit): Likewise.
11363         * posix/alarm.c (alarm): Likewise.
11364         * posix/confstr.c (confstr): Likewise.
11365         * posix/fpathconf.c (__fpathconf): Likewise.
11366         * posix/getgroups.c (__getgroups): Likewise.
11367         * posix/getpgid.c (__getpgid): Likewise.
11368         * posix/group_member.c (__group_member): Likewise.
11369         * posix/pathconf.c (__pathconf): Likewise.
11370         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11371         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11372         * posix/setgid.c (__setgid): Likewise.
11373         * posix/setpgid.c (__setpgid): Likewise.
11374         * posix/setuid.c (__setuid): Likewise.
11375         * posix/sleep.c (__sleep): Likewise.
11376         * posix/sysconf.c (__sysconf): Likewise.
11377         * posix/times.c (__times): Likewise.
11378         * posix/uname.c (__uname): Likewise.
11379         * posix/waitid.c (__waitid): Likewise.
11380         * pwd/getpw.c (__getpw): Likewise.
11381         * resolv/base64.c (b64_pton): Likewise.
11382         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11383         * resolv/gethnamaddr.c (Dprintf): Likewise.
11384         (gethostbyname): Likewise.
11385         (gethostbyname2): Likewise.
11386         (gethostbyaddr): Likewise.
11387         (_sethtent): Likewise.
11388         (_gethtbyname): Likewise.
11389         (_gethtbyname2): Likewise.
11390         (_gethtbyaddr): Likewise.
11391         (map_v4v6_address): Likewise.
11392         (map_v4v6_hostent): Likewise.
11393         (addrsort): Likewise.
11394         (ht_sethostent): Likewise.
11395         (ht_gethostbyname): Likewise.
11396         (ht_gethostbyaddr): Likewise.
11397         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11398         (inet_net_ntop_ipv4): Likewise.
11399         * resolv/inet_neta.c (inet_neta): Likewise.
11400         * resolv/inet_ntop.c (inet_ntop): Likewise.
11401         (inet_ntop4): Likewise.
11402         (inet_ntop6): Likewise.
11403         * resolv/inet_pton.c (__inet_pton): Likewise.
11404         (inet_pton4): Likewise.
11405         (inet_pton6): Likewise.
11406         * resolv/res_debug.c (loc_aton): Likewise.
11407         (loc_ntoa): Likewise.
11408         * resource/getpriority.c (__getpriority): Likewise.
11409         * resource/getrusage.c (__getrusage): Likewise.
11410         * resource/nice.c (nice): Likewise.
11411         * resource/setpriority.c (__setpriority): Likewise.
11412         * resource/setrlimit64.c (setrlimit64): Likewise.
11413         * resource/vlimit.c (vlimit): Likewise.
11414         * resource/vtimes.c (vtimes): Likewise.
11415         * rt/aio_error.c (aio_error): Likewise.
11416         * rt/aio_return.c (aio_return): Likewise.
11417         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11418         * signal/kill.c (__kill): Likewise.
11419         * signal/killpg.c (killpg): Likewise.
11420         * signal/raise.c (raise): Likewise.
11421         * signal/sigaction.c (__sigaction): Likewise.
11422         * signal/sigaddset.c (sigaddset): Likewise.
11423         * signal/sigaltstack.c (sigaltstack): Likewise.
11424         * signal/sigandset.c (sigandset): Likewise.
11425         * signal/sigblock.c (__sigblock): Likewise.
11426         * signal/sigdelset.c (sigdelset): Likewise.
11427         * signal/sigempty.c (sigemptyset): Likewise.
11428         * signal/sigfillset.c (sigfillset): Likewise.
11429         * signal/sighold.c (sighold): Likewise.
11430         * signal/sigignore.c (sigignore): Likewise.
11431         * signal/sigintr.c (siginterrupt): Likewise.
11432         * signal/sigisempty.c (sigisemptyset): Likewise.
11433         * signal/sigismem.c (sigismember): Likewise.
11434         * signal/signal.c (signal): Likewise.
11435         * signal/sigorset.c (sigorset): Likewise.
11436         * signal/sigpause.c (__sigpause): Likewise.
11437         * signal/sigpending.c (sigpending): Likewise.
11438         * signal/sigprocmask.c (__sigprocmask): Likewise.
11439         * signal/sigrelse.c (sigrelse): Likewise.
11440         * signal/sigreturn.c (__sigreturn): Likewise.
11441         * signal/sigset.c (sigset): Likewise.
11442         * signal/sigsetmask.c (__sigsetmask): Likewise.
11443         * signal/sigstack.c (sigstack): Likewise.
11444         * signal/sigsuspend.c (__sigsuspend): Likewise.
11445         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11446         * signal/sysv_signal.c (__sysv_signal): Likewise.
11447         * socket/accept.c (accept): Likewise.
11448         * socket/accept4.c (__libc_accept4): Likewise.
11449         * socket/bind.c (__bind): Likewise.
11450         * socket/connect.c (__connect): Likewise.
11451         * socket/getpeername.c (getpeername): Likewise.
11452         * socket/getsockname.c (__getsockname): Likewise.
11453         * socket/getsockopt.c (getsockopt): Likewise.
11454         * socket/listen.c (__listen): Likewise.
11455         * socket/recv.c (__recv): Likewise.
11456         * socket/recvmsg.c (__recvmsg): Likewise.
11457         * socket/send.c (__send): Likewise.
11458         * socket/sendmsg.c (__sendmsg): Likewise.
11459         * socket/shutdown.c (shutdown): Likewise.
11460         * socket/sockatmark.c (sockatmark): Likewise.
11461         * socket/socket.c (__socket): Likewise.
11462         * stdio-common/ctermid.c (ctermid): Likewise.
11463         * stdio-common/cuserid.c (cuserid): Likewise.
11464         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11465         * stdio-common/remove.c (remove): Likewise.
11466         * stdio-common/rename.c (rename): Likewise.
11467         * stdio-common/renameat.c (renameat): Likewise.
11468         * stdio-common/tempname.c (__gen_tempname): Likewise.
11469         * stdio-common/xbug.c (InitBuffer): Likewise.
11470         (AppendToBuffer): Likewise.
11471         (ReadFile): Likewise.
11472         * stdlib/a64l.c (a64l): Likewise.
11473         * stdlib/drand48_r.c (drand48_r): Likewise.
11474         * stdlib/getcontext.c (getcontext): Likewise.
11475         * stdlib/getenv.c (getenv): Likewise.
11476         * stdlib/l64a.c (l64a): Likewise.
11477         * stdlib/llabs.c (llabs): Likewise.
11478         * stdlib/lldiv.c (lldiv): Likewise.
11479         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11480         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11481         * stdlib/putenv.c (putenv): Likewise.
11482         * stdlib/random.c (__srandom): Likewise.
11483         (__initstate): Likewise.
11484         (__setstate): Likewise.
11485         * stdlib/random_r.c (__srandom_r): Likewise.
11486         (__setstate_r): Likewise.
11487         (__random_r): Likewise.
11488         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11489         * stdlib/setcontext.c (setcontext): Likewise.
11490         * stdlib/setenv.c (setenv): Likewise.
11491         (unsetenv): Likewise.
11492         * stdlib/srand48.c (srand48): Likewise.
11493         * stdlib/srand48_r.c (__srand48_r): Likewise.
11494         * stdlib/swapcontext.c (swapcontext): Likewise.
11495         * stdlib/system.c (__libc_system): Likewise.
11496         * stdlib/tst-strtod.c (expand): Likewise.
11497         * stdlib/tst-strtol.c (expand): Likewise.
11498         * stdlib/tst-strtoll.c (expand): Likewise.
11499         * streams/fattach.c (fattach): Likewise.
11500         * streams/fdetach.c (fdetach): Likewise.
11501         * streams/getmsg.c (getmsg): Likewise.
11502         * streams/isastream.c (isastream): Likewise.
11503         * string/ffs.c (__ffs): Likewise.
11504         * string/ffsll.c (ffsll): Likewise.
11505         * string/memcmp.c (memcmp_common_alignment): Likewise.
11506         (memcmp_not_common_alignment): Likewise.
11507         (MEMCMP): Likewise.
11508         * string/memcpy.c (memcpy): Likewise.
11509         * string/memmove.c (MEMMOVE): Likewise.
11510         * string/memset.c (memset): Likewise.
11511         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11512         * string/strchrnul.c (STRCHRNUL): Likewise.
11513         * string/strerror.c (strerror): Likewise.
11514         * string/strndup.c (__strndup): Likewise.
11515         * string/strverscmp.c (__strverscmp): Likewise.
11516         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11517         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11518         (clnttcp_freeres): Likewise.
11519         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11520         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11521         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11522         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11523         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11524         (xdr_callhdr): Likewise.
11525         * sunrpc/rpcinfo.c (udpping): Likewise.
11526         (tcpping): Likewise.
11527         (pstatus): Likewise.
11528         (pmapdump): Likewise.
11529         (brdcst): Likewise.
11530         (deletereg): Likewise.
11531         (getprognum): Likewise.
11532         (getvers): Likewise.
11533         (get_inet_address): Likewise.
11534         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11535         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11536         (svcudp_stat): Likewise.
11537         (svcudp_recv): Likewise.
11538         (svcudp_reply): Likewise.
11539         (svcudp_getargs): Likewise.
11540         (svcudp_freeargs): Likewise.
11541         (svcudp_destroy): Likewise.
11542         * sunrpc/xdr.c (xdr_bytes): Likewise.
11543         (xdr_netobj): Likewise.
11544         (xdr_string): Likewise.
11545         (xdr_wrapstring): Likewise.
11546         * sunrpc/xdr_float.c (xdr_float): Likewise.
11547         (xdr_double): Likewise.
11548         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11549         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11550         * sysvipc/ftok.c (ftok): Likewise.
11551         * sysvipc/msgctl.c (msgctl): Likewise.
11552         * sysvipc/msgget.c (msgget): Likewise.
11553         * sysvipc/msgrcv.c (msgrcv): Likewise.
11554         * sysvipc/msgsnd.c (msgsnd): Likewise.
11555         * sysvipc/semget.c (semget): Likewise.
11556         * sysvipc/semop.c (semop): Likewise.
11557         * sysvipc/shmat.c (shmat): Likewise.
11558         * sysvipc/shmctl.c (shmctl): Likewise.
11559         * sysvipc/shmdt.c (shmdt): Likewise.
11560         * sysvipc/shmget.c (shmget): Likewise.
11561         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11562         * termios/speed.c (cfgetospeed): Likewise.
11563         (cfgetispeed): Likewise.
11564         (cfsetospeed): Likewise.
11565         (cfsetispeed): Likewise.
11566         * termios/tcflow.c (tcflow): Likewise.
11567         * termios/tcflush.c (tcflush): Likewise.
11568         * termios/tcgetattr.c (__tcgetattr): Likewise.
11569         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11570         * termios/tcgetsid.c (tcgetsid): Likewise.
11571         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11572         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11573         * time/adjtime.c (__adjtime): Likewise.
11574         * time/dysize.c (dysize): Likewise.
11575         * time/ftime.c (ftime): Likewise.
11576         * time/getitimer.c (__getitimer): Likewise.
11577         * time/gettimeofday.c (__gettimeofday): Likewise.
11578         * time/gmtime.c (__gmtime_r): Likewise.
11579         (gmtime): Likewise.
11580         * time/localtime.c (__localtime_r): Likewise.
11581         (localtime): Likewise.
11582         * time/offtime.c (__offtime): Likewise.
11583         * time/settimeofday.c (__settimeofday): Likewise.
11584         * time/stime.c (stime): Likewise.
11585         * time/strftime_l.c (tm_diff): Likewise.
11586         (iso_week_days): Likewise.
11587         * time/strptime.c (strptime): Likewise.
11588         * time/time.c (time): Likewise.
11589         * time/timespec_get.c (timespec_get): Likewise.
11590         * time/tzset.c (tzset_internal): Likewise.
11591         (compute_change): Likewise.
11592         (__tz_compute): Likewise.
11593         * wcsmbs/btowc.c (__btowc): Likewise.
11594         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11595         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11596         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11597         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11598         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11599         * wcsmbs/wcscat.c (__wcscat): Likewise.
11600         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11601         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11602         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11603         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11604         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11605         * wcsmbs/wcslen.c (__wcslen): Likewise.
11606         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11607         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11608         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11609         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11610         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11611         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11612         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11613         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11614         * wcsmbs/wcstok.c (wcstok): Likewise.
11615         * wcsmbs/wctob.c (wctob): Likewise.
11616         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11617         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11618         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11619         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11620         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11621         * wcsmbs/wmemset.c (__wmemset): Likewise.
11622         * wctype/wcfuncs.c (__towlower): Likewise.
11623         (__towupper): Likewise.
11625         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11626         (lll_unlock_elision): Add adapt_count parameter.
11628 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11630         * sysdeps/nptl/configure.ac: Do not give errors based on the
11631         results of top-level configure tests.
11632         * sysdeps/nptl/configure: Regenerated.
11634         * configure.ac (libc_cv_Bgroup): Remove configure test.
11635         * configure: Regenerated.
11636         * config.make.in (have-Bgroup): Remove variable.
11638         * configure.ac (sizeof_long_double): Remove configure test.
11639         * configure: Regenerated.
11640         * config.make.in (sizeof-long-double): Remove variable.
11642         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11643         * configure: Regenerated.
11644         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11645         variable.
11646         (exceptions): Likewise.
11647         * sysdeps/arm/configure: Regenerated.
11648         * config.make.in (exceptions): Remove variable.
11649         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11650         $(exceptions).
11651         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11652         (CFLAGS-vdprintf_chk.c): Likewise.
11653         (CFLAGS-printf_chk.c): Likewise.
11654         (CFLAGS-fprintf_chk.c): Likewise.
11655         (CFLAGS-vprintf_chk.c): Likewise.
11656         (CFLAGS-vfprintf_chk.c): Likewise.
11657         (CFLAGS-gets_chk.c): Likewise.
11658         (CFLAGS-fgets_chk.c): Likewise.
11659         (CFLAGS-fgets_u_chk.c): Likewise.
11660         (CFLAGS-fread_chk.c): Likewise.
11661         (CFLAGS-fread_u_chk.c): Likewise.
11662         (CFLAGS-wprintf_chk.c): Likewise.
11663         (CFLAGS-fwprintf_chk.c): Likewise.
11664         (CFLAGS-vwprintf_chk.c): Likewise.
11665         (CFLAGS-vfwprintf_chk.c): Likewise.
11666         (CFLAGS-fgetws_chk.c): Likewise.
11667         (CFLAGS-fgetws_u_chk.c): Likewise.
11668         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11669         (CFLAGS-fputc.c): Likewise.
11670         (CFLAGS-fputwc.c): Likewise.
11671         (CFLAGS-freopen64.c): Likewise.
11672         (CFLAGS-freopen.c): Likewise.
11673         (CFLAGS-fseek.c): Likewise.
11674         (CFLAGS-fseeko64.c): Likewise.
11675         (CFLAGS-fseeko.c): Likewise.
11676         (CFLAGS-ftello64.c): Likewise.
11677         (CFLAGS-ftello.c): Likewise.
11678         (CFLAGS-fwide.c): Likewise.
11679         (CFLAGS-genops.c): Likewise.
11680         (CFLAGS-getc.c): Likewise.
11681         (CFLAGS-getchar.c): Likewise.
11682         (CFLAGS-getwc.c): Likewise.
11683         (CFLAGS-getwchar.c): Likewise.
11684         (CFLAGS-iofclose.c): Likewise.
11685         (CFLAGS-iofflush.c): Likewise.
11686         (CFLAGS-iofgetpos64.c): Likewise.
11687         (CFLAGS-iofgetpos.c): Likewise.
11688         (CFLAGS-iofgets.c): Likewise.
11689         (CFLAGS-iofgetws.c): Likewise.
11690         (CFLAGS-iofputs.c): Likewise.
11691         (CFLAGS-iofputws.c): Likewise.
11692         (CFLAGS-iofread.c): Likewise.
11693         (CFLAGS-iofsetpos64.c): Likewise.
11694         (CFLAGS-iofsetpos.c): Likewise.
11695         (CFLAGS-ioftell.c): Likewise.
11696         (CFLAGS-iofwrite.c): Likewise.
11697         (CFLAGS-iogetdelim.c): Likewise.
11698         (CFLAGS-iogetline.c): Likewise.
11699         (CFLAGS-iogets.c): Likewise.
11700         (CFLAGS-iogetwline.c): Likewise.
11701         (CFLAGS-ioputs.c): Likewise.
11702         (CFLAGS-ioseekoff.c): Likewise.
11703         (CFLAGS-ioseekpos.c): Likewise.
11704         (CFLAGS-iosetbuffer.c): Likewise.
11705         (CFLAGS-iosetvbuf.c): Likewise.
11706         (CFLAGS-ioungetc.c): Likewise.
11707         (CFLAGS-ioungetwc.c): Likewise.
11708         (CFLAGS-oldfileops.c): Likewise.
11709         (CFLAGS-oldiofclose.c): Likewise.
11710         (CFLAGS-oldiofgetpos64.c): Likewise.
11711         (CFLAGS-oldiofgetpos.c): Likewise.
11712         (CFLAGS-oldiofsetpos64.c): Likewise.
11713         (CFLAGS-oldiofsetpos.c): Likewise.
11714         (CFLAGS-peekc.c): Likewise.
11715         (CFLAGS-putc.c): Likewise.
11716         (CFLAGS-putchar.c): Likewise.
11717         (CFLAGS-putwc.c): Likewise.
11718         (CFLAGS-putwchar.c): Likewise.
11719         (CFLAGS-rewind.c): Likewise.
11720         (CFLAGS-wfileops.c): Likewise.
11721         (CFLAGS-wgenops.c): Likewise.
11722         (CFLAGS-oldiofopen.c): Likewise.
11723         (CFLAGS-iofopen.c): Likewise.
11724         (CFLAGS-iofopen64.c): Likewise.
11725         (CFLAGS-oldtmpfile.c): Likewise.
11726         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11727         (CFLAGS-fprintf.c): Likewise.
11728         (CFLAGS-printf.c): Likewise.
11729         (CFLAGS-vfwprintf.c): Likewise.
11730         (CFLAGS-vfscanf.c): Likewise.
11731         (CFLAGS-vfwscanf.c): Likewise.
11732         (CFLAGS-fscanf.c): Likewise.
11733         (CFLAGS-scanf.c): Likewise.
11734         (CFLAGS-isoc99_vfscanf.c): Likewise.
11735         (CFLAGS-isoc99_vscanf.c): Likewise.
11736         (CFLAGS-isoc99_fscanf.c): Likewise.
11737         (CFLAGS-isoc99_scanf.c): Likewise.
11738         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11739         (CFLAGS-isoc99_fwscanf.c): Likewise.
11740         (CFLAGS-isoc99_vwscanf.c): Likewise.
11741         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11743         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11744         after mkstemp64.
11745         * login/tst-utmp.c (do_prepare): Likewise.
11746         * rt/tst-aio.c (do_prepare): Likewise.
11747         * rt/tst-aio64.c (do_prepare): Likewise.
11749 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11751         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11752         (__lll_lock_elision): Remove adapt_count decrement...
11753         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11754         (__lll_trylock_elision): Likewise.
11755         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11756         (__lll_unlock_elision): ... to here. And utilize
11757         new adapt_count parameter.
11758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11759         (__lll_unlock_elision): Update to include adapt_count
11760         parameter.
11761         (lll_unlock_elision): Pass pointer to adapt_count
11762         variable.
11764 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11766         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11767         Add elision adapt_count parameter to list of arguments.
11768         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11769         (lll_unlock_elision): Update with new parameter list
11770         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11771         (lll_unlock_elision): Likewise.
11772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11773         (lll_unlock_elision): Likewise.
11775 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11777         [BZ #19122]
11778         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11779         attribute_hidden.
11781         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11782         attribute_hidden.
11783         [IS_IN (rtld)] (__strdup): Likewise.
11784         [IS_IN (rtld)] (__strerror_r): Likewise.
11785         [IS_IN (rtld)] (__strsep_g): Likewise.
11786         [IS_IN (rtld)] (memchr): Likewise.
11787         [IS_IN (rtld)] (memcmp): Likewise.
11788         [IS_IN (rtld)] (memcpy): Likewise.
11789         [IS_IN (rtld)] (memmove): Likewise.
11790         [IS_IN (rtld)] (memset): Likewise.
11791         [IS_IN (rtld)] (rawmemchr): Likewise.
11792         [IS_IN (rtld)] (stpcpy): Likewise.
11793         [IS_IN (rtld)] (strchr): Likewise.
11794         [IS_IN (rtld)] (strcmp): Likewise.
11795         [IS_IN (rtld)] (strlen): Likewise.
11796         [IS_IN (rtld)] (strnlen): Likewise.
11797         [IS_IN (rtld)] (strsep): Likewise.
11799         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11800         attribute_hidden.
11801         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11803         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11804         attribute_hidden.
11805         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11807         * include/setjmp.h (__longjmp): Add attribute_hidden.
11808         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11810         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11811         Add attribute_hidden.
11813         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11814         [IS_IN (rtld)] (__open): Likewise.
11815         [IS_IN (rtld)] (__fcntl): Likewise.
11817         * include/dirent.h (__opendirat): Add attribute_hidden.
11818         (__getdents): Likewise.
11819         (__getdents64): Likewise.
11820         (__alloc_dir): Likewise.
11821         [IS_IN (rtld)] (__closedir): Likewise.
11822         [IS_IN (rtld)] (__fdopendir): Likewise.
11823         [IS_IN (rtld)] (__readdir): Likewise.
11824         [IS_IN (rtld)] (__readdir64): Likewise.
11825         [IS_IN (rtld)] (__rewinddir): Likewise.
11827         * include/dlfcn.h (_dl_catch_error): Moved to ...
11828         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11829         attribute_hidden.
11831         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11832         (_itoa_word): Likewise.
11834         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11835         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11836         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11837         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11838         (_dl_higher_prime_number): Likewise.
11839         (_dl_debug_printf_c): Likewise.
11840         (_dl_signal_cerror): Likewise.
11841         (_dl_receive_error): Likewise.
11842         (_dl_reloc_bad_type): Likewise.
11843         (_dl_resolve_conflicts): Likewise.
11844         (_dl_check_all_versions): Likewise.
11845         (_dl_check_map_versions): Likewise.
11846         (_dl_sort_fini): Likewise.
11847         (_dl_debug_initialize): Likewise.
11848         (_dl_init_paths): Likewise.
11849         (_dl_show_auxv): Likewise.
11850         (_dl_next_ld_env_entry): Likewise.
11851         (_dl_important_hwcaps): Likewise.
11852         (_dl_load_cache_lookup): Likewise.
11853         (_dl_update_slotinfo): Likewise.
11854         (_dl_show_scope): Likewise.
11856         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11857         attribute_hidden.
11858         (_wordcopy_fwd_dest_aligned): Likewise.
11859         (_wordcopy_bwd_aligned): Likewise.
11860         (_wordcopy_bwd_dest_aligned): Likewise.
11862         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11863         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11864         Likewise.
11865         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11866         Likewise.
11867         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11869 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11871         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11872         GCC 5 requirement.
11874 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11876         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11877         test.
11878         * sysdeps/i386/configure: Regenerated.
11879         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11880         code unconditional.
11882         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11883         test.
11884         (libc_cv_asm_popsection_directive): Likewise.
11885         * configure: Regenerated.
11886         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11887         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11888         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11889         (__make_section_unallocated): Make definition unconditional.
11890         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11891         Remove conditional definition.
11892         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11893         (__make_section_unallocated): Likewise.
11895         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11896         * configure: Regenerated.
11897         * config.make.in (static-libgcc): Remove variable.
11898         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11899         $(static-libgcc).
11900         (build-module-helper): Likewise.
11902         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11903         * configure: Regenerated.
11905 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11907         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11908         (struct char_buffer): New type.
11909         (char_buffer_start, char_buffer_size, char_buffer_error)
11910         (char_buffer_rewind, char_buffer_add): New functions.
11911         (ADDW): Remove macro, replaced by the char_buffer_add function.
11912         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11913         of extend_alloca.  Make control flow more explicit.
11915 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11917         [BZ #19137]
11918         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11919         Add -fomit-frame-pointer.
11920         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11922 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11924         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11925         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11927         only if !__GNUC_PREREQ (5,0).
11928         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11929         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11930         (INTERNAL_SYSCALL_NCS): Likewise.
11931         (LOADREGS_0): New macro for GCC 5.
11932         (ASMARGS_0): Likewise.
11933         (LOADREGS_1): Likewise.
11934         (ASMARGS_1): Likewise.
11935         (LOADREGS_2): Likewise.
11936         (ASMARGS_2): Likewise.
11937         (LOADREGS_3): Likewise.
11938         (ASMARGS_3): Likewise.
11939         (LOADREGS_4): Likewise.
11940         (ASMARGS_4): Likewise.
11941         (LOADREGS_5): Likewise.
11942         (ASMARGS_5): Likewise.
11943         (LOADREGS_6): Likewise.
11944         (ASMARGS_6): Likewise.
11946 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11948         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11949         -fomit-frame-pointer.
11950         (CFLAGS-mmap64.c): Likewise.
11951         (CFLAGS-semtimedop.c): Likewise.
11952         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11953         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11954         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11955         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11957 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11959         [BZ #18928]
11960         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11961         _dl_pointer_guard member.
11962         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11963         initializer.
11964         (security_init): Always set up pointer guard.
11965         (process_envvars): Do not process LD_POINTER_GUARD.
11967 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #19134]
11970         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11971         (.LC2): Likewise.
11972         (.LC3): Likewise.
11973         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11975 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11977         [BZ #19129]
11978         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11979         r0 and r1.
11981 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11983         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11985 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11987         * include/stap-probe.h: Fix macro definition formatting.
11989 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11991         [BZ #19074]
11992         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11993         load and store num_ifs.
11995 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11997         [BZ #18822]
11998         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11999         (__sched_getaffinity_new): Add libc_hidden_proto and
12000         libc_hidden_def.
12002 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12004         [BZ #19007]
12005         * scripts/localplt.awk: Also allow GOT references.
12006         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12007         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12008         with "+ REL R_386_GLOB_DAT".
12009         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12010         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12012 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12014         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12015         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12016         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12017         Likewise.
12018         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12019         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12020         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12021         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12022         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12023         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12024         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12025         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12026         Likewise.
12027         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12029 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12031         [BZ #19125]
12032         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12033         <math_private.h> and <stdint.h>.
12034         (__llround): Avoid conversions to and from long long int, and
12035         subtractions, where those might raise spurious exceptions.
12036         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12037         <math_private.h> and <stdint.h>.
12038         (__llroundf): Avoid conversions to and from long long int, and
12039         subtractions, where those might raise spurious exceptions.
12041 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12043         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12044         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12045         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12046         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12047         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12048         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12049         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12050         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12051         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12052         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12053         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12054         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12055         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12056         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12057         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12058         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12059         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12060         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12061         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12062         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12063         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12064         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12065         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12066         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12067         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12068         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12069         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12070         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12071         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12072         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12073         (__xstat64_conv): Likewise.
12074         (__xstat32_conv): Likewise.
12076 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12078         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12079         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12080         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12081         <sysdeps/unix/sysv/linux/sysdep.h>.
12082         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12083         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12084         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12085         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12086         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12087         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12088         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12089         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12090         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12095         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12098         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12099         (sysdep-dl-routines): Add sysdep.
12100         [$(subdir) == nptl] (libpthread-routines): Likewise.
12101         [$(subdir) == rt] (librt-routines): Likewise.
12102         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12103         PIC when branching to SYSCALL_ERROR_LABEL.
12104         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12105         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12106         <sysdeps/unix/sysv/linux/sysdep.h>.
12107         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12108         (SYSCALL_ERROR_ERRNO): Removed.
12109         (SYSCALL_ERROR_HANDLER): Changed to empty.
12110         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12111         (__syscall_error): New prototype.
12112         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12113         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12115 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12117         [BZ #19124]
12118         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12119         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12120         _dl_runtime_resolve_avx.
12121         (_dl_runtime_profile_avx512): Make it a hidden alias of
12122         _dl_runtime_profile_avx.
12124 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12126         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12127         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12128         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12129         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12131         [BZ #16422]
12132         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12133         New configure test.
12134         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12135         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12136         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12137         <math_private.h> and <stdint.h>.
12138         (__llrint): Avoid conversions to long long int where those might
12139         raise spurious exceptions.
12140         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12141         <math_private.h> and <stdint.h>.
12142         (__llrintf): Avoid conversions to long long int where those might
12143         raise spurious exceptions.
12145 2015-10-12  Andreas Schwab  <schwab@suse.de>
12147         [BZ #18969]
12148         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12149         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12150         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12151         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12152         $(gen-locales).
12153         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12154         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12155         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12156         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12157         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12158         $(gen-locales).
12159         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12160         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12161         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12162         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12163         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12164         ($(objpfx)tst-ftell-active-handler.out)
12165         ($(objpfx)tst-ftell-append.out)
12166         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12167         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12168         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12169         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12170         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12171         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12172         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12173         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12174         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12175         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12176         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12177         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12178         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12179         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12180         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12181         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12182         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12183         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12184         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12185         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12186         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12187         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12188         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12189         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12190         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12191         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12192         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12193         $(gen-locales).
12194         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12195         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12196         $(gen-locales).
12197         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12198         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12199         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12200         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12201         $(gen-locales).
12202         * libio/tst_wprintf2.c (main): Use explicit locale.
12203         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12205 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12207         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12208         __msg_sig_post.
12209         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12211 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12213         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12214         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12216         * sysdeps/arm/libm-test-ulps: Regenerated.
12218         [BZ #15470]
12219         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12221         [BZ #16399]
12222         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12223         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12224         and <fix-fp-int-convert-overflow.h>.
12225         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12226         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12227         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12228         and <fix-fp-int-convert-overflow.h>.
12229         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12230         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12231         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12232         <fix-fp-int-convert-overflow.h>.
12233         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12234         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12235         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12236         <fix-fp-int-convert-overflow.h>.
12237         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12238         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12239         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12240         and <fix-fp-int-convert-overflow.h>.
12241         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12242         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12243         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12244         <limits.h> and <fix-fp-int-convert-overflow.h>.
12245         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12246         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12247         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12248         and <fix-fp-int-convert-overflow.h>.
12249         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12250         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12251         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12252         and <fix-fp-int-convert-overflow.h>.
12253         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12254         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12255         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12257 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12259         [BZ #18589]
12260         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12261         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12262         $(gen-locales).
12264 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12265             Phil Blundell <pb@pbcl.net>
12267         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12268         * nptl/tst-cancel26.c: New file.
12269         * nptl/tst-cancel27.c: Likewise.
12271 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12273         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12274         __ILP32__ isn't defined.
12275         (lrint): Likewise.
12276         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12277         (lrintf): Likewise.
12278         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12279         (lrintl): Likewise.
12280         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12281         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12282         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12284 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12287         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12290         file.
12291         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12292         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12294 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12296         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12297         configure test.
12298         * sysdeps/i386/configure: Regenerated.
12299         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12300         configure test.
12301         * sysdeps/x86_64/configure: Regenerated.
12302         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12303         Make code unconditional.
12305         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12306         test.
12307         * sysdeps/i386/configure: Regenerated.
12308         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12309         test.
12310         * sysdeps/x86_64/configure: Regenerated.
12311         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12312         Make code unconditional.
12313         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12314         Likewise.
12315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12316         Likewise.
12317         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12318         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12319         code unconditional.
12320         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12321         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12322         code unconditional.
12323         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12324         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12325         code unconditional.
12326         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12327         code unconditional.
12328         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12329         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12330         code unconditional.
12331         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12332         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12333         code unconditional.
12334         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12335         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12336         code unconditional.
12337         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12338         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12339         code unconditional.
12340         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12341         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12343         [BZ #19095]
12344         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12345         mantissa to long int before shifting left.
12347 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12349         [BZ #19094]
12350         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12351         <limits.h>.
12352         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12353         when result overflows but exception would not result from cast.
12354         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12355         <limits.h>.
12356         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12357         when result overflows but exception would not result from cast.
12358         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12359         <limits.h>.
12360         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12361         when result overflows but exception would not result from cast.
12362         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12363         <limits.h>.
12364         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12365         when result overflows but exception would not result from cast.
12366         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12367         <limits.h>.
12368         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12369         when result overflows but exception would not result from cast.
12370         * math/libm-test.inc (lrint_test_data): Add more tests.
12371         (llrint_test_data): Likewise.
12373 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12375         [BZ #18872]
12376         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12377         Move out from under [$(run-built-tests) = yes] conditional.
12378         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12379         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12381 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12383         [BZ #18589]
12384         * string/Makefile (tests): Add bug-strcoll2.
12385         (LOCALES): Add cs_CZ.UTF-8.
12386         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12388         [BZ #18589]
12389         * string/bug-strcoll2.c: New file.
12390         * locale/categories.def: Revert commit
12391         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12392         * locale/langinfo.h: Likewise.
12393         * locale/localeinfo.h: Likewise.
12394         * locale/C-collate.c: Likewise.
12395         * locale/programs/ld-collate.c (collate_output): Likewise.
12396         * string/strcoll_l.c (STRDIFF): Likewise.
12397         (STRCOLL): Likewise.
12398         * wcsmbs/wcscoll_l.c: Likewise.
12400 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12402         * math/libm-test.inc (lround_test_data): Do not expect the absence
12403         of "inexact" for some tests with non-integer arguments.
12404         (llround_test_data): Likewise.
12406         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12407         test.
12408         (libc_cv_cc_sse2avx): Likewise.
12409         * sysdeps/i386/configure: Regenerated.
12410         * sysdeps/i386/i686/multiarch/Makefile
12411         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12412         [$(subdir) = math].
12413         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12414         code unconditional.
12415         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12416         Likewise.
12417         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12418         Likewise.
12419         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12420         Likewise.
12421         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12422         test.
12423         (libc_cv_cc_sse2avx): Likewise.
12424         * sysdeps/x86_64/configure: Regenerated.
12425         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12426         unconditional.
12427         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12428         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12429         unconditional.
12430         (_dl_runtime_profile)
12431         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12432         conditional code.
12433         * sysdeps/x86_64/fpu/multiarch/Makefile
12434         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12435         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12436         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12437         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12438         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12439         * sysdeps/x86_64/fpu/multiarch/e_log.c
12440         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12441         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12442         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12443         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12444         Likewise.
12445         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12446         Likewise.
12447         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12448         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12449         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12450         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12451         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12452         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12453         (HAVE_SSE2AVX_SUPPORT): Likewise.
12455 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12457         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12458         instead of #pragma optimize.
12460 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12462         [BZ #17195]
12463         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12464         as is similarly done in systrim and _int_free already.
12466 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12468         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12470 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #19088]
12473         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12474         <limits.h>.
12475         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12476         overflows but exception would not result from cast.
12477         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12478         and <limits.h>.
12479         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12480         overflows but exception would not result from cast.
12481         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12482         <limits.h>.
12483         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12484         overflows but exception would not result from cast.
12485         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12486         <limits.h>.
12487         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12488         overflows but exception would not result from cast.
12489         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12490         <limits.h>.
12491         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12492         overflows but exception would not result from cast.
12493         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12494         <limits.h>.
12495         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12496         overflows but exception would not result from cast.
12497         * math/libm-test.inc (lround_test_data): Add more tests.
12498         (llround_test_data): Likewise.
12500 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12502         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12503         (CFLAGS-ialloc.c): Ditto.
12504         (CFLAGS-scheck.c): Ditto.
12506 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12508         [BZ #19086]
12509         * manual/filesys.texi (Storage Allocation): Fix argument order for
12510         posix_fallocate64.
12512 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12514         [BZ #19085]
12515         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12516         exponent below 48 inside case for non-overflowing exponent.
12517         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12519 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12521         * iconvdata/cp737.h (from_idx): Add const.
12522         * iconvdata/cp775.h (from_idx): Likewise.
12524 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12526         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12527         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12528         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12530         [BZ #19079]
12531         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12532         file, conditioned on [!_LP64].
12533         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12534         [!_LP64] (__lround): Do not define as function or alias.
12535         [!_LP64] (lround): Likewise.
12536         [!_LP64] (__lroundl): Likewise.
12537         [!_LP64] (lroundl): Likewise.
12538         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12539         macro.
12540         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12541         Likewise.
12543 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12545         * math/libm-test.inc (lrint_test_data): Add more tests.
12546         (llrint_test_data): Likewise.
12547         (lround_test_data): Likewise.
12548         (llround_test_data): Likewise.
12550         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12551         (llrint_test_data): Add tests used for lrint.
12553         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12554         test.
12555         * sysdeps/i386/configure: Regenerated.
12556         * sysdeps/i386/i686/multiarch/Makefile
12557         [$(config-cflags-sse4) = yes]: Make code unconditional.
12558         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12559         Likewise.
12560         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12561         Likewise.
12562         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12563         test.
12564         * sysdeps/x86_64/configure: Regenerated.
12565         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12566         Make code unconditional.
12567         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12568         Likewise.
12569         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12570         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12572         * scripts/rpm2dynsym.sh: Remove file.
12574 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12576         * configure.ac (libc_cv_cxx_thread_local): Define.
12577         * configure: Regenerate.
12578         * config.make.in (have-cxx-thread_local): Define.
12579         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12580         (LDLIBS-tst-thread_local1): Define.
12581         (tests): Add tst-thread_local1.
12582         [have-cxx-thread_local != yes] (tests-unsupported): Add
12583         tst-thread_local1.
12584         * nptl/tst-thread_local1.cc: New file.
12586 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12588         [BZ #19078]
12589         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12590         (u_thres): Likewise.
12591         (__expl): Determine whether to call __kernel_standard_l based on
12592         value of result, not argument.
12594         * math/libm-test.inc (scalb_test_data): Add more expectations for
12595         the "inexact" exception.
12597         [BZ #19077]
12598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12599         0.0L for argument 1.0L.
12601         [BZ #19076]
12602         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12603         constant 0.0L when computing infinite result.
12605 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12607         [BZ #10432]
12608         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12609         malloc_usable_size.
12611 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12613         [BZ #19018]
12614         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12615         Mangle function pointer before storing it.
12616         (__call_tls_dtors): Demangle function pointer before calling it.
12618 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12620         [BZ #19012]
12621         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12622         Clean up on failure.
12624 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12626         [BZ #19071]
12627         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12628         long int variable to store possibly incremented high part of
12629         mantissa.
12630         * math/libm-test.inc (lround_test_data): Add tests used for
12631         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12632         for tests requiring 64-bit long.  Do not condition tests on
12633         [TEST_FLOAT] unnecessarily.
12634         (llround_test_data): Add tests used for lround.  Add another
12635         expectation for the "inexact" exception.  Do not condition tests
12636         on [TEST_FLOAT] unnecessarily.
12638         [BZ #887]
12639         [BZ #19049]
12640         [BZ #19050]
12641         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12642         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12643         <fix-int-fp-convert-zero.h>.
12644         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12645         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12646         <fix-int-fp-convert-zero.h>.
12647         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12648         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12649         <fix-int-fp-convert-zero.h>.
12650         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12651         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12652         <fix-int-fp-convert-zero.h>.
12653         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12654         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12655         <fix-int-fp-convert-zero.h>.
12656         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12657         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12658         <fix-int-fp-convert-zero.h>.
12659         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12660         * sysdeps/ieee754/flt-32/s_erff.c: Include
12661         <fix-int-fp-convert-zero.h>.
12662         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12663         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12664         <fix-int-fp-convert-zero.h>.
12665         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12666         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12667         <fix-int-fp-convert-zero.h>.
12668         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12670         <fix-int-fp-convert-zero.h>.
12671         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12672         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12673         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12674         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12675         file.
12676         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12678 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12680         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12682 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12684         [BZ #19059]
12685         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12686         overflowing computation.
12687         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12688         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12689         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12690         Likewise.
12691         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12692         Likewise.
12693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12694         Likewise.
12695         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12696         Likewise.
12697         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12698         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12699         Likewise.
12700         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12701         Likewise.
12702         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12704         * nss/rewrite_field.c (__nss_rewrite_field): Use
12705         internal_function.
12706         * nss/valid_field.c (__nss_valid_field): Likewise.
12707         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12709 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12711         [BZ #18724]
12712         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12713         (__nss_invalid_field_characters, __nss_valid_field)
12714         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12715         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12716         tst-field.c: New file.
12717         * nss/Makefile (routines): Add valid_field, rewrite_field.
12718         (tests-static): Define unconditionally.
12719         (tests): Include tests-static.
12720         [build-static-nss] (tests-static): Use append.
12721         [build-static-nss] (tests): Remove modification.
12722         * nss/getent.c (print_group): Call putgrent.  Report error.
12723         (print_gshadow): Call putsgent.  Report error.
12724         (print_passwd): Call putpwent.  Report error.
12725         (print_shadow): Call putspent.  Report error.
12726         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12727         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12728         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12729         name, password, directory, shell fields for valid syntax.  Rewrite
12730         GECOS field to match syntax.
12731         * pwd/Makefile (tests): Add tst-putpwent.
12732         * pwd/tst-putpwent.c: New file.
12733         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12734         Check grName, grpasswd, gr_mem fields for valid syntax.
12735         Change loop variable i to size_t.
12736         * grp/Makefile (tests): Add tst-putgrent.
12737         * grp/tst-putgrent.c: New file.
12738         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12739         valid syntax.
12740         * shadow/Makefile (tests): Add tst-putspent.
12741         * shadow/tst-putspent.c: New file.
12742         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12743         sg_mem fields for valid syntax.
12744         * gshadow/Makefile (tests): Add tst-putsgent.
12745         * gshadow/tst-putsgent.c: New file.
12747 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12749         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12750         assembly instructions.
12752 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12754         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12755         prefix from operands.
12757 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12759         [BZ #16347]
12760         [BZ #19046]
12761         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12762         <libc-internal.h>.
12763         (MAXLGM): Do not use diagnostic control macros.
12764         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12765         threshold for ldbl-128ibm.
12766         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12767         instead of multiplying by log then subtracting.
12768         * math/auto-libm-test-in: Add more tests of lgamma.
12769         * math/auto-libm-test-out: Regenerated.
12771         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12772         (TYPE_HEX_DIG): Likewise.
12773         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12774         precisions when printing floating-point numbers.
12775         (check_float_internal): Likewise.
12777 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12779         [BZ #16620]
12780         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12781         of log (10) rounded downward to 48 bits.
12782         (log10_low): Use corresponding low part of log (10).
12784         [BZ #19032]
12785         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12786         compute result as (x - x) / (x - x) not as 0 / 0.
12787         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12788         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12790         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12791         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12792         and expm1.
12793         * math/auto-libm-test-out: Regenerated.
12794         * math/libm-test.inc (acos_test_data): Add more tests.
12795         (asin_test_data): Likewise.
12796         (asinh_test_data): Likewise.
12797         (atan_test_data): Likewise.
12798         (atanh_test_data): Likewise.
12799         (atan2_test_data): Likewise.
12800         (cbrt_test_data): Likewise.
12801         (ceil_test_data): Likewise.
12802         (copysign_test_data): Likewise.
12803         (cos_test_data): Likewise.
12804         (cosh_test_data): Likewise.
12805         (erf_test_data): Likewise.
12806         (erfc_test_data): Likewise.
12807         (exp_test_data): Likewise.
12808         (exp10_test_data): Likewise.
12809         (exp2_test_data): Likewise.
12810         (expm1_test_data): Likewise.
12811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12813 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12815         [BZ #19006]
12816         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12817         to ...
12818         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12819         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12820         to ...
12821         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12822         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12823         to ...
12824         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12825         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12826         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12827         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12828         to ...
12829         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12830         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12831         Moved to ...
12832         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12833         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12834         Moved to ...
12835         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12837         to ...
12838         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12839         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12840         Moved to ...
12841         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12842         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12843         to ...
12844         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12845         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12846         Removed.
12847         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12848         Likewise.
12849         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12850         Likewise.
12851         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12852         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12853         Likewise.
12854         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12855         Likewise.
12856         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12857         Likewise.
12858         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12859         Likewise.
12860         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12861         Likewise.
12862         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12863         Likewise.
12864         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12865         Likewise.
12866         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12867         Likewise.
12868         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12869         Likewise.
12870         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12871         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12872         Likewise.
12873         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12874         Likewise.
12875         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12876         Likewise.
12877         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12878         Likewise.
12879         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12880         Likewise.
12881         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12882         Replace ../i486/pthread_cond_timedwait.S with
12883         ../pthread_cond_timedwait.S.
12885 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12887         * math/libm-test.inc (acos_test_data): Refine expectations for
12888         errno and "inexact" exceptions.
12889         (acosh_test_data): Likewise.
12890         (asin_test_data): Likewise.
12891         (asinh_test_data): Likewise.
12892         (atan_test_data): Likewise.
12893         (atanh_test_data): Likewise.
12894         (atan2_test_data): Likewise.
12895         (cbrt_test_data): Likewise.
12896         (ceil_test_data): Likewise.
12897         (copysign_test_data): Likewise.
12898         (cosh_test_data): Likewise.
12899         (erf_test_data): Likewise.
12900         (erfc_test_data): Likewise.
12901         (exp_test_data): Likewise.
12902         (exp10_test_data): Likewise.
12903         (exp2_test_data): Likewise.
12904         (expm1_test_data): Likewise.
12905         (fabs_test_data): Likewise.
12906         (floor_test_data): Likewise.
12907         (fma_test_data): Likewise.
12908         (fmax_test_data): Likewise.
12909         (fmin_test_data): Likewise.
12910         (fmod_test_data): Likewise.
12911         (fpclassify_test_data): Likewise.
12912         (frexp_test_data): Likewise.
12913         (hypot_test_data): Likewise.
12914         (ilogb_test_data): Likewise.
12915         (isgreater_test_data): Likewise.
12916         (isgreaterequal_test_data): Likewise.
12917         (isinf_test_data): Likewise.
12918         (isless_test_data): Likewise.
12919         (islessequal_test_data): Likewise.
12920         (islessgreater_test_data): Likewise.
12921         (isnan_test_data): Likewise.
12922         (isnormal_test_data): Likewise.
12923         (issignaling_test_data): Likewise.
12924         (isunordered_test_data): Likewise.
12925         (j0_test_data): Likewise.
12926         (j1_test_data): Likewise.
12927         (jn_test_data): Likewise.
12928         (lgamma_test_data): Likewise.
12929         (lrint_test_data): Likewise.
12930         (llrint_test_data): Likewise.
12931         (log_test_data): Likewise.
12932         (log10_test_data): Likewise.
12933         (log1p_test_data): Likewise.
12934         (log2_test_data): Likewise.
12935         (logb_test_data): Likewise.
12936         (lround_test_data): Likewise.
12937         (llround_test_data): Likewise.
12938         (modf_test_data): Likewise.
12939         (nearbyint_test_data): Likewise.
12940         (nextafter_test_data): Likewise.
12941         (nexttoward_test_data): Likewise.
12942         (pow_test_data): Likewise.
12943         (remainder_test_data): Likewise.
12944         (remquo_test_data): Likewise.
12945         (rint_test_data): Likewise.
12946         (round_test_data): Likewise.
12947         (signbit_test_data): Likewise.
12948         (sinh_test_data): Likewise.
12949         (sqrt_test_data): Likewise.
12950         (tanh_test_data): Likewise.
12951         (tgamma_test_data): Likewise.
12952         (trunc_test_data): Likewise.
12953         (y0_test_data): Likewise.
12954         (y1_test_data): Likewise.
12955         (yn_test_data): Likewise.
12956         (significand_test_data): Likewise.
12958 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12960         * manual/filesys.texi (Storage Allocation): Document that
12961         posix_fallocate emulation fails when fd is open with O_WRONLY.
12963 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12965         [BZ #19016]
12966         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12967         allow more cases with X^2 + Y^2 >= 0.5.
12968         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12969         normal element in sum instead of special-casing based on values of
12970         arguments.
12971         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12972         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12973         -1 as normal element in sum instead of special-casing based on
12974         values of arguments.
12975         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12976         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12977         (__x2y2m1): Update comment.
12978         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12979         as normal element in sum instead of special-casing based on values
12980         of arguments.
12981         * math/s_clog.c (__clog): Handle more cases using log1p without
12982         hypot.
12983         * math/s_clog10.c (__clog10): Likewise.
12984         * math/s_clog10f.c (__clog10f): Likewise.
12985         * math/s_clog10l.c (__clog10l): Likewise.
12986         * math/s_clogf.c (__clogf): Likewise.
12987         * math/s_clogl.c (__clogl): Likewise.
12988         * math/auto-libm-test-in: Add more tests of clog and clog10.
12989         * math/auto-libm-test-out: Regenerated.
12990         * sysdeps/i386/fpu/libm-test-ulps: Update.
12991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12993 2015-09-28  Martin Sebor  <msebor@redhat.com>
12995         [BZ #18969]
12996         * string/Makefile (LOCALES): Define.
12997         (gen-locales.mk): Include.
12998         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12999         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13000         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13001         on setlocale failure.
13003 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13005         [BZ #18985]
13006         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13007         (__strftime_internal): Likewise.
13008         * time/tst-strftime.c (do_bz18985): New test.
13009         (do_test): Call it.
13011 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13013         [BZ #18956]
13014         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13015         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13016         extracting high part.
13017         * math/auto-libm-test-in: Add another test of pow.
13018         * math/auto-libm-test-out: Regenerated.
13019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13021 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13023         [BZ #18825]
13024         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13025         New macro.
13026         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13027         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13028         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13029         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13030         DBL_NARROW_EVAL, reloading the PIC register as needed.
13031         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13032         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13033         FLT_NARROW_EVAL.  Use separate return path for case when first
13034         argument is NaN.
13035         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13036         DEFINE_LDBL_MIN.
13037         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13038         PIC register.
13039         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13040         math_check_force_underflow_nonneg.
13041         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13042         underflow for subnormal result.
13043         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13044         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13045         math_check_force_underflow_nonneg.
13046         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13047         math_check_force_underflow.
13048         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13049         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13050         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13051         DEFINE_LDBL_MIN.
13052         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13053         * math/auto-libm-test-in: Add more tests of pow.
13054         * math/auto-libm-test-out: Regenerated.
13056 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13058         * nss/bug17079.c (init_test_items): Add diagnostic for
13059         inconsistent entries.
13060         (test_buffer_size): Skip inconsistent entries.
13062 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13064         [BZ #13304]
13065         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13066         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13067         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13069         [BZ #13304]
13070         * sysdeps/microblaze/s_fma.c: New file.
13071         * sysdeps/microblaze/s_fmaf.c: Likewise.
13072         * sysdeps/microblaze/sfp-machine.h: Likewise.
13074 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13076         [BZ #17250]
13077         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13078         member.
13080 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13082         [BZ #18803]
13083         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13084         (MO): New macro.
13085         (__ieee754_hypot) [PIC]: Load PIC register.
13086         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13087         DBL_NARROW_EVAL.
13088         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13089         math_check_force_underflow_nonneg in case where result might be
13090         tiny.
13091         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13092         Likewise.
13093         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13094         Likewise.
13095         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13096         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13097         * math/auto-libm-test-in: Add more tests of hypot.
13098         * math/auto-libm-test-out: Regenerated.
13100 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13102         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13104 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13106         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13107         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13108         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13109         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13110         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13111         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13112         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13114         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13115         LOAD_PIC_REG.
13117         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13118         (FLT_CHECK_FORCE_UFLOW): Likewise.
13119         (DBL_CHECK_FORCE_UFLOW): Likewise.
13120         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13121         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13122         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13123         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13124         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13125         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13126         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13127         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13128         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13129         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13130         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13131         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13132         (flt_min): Replace with use of DEFINE_FLT_MIN.
13133         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13134         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13135         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13136         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13137         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13138         (flt_min): Replace with use of DEFINE_FLT_MIN.
13139         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13140         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13141         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13142         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13143         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13144         (flt_min): Replace with use of DEFINE_FLT_MIN.
13145         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13146         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13147         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13148         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13149         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13150         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13151         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13152         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13153         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13154         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13155         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13156         (flt_min): Replace with use of DEFINE_FLT_MIN.
13157         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13158         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13159         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13160         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13161         main computation.
13162         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13163         (flt_min): Replace with use of DEFINE_FLT_MIN.
13164         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13165         main computation.
13166         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13168         (MO): New macro.
13169         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13170         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13171         (flt_min): Replace with use of DEFINE_FLT_MIN.
13172         (MO): New macro.
13173         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13174         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13175         (__log1pl): Use MO.
13177         [BZ #19003]
13178         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13179         $(config-cflags-nofma).
13181 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13183         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13185 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13187         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13188         (TWO127): Likewise.
13190         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13191         (min_of_type): Likewise.
13192         (math_check_force_underflow): Likewise.
13193         (math_check_force_underflow_nonneg): Likewise.
13194         (math_check_force_underflow_complex): Likewise.
13195         * math/e_exp2l.c (__ieee754_exp2l): Use
13196         math_check_force_underflow_nonneg.
13197         * math/k_casinh.c (__kernel_casinh): Likewise.
13198         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13199         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13200         * math/s_catan.c (__catan): Use
13201         math_check_force_underflow_complex.
13202         * math/s_catanf.c (__catanf): Likewise.
13203         * math/s_catanh.c (__catanh): Likewise.
13204         * math/s_catanhf.c (__catanhf): Likewise.
13205         * math/s_catanhl.c (__catanhl): Likewise.
13206         * math/s_catanl.c (__catanl): Likewise.
13207         * math/s_ccosh.c (__ccosh): Likewise.
13208         * math/s_ccoshf.c (__ccoshf): Likewise.
13209         * math/s_ccoshl.c (__ccoshl): Likewise.
13210         * math/s_cexp.c (__cexp): Likewise.
13211         * math/s_cexpf.c (__cexpf): Likewise.
13212         * math/s_cexpl.c (__cexpl): Likewise.
13213         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13214         * math/s_clog10.c (__clog10): Likewise.
13215         * math/s_clog10f.c (__clog10f): Likewise.
13216         * math/s_clog10l.c (__clog10l): Likewise.
13217         * math/s_clogf.c (__clogf): Likewise.
13218         * math/s_clogl.c (__clogl): Likewise.
13219         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13220         * math/s_csinf.c (__csinf): Likewise.
13221         * math/s_csinh.c (__csinh): Likewise.
13222         * math/s_csinhf.c (__csinhf): Likewise.
13223         * math/s_csinhl.c (__csinhl): Likewise.
13224         * math/s_csinl.c (__csinl): Likewise.
13225         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13226         * math/s_csqrtf.c (__csqrtf): Likewise.
13227         * math/s_csqrtl.c (__csqrtl): Likewise.
13228         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13229         * math/s_ctanf.c (__ctanf): Likewise.
13230         * math/s_ctanh.c (__ctanh): Likewise.
13231         * math/s_ctanhf.c (__ctanhf): Likewise.
13232         * math/s_ctanhl.c (__ctanhl): Likewise.
13233         * math/s_ctanl.c (__ctanl): Likewise.
13234         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13235         instead of volatile.
13236         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13237         math_check_force_underflow.
13238         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13239         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13240         volatile when forcing underflow.
13241         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13242         math_check_force_underflow_nonneg.
13243         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13244         Likewise.
13245         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13246         math_check_force_underflow.
13247         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13248         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13249         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13250         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13251         math_check_force_underflow_nonneg.
13252         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13253         math_check_force_underflow.
13254         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13256         instead of volatile.
13257         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13258         math_check_force_underflow.
13259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13261         math_check_force_underflow_nonneg.
13262         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13263         math_check_force_underflow.
13264         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13265         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13266         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13267         math_check_force_underflow_nonneg.
13268         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13269         Likewise.
13270         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13271         math_check_force_underflow.
13272         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13273         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13274         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13275         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13276         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13277         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13278         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13279         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13280         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13281         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13282         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13283         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13284         Likewise.
13285         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13286         math_check_force_underflow_nonneg.
13287         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13288         Likewise.
13289         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13290         math_check_force_underflow.
13291         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13292         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13293         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13294         Likewise.
13295         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13296         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13297         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13298         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13299         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13300         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13302         instead of volatile.
13303         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13304         math_check_force_underflow.
13305         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13307         math_check_force_underflow.
13308         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13309         Likewise.
13310         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13311         Use math_check_force_underflow_nonneg.
13312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13313         math_check_force_underflow.
13314         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13315         Likewise.
13316         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13317         Likewise.
13318         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13319         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13320         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13321         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13322         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13323         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13324         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13325         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13326         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13327         math_check_force_underflow_nonneg.
13328         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13329         math_check_force_underflow.
13330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13331         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13332         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13333         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13334         math_check_force_underflow_nonneg.
13335         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13336         math_check_force_underflow.
13337         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13339         instead of volatile.
13340         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13341         math_check_force_underflow.
13343         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13344         * stdlib/strtod_l.c: Include <math_private.h>.
13345         (overflow_value): Use math_narrow_eval.
13346         (underflow_value): Likewise.
13347         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13348         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13349         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13350         (__ieee754_gamma_r): Likewise.
13351         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13352         Likewise.
13353         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13354         Likewise.
13355         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13356         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13357         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13358         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13359         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13360         (__ieee754_gammaf_r): Likewise.
13361         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13362         Likewise.
13363         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13364         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13365         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13366         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13367         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13368         volatile.
13369         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13370         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13371         math_narrow_eval.
13372         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13373         Likewise.
13374         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13375         Likewise.
13376         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13377         Likewise.
13378         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13379         volatile.
13380         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13381         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13382         math_narrow_eval.
13383         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13384         Likewise.
13385         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13386         Likewise.
13388 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13390         * nptl/Versions: Remove ignored symbols.
13392 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13394         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13395         * nss/Makefile (tests): Update.
13397 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13399         * nss/bug18287.c: New file.
13400         * nss/Makefile (tests): Add bug18287.
13402 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13404         * mach/Versions (__mach_host_self_): Add symbol.
13406 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13408         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13409         vm_page_size.
13411 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13413         Really fix sysdeps/i386/fpu/s_scalbn.S build
13415         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13416         (libc: GLIBC_2_22): Remove unused version set.
13418 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13420         * config.make.in (enable-timezone-tools): New variable.
13421         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13422         (enable_timezone_tools): Export to generated files.
13423         * configure: Regenerate.
13424         * INSTALL: Regenerate.
13425         * manual/install.texi (--disable-timezone-tools): Document new flag.
13426         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13427         ifeq ($(enable-timezone-tools),yes) check.
13429 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13431         * timezone/Makefile: Revert previous change.
13433         [BZ #18980]
13434         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13435         (DEFINE_DBL_MIN): Likewise.
13436         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13437         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13438         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13439         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13440         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13441         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13442         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13443         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13444         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13446         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13447         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13448         (flt_min): Replace with use of DEFINE_FLT_MIN.
13449         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13450         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13451         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13452         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13453         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13454         (flt_min): Replace with use of DEFINE_FLT_MIN.
13455         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13456         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13457         (flt_min): Replace with use of DEFINE_FLT_MIN.
13458         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13459         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13460         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13461         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13462         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13463         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13464         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13465         (__ieee754_pow): Use DBL_NARROW_EVAL.
13466         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13467         (__ieee754_powf): Use FLT_NARROW_EVAL.
13468         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13469         (__ieee754_expf_sse2): Convert double-precision result to single
13470         precision.
13471         * sysdeps/i386/fpu/libm-test-ulps: Update.
13473 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13475         * timezone/Makefile: Ignore unused variable errors due to private.h
13476         (time_t_min) and (time_t_max).
13477         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13478         Likewise.
13480 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13482         [BZ #18981]
13483         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13484         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13485         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13486         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13487         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13488         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13489         (__scalbn): Use DBL_NARROW_EVAL.
13490         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13491         (__scalbnf): Use FLT_NARROW_EVAL.
13493 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13495         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13496         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13497         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13498         * stdio-common/printf_fp.c (___printf_fp):
13499         Use signbit to get the sign. Use isinf macro to allow inlining.
13500         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13501         * stdio-common/printf_size.c (__printf_size): Likewise.
13503 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13505         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13507 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13509         [BZ #18980]
13510         * sysdeps/generic/math_private.h: Include <float.h>.
13511         (math_narrow_eval): New macro.
13512         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13513         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13514         math_narrow_eval on overflowing return value.
13515         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13516         Likewise.
13517         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13518         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13519         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13520         Likewise.
13521         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13523 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13525         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13526         * math/Makefile: Remove isinf_ns.c.
13527         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13528         * math/multc3.c (__multc3): Likewise.
13529         * math/s_casin.c (__casin): Likewise.
13530         * math/s_casinf.c (__casinf): Likewise.
13531         * math/s_casinl.c (__casinl): Likewise.
13532         * math/s_cproj.c (__cproj): Likewise.
13533         * math/s_cprojf.c (__cprojf): Likewise.
13534         * math/s_cprojl.c (__cprofl): Likewise.
13535         * math/s_ctan.c (__ctan): Likewise.
13536         * math/s_ctanf.c (__ctanf): Likewise.
13537         * math/s_ctanh.c (__ctanh): Likewise.
13538         * math/s_ctanhf.c (__ctanhf): Likewise.
13539         * math/s_ctanhl.c (__ctanhl): Likewise.
13540         * math/s_ctanl.c (__ctanl): Likewise.
13541         * math/w_fmod.c (__fmod): Likewise.
13542         * math/w_fmodf.c (__fmodf): Likewise.
13543         * math/w_fmodl.c (_fmodl): Likewise.
13544         * math/w_remainder.c (__remainder): Likewise.
13545         * math/w_remainderf.c (__remainderf): Likewise.
13546         * math/w_remainderl.c (__remainderl): Likewise.
13547         * math/w_scalb.c (__scalb): Likewise.
13548         * math/w_scalbf.c (__scalbf): Likewise.
13549         * math/w_scalbl.c (__scalbl): Likewise.
13550         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13551         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13552         with isinf.
13553         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13555         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13556         __isinf_nsf with isinf.
13557         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13558         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13559         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13560         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13561         with isinf.
13562         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13563         __isinf_nsl with isinf.
13564         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13565         with isinf.
13566         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13567         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13568         __isinf_nsl with isinf.
13569         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13570         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13571         with isinf.
13573 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13575         * resolv/base64.c (rcsid): Remove unused static.
13576         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13577         static.  (tqpi1): Likewise.
13578         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13579         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13580         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13581         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13583         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13584         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13585         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13586         Likewise.
13588 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13590         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13591         <nptl/pthreadP.h>.
13592         (_longjmp_unwind): Use __libc_ptf_call.
13593         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13595 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13597         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13598         * sysdeps/arm/__longjmp.S: Likewise.
13600 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13602         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13603         Use __builtin_signbit.
13604         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13605         Use __builtin_signbitf.
13606         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13607         Use __builtin_signbitl.
13608         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13609         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13611 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13613         [BZ #15367]
13614         [BZ #17441]
13616         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13617         * math/math.h (fpclassify): Use __builtin_fpclassify when
13618         available.  (signbit): Use __builtin_signbit(f/l).
13619         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13620         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13621         (isinf): Use __builtin_isinf_sign.
13623 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13625         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13626         * benchtests/bench-math-inlines.c: New benchmark.
13627         * benchtests/bench-util.h: New file.
13628         * benchtests/bench-util.c: New file.
13629         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13631 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13633         * elf/tst-dlmopen1.c: Define TEST_SO.
13634         (do_test): Use TEST_SO.
13636         * elf/dl-load.c: Include libc-internal.h.
13637         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13639 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13641         [BZ #17887]
13642         * time/strptime_l.c (__strptime_internal): Make %z accept
13643         [+-]HH:MM time zones.
13645 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13647         [BZ #17886]
13648         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13649         valid time zone.
13651 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13653         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13654         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13655         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13656         (__ASSUME_FDATASYNC): Delete.
13658 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13660         * conform/linknamespace.pl: Require weak undefined symbols to be
13661         in the standard namespace.
13662         (%strong_syms): Rename to %seen_syms.
13663         (%strong_seen): Rename to %seen_where.
13665 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13667         [BZ #18970]
13668         * misc/error.c (error): Replace pthread_setcancelstate with
13669         __pthread_setcancelstate.
13670         (error_at_line): Likewise.
13671         * posix/wordexp.c (parse_comm): Likewise.
13672         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13673         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13674         (__pthread_setcancelstate): This.
13675         (pthread_setcancelstate): Add an alias.
13676         * nptl/nptl-init.c (pthread_functions): Replace
13677         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13678         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13679         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13680         hidden_proto.
13681         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13682         it with hidden_def.
13683         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13684         (pthread_setcancelstate): Renamed to ...
13685         (__pthread_setcancelstate): This.
13686         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13687         __libc_ptf_call with __pthread_setcancelstate.
13689 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13690             Andreas Schwab  <schwab@suse.de>
13692         [BZ #17118]
13693         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13694         result when imaginary part of argument is infinite using sine and
13695         cosine.
13696         * math/s_ctanf.c (__ctanf): Likewise.
13697         * math/s_ctanl.c (__ctanl): Likewise.
13698         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13699         of result when real part of argument is infinite using sine and
13700         cosine.
13701         * math/s_ctanhf.c (__ctanhf): Likewise.
13702         * math/s_ctanhl.c (__ctanhl): Likewise.
13703         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13704         (ctanh_test_data): Add more tests of ctanh.
13706 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13708         [BZ #15384]
13709         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13710         bit-mask as in subtraction.
13711         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13712         Likewise.
13713         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13714         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13715         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13717         [BZ #18951]
13718         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13719         underflow exception for small results.
13720         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13721         Likewise.
13722         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13723         Likewise.
13724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13725         Likewise.
13726         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13727         Likewise.
13728         * math/auto-libm-test-in: Add more tests of tgamma.
13729         * math/auto-libm-test-out: Regenerated.
13731 2015-09-17  Andreas Schwab  <schwab@suse.de>
13733         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13735 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13737         [BZ #18977]
13738         * math/bits/mathcalls.h
13739         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13740         not declare.
13741         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13742         Likewise.
13743         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13744         Likewise.
13745         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13746         Likewise.
13747         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13748         Likewise.
13749         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13750         Likewise.
13751         * conform/data/math.h-data
13752         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13753         function.
13754         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13755         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13756         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13757         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13758         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13759         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13760         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13761         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13762         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13763         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13764         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13766         [BZ #6803]
13767         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13768         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13769         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13770         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13771         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13772         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13773         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13774         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13775         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13776         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13777         Likewise.
13778         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13779         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13781         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13782         long_double_symbol calls.
13783         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13784         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13785         strong alias of __ldexpl.
13786         (scalbnl): Define using long_double_symbol.
13787         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13788         Remove alias.
13789         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13790         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13791         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13792         (scalbln_test_data): Add more errno expectations.
13794 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13796         Cache the host port like we cache the task port.  This way we do not
13797         need to call the kernel just to get the port.  Furthermore, we no
13798         longer increase the reference count on every invocation of
13799         `mach_host_self'.
13801         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13802         Protect declarations against the macro expansion.
13803         * mach/mach_init.c (__mach_host_self_): New variable.
13804         (mach_init): Initialize `__mach_host_self_'.
13805         * mach/mach_init.h (__mach_host_self_): New declaration.
13806         (__mach_host_self, mach_host_self): New macros.
13807         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13808         Release reference.
13810 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13812         [BZ #4404]
13813         * po/de.po: Update from Translation Project.
13815         [BZ #16415]
13816         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13817         (__expm1l): Remove code to handle positive infinity and overflow.
13818         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13819         variable.
13820         (__expm1l): Remove code to handle positive infinity and overflow.
13822 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13823             Paul Pluzhnikov  <ppluzhnikov@google.com>
13825         [BZ #18872]
13826         * stdio-common/Makefile (tst-printf-bz18872): New test.
13827         (tst-printf-bz18872-mem.out): Likewise.
13828         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13829         * stdio-common/vfprintf.c: Fix memory leaks.
13831 2015-09-16  Andreas Schwab  <schwab@suse.de>
13833         [BZ #17244]
13834         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13835         Remove extra va_start/va_end calls.
13837         [BZ #17243]
13838         * posix/execl.c (execl): Add missing va_end.
13839         * posix/execle.c (execle): Likewise.
13840         * posix/execlp.c (execlp): Likewise.
13842 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13844         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13845         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13847 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13849         [BZ #18967]
13850         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13851         undefine around includes of <bits/mathcalls.h>.
13852         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13853         not declare function.
13854         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13855         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13856         (scalb): Likewise.
13857         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13858         not define macro.
13859         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13860         variable.
13861         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13862         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13863         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13865         [BZ #18857]
13866         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13867         return non-finite argument without doing ordered comparisons on
13868         it.
13870         [BZ #16296]
13871         * math/fenv.h (fegetround): Use __attribute_pure__.
13872         * include/fenv.h (__fegetround): Likewise.
13874         [BZ #18595]
13875         * math/s_ctan.c (__ctan): Force underflow exception for results
13876         whose real or imaginary part has small absolute value.
13877         * math/s_ctanf.c (__ctanf): Likewise.
13878         * math/s_ctanh.c (__ctanh): Likewise.
13879         * math/s_ctanhf.c (__ctanhf): Likewise.
13880         * math/s_ctanhl.c (__ctanhl): Likewise.
13881         * math/s_ctanl.c (__ctanl): Likewise.
13882         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13883         and ctanh.  Add more tests of ctan and ctanh.
13885         [BZ #15918]
13886         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13887         handling of cases where one argument is an infinity.
13889         [BZ #18875]
13890         [BZ #18966]
13891         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13892         (MO): New macro.
13893         (__ieee754_exp10): For small results, force underflow exception
13894         and remove excess range and precision from return value.
13895         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13896         (MO): New macro.
13897         (__ieee754_exp10f): For small results, force underflow exception
13898         and remove excess range and precision from return value.
13899         * math/auto-libm-test-in: Add more tests of exp10.
13900         * math/auto-libm-test-out: Regenerated.
13902 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #18875]
13905         [BZ #18961]
13906         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13907         (MO): New macro.
13908         (__ieee754_exp): For small results, force underflow exception and
13909         remove excess range and precision from return value.
13910         (__exp_finite): Likewise.
13911         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13912         (MO): New macro.
13913         (__ieee754_expf): For small results, force underflow exception and
13914         remove excess range and precision from return value.
13915         (__expf_finite): Likewise.
13916         * math/auto-libm-test-in: Add more tests of exp.
13917         * math/auto-libm-test-out: Regenerated.
13919         [BZ #16521]
13920         [BZ #18875]
13921         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13922         small results.
13923         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13924         (MO): New macro.
13925         (__ieee754_exp2): For small results, force underflow exception and
13926         remove excess range and precision from return value.
13927         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13928         (MO): New macro.
13929         (__ieee754_exp2f): For small results, force underflow exception
13930         and remove excess range and precision from return value.
13931         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13932         (MO): New macro.
13933         (__ieee754_exp2l): Force underflow exception for small results.
13934         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13935         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13936         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13937         (MO): New macro.
13938         (__ieee754_exp2l): Force underflow exception for small results.
13939         * math/auto-libm-test-in: Add more tests or exp2.
13940         * math/auto-libm-test-out: Regenerated.
13942 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13944         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13946         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13947         /dev/null.
13949 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13951         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13952         io fs process)): Drop spurious backslash.
13954 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13957         Use sysinfo system call instead of parsing /proc/meminfo.
13958         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13959         Likewise.
13961 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13963         [BZ #16985]
13964         * programs/localedef.c (main): Display argv[remaining] when
13965         output_path is NULL.
13967 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13969         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13970         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13971         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13972         tanh.
13973         * math/auto-libm-test-out: Regenerated.
13974         * sysdeps/i386/fpu/libm-test-ulps: Update.
13975         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13976         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13979 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13981         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13982         Use 'override' keyword to freeze the value here, preventing
13983         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13985 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13987         [BZ #14912]
13988         * sysdeps/aarch64/bits/atomic.h: Move to ...
13989         * sysdeps/aarch64/atomic-machine.h: ...here.
13990         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13991         _AARCH64_ATOMIC_MACHINE_H.
13992         * sysdeps/alpha/bits/atomic.h: Move to ...
13993         * sysdeps/alpha/atomic-machine.h: ...here.
13994         * sysdeps/arm/bits/atomic.h: Move to ...
13995         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13996         * bits/atomic.h: Move to ...
13997         * sysdeps/generic/atomic-machine.h: ...here.
13998         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13999         * sysdeps/i386/bits/atomic.h: Move to ...
14000         * sysdeps/i386/atomic-machine.h: ...here.
14001         * sysdeps/ia64/bits/atomic.h: Move to ...
14002         * sysdeps/ia64/atomic-machine.h: ...here.
14003         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14004         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14005         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14006         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14007         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14008         * sysdeps/microblaze/bits/atomic.h: Move to ...
14009         * sysdeps/microblaze/atomic-machine.h: ...here.
14010         * sysdeps/mips/bits/atomic.h: Move to ...
14011         * sysdeps/mips/atomic-machine.h: ...here.
14012         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14013         * sysdeps/powerpc/bits/atomic.h: Move to ...
14014         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14015         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14016         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14017         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14018         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14019         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14020         <atomic-machine.h> instead of <bits/atomic.h>.
14021         * sysdeps/s390/bits/atomic.h: Move to ...
14022         * sysdeps/s390/atomic-machine.h: ...here.
14023         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14024         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14025         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14027         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14028         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14029         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14030         * sysdeps/tile/bits/atomic.h: Move to ...
14031         * sysdeps/tile/atomic-machine.h: ...here.
14032         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14033         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14034         <sysdeps/tile/atomic-machine.h> instead of
14035         <sysdeps/tile/bits/atomic.h>.
14036         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14037         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14038         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14039         <sysdeps/tile/atomic-machine.h> instead of
14040         <sysdeps/tile/bits/atomic.h>.
14041         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14042         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14043         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14044         <sysdeps/arm/atomic-machine.h> instead of
14045         <sysdeps/arm/bits/atomic.h>.
14046         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14047         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14048         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14049         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14050         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14052         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14053         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14054         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14055         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14056         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14057         * sysdeps/x86_64/bits/atomic.h: Move to ...
14058         * sysdeps/x86_64/atomic-machine.h: ...here.
14059         * include/atomic.h: Include <atomic-machine.h> instead of
14060         <bits/atomic.h>.
14062         * sysdeps/mips/mips32/libm-test-ulps: Update.
14063         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14065         [BZ #18952]
14066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14067         not convert non-integer negative arguments to int to determine the
14068         value of signgam.
14069         * math/auto-libm-test-in: Add more tests of lgamma.
14070         * math/auto-libm-test-out: Regenerated.
14072         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14073         cosh, csqrt, erfc, expm1 and lgamma.
14074         * math/auto-libm-test-out: Regenerated.
14075         * sysdeps/i386/fpu/libm-test-ulps: Update.
14076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14078 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14080         [BZ #2542]
14081         [BZ #2543]
14082         [BZ #2558]
14083         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14084         __lgamma_neg for arguments from -28.0 to -2.0.
14085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14086         __lgamma_negf for arguments from -15.0 to -2.0.
14087         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14088         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14089         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14090         Call __lgamma_negl for arguments from -33.0 to -2.0.
14091         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14092         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14093         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14094         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14100         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14101         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14102         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14103         (__lgamma_neg): Likewise.
14104         (__lgamma_negl): Likewise.
14105         (__lgamma_product): Likewise.
14106         (__lgamma_productl): Likewise.
14107         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14108         * math/auto-libm-test-in: Add more tests of lgamma.
14109         * math/auto-libm-test-out: Regenerated.
14110         * sysdeps/i386/fpu/libm-test-ulps: Update.
14111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14113 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14115         [BZ #18675]
14116         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14118 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14120         [BZ #14912]
14121         * bits/libc-lock.h: Move to ...
14122         * sysdeps/generic/libc-lock.h: ...here.
14123         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14124         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14125         * sysdeps/mach/hurd/libc-lock.h: ...here.
14126         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14127         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14128         * sysdeps/mach/bits/libc-lock.h: Move to ...
14129         * sysdeps/mach/libc-lock.h: ...here.
14130         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14131         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14132         * sysdeps/nptl/libc-lock.h: ...here.
14133         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14134         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14135         * sysdeps/nptl/libc-lockP.h: ...here.
14136         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14137         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14138         <bits/libc-lock.h>.
14139         * dirent/scandir-tail.c: Likewise.
14140         * dlfcn/dlerror.c: Likewise.
14141         * elf/dl-close.c: Likewise.
14142         * elf/dl-iteratephdr.c: Likewise.
14143         * elf/dl-lookup.c: Likewise.
14144         * elf/dl-open.c: Likewise.
14145         * elf/dl-support.c: Likewise.
14146         * elf/dl-writev.h: Likewise.
14147         * elf/rtld.c: Likewise.
14148         * grp/fgetgrent.c: Likewise.
14149         * gshadow/fgetsgent.c: Likewise.
14150         * gshadow/sgetsgent.c: Likewise.
14151         * iconv/gconv_conf.c: Likewise.
14152         * iconv/gconv_db.c: Likewise.
14153         * iconv/gconv_dl.c: Likewise.
14154         * iconv/gconv_int.h: Likewise.
14155         * iconv/gconv_trans.c: Likewise.
14156         * include/link.h: Likewise.
14157         * inet/getnameinfo.c: Likewise.
14158         * inet/getnetgrent.c: Likewise.
14159         * inet/getnetgrent_r.c: Likewise.
14160         * intl/bindtextdom.c: Likewise.
14161         * intl/dcigettext.c: Likewise.
14162         * intl/finddomain.c: Likewise.
14163         * intl/gettextP.h: Likewise.
14164         * intl/loadmsgcat.c: Likewise.
14165         * intl/localealias.c: Likewise.
14166         * intl/textdomain.c: Likewise.
14167         * libidn/idn-stub.c: Likewise.
14168         * libio/libioP.h: Likewise.
14169         * locale/duplocale.c: Likewise.
14170         * locale/freelocale.c: Likewise.
14171         * locale/newlocale.c: Likewise.
14172         * locale/setlocale.c: Likewise.
14173         * login/getutent_r.c: Likewise.
14174         * login/getutid_r.c: Likewise.
14175         * login/getutline_r.c: Likewise.
14176         * login/utmp-private.h: Likewise.
14177         * login/utmpname.c: Likewise.
14178         * malloc/mtrace.c: Likewise.
14179         * misc/efgcvt.c: Likewise.
14180         * misc/error.c: Likewise.
14181         * misc/fstab.c: Likewise.
14182         * misc/getpass.c: Likewise.
14183         * misc/mntent.c: Likewise.
14184         * misc/syslog.c: Likewise.
14185         * nis/nis_call.c: Likewise.
14186         * nis/nis_callback.c: Likewise.
14187         * nis/nss-default.c: Likewise.
14188         * nis/nss_compat/compat-grp.c: Likewise.
14189         * nis/nss_compat/compat-initgroups.c: Likewise.
14190         * nis/nss_compat/compat-pwd.c: Likewise.
14191         * nis/nss_compat/compat-spwd.c: Likewise.
14192         * nis/nss_nis/nis-alias.c: Likewise.
14193         * nis/nss_nis/nis-ethers.c: Likewise.
14194         * nis/nss_nis/nis-grp.c: Likewise.
14195         * nis/nss_nis/nis-hosts.c: Likewise.
14196         * nis/nss_nis/nis-network.c: Likewise.
14197         * nis/nss_nis/nis-proto.c: Likewise.
14198         * nis/nss_nis/nis-pwd.c: Likewise.
14199         * nis/nss_nis/nis-rpc.c: Likewise.
14200         * nis/nss_nis/nis-service.c: Likewise.
14201         * nis/nss_nis/nis-spwd.c: Likewise.
14202         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14203         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14204         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14205         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14206         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14207         * nis/nss_nisplus/nisplus-network.c: Likewise.
14208         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14209         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14210         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14211         * nis/nss_nisplus/nisplus-service.c: Likewise.
14212         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14213         * nis/ypclnt.c: Likewise.
14214         * nptl/libc_pthread_init.c: Likewise.
14215         * nss/getXXbyYY.c: Likewise.
14216         * nss/getXXent.c: Likewise.
14217         * nss/getXXent_r.c: Likewise.
14218         * nss/nss_db/db-XXX.c: Likewise.
14219         * nss/nss_db/db-netgrp.c: Likewise.
14220         * nss/nss_db/nss_db.h: Likewise.
14221         * nss/nss_files/files-XXX.c: Likewise.
14222         * nss/nss_files/files-alias.c: Likewise.
14223         * nss/nsswitch.c: Likewise.
14224         * posix/regex_internal.h: Likewise.
14225         * posix/wordexp.c: Likewise.
14226         * pwd/fgetpwent.c: Likewise.
14227         * resolv/res_hconf.c: Likewise.
14228         * resolv/res_libc.c: Likewise.
14229         * shadow/fgetspent.c: Likewise.
14230         * shadow/lckpwdf.c: Likewise.
14231         * shadow/sgetspent.c: Likewise.
14232         * socket/opensock.c: Likewise.
14233         * stdio-common/reg-modifier.c: Likewise.
14234         * stdio-common/reg-printf.c: Likewise.
14235         * stdio-common/reg-type.c: Likewise.
14236         * stdio-common/vfprintf.c: Likewise.
14237         * stdio-common/vfscanf.c: Likewise.
14238         * stdlib/abort.c: Likewise.
14239         * stdlib/cxa_atexit.c: Likewise.
14240         * stdlib/fmtmsg.c: Likewise.
14241         * stdlib/random.c: Likewise.
14242         * stdlib/setenv.c: Likewise.
14243         * string/strsignal.c: Likewise.
14244         * sunrpc/auth_none.c: Likewise.
14245         * sunrpc/bindrsvprt.c: Likewise.
14246         * sunrpc/create_xid.c: Likewise.
14247         * sunrpc/key_call.c: Likewise.
14248         * sunrpc/rpc_thread.c: Likewise.
14249         * sysdeps/arm/backtrace.c: Likewise.
14250         * sysdeps/generic/ldsodefs.h: Likewise.
14251         * sysdeps/generic/stdio-lock.h: Likewise.
14252         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14253         * sysdeps/i386/backtrace.c: Likewise.
14254         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14255         * sysdeps/m68k/backtrace.c: Likewise.
14256         * sysdeps/mach/hurd/cthreads.c: Likewise.
14257         * sysdeps/mach/hurd/dirstream.h: Likewise.
14258         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14259         * sysdeps/nptl/malloc-machine.h: Likewise.
14260         * sysdeps/nptl/stdio-lock.h: Likewise.
14261         * sysdeps/posix/dirstream.h: Likewise.
14262         * sysdeps/posix/getaddrinfo.c: Likewise.
14263         * sysdeps/posix/system.c: Likewise.
14264         * sysdeps/pthread/aio_suspend.c: Likewise.
14265         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14266         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14267         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14268         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14269         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14270         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14271         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14272         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14273         * sysdeps/unix/sysv/linux/system.c: Likewise.
14274         * sysdeps/x86_64/backtrace.c: Likewise.
14275         * time/alt_digit.c: Likewise.
14276         * time/era.c: Likewise.
14277         * time/tzset.c: Likewise.
14278         * wcsmbs/wcsmbsload.c: Likewise.
14279         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14280         instead of <bits/libc-lock.h> in comment.
14282 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14284         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14285         Only use .set mips2 if the current ISA is below mips2.
14286         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14287         Likewise.
14288         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14289         mips32r2 if the current ISA is below mips32r2.
14290         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14291         (TLS_IE): Updated to use the TLD_RDHWR macro.
14292         (TLS_LE): Likewise.
14293         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14294         __ASSEMBLER__ condition.
14296 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14298         Fix parallel build of before-compile targets.
14300         * sysdeps/mach/Makefile ($(patsubst
14301         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14302         mach-before-compile target.
14303         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14304         io fs process)): Move rule to dedicated hurd-before-compile target.
14306 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14308         Fix rules generating headers in hurd/ and mach/ when initial make call
14309         has subdir= explicitly set.
14311         * sysdeps/mach/Makefile ($(patsubst
14312         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14313         calling $(MAKE).
14314         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14315         io fs process)): Force subdir to hurd when calling $(MAKE).
14316         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14317         subdir to mach when calling $(MAKE).
14319 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14321         Check sysheaders when looking for Mach and Hurd headers
14323         * sysdeps/mach/configure.ac: Add sysheaders check.
14324         * sysdeps/mach/configure: Regenerate.
14325         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14326         * sysdeps/mach/hurd/configure: Regenerate.
14328 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14330         [BZ #18921]
14331         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14332         Fix inverted sense of test of 'o_directory_works' value.
14333         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14334         Bernhard Voelker <mail@bernhard-voelker.de>.
14336 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14338         [BZ #14912]
14339         * bits/linkmap.h: Move to ...
14340         * sysdeps/generic/linkmap.h: ...here.
14341         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14342         * sysdeps/aarch64/linkmap.h: ...here.
14343         * sysdeps/arm/bits/linkmap.h: Move to ...
14344         * sysdeps/arm/linkmap.h: ...here.
14345         * sysdeps/hppa/bits/linkmap.h: Move to ...
14346         * sysdeps/hppa/linkmap.h: ...here.
14347         * sysdeps/ia64/bits/linkmap.h: Move to ...
14348         * sysdeps/ia64/linkmap.h: ...here.
14349         * sysdeps/mips/bits/linkmap.h: Move to ...
14350         * sysdeps/mips/linkmap.h: ...here.
14351         * sysdeps/s390/bits/linkmap.h: Move to ...
14352         * sysdeps/s390/linkmap.h: ...here.
14353         * sysdeps/sh/bits/linkmap.h: Move to ...
14354         * sysdeps/sh/linkmap.h: ...here.
14355         * sysdeps/x86/bits/linkmap.h: Move to ...
14356         * sysdeps/x86/linkmap.h: ...here.
14357         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14359 2015-09-04  Andreas Schwab  <schwab@suse.de>
14361         [BZ #18635]
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14363         (__makecontext): Terminate FDE before return label.
14364         (__novec_makecontext): Likewise.
14366 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14368         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14369         first member of struct sv in syscall macro.
14371 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14373         [BZ #14912]
14374         * bits/stdio-lock.h: Move to ...
14375         * sysdeps/generic/stdio-lock.h: ...here.
14376         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14377         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14378         * sysdeps/nptl/stdio-lock.h: ...here.
14379         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14380         * include/libio.h: Include <stdio-lock.h> instead of
14381         <bits/stdio-lock.h>.
14382         * sysdeps/nptl/fork.c: Likewise.
14383         * sysdeps/pthread/flockfile.c: Likewise.
14384         * sysdeps/pthread/ftrylockfile.c: Likewise.
14385         * sysdeps/pthread/funlockfile.c: Likewise.
14387         [BZ #14912]
14388         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14389         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14390         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14391         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14392         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14393         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14394         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14396 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14398         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14399         (test-xfail-tst-protected1b): New variable.
14401 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #14912]
14404         * bits/libc-tsd.h: Move to ...
14405         * sysdeps/generic/libc-tsd.h: ...here.
14406         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14407         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14408         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14409         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14410         * include/ctype.h: Include <libc-tsd.h> instead of
14411         <bits/libc-tsd.h>.
14412         * include/rpc/rpc.h: Likewise.
14413         * locale/localeinfo.h: Likewise.
14414         * sunrpc/rpc_thread.c: Likewise.
14415         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14416         * sysdeps/nptl/malloc-machine.h: Likewise.
14418         * Makefile (headers): Remove bits/libc-lock.h.
14419         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14421         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14422         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14423         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14424         <bits/stdio-lock.h>.
14425         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14426         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14428 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14430         [BZ #18757]
14431         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14432         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14433         BZ #18757.
14435 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14437         * malloc/mtrace.pl: Filter out NULL entries.
14439 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14441         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14442         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14443         macro.
14445         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14446         (TCP_CC_INFO): Likewise.
14447         (TCP_SAVE_SYN): Likewise.
14448         (TCP_SAVED_SYN): Likewise.
14450 2015-08-31  Brett Neumeier <brett@neumeier.us>
14452         [BZ #18870]
14453         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14455 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14457         [BZ #18873]
14458         Fix broken overflow check in posix_fallocate
14459         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14460         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14461         Fix parenthesization typo.
14463 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14465         [BZ #18887]
14466         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14467         tst-mntent-blank-passno.
14468         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14469         * misc/tst-mntent-blank-corrupt.c: New test.
14470         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14471         * misc/tst-mntent.c (do_test): ... here.
14473 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14475         [BZ #4404]
14476         * po/de.po: Fix SIGALRM typo.
14478 2015-08-28  James Perkins  <james@loowit.net>
14480         * time/tst-strptime2.c (tests): Replace short list of test
14481         strings for strptime %z specifier with code which exhaustively
14482         tests every combination of sign and 0 to 5 digits. Tests for
14483         rejection of invalid strings.
14485 2015-08-28  James Perkins  <james@loowit.net>
14487         [BZ #16141]
14488         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14489         calculation, removing incorrect decimal time rounding, so that
14490         all minute values result in a valid seconds value.
14491         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14492         offset range limits to UTC-99:59 through UTC+99:59 to parse
14493         current and historical use cases.
14494         * time/tst-strptime2.c (tests): Modify and add tests for the
14495         strptime %z input field descriptor, specifically conversion of
14496         minutes to seconds and validating an offset range of -9959 to
14497         +9959.
14499 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14500             Dmitry V. Levin  <ldv@altlinux.org>
14502         [BZ #18877]
14503         * posix/Makefile (tests): Add tst-mmap-offset.
14504         * posix/tst-mmap.c: New file.
14505         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14506         offset calculation for negative values.
14508 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14510         * sysdeps/i386/init-arch.h: New file.
14511         * sysdeps/i386/i586/init-arch.h: Likewise.
14512         * sysdeps/i386/i686/init-arch.h: Likewise.
14513         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14514         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14515         * sysdeps/x86/cpu-features.h (bit_I586): New.
14516         (bit_I686): Likewise.
14517         (bit_CX8): Likewise.
14518         (bit_CMOV): Likewise.
14519         (index_CX8): Likewise.
14520         (index_CMOV): Likewise.
14521         (index_I586): Likewise.
14522         (index_I686): Likewise.
14523         (reg_CX8): Likewise.
14524         (reg_CMOV): Likewise.
14525         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14526         available at compile-time.
14527         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14528         available at compile-time.
14529         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14530         (USE_I686): Likewise.
14532 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14534         * sysdeps/i386/bcopy.S: New file.
14535         * sysdeps/i386/bzero.S: Likewise.
14536         * sysdeps/i386/memcpy.S: Likewise.
14537         * sysdeps/i386/memmove.S: Likewise.
14538         * sysdeps/i386/mempcpy.S: Likewise.
14539         * sysdeps/i386/memset.S: Likewise.
14540         * sysdeps/i386/bzero.c: Removed.
14541         * sysdeps/i386/memset.c: Likewise.
14542         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14543         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14544         * sysdeps/i386/i586/memset_chk.S: Likewise.
14545         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14546         * sysdeps/i386/memcpy_chk.S: Here.
14547         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14548         * sysdeps/i386/memmove_chk.S: Here.
14549         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14550         * sysdeps/i386/mempcpy_chk.S: Likewise.
14551         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14552         * sysdeps/i386/memset_chk.S: Likewise.
14554 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14556         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14557         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14558         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14559         * soft-fp/fmadf4.c: Ditto.
14560         * soft-fp/fmatf4.c: Ditto.
14562 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14564         * sysdeps/i386/i586/Implies: Removed.
14565         * sysdeps/i386/i686/Implies: Likewise.
14567 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14569         * sysdeps/i386/i486/strlen.S: Moved to ...
14570         * sysdeps/i386/strlen.S: Here.
14572 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14574         * sysdeps/i386/i486/strcat.S: Moved to ...
14575         * sysdeps/i386/strcat.S: Here.
14577 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14579         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14580         * sysdeps/i386/pthread_spin_trylock.S: Here.
14581         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14582         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14584 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14586         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14587         * sysdeps/i386/string-inlines.c: Here.
14589 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14591         * sysdeps/i386/i486/htonl.S: Moved ...
14592         * sysdeps/i386/htonl.S: here.
14594 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14596         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14597         * sysdeps/i386/bits/atomic.h: Here.
14599 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14601         * sysdeps/i386/i486/Versions: Removed.
14603 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14605         [BZ #2898]
14606         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14607         Based on patch by Aurelien Jarno.
14609 2015-08-26  Stan Shebs  <stanshebs@google.com>
14611         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14612         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14614 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14616         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14617         * sysdeps/powerpc/dl-procinfo.c:
14618         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14619         feature so it shows when LD_SHOW_AUXV=1.
14621 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14623         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14624         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14625         definition.  ISA 2.07B no longer requires full sync.
14627 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14629         [BZ #18863]
14630         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14631         (si_call_addr): Define.
14632         (si_syscall): Define.
14633         (si_arch): Define.
14635 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14637         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14638         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14639         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14640         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14641         (__memset_zero_constant_len_parameter): New.
14642         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14643         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14644         (__memset_zero_constant_len_parameter): Don't define if
14645         __memset_chk or USE_AS_BZERO are defined.
14647         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14648         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14649         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14651         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14652         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14653         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14654         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14655         comments.
14656         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14657         -mno-mmx for $(all-rtld-routines).
14658         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14659         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14660         i386.
14662 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14664         * sysdeps/generic/unwind.h
14665         (_Unwind_Word): Use __mode__(__unwind_word__)
14666         instead of __mode__(__word__).
14667         (_Unwind_Sword): Likewise.
14669         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14670         (MAX_NEEDED_INPUT): New define.
14671         (MAX_NEEDED_OUTPUT): New define.
14673         * NEWS: New item for IBM z13 string optimizations.
14675         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14676         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14677         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14678         * sysdeps/s390/multiarch/Makefile
14679         (sysdep_routines): Add memrchr functions.
14680         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14681         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14683         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14684         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14685         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14686         * sysdeps/s390/multiarch/Makefile
14687         (sysdep_routines): Add wmemcmp functions.
14688         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14689         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14690         * benchtests/bench-wmemcmp.c: New File.
14691         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14693         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14694         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14695         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14696         * sysdeps/s390/multiarch/Makefile
14697         (sysdep_routines): Add wmemset functions.
14698         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14699         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14700         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14701         * string/test-memset.c: Add wmemset support.
14702         * wcsmbs/test-wmemset.c: New File.
14703         * wcsmbs/Makefile (strop-tests): Add wmemset.
14704         * benchtests/bench-memset.c: Add wmemset support.
14705         * benchtests/bench-wmemset.c: New File.
14706         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14708         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14709         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14710         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14711         * sysdeps/s390/multiarch/Makefile
14712         (sysdep_routines): Add memccpy functions.
14713         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14714         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14715         * string/memccpy.c: Use MEMCCPY if defined.
14717         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14718         * sysdeps/s390/multiarch/memchr.c: Likewise.
14719         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14720         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14721         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14722         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14723         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14724         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14725         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14726         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14728         and rawmemchr functions.
14729         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14730         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14731         and wmemchr.
14732         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14733         * string/test-memchr.c: Add wmemchr support.
14734         * wcsmbs/test-wmemchr.c: New File.
14735         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14736         * benchtests/bench-memchr.c: Add wmemchr support.
14737         * benchtests/bench-wmemchr.c: New File.
14738         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14740         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14741         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14742         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14743         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14744         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14745         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14746         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14747         wcscspn functions.
14748         * sysdeps/s390/multiarch/ifunc-impl-list.c
14749         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14750         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14751         * string/test-strcspn.c: Add wcscspn support.
14752         * wcsmbs/test-wcscspn.c: New File.
14753         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14754         * benchtests/bench-strcspn.c: Add wcscspn support.
14755         * benchtests/bench-wcscspn.c: New File.
14756         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14758         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14759         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14760         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14761         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14762         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14763         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14764         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14765         wcspbrk functions.
14766         * sysdeps/s390/multiarch/ifunc-impl-list.c
14767         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14768         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14769         * string/test-strpbrk.c: Add wcspbrk support.
14770         * wcsmbs/test-wcspbrk.c: New File.
14771         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14772         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14773         * benchtests/bench-wcspbrk.c: New File.
14774         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14776         * sysdeps/s390/multiarch/strspn-c.c: New File.
14777         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14778         * sysdeps/s390/multiarch/strspn.c: Likewise.
14779         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14780         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14781         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14782         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14784         wcsspn functions.
14785         * sysdeps/s390/multiarch/ifunc-impl-list.c
14786         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14787         * string/test-strspn.c: Add wcsspn support.
14788         * wcsmbs/test-wcsspn.c: New File.
14789         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14790         * benchtests/bench-strspn.c: Add wcsspn support.
14791         * benchtests/bench-wcsspn.c: New File.
14792         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14794         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14795         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14796         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14797         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14798         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14799         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14801         wcsrchr functions.
14802         * sysdeps/s390/multiarch/ifunc-impl-list.c
14803         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14804         * benchtests/bench-wcsrchr.c: New File.
14805         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14807         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14808         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14809         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14810         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14811         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14812         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14813         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14814         wcschrnul functions.
14815         * sysdeps/s390/multiarch/ifunc-impl-list.c
14816         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14817         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14818         * string/test-strchr.c: Add wcschrnul support.
14819         * wcsmbs/test-wcschrnul.c: New File.
14820         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14821         * benchtests/bench-strchr.c: Add wcschrnul support.
14822         * benchtests/bench-wcschrnul.c: New File.
14823         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14825         * sysdeps/s390/multiarch/strchr-c.c: New File.
14826         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14827         * sysdeps/s390/multiarch/strchr.c: Likewise.
14828         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14829         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14830         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14831         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14832         wcschr functions.
14833         * sysdeps/s390/multiarch/ifunc-impl-list.c
14834         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14835         * string/strchr.c (STRCHR): Define and use macro.
14836         * benchtests/bench-wcschr.c: New File.
14837         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14839         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14840         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14841         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14842         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14843         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14844         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14845         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14846         wcsncmp functions.
14847         * sysdeps/s390/multiarch/ifunc-impl-list.c
14848         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14849         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14850         * benchtests/bench-strncmp.c: Add wcsncmp support.
14851         * benchtests/bench-wcsncmp.c: New File.
14852         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14854         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14855         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14856         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14857         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14858         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14859         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14860         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14861         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14862         wcscmp functions.
14863         * sysdeps/s390/multiarch/ifunc-impl-list.c
14864         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14865         * string/strcmp.c (STRCMP): Define and use macro.
14866         * benchtests/bench-wcscmp.c: New File.
14867         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14868         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14869         instead of _HAVE_STRING_ARCH_memchr.
14871         * sysdeps/s390/multiarch/strncat-c.c: New File.
14872         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14873         * sysdeps/s390/multiarch/strncat.c: Likewise.
14874         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14875         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14876         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14877         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14878         wcsncat functions.
14879         * sysdeps/s390/multiarch/ifunc-impl-list.c
14880         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14881         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14882         * string/test-strncat.c: Add wcsncat support.
14883         * wcsmbs/test-wcsncat.c: New File.
14884         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14885         * benchtests/bench-strncat.c: Add wcsncat support.
14886         * benchtests/bench-wcsncat.c: New File.
14887         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14889         * sysdeps/s390/multiarch/strcat-c.c: New File.
14890         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14891         * sysdeps/s390/multiarch/strcat.c: Likewise.
14892         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14893         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14894         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14895         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14896         wcscat functions.
14897         * sysdeps/s390/multiarch/ifunc-impl-list.c
14898         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14899         * string/strcat.c (STRCAT): Define and use macro.
14900         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14901         * string/test-strcat.c: Add wcscat support.
14902         * wcsmbs/test-wcscat.c: New File.
14903         * wcsmbs/Makefile (strop-tests): Add wcscat.
14904         * benchtests/bench-strcat.c: Add wcscat support.
14905         * benchtests/bench-wcscat.c: New File.
14906         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14908         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14909         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14910         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14911         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14912         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14913         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14915         wcpncpy functions.
14916         * sysdeps/s390/multiarch/ifunc-impl-list.c
14917         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14918         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14919         * string/test-stpncpy.c: Add wcpncpy support.
14920         * wcsmbs/test-wcpncpy.c: New File.
14921         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14922         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14923         * benchtests/bench-wcpncpy.c: New File.
14924         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14926         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14927         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14928         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14929         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14930         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14931         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14932         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14934         wcsncpy functions.
14935         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14936         * sysdeps/s390/multiarch/ifunc-impl-list.c
14937         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14938         * string/test-strncpy.c: Add wcsncpy support.
14939         * wcsmbs/test-wcsncpy.c: New File.
14940         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14941         * benchtests/bench-strncpy.c: Add wcsncpy support.
14942         * benchtests/bench-wcsncpy.c: New File.
14943         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14945         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14946         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14947         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14948         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14949         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14950         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14951         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14952         wcpcpy functions.
14953         * string/stpcpy.c: Use STPCPY if defined.
14954         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14955         * sysdeps/s390/multiarch/ifunc-impl-list.c
14956         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14957         * string/test-stpcpy.c: Add wcpcpy support.
14958         * wcsmbs/test-wcpcpy.c: New File.
14959         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14960         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14961         * benchtests/bench-wcpcpy.c: New File.
14962         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14964         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14965         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14966         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14967         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14968         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14969         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14970         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14971         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14972         wcscpy functions.
14973         * sysdeps/s390/multiarch/ifunc-impl-list.c
14974         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14975         * benchtests/bench-wcscpy.c: New File.
14976         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14978         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14979         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14980         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14981         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14982         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14983         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14985         wcsnlen functions.
14986         * sysdeps/s390/multiarch/ifunc-impl-list.c
14987         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14988         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14989         * string/test-strnlen.c: Add wcsnlen support.
14990         * wcsmbs/test-wcsnlen.c: New File.
14991         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14992         * benchtests/bench-strnlen.c: Add wcsnlen support.
14993         * benchtests/bench-wcsnlen.c: New File.
14994         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14996         * sysdeps/s390/multiarch/Makefile: New File.
14997         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14998         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14999         * sysdeps/s390/multiarch/strlen.c: Likewise.
15000         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15001         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15002         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15003         * string/strlen.c (STRLEN): Define and use macro.
15004         * sysdeps/s390/multiarch/ifunc-impl-list.c
15005         (IFUNC_VX_IMPL): New macro function.
15006         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15007         * benchtests/Makefile (wcsmbs-bench): New variable.
15008         (string-bench-all): Added wcsmbs-bench.
15009         * benchtests/bench-wcslen.c: New File.
15011         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15012         s390_vx_libc_ifunc2): New macro function.
15014         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15015         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15016         assembler support.
15017         * sysdeps/s390/configure: Regenerated.
15019         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15020         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15022         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15023         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15024         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15026         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15027         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15028         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15029         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15030         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15031         (memcmp, bcmp): Use __memcmp_default as alias source.
15032         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15033         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15034         Rename to __memcmp_default.
15035         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15036         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15037         (memcpy): Use __memcpy_default as alias source.
15038         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15039         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15040         Rename to __memcpy_default.
15041         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15042         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15043         (memset): Use __memset_default as alias source.
15044         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15045         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15046         Rename to __memset_default.
15047         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15048         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15049         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15050         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15051         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15052         (memcmp, bcmp): Use __memcmp_default as alias source.
15053         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15054         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15055         Rename to __memcmp_default.
15056         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15057         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15058         (memcpy): Use __memcpy_default as alias source.
15059         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15060         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15061         Rename to __memcpy_default.
15062         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15063         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15064         (memset): Use __memset_default as alias source.
15065         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15066         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15067         Rename to __memset_default.
15068         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15069         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15071         [BZ #18610]
15072         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15073         __ieee_instruction_pointer to __unused.
15074         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15075         __ieee_instruction_pointer.
15076         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15077         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15078         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15079         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15080         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15081         Mark dxc-field as reserved.
15083 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15085         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15086         if the weak reference is not null.
15088 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15090         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15092         [BZ #11214]
15093         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15095 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15097         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15098         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15099         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15100         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15101         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15102         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15103         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15104         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15105         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15106         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15107         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15108         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15109         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15110         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15111         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15112         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15113         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15114         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15116 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15118         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15119         register other than r0 for tabort, it has special meaning.
15120         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15121         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15122         transaction before starting syscall.
15124 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15126         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15128 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15130         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15132         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15133         * sysdeps/x86_64/rtld-memset.S: Likewise.
15134         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15135         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15136         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15137         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15139         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15141 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15143         * debug/strcpy_chk.c: Improve performance.
15144         * debug/stpcpy_chk.c: Likewise.
15145         * sysdeps/x86_64/strcpy_chk.S: Remove.
15146         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15148         [BZ #18240]
15149         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15151 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15153         [BZ #15128]
15154         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15155         ifuncmain8.
15156         (modules-names): Add ifuncmod8.
15157         ($(objpfx)ifuncmain8): New rule.
15158         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15159         <cpuid.h>.
15160         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15161         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15162         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15163         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15164         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15165         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15166         * sysdeps/x86_64/ifuncmain8.c: New file.
15167         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15168         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15169         Removed.
15170         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15171         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15172         Change rtld_savespace_sse to __glibc_unused2.
15173         (RTLD_CHECK_FOREIGN_CALL): Removed.
15174         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15175         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15176         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15178 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15180         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15182 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15184         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15185         Unconditionally set __fpcr to avoid uninialized warning.
15186         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15188 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15190         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15191         is corrupt.
15193         * malloc/arena.c (arena_get2): Drop unused argument.
15194         (arena_lock): Adjust.
15195         (arena_get_retry): Likewise.
15197 2015-08-24  Andreas Schwab  <schwab@suse.de>
15199         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15200         Don't define.
15201         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15202         (__ASSUME_IPC64): Don't undef.
15203         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15204         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15205         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15206         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15207         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15208         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15209         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15210         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15211         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15212         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15213         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15214         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15215         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15216         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15217         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15218         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15219         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15220         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15221         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15222         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15223         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15225 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15227         * manual/Makefile (install): Only build manual when perl is available.
15229 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15231         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15232         '#undef memcpy' by '#undef memchr'.
15234 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15236         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15237         memchr not point to the internal __GI_memchr implementation.
15239 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15241         * timezone/Makefile (CFLAGS-zdump.c): Remove
15242         -Wno-strict-prototypes.
15243         (CFLAGS-zic.c): Likewise.
15244         (CFLAGS-ialloc.c): Likewise.
15245         (CFLAGS-scheck.c): Likewise.
15247         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15248         -Wno-error=undef.
15250 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15252         * i386/i686/multiarch/strcasestr-c.c: Removed.
15253         * x86_64/multiarch/strcasestr.c: Likewise.
15254         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15255         Remove strcasestr.
15257 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15259         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15261         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15262         variables for high and low parts before possibly modifying them.
15264 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15266         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15267         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15268         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15269         of "multiarch/init-arch.h".
15270         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15271         * sysdeps/x86/init-arch.h: This.
15273 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15275         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15276         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15278 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15280         [BZ #17787]
15281         * manual/macros.texi: Add twoexp macro.
15282         * manual/filesys.texi: Fix exponents.
15283         * manual/llio.texi: Likewise.
15284         * manual/stdio.texi: Likewise.
15286 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15288         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15289         incorrect use.
15291 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15293         [BZ #18370]
15294         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15295         whose real or imaginary part has small absolute value.
15296         * math/s_csqrtf.c (__csqrtf): Likewise.
15297         * math/s_csqrtl.c (__csqrtl): Likewise.
15298         * math/auto-libm-test-in: Add more tests of csqrt.
15299         * math/auto-libm-test-out: Regenerated.
15300         * sysdeps/i386/fpu/libm-test-ulps: Update.
15302 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15304         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15305         __ppc_set_ppr_very_low): New functions.
15306         * manual/platform.texi: Add documentation about
15307         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15309 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15311         * string/stpncpy.c (stpncpy): Improve performance using
15312         __strnlen/memcpy/memset.
15314 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15316         [BZ #18796]
15317         * scripts/test-installation.pl: Don't add -lmvec to build options if
15318         libmvec wasn't built.
15320 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15322         [BZ #14341]
15323         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15324         case when there is a gap between DT_REL and DT_JMPREL sections.
15325         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15326         (LDFLAGS-tst-split-dynreloc): New.
15327         (tst-split-dynreloc-ENV): Likewise.
15328         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15329         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15331 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15333         [BZ #18822]
15334         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15335         attribute_hidden.
15336         (__xstat64_conv): Likewise.
15337         (__xstat32_conv): Likewise.
15339 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15341         [BZ #18822]
15342         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15343         Don't load %ebx when calling __setcontext.  Call __setcontext
15344         with HIDDEN_JUMPTARGET.
15345         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15346         libc_hidden_def.
15348 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15350         * sysdeps/i386/i686/Makefile
15351         [$(subdir) == string] (sysdep_routines): Moved to ...
15352         * sysdeps/i386/Makefile: Here.
15353         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15354         * sysdeps/i386/cacheinfo.c: Here.
15355         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15356         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15357         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15358         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15360 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15362         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15363         __i586__ is defined.
15364         (HAS_I686): Defined to 1 if __i686__ is defined.
15366 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15368         * elf/Makefile [$(have-z-execstack) = yes]
15369         (CPPFLAGS-tst-execstack.c): New variable.
15371         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15372         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15373         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15374         UTMPX || _HAVE_UT_TV].
15375         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15376         UTMPX || _HAVE_UT_TV - 0].
15378 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15380         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15381         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15382         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15384 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15386         * sysdeps/powerpc/dl-procinfo.c:
15387         (_dl_powerpc_cap_flags): Added missing strings for some
15388         hwcap features.
15389         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15391 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15393         Port the 0x7efe...feff pattern to GCC 6.
15394         See Steve Ellcey's bug report in:
15395         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15396         * string/memrchr.c (MEMRCHR):
15397         * string/rawmemchr.c (RAWMEMCHR):
15398         * string/strchr.c (strchr):
15399         * string/strchrnul.c (STRCHRNUL):
15400         Rewrite code to avoid issues with signed shift overflow.
15402 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15404         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15405         whether cpuid is available only if HAS_CPUID is 0.
15406         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15407         (HAS_I586): Likewise.
15408         (HAS_I686): Likewise.
15410 2015-08-18  Zack Weinberg  <zackw@panix.com>
15412         * misc/Versions (libc): Add GLIBC_2.23.
15414 2015-08-18  Alan Modra  <amodra@gmail.com>
15416         [BZ #18421]
15417         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15418         .Lp__global.
15419         (_start): Load %dp via .Lp__global.
15420         [!SHARED]: Use .section .rodata.
15422 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15424         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15425         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15427 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15429         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15430         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15432 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15434         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15435         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15437 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15439         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15440         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15442 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15444         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15445         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15447 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15449         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15450         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15452 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15454         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15456 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15458         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15459         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15460         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15461         (__ASSUME_LWS_CAS): Delete.
15463 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15465         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15466         * sysdeps/hppa/configure: Regenerated.
15467         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15468         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15469         * sysdeps/hppa/nptl/tls.h: Likewise.
15471 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #18823]
15474         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15475         for scaling up small arguments.
15476         * math/s_csqrtf.c (__csqrtf): Likewise.
15477         * math/s_csqrtl.c (__csqrtl): Likewise.
15478         * math/auto-libm-test-in: Add more tests of csqrt.
15479         * math/auto-libm-test-out: Regenerated.
15481 2015-08-17  Andreas Schwab  <schwab@suse.de>
15483         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15484         version set GLIBC_2.19.
15486 2015-08-16  Zack Weinberg  <zackw@panix.com>
15488         [BZ #18681]
15489         * misc/regexp.h: This interface is no longer supported.
15490         Remove all contents, leaving only an #error directive.
15491         * misc/regexp.c (loc1, loc2, locs, step, advance):
15492         Demote to compatibility symbols.
15494 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15496         [BZ #18084]
15497         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15498         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15499         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15500         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15501         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15502         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15503         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15504         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15505         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15507 2015-08-15  Zack Weinberg  <zackw@panix.com>
15509         [BZ #18795]
15510         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15511         buffer length is known to be too large, not if it's known to be
15512         small enough.
15513         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15514         overflow at runtime, involving a length parameter, twice: once
15515         with a compile-time constant length parameter, once without.
15517 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15519         [BZ #18824]
15520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15521         scaling x * y up instead of down.
15522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15524         * math/auto-libm-test-in: Add more tests of fma.
15525         * math/auto-libm-test-out: Regenerated.
15527 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15531 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15533         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15534         unnecessary movq.
15535         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15536         Likewise.
15538 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15540         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15541         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15542         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15543         and tgamma.
15544         * math/auto-libm-test-out: Regenerated.
15545         * sysdeps/i386/fpu/libm-test-ulps: Update.
15546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15548         [BZ #16520]
15549         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15550         (__tanh): Force underflow exception for arguments with small
15551         absolute value.
15552         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15553         (__tanhf): Force underflow exception for arguments with small
15554         absolute value.
15555         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15556         (__tanhl): Force underflow exception for arguments with small
15557         absolute value.
15558         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15559         (__tanhl): Force underflow exception for arguments with small
15560         absolute value.
15561         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15562         (__tanhl): Force underflow exception for arguments with small
15563         absolute value.
15564         * math/auto-libm-test-in: Add more tests of tanh.
15565         * math/auto-libm-test-out: Regenerated.
15566         * sysdeps/i386/fpu/libm-test-ulps: Update.
15568 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15570         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15571         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15573 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15575         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15576         <cpuid.h>.
15578 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15580         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15581         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15583 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15585         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15586         Remove $(objpfx)init-arch.o.
15587         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15588         init-arch.
15589         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15590         (INIT_ARCH_EXT): Defined as empty.
15591         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15593         __init_cpu_features call.  Replace HAS_XXX with
15594         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15599         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15600         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15601         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15602         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15606         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15607         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15608         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15612         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15613         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15614         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15618         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15626         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15627         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15628         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15629         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15631 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15633         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15634         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15635         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15636         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15637         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15638         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15639         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15640         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15641         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15642         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15643         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15644         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15645         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15647         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15648         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15649         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15650         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15651         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15652         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15653         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15654         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15655         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15656         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15657         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15658         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15660         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15661         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15662         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15663         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15664         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15665         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15666         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15667         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15668         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15669         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15670         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15671         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15672         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15673         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15674         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15675         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15677 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15679         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15680         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15681         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15683         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15684         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15686         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15687         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15688         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15690         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15691         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15692         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15693         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15694         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15695         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15696         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15697         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15698         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15700         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15701         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15702         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15703         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15704         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15705         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15706         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15707         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15708         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15709         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15710         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15711         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15712         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15714         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15715         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15716         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15717         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15718         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15719         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15720         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15721         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15723 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15725         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15726         (dl_platform_init): Call init_cpu_features.
15727         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15728         * sysdeps/i386/i686/cacheinfo.c
15729         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15730         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15731         * sysdeps/i386/i686/multiarch/Versions: Removed.
15732         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15733         Removed.
15734         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15735         * sysdeps/unix/sysv/linux/x86/Makefile
15736         (libpthread-sysdep_routines): Remove init-arch.
15737         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15738         <sysdeps/x86_64/dl-procinfo.c> instead of
15739         sysdeps/generic/dl-procinfo.c>.
15740         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15741         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15742         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15743         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15744         [$(subdir) == elf] (tests-static): Add
15745         tst-get-cpu-features-static.
15746         * sysdeps/x86/Versions: New file.
15747         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15748         * sysdeps/x86/cpu-features.c: Likewise.
15749         * sysdeps/x86/cpu-features.h: Likewise.
15750         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15751         * sysdeps/x86/libc-start.c: Likewise.
15752         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15753         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15754         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15755         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15756         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15757         Assume USE_MULTIARCH is defined and don't check it.
15758         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15759         (is_amd): Likewise.
15760         (max_cpuid): Likewise.
15761         (intel_check_word): Likewise.
15762         (__cache_sysconf): Don't call __init_cpu_features.
15763         (__x86_preferred_memory_instruction): Removed.
15764         (init_cacheinfo): Don't call __init_cpu_features. Replace
15765         __cpu_features with GLRO(dl_x86_cpu_features).
15766         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15767         (dl_platform_init): Call init_cpu_features.
15768         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15769         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15770         * sysdeps/x86_64/multiarch/Versions: Removed.
15771         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15772         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15773         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15774         Removed.
15775         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15777 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15779         [BZ #18820]
15780         * libio/Makefile (test-fmemopen-mem): New test.
15781         * libio/test-fmemopen.c (do_bz18820): New test.
15782         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15783         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15785 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15787         [BZ #16734]
15788         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15789         (FREE_BUF): Delete.
15790         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15791         * libio/genops.c (_IO_setb): Use malloc and free directly.
15792         (_IO_default_doallocate, _IO_default_finish): Likewise.
15793         ( _IO_unbuffer_all): Likewise.
15794         ( libc_freeres_fn): Likewise.
15795         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15796         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15797         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15798         (_IO_wdefault_doallocate): Likewise.
15800 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15802         [BZ #18086]
15803         * sysdeps/posix/nice.c (nice): Restore old errno.
15804         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15806 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15808         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15810 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15812         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15813         __bcopy and add a weak_alias to bcopy.
15814         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15815         for static build.
15817         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15818         cleanup macro usage.
15819         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15820         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15821         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15822         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15823         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15824         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15825         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15826         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15827         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15828         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15830         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15832         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15835         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15836         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15837         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15839         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15840         libc_hidden_def.
15841         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15843         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15844         (sysdep_routines): Add strstr-ppc64.
15845         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15847 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15849         [BZ #18778]
15850         * elf/Makefile (tests): Add Add tst-nodelete2.
15851         (modules-names): Add tst-nodelete2mod.
15852         (tst-nodelete2mod.so-no-z-defs): New.
15853         ($(objpfx)tst-nodelete2): Likewise.
15854         ($(objpfx)tst-nodelete2.out): Likewise.
15855         (LDFLAGS-tst-nodelete2): Likewise.
15856         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15857         out of loop through all loaded libraries.
15858         * elf/tst-nodelete2.c: New file.
15859         * elf/tst-nodelete2mod.c: Likewise.
15860         * elf/tst-znodelete-zlib.cc: Delete.
15862 2015-08-11  Andreas Schwab  <schwab@suse.de>
15864         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15865         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15866         (__openat64_nocancel): Likewise.
15868 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15870         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15871         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15872         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15873         * math/auto-libm-test-out: Regenerated.
15874         * sysdeps/i386/fpu/libm-test-ulps: Update.
15875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15879         [BZ #18790]
15880         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15881         threshold for returning +/- 1.
15882         * math/auto-libm-test-in: Add more tests of tanh.
15883         * math/auto-libm-test-out: Regenerated.
15884         * sysdeps/i386/fpu/libm-test-ulps: Update.
15886 2015-08-10  Andreas Schwab  <schwab@suse.de>
15888         [BZ #18781]
15889         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15890         MORE_OFLAGS to oflag.
15891         * io/test-lfs.c (do_test): Test openat64.
15893 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15895         [BZ #18789]
15896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15897         smaller threshold for returning the argument.
15898         * math/auto-libm-test-in: Add more tests of sinh.
15899         * math/auto-libm-test-out: Regenerated.
15900         * sysdeps/i386/fpu/libm-test-ulps: Update.
15902 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15904         [BZ #18674]
15905         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15906         break.
15908 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15910         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15911         (generated): Don't add $(addprefix z.,$(tzfiles)).
15913 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15915         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15916         * scripts/sysd-rules.awk: Likewise.
15918 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15920         * iconvdata/tst-tables.sh: Change echo -n to printf.
15921         * nss/db-Makefile: Likewise.
15922         * posix/tst-getconf.sh: Likewise.
15923         * stdio-common/tst-unbputc.sh: Likewise.
15925 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15927         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15928         MADV_*_PAGES defines behind this feature check.
15930 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15932         [BZ #18480]
15933         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15934         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15935         Define.
15936         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15937         LOAD_REGS_5, LOAD_REGS_6): Update.
15938         (INTERNAL_SYSCALL): Update using new LOAD defines.
15939         (INTERNAL_SYSCALL_NCS): Likewise.
15940         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15942 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15944         [BZ #16734]
15945         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15947 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15949         [BZ #17905]
15950         * catgets/Makefile (tst-catgets-mem): New test.
15951         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15952         * catgets/open_catalog.c (__open_catalog): Likewise.
15953         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15955 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15957         [BZ #18787]
15958         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15959         clobber registers.
15960         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15961         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15962         Cast return to __typeof (oldval).
15964 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15966         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15967         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15968         and delete sys/syscall.h include.
15970 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15972         [BZ #16517]
15973         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15974         (tan): Force underflow exception for arguments with small absolute
15975         value.
15976         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15977         (__kernel_tanf): Force underflow exception for arguments with
15978         small absolute value.
15979         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15980         (__kernel_tanl): Force underflow exception for arguments with
15981         small absolute value.
15982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15983         (__kernel_tanl): Force underflow exception for arguments with
15984         small absolute value.
15985         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15986         (__kernel_tanl): Force underflow exception for arguments with
15987         small absolute value.
15988         * math/auto-libm-test-in: Add more tests of tan.
15989         * math/auto-libm-test-out: Regenerated.
15991 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15993         Fix sysdeps/i386/fpu/s_scalbn.S build
15995         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15997 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15999         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16001 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16003         Fix gcrt0.o compilation
16005         When static-start-installed-name is different from
16006         start-installed-name, we must not use the shared objects.
16008         * csu/Makefile
16009         (extra-objs): Add gmon-start.o when building shared library and
16010         $(static-start-installed-name) is different from
16011         $(start-installed-name).
16012         $(objpfx)g$(static-start-installed-name): When building shared
16013         library and $(static-start-installed-name) is different from
16014         $(static-start-installed-name), revert to non-shared rule,
16015         i.e. using $(objpfx)% and gmon-start.o.
16017 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16019         [BZ #16519]
16020         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16021         (__ieee754_sinh): Force underflow exception for arguments with
16022         small absolute value.
16023         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16024         (__ieee754_sinhf): Force underflow exception for arguments with
16025         small absolute value.
16026         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16027         (__ieee754_sinhl): Force underflow exception for arguments with
16028         small absolute value.
16029         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16030         (__ieee754_sinhl): Force underflow exception for arguments with
16031         small absolute value.
16032         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16033         (__ieee754_sinhl): Force underflow exception for arguments with
16034         small absolute value.
16035         * math/auto-libm-test-in: Add more tests of sinh.
16036         * math/auto-libm-test-out: Regenerated.
16037         * sysdeps/i386/fpu/libm-test-ulps: Update.
16039 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16041         * libio/oldfileops.c: Include unistd.h.
16043 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16045         * stdlib/isomac.c: Include ctype.h.
16047 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16049         * dirent/tst-seekdir.c (main): Converted to ...
16050         (do_test): ... this.
16051         (TEST_FUNCTION): New macro.
16052         Include test-skeleton.c.
16053         * elf/tst-dlmodcount.c (main): Converted to ...
16054         (do_test): ... this.
16055         (TEST_FUNCTION): New macro.
16056         Include test-skeleton.c.
16057         * elf/tst-order-main.c (main): Converted to ...
16058         (do_test): ... this.
16059         (TEST_FUNCTION): New macro.
16060         Include test-skeleton.c.
16061         * elf/tst-pie2.c (main): Converted to ...
16062         (do_test): ... this.
16063         (TEST_FUNCTION): New macro.
16064         Include test-skeleton.c.
16065         * inet/tst-ether_aton.c (main): Converted to ...
16066         (do_test): ... this.
16067         (TEST_FUNCTION): New macro.
16068         Include test-skeleton.c.
16069         * misc/tst-mntent.c (main): Converted to ...
16070         (do_test): ... this.
16071         (TEST_FUNCTION): New macro.
16072         Include test-skeleton.c.
16073         * misc/tst-tsearch.c (main): Converted to ...
16074         (do_test): ... this.
16075         (TEST_FUNCTION): New macro.
16076         Include test-skeleton.c.
16077         * posix/tst-regexloc.c (main): Converted to ...
16078         (do_test): ... this.
16079         (TEST_FUNCTION): New macro.
16080         Include test-skeleton.c.
16081         * resolv/tst-aton.c (main): Converted to ...
16082         (do_test): ... this.
16083         (TEST_FUNCTION): New macro.
16084         Include test-skeleton.c.
16085         * stdio-common/test-fwrite.c (main): Converted to ...
16086         (do_test): ... this.
16087         (TEST_FUNCTION): New macro.
16088         Include test-skeleton.c.
16089         * stdio-common/tst-ferror.c (main): Converted to ...
16090         (do_test): ... this.
16091         (TEST_FUNCTION): New macro.
16092         Include test-skeleton.c.
16093         * stdio-common/tst-printf.c (main): Converted to ...
16094         (do_test): ... this.
16095         (TEST_FUNCTION): New macro.
16096         Include test-skeleton.c.
16097         * stdio-common/tst-printfsz.c (main): Converted to ...
16098         (do_test): ... this.
16099         (TEST_FUNCTION): New macro.
16100         Include test-skeleton.c.
16101         * stdlib/tst-strtod.c (main): Converted to ...
16102         (do_test): ... this.
16103         (TEST_FUNCTION): New macro.
16104         Include test-skeleton.c.
16105         * string/tst-strlen.c (main): Converted to ...
16106         (do_test): ... this.
16107         (TEST_FUNCTION): New macro.
16108         Include test-skeleton.c.
16109         * string/tst-svc.c (main): Converted to ...
16110         (do_test): ... this.
16111         (TEST_FUNCTION): New macro.
16112         Include test-skeleton.c.
16113         * time/tst-strptime.c (main): Converted to ...
16114         (do_test): ... this.
16115         (TEST_FUNCTION): New macro.
16116         Include test-skeleton.c.
16117         * timezone/tst-timezone.c (main): Converted to ...
16118         (do_test): ... this.
16119         (TEST_FUNCTION): New macro.
16120         Include test-skeleton.c.
16122 2015-08-05  Zack Weinberg  <zackw@panix.com>
16124         * misc/regexp.h: Update comments.
16126 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16128         [BZ #18635]
16129         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16130         before return label.
16132 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16134         [BZ #18661]
16135         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16136         when calling __errno_location.
16137         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16138         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16140 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16142         [BZ #18661]
16143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16144         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16145         __gettimeofday.
16147 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16149         [BZ #18661]
16150         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16151         (__start_context): Don't use pop to restore %rdi so that stack
16152         is aligned to 16 bytes when calling __setcontext.
16154 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16156         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16157         only for libc.
16158         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16160 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16162         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16163         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16164         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16166 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16168         * string/memccpy.c (memccpy):
16169         Improve performance by using memchr/memcpy/__mempcpy.
16171 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16173         * string/strncpy.c (strncpy):
16174         Improve performance by using __strnlen/memcpy.
16176 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16178         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16179         Optimize to avoid an unnecessary FPCR read.
16181 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16184         Optimize to reduce FPCR/FPSR accesses.
16186 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16188         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16189         dead->data[category] != NULL.
16191 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16193         [BZ #18647]
16194         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16195         and |x| close to 1, use absolute value of x when computing log.
16196         * math/auto-libm-test-in: Add more tests of pow.
16197         * math/auto-libm-test-out: Regenerated.
16199 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16201         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16202         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16203         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16205 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16207         [BZ #18525]
16208         * locales/km_KH: Remove timezone definition.
16209         * locales/lo_LA: Likewise.
16210         * locales/my_MM: Likewise.
16211         * locales/nan_TW@latin: Likewise.
16212         * locales/th_TH: Likewise.
16213         * locales/uk_UA: Likewise.
16215 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16217         [BZ #18265]
16218         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16219         (wcsncat): Likewise.
16220         (wcscmp): Likewise.
16221         (wcsncmp): Likewise.
16223 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16225         * test-skeleton.c (usage): New function.
16226         (main): Call usage when opt is '?'.
16228 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16230         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16231         before first use.
16233 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16235         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16236         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16237         in there too.
16239 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16241         * version.h (RELEASE): Set to "development".
16242         (VERSION): Set to "2.22.90"
16244         * version.h (RELEASE): Set to "stable".
16245         (VERSION): Set to "2.22"
16246         * include/features.h (__GLIBC_MINOR__): Set to 22.
16248 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16250         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16251         Restructure macro to avoid "value computed is not used" warning.
16252         (atomic_compare_and_exchange_val_acq): Likewise.
16254 2015-08-04  Andreas Schwab  <schwab@suse.de>
16256         [BZ #18635]
16257         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16258         ret.
16259         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16261 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16263         * po/pl.po: Updated translation.
16264         * po/uk.po: Likewise.
16265         * po/fi.po: Likewise.
16266         * po/ko.po: Likewise.
16267         * po/ru.po: Likewise.
16268         * po/vi.po: Likewise.
16270 2015-07-31  Zack Weinberg  <zackw@panix.com>
16272         [BZ #18681]
16273         * regexp.h: Add unconditional #warning stating that this header
16274         will be removed soon.  Revise banner comment to match.
16275         (compile): Consistently use ERROR instead of RETURN to report
16276         errors (partial fix for bz#18681).
16277         * regexp.c: Don't include regexp.h. Remove some unnecessary
16278         declarations.
16280 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16282         * po/libc.pot: Regenerated.
16284 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16286         [BZ #18740]
16287         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16288         float-vlen4-arch-ext-cflags): Removed.
16289         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16290         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16292 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16294         [BZ #14113]
16295         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16296         aligned to __aligned__.
16297         (pthread_cond_t, pthread_rwlock_t): Likewise.
16299 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16301         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16303 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16305         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16306         (struct sigaction): Change sa_flags from a long to an int, and add
16307         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16309 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16311         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16312         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16313         sysdeps/generic/sysdep.h include.
16314         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16315         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16316         sysdeps/hppa/sysdep.h.
16317         (ENTRY, PSEUDO): Undefine before defining.
16319 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16321         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16322         from scratch to use INTERNAL_SYSCALL.
16324 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16326         [BZ #18078]
16327         * scripts/check-localplt.awk: Support alternate relocations.
16328         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16329         sections.
16330         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16331         malloc entries with + REL R_386_GLOB_DAT.
16332         * sysdeps/x86_64/localplt.data: New file.
16334 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16336         [BZ #18731]
16337         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16338         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16339         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16341 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16343         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16345 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16347         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16348         directly in terms of __sync_fetch_and_add and delete (int) cast.
16350 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16352         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16353         the -D_ASM_IA64_CURRENT_H flag.
16355 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16357         [BZ #18641]
16358         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16360 2015-07-27  Andreas Schwab  <schwab@suse.de>
16362         * conform/conformtest.pl (checknamespace): Filter out string
16363         literals while tokenizing.
16365 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16367         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16368         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16369         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16371 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16373         * nptl/tst-join7mod.c: Add #include <string.h>.
16375 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16377         * sysdeps/nios2/libm-test-ulps: Update.
16379 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16381         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16382         Fix order of arguments to the rt_sigprocmask syscall.
16383         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16384         Likewise.
16386 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16388         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16390 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16392         [BZ #18457]
16393         * nptl/Makefile (tests): New test case tst-join7.
16394         (modules-names): New test case module tst-join7mod.
16395         * nptl/tst-join7.c: New file.
16396         * nptl/tst-join7mod.c: New file.
16397         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16398         all translation units in libc.so, libpthread.so and rtld.
16400 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16404 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16408         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16416         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16418         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16419         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16421         implementation.
16423 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16425         [BZ #17711]
16426         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16427         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16428         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16429         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16430         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16431         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16433 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16435         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16436         instead of just saying load lock in the comments.
16438 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16440         * sysdeps/unix/Subdirs: Moved ...
16441         * sysdeps/posix/Subdirs: ... here.
16442         * login/pty.h (struct termios, struct winsize): Add forward decls.
16443         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16444         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16445         * sysdeps/arm/nacl/libc.abilist: Updated.
16446         * sysdeps/nacl/libutil.abilist: New file.
16448         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16449         (SIGWINCH): New macro.
16451         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16452         * sysdeps/arm/nacl/libc.abilist: Add it.
16454 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16456         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16458 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16460         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16461         Swap __glibc_reserved0 and sa_flags order.
16463 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16465         [BZ #18657]
16466         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16467         are pending TLS destructor calls.
16468         * include/link.h (struct link_map): Add concurrency note for
16469         L_TLS_DTOR_COUNT.
16470         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16471         Don't touch the link map flag.  Atomically increment
16472         l_tls_dtor_count.
16473         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16474         Avoid taking the load lock and don't touch the link map flag.
16475         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16476         * stdlib/Makefile (tests): Use it.
16477         * stdlib/tst-tls-atexit.c (do_test): dlopen
16478         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16479         to allow tst-tls-atexit-nodelete test case to use it.
16481 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16483         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16484         to bits/types.h.
16485         (msgqnum_t): New typedef.
16486         (msglen_t): Likewise.
16487         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16488         and msg_qbytes type to msglen_t.
16490 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16492         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16493         pad0 to __glibc_reserved0.
16494         (struct stat64): Likewise.
16496 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16498         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16499         Change sa_flags from a long to an int and add __glibc_reserved0 before
16500         it for padding.
16502 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16504         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16505         anonymous by deleting "siginfo" name.
16507 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16509         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16510         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16511         rather than __nacl_irt_filename.
16512         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16514         * NEWS: New item for arm-nacl port.
16515         * sysdeps/arm/nacl/libc.abilist: New file.
16516         * sysdeps/nacl/ld.abilist: New file.
16517         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16518         * sysdeps/nacl/libanl.abilist: New file.
16519         * sysdeps/nacl/libcrypt.abilist: New file.
16520         * sysdeps/nacl/libdl.abilist: New file.
16521         * sysdeps/nacl/libm.abilist: New file.
16522         * sysdeps/nacl/libpthread.abilist: New file.
16523         * sysdeps/nacl/libresolv.abilist: New file.
16524         * sysdeps/nacl/librt.abilist: New file.
16526 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16528         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16529         __startcontext to initialize the new context.
16530         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16531         up CFI directive to forbid further backtracing.
16533 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16535         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16536         reference.
16537         * charmaps/ANSI_X3.4-1968: Likewise.
16538         * charmaps/BS_4730: Likewise.
16539         * charmaps/BS_VIEWDATA: Likewise.
16540         * charmaps/CP1250: Likewise.
16541         * charmaps/CP1251: Likewise.
16542         * charmaps/CP1252: Likewise.
16543         * charmaps/CP1253: Likewise.
16544         * charmaps/CP1254: Likewise.
16545         * charmaps/CP1255: Likewise.
16546         * charmaps/CP1256: Likewise.
16547         * charmaps/CSN_369103: Likewise.
16548         * charmaps/EBCDIC-DK-NO: Likewise.
16549         * charmaps/GB_1988-80: Likewise.
16550         * charmaps/GREEK-CCITT: Likewise.
16551         * charmaps/GREEK7: Likewise.
16552         * charmaps/INIS-8: Likewise.
16553         * charmaps/ISIRI-3342: Likewise.
16554         * charmaps/ISO_2033-1983: Likewise.
16555         * charmaps/ISO_5427-EXT: Likewise.
16556         * locales/POSIX: Likewise.
16557         * locales/ar_SA: Likewise.
16558         * locales/be_BY: Likewise.
16559         * locales/be_BY@latin: Likewise.
16560         * locales/ca_ES: Likewise.
16561         * locales/cs_CZ: Likewise.
16562         * locales/da_DK: Likewise.
16563         * locales/de_BE: Likewise.
16564         * locales/de_CH: Likewise.
16565         * locales/de_LU: Likewise.
16566         * locales/en_AU: Likewise.
16567         * locales/en_BW: Likewise.
16568         * locales/en_CA: Likewise.
16569         * locales/en_DK: Likewise.
16570         * locales/en_GB: Likewise.
16571         * locales/en_IE: Likewise.
16572         * locales/en_NZ: Likewise.
16573         * locales/en_ZA: Likewise.
16574         * locales/en_ZW: Likewise.
16575         * locales/es_AR: Likewise.
16576         * locales/es_BO: Likewise.
16577         * locales/es_CL: Likewise.
16578         * locales/es_CO: Likewise.
16579         * locales/es_DO: Likewise.
16580         * locales/es_EC: Likewise.
16581         * locales/es_ES: Likewise.
16582         * locales/es_HN: Likewise.
16583         * locales/es_MX: Likewise.
16584         * locales/es_PA: Likewise.
16585         * locales/es_PE: Likewise.
16586         * locales/es_PY: Likewise.
16587         * locales/es_SV: Likewise.
16588         * locales/es_US: Likewise.
16589         * locales/es_UY: Likewise.
16590         * locales/es_VE: Likewise.
16591         * locales/et_EE: Likewise.
16592         * locales/fa_IR: Likewise.
16593         * locales/fo_FO: Likewise.
16594         * locales/fr_CA: Likewise.
16595         * locales/fr_CH: Likewise.
16596         * locales/gv_GB: Likewise.
16597         * locales/he_IL: Likewise.
16598         * locales/hr_HR: Likewise.
16599         * locales/id_ID: Likewise.
16600         * locales/is_IS: Likewise.
16601         * locales/it_CH: Likewise.
16602         * locales/iw_IL: Likewise.
16603         * locales/kl_GL: Likewise.
16604         * locales/ko_KR: Likewise.
16605         * locales/kw_GB: Likewise.
16606         * locales/lg_UG: Likewise.
16607         * locales/lt_LT: Likewise.
16608         * locales/lv_LV: Likewise.
16609         * locales/mi_NZ: Likewise.
16610         * locales/nhn_MX: Likewise.
16611         * locales/nl_BE: Likewise.
16612         * locales/pl_PL: Likewise.
16613         * locales/sk_SK: Likewise.
16614         * locales/sl_SI: Likewise.
16615         * locales/sv_FI: Likewise.
16616         * locales/tl_PH: Likewise.
16617         * locales/tr_TR: Likewise.
16618         * locales/vi_VN: Likewise.
16620 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16622         [BZ #17475]
16623         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16624         of tu_IN and bh_IN.
16626 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16628         [BZ #18694]
16629         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16630         bits/wordsize.h.
16631         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16633 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16635         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16636         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16637         (spawn_thread): New function.
16638         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16639         (do_test): ... here.  Use IS_LOADED to test for its
16640         availability.
16642 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16644         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16646 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16648         [BZ #18696]
16649         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16650         si_addr_bnd.
16651         (si_lower): New.
16652         (si_upper): Likewise.
16654 2015-07-16  David S. Miller  <davem@davemloft.net>
16656         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16658 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16660         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16661         buffer.
16662         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16663         fail output information.
16665 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16668         and strstr-ppc64..
16669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16670         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16671         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16672         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16673         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16675 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16677         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16678         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16679         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16680         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16682 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16684         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16685         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16686         rtld_hidden_proto.
16687         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16689 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16691         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16692         the test can fail.
16694         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16696         [BZ #18676]
16697         * elf/tst-nodelete-opened.c: New test case.
16698         * elf/tst-nodelete-opened-lib.c: New test case module.
16699         * elf/Makefile (tests, modules-names): Use them.
16700         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16701         early.
16703 2015-07-15  David S. Miller  <davem@davemloft.net>
16705         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16706         futex-intenal.h
16707         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16708         * sysdeps/sparc/sparc64/Makefile: Likewise.
16709         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16710         Remove space from macro define.
16711         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16713 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16715         [BZ #17475]
16716         * locale/iso-639.def: Update Bhili and Tulu language codes as
16717         per iso639-3.
16719 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16721         * elf/tst-leaks1.c (main): Converted to ...
16722         (do_test): ... this.
16723         (TEST_FUNCTION): New macro.
16724         Include test-skeleton.c.
16725         * localedata/tst-langinfo.c (main): Converted to ...
16726         (do_test): ... this.
16727         (TEST_FUNCTION): New macro.
16728         Include test-skeleton.c.
16729         * math/test-fpucw.c (main): Converted to ...
16730         (do_test): ... this.
16731         (TEST_FUNCTION): New macro.
16732         Include test-skeleton.c.
16733         * math/test-tgmath.c (main): Converted to ...
16734         (do_test): ... this.
16735         (TEST_FUNCTION): New macro.
16736         Include test-skeleton.c.
16737         * math/test-tgmath2.c (main): Converted to ...
16738         (do_test): ... this.
16739         (TEST_FUNCTION): New macro.
16740         Include test-skeleton.c.
16741         * setjmp/tst-setjmp.c (main): Converted to ...
16742         (do_test): ... this.
16743         (TEST_FUNCTION): New macro.
16744         Include test-skeleton.c.
16745         * stdio-common/tst-sscanf.c (main): Converted to ...
16746         (do_test): ... this.
16747         (TEST_FUNCTION): New macro.
16748         Include test-skeleton.c.
16749         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16750         (do_test): ... this.
16751         (TEST_FUNCTION): New macro.
16752         Include test-skeleton.c.
16754         * elf/tst-audit9.c (main): Converted to ...
16755         (do_test): ... this.
16756         (TEST_FUNCTION): New macro.
16757         Include test-skeleton.c.
16759 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16761         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16763 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16765         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16766         New variable.
16768 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16770         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16772 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16774         * sysdeps/generic/dl-fileid.h: New file.
16775         * sysdeps/posix/dl-fileid.h: New file.
16776         * sysdeps/nacl/dl-fileid.h: New file.
16777         * include/link.h: Include <dl-fileid.h>.
16778         (struct link_map): Replace l_dev and l_ino with l_file_id.
16779         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16780         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16781         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16783 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16787 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16789         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16790         Add iff $CXX is set.
16791         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16792         Likewise.
16793         (tst-nodelete-zmodiff): Likewise.
16794         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16796 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16798         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16800 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16802         * sysdeps/aarch64/fpu/math_private.h
16803         (define math_opt_barrier): Add AArch64 version.
16804         (math_force_eval): Likewise.
16806 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16808         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16810 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16812         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16813         %ld with %jd and cast to intmax_t.
16814         (do_test_length_zero): Likewise.
16816 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16818         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16820 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16822         * sysdeps/tile/libm-test-ulps: Regenerated.
16824         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16825         Comment out the whole function, not just its body.
16827 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16829         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16830         locks.
16832         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16834 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16836         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16837         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16839 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16841         * sysdeps/nptl/futex-internal.h: New file.
16842         * sysdeps/nacl/futex-internal.h: New file.
16843         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16844         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16845         error checking.
16846         (setxid_unmark_thread): Likewise.
16847         (__nptl_setxid): Likewise.
16848         (__wait_lookup_done): Likewise.
16849         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16850         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16851         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16852         * nptl/pthread_once.c (clear_once_control): Likewise.
16853         (__pthread_once_slow): Likewise.
16854         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16855         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16856         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16857         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16858         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16859         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16860         Likewise.
16861         (__pthread_rwlock_rdlock): Likewise.
16862         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16863         Likewise.
16864         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16865         Likewise.
16866         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16867         Likewise.
16868         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16869         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16870         Likewise.
16871         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16872         __ASSUME_PRIVATE_FUTEX check.
16873         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16874         Check that shared futexes are supported.
16875         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16876         wrappers with error checking.
16877         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16878         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16879         * nptl/pthread_barrierattr_setpshared.c
16880         (pthread_barrierattr_setpshared): Check that shared futexes are
16881         supported.
16882         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16883         Likewise.
16884         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16885         Likewise.
16886         * nptl/sem_init.c (futex_private_if_supported): Remove.
16887         (__new_sem_init): Adapt and check that shared futexes are supported.
16888         * nptl/sem_open.c (sem_open): Likewise.
16889         * nptl/sem_post.c (futex_wake): Remove.
16890         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16891         (do_futex_wait): Use futex wrappers with error checking.
16892         * nptl/sem_wait.c: Include lowlevellock.h.
16893         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16894         Use futex_supports_pshared.
16895         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16896         Use futex wrappers with error checking.
16897         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16898         Likewise.
16899         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16900         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16901         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16902         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16903         (futex_wake): Likewise.
16904         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16905         (do_futex_wait): Use futex wrappers with error checking.
16906         (__new_sem_wait_slow): Update EINTR handling.
16907         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16909 2015-07-09  Martin Sebor  <msebor@redhat.com>
16911         [BZ #18435]
16912         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16913         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16914         * nptl/Makefile (test-xfail-tst-once5): Define.
16916 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16918         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16919         * elf/dl-minimal.c: For readability, reorder some definitions and
16920         introduce more page breaks.  Include <stdio.h>.
16921         (__libc_fatal): New function.
16923         * include/unistd.h: Add rtld_hidden_proto for _exit.
16924         * posix/_exit.c: Add rtld_hidden_def.
16925         * sysdeps/mach/hurd/_exit.c: Likewise.
16926         * sysdeps/nacl/_exit.c: Likewise.
16927         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16928         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16930 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16933         bndmov encoding with zero displacement.
16935 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16936             H.J. Lu  <hongjiu.lu@intel.com>
16938         [BZ #18134]
16939         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16940         * sysdeps/i386/configure: Regenerated.
16941         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16942         (_dl_runtime_profile): Save and restore Intel MPX return bound
16943         registers when calling _dl_call_pltexit.  Add
16944         PRESERVE_BND_REGS_PREFIX before return.
16945         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16946         (LRV_BND1_OFFSET): Likewise.
16947         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16948         lrv_bnd1.
16949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16950         typo in bndmov encoding.
16951         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16952         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16953         branch instructions to preserve bounds.
16955 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16958         [GLIBC_2.22]: Add fmemopen.
16960 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16962         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16963         returns an error, also try to use host port from __mach_host_self for
16964         the __vm_wire call.
16965         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16967 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16969         [BZ #18400]
16970         [BZ #18648]
16971         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16972         Fix pr_uid and pr_gid members.
16973         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16974         definition to elf_greg_t.
16976 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16978         [BZ #18383]
16979         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16980         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16981         * sysdeps/arm/configure: Regenerated.
16982         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16983         (test-xfail-tst-tlsalign-static): Variable removed.
16985         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16986         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16987         rather than explicit 'ln -s'.
16989         * resolv/rpc/netdb.h: New file.
16990         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16992 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16994         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16995         length buffers.
16996         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16997         test-skeleton.c.
16999         [BZ #6544]
17000         [BZ #11216]
17001         [BZ #12836]
17002         [BZ #13151]
17003         [BZ #13152]
17004         [BZ #14292]
17005         * include/stdio.h (fmemopen): Remove hidden prototype.
17006         (__fmemopen): Add new hidden prototype.
17007         * libio/Makefile: Add oldfmemopen object.
17008         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17009         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17010         compliance.
17011         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17012         symbol compatibility.
17013         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17014         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17015         fmemopen.
17016         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17017         on append and read mode.
17018         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17019         fmemopen.
17020         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17021         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17022         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17023         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17024         Likewise.
17025         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17026         [GLIBC_2.22]: Likewise.
17027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17028         Likewise.
17029         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17030         Likewise.
17031         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17032         [GLIBC_2.22]: Likewise.
17033         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17034         [GLIBC_2.22]: Likewise.
17035         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17036         [GLIBC_2.22]: Likewise.
17037         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17038         [GLIBC_2.22]: Likewise.
17039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17040         [GLIBC_2.22]: Likewise.
17041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17042         [GLIBC_2.22]: Likewise.
17043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17044         [GLIBC_2.22]: Likewise.
17045         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17046         Likewise.
17047         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17048         Likewise.
17049         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17050         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17051         [GLIBC_2.22]: Likewise.
17052         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17053         [GLIBC_2.22]: Likewise.
17054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17055         [GLIBC_2.22]: Likewise.
17056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17057         [GLIBC_2.22]: Likewise.
17058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17059         Likewise.
17060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17061         Likewise.
17062         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17063         Likewise.
17064         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17065         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17067 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17069         [BZ #18643]
17070         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17071         IPV6_PATHMTU, and IPV6_DONTFRAG.
17073 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17075         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17076         and _IO_UNBUFFERED.
17077         * libio/oldfileops.c: Likewise.
17078         * libio/wfileops.c: Likewise.
17080 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17082         * nscd/selinux.c: Delete selinux/flask.h include.
17084 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17086         [BZ #18641]
17087         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17088         (putpwent): Likewise.
17089         (getpwnam): Likewise.
17090         (getpwent_r): Likewise.
17091         (getpwuid_r): Likewise.
17092         (getpwnam_r): Likewise.
17093         (fgetpwent_r): Likewise.
17095 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17097         [BZ #18557]
17098         * inet/rcmd.c (__validuser2_sa): Check user first to
17099         short-circuit host check.
17101 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17102             Mikhail Ilin  <m.ilin@samsung.com>
17104         [BZ #17833]
17105         * elf/Makefile (tests): Add tst-nodelete.
17106         (modules-names): Add tst-nodelete-uniquemod.
17107         (tst-nodelete-uniquemod.so-no-z-defs): New.
17108         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17109         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17110         ($(objpfx)tst-nodelete): Likewise.
17111         ($(objpfx)tst-nodelete.out): Likewise.
17112         (LDFLAGS-tst-nodelete): Likewise.
17113         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17114         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17115         implement forced object deletion.
17116         (_dl_close): Pass false to _dl_close_worker.
17117         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17118         * elf/tst-nodelete.cc: New file.
17119         * elf/tst-nodeletelib.cc: Likewise.
17120         * elf/tst-znodeletelib.cc: Likewise.
17121         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17123 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17125         [BZ #18508]
17126         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17127         Depend on $(libdl).
17128         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17129         is not called infinitely times.
17130         (backtrace_helper): New function.
17131         (trace_arg): New struct.
17132         (st1): Enlarge stack size.
17133         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17134         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17135         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17136         Likewise.
17138 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17140         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17142 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17144         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17145         Include sys/types.h instead of bits/types.h.
17146         Remove inclusion of bits/wordsize.h.
17148 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17150         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17151         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17152         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17153         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17154         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17155         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17157 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17159         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17160         link-defines.sym.
17161         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17162         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17163         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17164         and LR_SIZE.
17165         * sysdeps/i386/link-defines.sym: New file.
17167 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17169         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17170         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17171         ($(objpfx)tst-audit3): New rule.
17172         ($(objpfx)tst-audit3.out): Likewise.
17173         * sysdeps/i386/tst-audit3.c: New file.
17174         * sysdeps/i386/tst-audit3.h: Likewise.
17175         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17176         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17178 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17180         [BZ #18633]
17181         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17182         pointer in C code.
17183         (__strcat_c): Likewise.
17184         (__strcat_g): Likewise.
17186 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17188         [BZ #18592]
17189         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17191 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17193         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17194         New function.  (__ieee754_sqrtf): New function.
17195         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17196         New function.
17197         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17198         New function.
17200 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17202         * sysdeps/ieee754/support.c: Remove unused file.
17204 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17206         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17207         registers instead of d ones so the layout is kernel abi compatible.
17208         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17209         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17210         Likewise.
17212 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17214         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17216 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17218         [BZ #18619]
17219         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17220         and return argument in case of subnormal argument.
17222 2015-07-01  Martin Sebor  <msebor@redhat.com>
17224         [BZ #18435]
17225         * nptl/Makefile: Add tst-once5.cc.
17226         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17227         Remove macro redefinitions.
17228         * nptl/tst-once5.cc: New test.
17230 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17234         * sysdeps/arm/libm-test-ulps: Regenerated.
17236         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17237         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17239 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17241         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17242         lll_lock_wait_private and lll_futex_wake probes.
17244         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17245         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17246         Likewise.
17247         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17248         atomic_spin_nop.
17249         * sysdeps/x86_64/bits/atomic.h: Likewise.
17250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17251         to atomic_spin_nop and move ...
17252         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17253         ... here and ...
17254         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17255         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17256         atomic_spin_nop instead of BUSY_WAIT_NOP.
17257         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17258         Likewise.
17259         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17260         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17261         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17262         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17263         instead of atomic_delay.
17265 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17267         [BZ #18613]
17268         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17269         X_ADJ not X when adjusting exponent.
17270         (__ieee754_gamma_r): Do intermediate computations in
17271         round-to-nearest then adjust overflowing and underflowing results
17272         as needed.
17273         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17274         of X_ADJ not X when adjusting exponent.
17275         (__ieee754_gammaf_r): Do intermediate computations in
17276         round-to-nearest then adjust overflowing and underflowing results
17277         as needed.
17278         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17279         log of X_ADJ not X when adjusting exponent.
17280         (__ieee754_gammal_r): Do intermediate computations in
17281         round-to-nearest then adjust overflowing and underflowing results
17282         as needed.  Use 1.0L not 1.0f as numerator of division.
17283         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17284         log of X_ADJ not X when adjusting exponent.
17285         (__ieee754_gammal_r): Do intermediate computations in
17286         round-to-nearest then adjust overflowing and underflowing results
17287         as needed.  Use 1.0L not 1.0f as numerator of division.
17288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17289         of X_ADJ not X when adjusting exponent.
17290         (__ieee754_gammal_r): Do intermediate computations in
17291         round-to-nearest then adjust overflowing and underflowing results
17292         as needed.  Use 1.0L not 1.0f as numerator of division.
17293         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17294         to auto-libm-test-in.
17295         (tgamma_test): Use ALL_RM_TEST.
17296         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17297         tests of tgamma with spurious-overflow.
17298         * math/auto-libm-test-out: Regenerated.
17299         * math/gen-libm-have-vector-test.sh: Do not check for START.
17300         * sysdeps/i386/fpu/libm-test-ulps: Update.
17301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17303         [BZ #18612]
17304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17305         arguments, just return 0.5 times the argument, with underflow
17306         forced as needed.
17307         * math/auto-libm-test-in: Add more tests of j1.
17308         * math/auto-libm-test-out: Regenerated.
17310         [BZ #16559]
17311         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17312         (__ieee754_j1): Force underflow exception for small results.
17313         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17314         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17315         (__ieee754_j1f): Force underflow exception for small results.
17316         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17317         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17318         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17319         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17320         (__ieee754_j1l): Force underflow exception for small results.
17321         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17322         * math/auto-libm-test-in: Add more tests of j1 and jn.
17323         * math/auto-libm-test-out: Regenerated.
17325         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17326         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17327         (PF_MPLS): Likewise.
17328         (AF_IB): Likewise.
17329         (AF_MPLS): Likewise.
17330         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17331         value and macro.
17332         (MS_RMT_MASK): Include MS_LAZYTIME.
17334 2015-06-26  Mel Gorman  <mgorman@suse.de>
17336         [BZ #18502]
17337         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17338         already minimal.
17340 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17342         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17343         (DT_MIPS_NUM): Update.
17344         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17345         DT_MIPS_RLD_MAP_REL.
17347 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17349         [BZ #16559]
17350         [BZ #18602]
17351         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17352         round-to-nearest internally then recompute results that
17353         underflowed to zero in the original rounding mode.
17354         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17355         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17358         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17359         * sysdeps/i386/fpu/libm-test-ulps: Update.
17360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17362 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17364         * NEWS: Fixed description of link with vector math library.
17366 2015-06-25  Andreas Schwab  <schwab@suse.de>
17368         [BZ #18549]
17369         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17370         * libio/test-fmemopen.c (do_test): Add test for it.
17372 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17374         [BZ #17841]
17375         * Makeconfig (no-pie-ldflag): New.
17376         (+link): Set to $(+link-pie) if default to PIE.
17377         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17378         * config.make.in (build-pie-default): New.
17379         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17380         is default.  AC_SUBST.
17381         * configure: Regenerated.
17382         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17384 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17386         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17387         to 'unsigned int'.
17389         * resolv/gai_misc.h (struct waitlist): Change type of field
17390         counterp to 'volatile unsigned int *'.
17391         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17392         FUTEXADDR and OLDVAL.
17393         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17394         Give local variable TOTAL type 'volatile unsigned int'.
17395         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17396         * resolv/gai_suspend.c (gai_suspend):
17397         Give local variable CNTR type 'unsigned int'.
17399         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17400         counterp to 'volatile unsigned int *'.
17401         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17402         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17403         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17404         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17405         Give local variable TOTAL type 'volatile unsigned int'.
17406         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17408 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17410         [BZ #18383]
17411         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17412         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17413         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17414         comment for i386/x86-64.
17415         (test-xfail-tst-tlsalign-extern-static): Removed.
17417 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17419         * math/test-double.h: New file.
17420         * math/test-float.h: Likewise.
17421         * math/test-ldouble.h: Likewise.
17422         * math/test-math-inline.h: Likewise.
17423         * math/test-math-no-inline.h: Likewise.
17424         * math/test-math-scalar.h: Likewise.
17425         * math/test-math-vector.h: Likewise.
17426         * math/test-vec-loop.h: Remove file.  Contents moved into
17427         test-math-vector.h.
17428         * math/libm-test.inc (MATHCONST): Do not document macro.
17429         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17430         and test-math-scalar.h.
17431         (FUNC): Remove macro.
17432         (FUNC_TEST): Likewise.
17433         (FLOAT): Likewise.
17434         (MATHCONST): Likewise.
17435         (PRINTF_EXPR): Likewise.
17436         (PRINTF_XEXPR): Likewise.
17437         (PRINTF_NEXPR): Likewise.
17438         (TEST_DOUBLE): Likewise.
17439         (TEST_MATHVEC): Likewise.
17440         (__NO_MATH_INLINES): Likewise.
17441         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17442         and test-math-scalar.h.
17443         (FUNC): Remove macro.
17444         (FUNC_TEST): Likewise.
17445         (FLOAT): Likewise.
17446         (MATHCONST): Likewise.
17447         (PRINTF_EXPR): Likewise.
17448         (PRINTF_XEXPR): Likewise.
17449         (PRINTF_NEXPR): Likewise.
17450         (TEST_FLOAT): Likewise.
17451         (TEST_MATHVEC): Likewise.
17452         (__NO_MATH_INLINES): Likewise.
17453         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17454         and test-math-scalar.h.
17455         (FUNC): Remove macro.
17456         (FUNC_TEST): Likewise.
17457         (FLOAT): Likewise.
17458         (MATHCONST): Likewise.
17459         (PRINTF_EXPR): Likewise.
17460         (PRINTF_XEXPR): Likewise.
17461         (PRINTF_NEXPR): Likewise.
17462         (TEST_DOUBLE): Likewise.
17463         (TEST_MATHVEC): Likewise.
17464         (TEST_INLINE): Likewise.
17465         (__NO_MATH_INLINES): Likewise.
17466         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17467         test-math-scalar.h.
17468         (FUNC): Remove macro.
17469         (FUNC_TEST): Likewise.
17470         (FLOAT): Likewise.
17471         (MATHCONST): Likewise.
17472         (PRINTF_EXPR): Likewise.
17473         (PRINTF_XEXPR): Likewise.
17474         (PRINTF_NEXPR): Likewise.
17475         (TEST_FLOAT): Likewise.
17476         (TEST_MATHVEC): Likewise.
17477         (TEST_INLINE): Likewise.
17478         (__NO_MATH_INLINES): Likewise.
17479         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17480         and test-math-scalar.h.
17481         (FUNC): Remove macro.
17482         (FUNC_TEST): Likewise.
17483         (FLOAT): Likewise.
17484         (MATHCONST): Likewise.
17485         (PRINTF_EXPR): Likewise.
17486         (PRINTF_XEXPR): Likewise.
17487         (PRINTF_NEXPR): Likewise.
17488         (TEST_LDOUBLE): Likewise.
17489         (TEST_MATHVEC): Likewise.
17490         (TEST_INLINE): Likewise.
17491         (__NO_MATH_INLINES): Likewise.
17492         * math/test-ldouble.c: Include test-ldouble.h,
17493         test-math-no-inline.h and test-math-scalar.h.
17494         (FUNC): Remove macro.
17495         (FUNC_TEST): Likewise.
17496         (FLOAT): Likewise.
17497         (MATHCONST): Likewise.
17498         (PRINTF_EXPR): Likewise.
17499         (PRINTF_XEXPR): Likewise.
17500         (PRINTF_NEXPR): Likewise.
17501         (TEST_LDOUBLE): Likewise.
17502         (TEST_MATHVEC): Likewise.
17503         (__NO_MATH_INLINES): Likewise.
17504         * math/test-double-vlen2.h: Include test-double.h,
17505         test-math-no-inline.h and test-math-vector.h.
17506         (FLOAT): Remove macro.
17507         (FUNC): Likewise.
17508         (MATHCONST): Likewise.
17509         (PRINTF_EXPR): Likewise.
17510         (PRINTF_XEXPR): Likewise.
17511         (PRINTF_NEXPR): Likewise.
17512         (TEST_DOUBLE): Likewise.
17513         (TEST_MATHVEC): Likewise.
17514         (__NO_MATH_INLINES): Likewise.
17515         (CNCT): Likewise.
17516         (CONCAT): Likewise.
17517         (WRAPPER_NAME): Likewise.
17518         (WRAPPER_DECL): Likewise.
17519         (WRAPPER_DECL_ff): Likewise.
17520         (WRAPPER_DECL_fFF): Likewise.
17521         (VECTOR_WRAPPER): Likewise.
17522         (VECTOR_WRAPPER_ff): Likewise.
17523         (VECTOR_WRAPPER_fFF): Likewise.
17524         (VEC_LEN): New macro.
17525         * math/test-double-vlen4.h: Include test-double.h,
17526         test-math-no-inline.h and test-math-vector.h.
17527         (FLOAT): Remove macro.
17528         (FUNC): Likewise.
17529         (MATHCONST): Likewise.
17530         (PRINTF_EXPR): Likewise.
17531         (PRINTF_XEXPR): Likewise.
17532         (PRINTF_NEXPR): Likewise.
17533         (TEST_DOUBLE): Likewise.
17534         (TEST_MATHVEC): Likewise.
17535         (__NO_MATH_INLINES): Likewise.
17536         (CNCT): Likewise.
17537         (CONCAT): Likewise.
17538         (WRAPPER_NAME): Likewise.
17539         (WRAPPER_DECL): Likewise.
17540         (WRAPPER_DECL_ff): Likewise.
17541         (WRAPPER_DECL_fFF): Likewise.
17542         (VECTOR_WRAPPER): Likewise.
17543         (VECTOR_WRAPPER_ff): Likewise.
17544         (VECTOR_WRAPPER_fFF): Likewise.
17545         (VEC_LEN): New macro.
17546         * math/test-double-vlen8.h: Include test-double.h,
17547         test-math-no-inline.h and test-math-vector.h.
17548         (FLOAT): Remove macro.
17549         (FUNC): Likewise.
17550         (MATHCONST): Likewise.
17551         (PRINTF_EXPR): Likewise.
17552         (PRINTF_XEXPR): Likewise.
17553         (PRINTF_NEXPR): Likewise.
17554         (TEST_DOUBLE): Likewise.
17555         (TEST_MATHVEC): Likewise.
17556         (__NO_MATH_INLINES): Likewise.
17557         (CNCT): Likewise.
17558         (CONCAT): Likewise.
17559         (WRAPPER_NAME): Likewise.
17560         (WRAPPER_DECL): Likewise.
17561         (WRAPPER_DECL_ff): Likewise.
17562         (WRAPPER_DECL_fFF): Likewise.
17563         (VECTOR_WRAPPER): Likewise.
17564         (VECTOR_WRAPPER_ff): Likewise.
17565         (VECTOR_WRAPPER_fFF): Likewise.
17566         (VEC_LEN): New macro.
17567         * math/test-float-vlen4.h: Include test-float.h,
17568         test-math-no-inline.h and test-math-vector.h.
17569         (FLOAT): Remove macro.
17570         (FUNC): Likewise.
17571         (MATHCONST): Likewise.
17572         (PRINTF_EXPR): Likewise.
17573         (PRINTF_XEXPR): Likewise.
17574         (PRINTF_NEXPR): Likewise.
17575         (TEST_FLOAT): Likewise.
17576         (TEST_MATHVEC): Likewise.
17577         (__NO_MATH_INLINES): Likewise.
17578         (CNCT): Likewise.
17579         (CONCAT): Likewise.
17580         (WRAPPER_NAME): Likewise.
17581         (WRAPPER_DECL): Likewise.
17582         (WRAPPER_DECL_ff): Likewise.
17583         (WRAPPER_DECL_fFF): Likewise.
17584         (VECTOR_WRAPPER): Likewise.
17585         (VECTOR_WRAPPER_ff): Likewise.
17586         (VECTOR_WRAPPER_fFF): Likewise.
17587         (VEC_LEN): New macro.
17588         * math/test-float-vlen8.h: Include test-float.h,
17589         test-math-no-inline.h and test-math-vector.h.
17590         (FLOAT): Remove macro.
17591         (FUNC): Likewise.
17592         (MATHCONST): Likewise.
17593         (PRINTF_EXPR): Likewise.
17594         (PRINTF_XEXPR): Likewise.
17595         (PRINTF_NEXPR): Likewise.
17596         (TEST_FLOAT): Likewise.
17597         (TEST_MATHVEC): Likewise.
17598         (__NO_MATH_INLINES): Likewise.
17599         (CNCT): Likewise.
17600         (CONCAT): Likewise.
17601         (WRAPPER_NAME): Likewise.
17602         (WRAPPER_DECL): Likewise.
17603         (WRAPPER_DECL_ff): Likewise.
17604         (WRAPPER_DECL_fFF): Likewise.
17605         (VECTOR_WRAPPER): Likewise.
17606         (VECTOR_WRAPPER_ff): Likewise.
17607         (VECTOR_WRAPPER_fFF): Likewise.
17608         (VEC_LEN): New macro.
17609         * math/test-float-vlen16.h: Include test-float.h,
17610         test-math-no-inline.h and test-math-vector.h.
17611         (FLOAT): Remove macro.
17612         (FUNC): Likewise.
17613         (MATHCONST): Likewise.
17614         (PRINTF_EXPR): Likewise.
17615         (PRINTF_XEXPR): Likewise.
17616         (PRINTF_NEXPR): Likewise.
17617         (TEST_FLOAT): Likewise.
17618         (TEST_MATHVEC): Likewise.
17619         (__NO_MATH_INLINES): Likewise.
17620         (CNCT): Likewise.
17621         (CONCAT): Likewise.
17622         (WRAPPER_NAME): Likewise.
17623         (WRAPPER_DECL): Likewise.
17624         (WRAPPER_DECL_ff): Likewise.
17625         (WRAPPER_DECL_fFF): Likewise.
17626         (VECTOR_WRAPPER): Likewise.
17627         (VECTOR_WRAPPER_ff): Likewise.
17628         (VECTOR_WRAPPER_fFF): Likewise.
17629         (VEC_LEN): New macro.
17630         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17631         test-vec-loop.h.
17632         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17633         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17634         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17635         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17636         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17638         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17640 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17642         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17643         (__getlogin_r): ... this.
17645 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17647         [BZ #18594]
17648         * math/s_ccosh.c (__ccosh): Compare with least normal value
17649         instead of comparing class with FP_SUBNORMAL.
17650         * math/s_ccoshf.c (__ccoshf): Likewise.
17651         * math/s_ccoshl.c (__ccoshl): Likewise.
17652         * math/s_cexp.c (__cexp): Likewise.
17653         * math/s_cexpf.c (__cexpf): Likewise.
17654         * math/s_cexpl.c (__cexpl): Likewise.
17655         * math/s_csin.c (__csin): Likewise.
17656         * math/s_csinf.c (__csinf): Likewise.
17657         * math/s_csinh.c (__csinh): Likewise.
17658         * math/s_csinhf.c (__csinhf): Likewise.
17659         * math/s_csinhl.c (__csinhl): Likewise.
17660         * math/s_csinl.c (__csinl): Likewise.
17661         * math/s_ctan.c (__ctan): Likewise.
17662         * math/s_ctanf.c (__ctanf): Likewise.
17663         * math/s_ctanh.c (__ctanh): Likewise.
17664         * math/s_ctanhf.c (__ctanhf): Likewise.
17665         * math/s_ctanhl.c (__ctanhl): Likewise.
17666         * math/s_ctanl.c (__ctanl): Likewise.
17667         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17668         csin, csinh, ctan and ctanh.
17669         * math/auto-libm-test-out: Regenerated.
17670         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17671         * sysdeps/i386/fpu/libm-test-ulps: Update.
17672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17674 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17676         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17677         return value is wrong, print the expected value too.
17679 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17681         [BZ #18585]
17682         * elf/readlib.c (is_gdb_python_file): New.
17683         (process_file): Don't issue errors on filenames with -gdb.py
17684         suffix.
17686 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17688         * math/auto-libm-test-in: Add more tests of csin and csinh.
17689         * math/auto-libm-test-out: Regenerated.
17690         * math/libm-test.inc (csin_test_data): Remove tests moved to
17691         auto-libm-test-in.
17692         (csinh_test_data): Likewise.
17694         [BZ #18593]
17695         * math/s_csin.c (__csin): Negate before rather than after possibly
17696         overflowing multiplication.
17697         * math/s_csinf.c (__csinf): Likewise.
17698         * math/s_csinh.c (__csinh): Likewise.
17699         * math/s_csinhf.c (__csinhf): Likewise.
17700         * math/s_csinhl.c (__csinhl): Likewise.
17701         * math/s_csinl.c (__csinl): Likewise.
17702         * math/auto-libm-test-in: Add some tests of csin and csinh.
17703         * math/auto-libm-test-out: Regenerated.
17704         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17705         (csinh_test_data): Likewise.
17706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17708         [BZ #18586]
17709         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17710         underflow exception for small results.
17712 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17715         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17716         variable and included header.
17717         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17718         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17725         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17726         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17727         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17728         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17729         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17730         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17731         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17732         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17734 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17736         [BZ #16526]
17737         [BZ #16538]
17738         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17739         (__sin): Force underflow exception for arguments with small
17740         absolute value.
17741         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17742         (__kernel_sinf): Force underflow exception for arguments with
17743         small absolute value.
17744         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17745         (__kernel_sincosl): Force underflow exception for arguments with
17746         small absolute value.
17747         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17748         (__kernel_sinl): Force underflow exception for arguments with
17749         small absolute value.
17750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17751         (__kernel_sincosl): Force underflow exception for arguments with
17752         small absolute value.
17753         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17754         (__kernel_sinl): Force underflow exception for arguments with
17755         small absolute value.
17756         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17757         (__kernel_sinl): Force underflow exception for arguments with
17758         small absolute value.
17759         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17760         (__kernel_sinf): Force underflow exception for arguments with
17761         small absolute value.
17762         * math/auto-libm-test-in: Add more tests of sin and sincos.
17763         * math/auto-libm-test-out: Regenerated.
17765         [BZ #18245]
17766         [BZ #18583]
17767         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17768         (__kernel_standard_l): Use feholdexcept and fesetenv around
17769         conversion to double instead of special-casing overflow and
17770         underflow.
17771         * math/libm-test.inc (fmod_test_data): Add more tests.
17772         (remainder_test_data): Likewise.
17773         (sqrt_test_data): Likewise.
17775 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17777         [BZ #17403]
17778         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17779         atomic_read_barrier, atomic_write_barrier): Define.
17780         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17781         atomic_read_barrier, atomic_write_barrier): Define.
17783 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17785         * math/Makefile [$(PERL) != no]
17786         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17787         dependency on libm-test.stmp below the inclusion of Rules.
17789 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17793         and included header.
17794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17796         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17797         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17798         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17800         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17802         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17803         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17804         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17805         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17806         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17807         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17808         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17809         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17810         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17811         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17812         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17814 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17816         [BZ #18371]
17817         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17818         intermediate but not final result might underflow.
17819         * math/s_csqrtf.c (__csqrtf): Likewise.
17820         * math/s_csqrtl.c (__csqrtl): Likewise.
17821         * math/auto-libm-test-in: Add more tests of csqrt.
17822         * math/auto-libm-test-out: Regenerated.
17823         * sysdeps/i386/fpu/libm-test-ulps: Update.
17825         [BZ #18219]
17826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17827         threshold on absolute value of exponent for which scaling is used.
17828         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17829         * math/auto-libm-test-in: Add more tests of exp2.
17830         * math/auto-libm-test-out: Regenerated.
17832 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17834         [BZ #17977]
17835         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17836         when initializing interface list, based on the bug analysis
17837         and the patch proposed by Eric Newton.
17838         * resolv/tst-res_hconf_reorder.c: New test.
17839         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17840         tst-res_hconf_reorder.
17841         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17842         and $(shared-thread-library).
17843         (tst-res_hconf_reorder-ENV): New variable.
17845         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17846         in comment.
17848 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17850         [BZ #16353]
17851         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17852         (__expm1): Force underflow exception for arguments with small
17853         absolute value.
17854         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17855         (__expm1f): Force underflow exception for arguments with small
17856         absolute value.
17857         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17858         (__expm1): Force underflow exception for arguments with small
17859         absolute value.
17860         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17861         (__expm1f): Force underflow exception for arguments with small
17862         absolute value.
17863         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17864         Check for small arguments before calling __expm1.
17865         * math/auto-libm-test-in: Do not mark underflow exceptions as
17866         possibly missing for bug 16353.
17867         * math/auto-libm-test-out: Regenerated.
17869 2015-06-22  Andreas Schwab  <schwab@suse.de>
17871         [BZ #18513]
17872         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17873         PTR queries.
17875 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17877         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17879         * string/strcoll_l.c: Remove unused struct element idxnow.
17881 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17883         [BZ #18569]
17884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17885         underflow and return argument in case of subnormal argument.
17886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17887         Likewise.
17888         * math/auto-libm-test-in: Add more tests of expm1.
17889         * math/auto-libm-test-out: Regenerated.
17891         [BZ #16361]
17892         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17893         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17894         tiny results.
17895         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17896         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17897         tiny results.
17898         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17899         mark underflow exceptions as possibly missing for bug 16361.
17900         * math/auto-libm-test-out: Regenerated.
17902 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17904         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17905         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17906         Remove variable.
17907         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17908         (test-xfail-XOPEN2K8/utmpx.h/conform).
17910         * conform/conformtest.pl ($xerrors): New variable.
17911         (note_error): New function.
17912         (compiletest): New argument $xfail.  Use not_error.
17913         (runtest): Likewise.
17914         (top level): Handle xfail- lines.  Update calls to compiletest and
17915         runtest.  Handle xfail- and optional- in headers listed with
17916         allow-header.
17917         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17918         (O_EXEC): Likewise.
17919         (O_SEARCH): Likewise.
17920         * conform/data/stropts.h-data (ioctl): Likewise.
17921         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17922         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17923         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17924         (msghdr.msg_controllen): Likewise.
17925         (cmsghdr.cmsg_len): Likewise.
17926         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17927         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17928         variable.
17929         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17930         (test-xfail-XPG4/stropts.h/conform): Likewise.
17931         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17932         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17933         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17934         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17935         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17936         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17937         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17938         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17939         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17940         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17941         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17942         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17943         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17944         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17945         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17946         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17947         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17948         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17949         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17951 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17953         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17954         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17955         definitions for proper unfolding of __MATHDECL_VEC.
17957 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17959         * benchtests/bench-strcoll.c:
17960         Include string.h.
17961         (main): Remove unused variable res.
17963 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17965         * timezone/Makefile (%/UTC %/Universal):
17966         Generate test-result files for UTC and Universal.
17968 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17970         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17972 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #16350]
17975         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17976         for arguments with small absolute value.
17977         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17978         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17979         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17980         (__asinh): Force underflow exception for arguments with small
17981         absolute value.
17982         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17983         (__asinhf): Force underflow exception for arguments with small
17984         absolute value.
17985         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17986         (__asinhl): Force underflow exception for arguments with small
17987         absolute value.
17988         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17989         (__asinhl): Force underflow exception for arguments with small
17990         absolute value.
17991         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17992         (__asinhl): Force underflow exception for arguments with small
17993         absolute value.
17994         * math/auto-libm-test-in: Do not mark underflow exceptions as
17995         possibly missing for bug 16350.
17996         * math/auto-libm-test-out: Regenerated.
17998         * include/bits/ipc.h: Remove file.
17999         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18000         variable.
18001         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18002         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18003         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18004         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18005         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18006         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18007         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18008         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18009         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18011         * math/auto-libm-test-in: Remove spurious underflow allowance for
18012         tests of cexp.
18013         * math/auto-libm-test-out: Regenerated.
18015         [BZ #18558]
18016         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18017         unconditional definition.
18018         (MCAST_BLOCK_SOURCE): Likewise.
18019         (MCAST_UNBLOCK_SOURCE): Likewise.
18020         (MCAST_LEAVE_GROUP): Likewise.
18021         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18022         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18023         (MCAST_MSFILTER): Likewise.
18024         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18025         Remove variable.
18026         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18027         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18028         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18029         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18030         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18032 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18034         * NEWS: Mention addition of x86_64 vector sincosf.
18035         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18036         * math/test-float-vlen4.h: Likewise.
18037         * math/test-float-vlen8.h: Likewise.
18038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18039         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18041         * sysdeps/x86_64/fpu/Versions: New versions added.
18042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18044         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18051         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18052         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18053         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18054         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18055         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18056         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18057         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18058         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18059         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18060         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18061         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18064         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18065         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18067         * NEWS: Mention addition of x86_64 vector sincos.
18068         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18069         * math/math.h (__MATHDECL_VEC): New macro.
18070         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18071         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18072         declaration under condition.
18073         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18074         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18075         TEST_VEC_LOOP change.
18076         * math/test-double-vlen4.h: Likewise.
18077         * math/test-double-vlen8.h: Likewise.
18078         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18079         * math/test-float-vlen4.h: Likewise.
18080         * math/test-float-vlen8.h: Likewise.
18081         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18082         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18084         * sysdeps/x86_64/fpu/Versions: New versions added.
18085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18087         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18088         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18089         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18090         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18094         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18095         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18096         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18097         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18098         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18099         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18100         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18101         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18102         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18103         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18105         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18106         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18107         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18108         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18112         redirections for powf.
18113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18114         * sysdeps/x86_64/fpu/Versions: New versions added.
18115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18117         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18118         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18119         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18120         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18121         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18122         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18125         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18126         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18127         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18128         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18129         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18130         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18132         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18133         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18134         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18138         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18139         * math/test-float-vlen16.h: Fixed 2 argument macro.
18140         * math/test-float-vlen4.h: Likewise.
18141         * math/test-float-vlen8.h: Likewise.
18142         * NEWS: Mention addition of x86_64 vector powf.
18144 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18146         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18147         and redefine.
18148         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18149         and redefine.
18150         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18151         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18152         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18154         [BZ #18553]
18155         * resource/getpriority.c (getpriority): Rename to __getpriority
18156         and define as weak alias of __getpriority.
18157         * resource/setpriority.c (setpriority): Rename to __setpriority
18158         and define as weak alias of __setpriority.
18159         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18160         __getpriority and define as weak alias of __getpriority.
18161         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18162         __setpriority and define as weak alias of __setpriority.
18163         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18164         strong name.
18165         (setpriority): Use __setpriority as strong name.
18166         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18167         __getpriority and define as weak alias of __getpriority.
18168         * include/sys/resource.h (__getpriority): Declare.  Use
18169         libc_hidden_proto.
18170         (__setpriority): Likewise.
18171         (getpriority): Don't use libc_hidden_proto.
18172         (setpriority): Likewise.
18173         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18174         getpriority.  Call __setpriority instead of setpriority.
18175         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18176         Remove variable.
18178         [BZ #18547]
18179         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18180         as weak alias of __getttynam.  Use prototype function definition.
18181         Call __setttyent, __getttyent and __endttyent instead of
18182         setttyent, getttyent and endttyent.
18183         (getttyent): Rename to __getttyent and define as weak alias of
18184         __getttyent.  Call __setttyent instead of setttyent.  Call
18185         __fgets_unlocked instead of fgets_unlocked.
18186         (setttyent): Rename to __setttyent and define as weak alias of
18187         __setttyent.
18188         (endttyent): Rename to __endttyent and define as weak alias of
18189         __endttyent.
18190         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18191         (__setttyent): Likewise.
18192         (__endttyent): Likewise.
18193         (getttyent): Don't use libc_hidden_proto.
18194         (setttyent): Likewise.
18195         (endttyent): Likewise.
18196         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18197         __endttyent instead of setttyent, getttyent and endttyent.
18198         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18199         Remove variable.
18201         [BZ #18546]
18202         * socket/recv.c (__recv): Use libc_hidden_def.
18203         * socket/socket.c (__socket): Likewise.
18204         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18205         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18206         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18207         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18208         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18209         libc_hidden_def.
18210         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18211         libc_hidden_weak.
18212         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18213         Use libc_hidden_proto.
18214         (__recv): Likewise.
18215         * socket/Versions (libc): Export __recv and __socket at version
18216         GLIBC_PRIVATE.
18217         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18218         instead of recv.
18219         (init_mq_netlink): Call __socket instead of socket.
18220         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18221         Remove variable.
18223         [BZ #18545]
18224         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18225         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18226         hidden_weak.
18227         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18228         define as alias of __mq_timedsend.  Use hidden_weak.
18229         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18230         __mq_timedsend as strong name.
18231         (mq_timedreceive): Use __mq_timedreceive as strong name.
18232         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18233         (__mq_timedreceive): Likewise.
18234         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18235         __mq_timedreceive instead of mq_timedreceive.
18236         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18237         instead of mq_timedsend.
18238         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18239         Remove variable.
18241         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18242         hidden_def and hidden_weak instead of libc_hidden_def and
18243         libc_hidden_weak.
18244         (top level): Refer to hidden_def in comment.
18245         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18246         macro.  Use it instead of libc_hidden_def.
18247         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18248         specify __GI_* name explicitly.
18249         (mq_timedreceive): Likewise.
18250         (mq_setattr): Likewise.
18252         [BZ #18544]
18253         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18254         __pthread_barrier_init and define as weak alias of
18255         __pthread_barrier_init.
18256         * sysdeps/sparc/nptl/pthread_barrier_init.c
18257         (pthread_barrier_init): Likewise.
18258         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18259         __pthread_barrier_wait and define as weak alias of
18260         __pthread_barrier_wait.
18261         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18262         (pthread_barrier_wait): Likewise.
18263         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18264         (pthread_barrier_wait): Likewise.
18265         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18266         (pthread_barrier_wait): Likewise.
18267         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18268         (pthread_barrier_wait): Likewise.
18269         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18270         __pthread_barrier_wait at version GLIBC_PRIVATE.
18271         * include/pthread.h (__pthread_barrier_init): Declare.
18272         (__pthread_barrier_wait): Likewise.
18273         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18274         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18275         (helper_thread): Likewise.
18276         (init_mq_netlink): Call __pthread_barrier_init instead of
18277         pthread_barrier_init.
18279         [BZ #18542]
18280         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18281         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18282         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18283         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18284         vswscanf.
18285         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18286         Remove variable.
18288         [BZ #18540]
18289         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18290         strong alias of _IO_fflush.  Use libc_hidden_def.
18291         * libio/iofflush_u.c (fflush_unlocked): Rename to
18292         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18293         Use libc_hidden_weak.
18294         * include/stdio.h (__fflush_unlocked): Declare.  Use
18295         libc_hidden_proto.
18296         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18297         fflush_unlocked.
18298         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18299         Remove variable.
18301         [BZ #18539]
18302         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18303         define as weak alias of __addseverity.
18304         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18305         Remove variable.
18306         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18307         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18308         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18310         [BZ #18536]
18311         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18312         (__tfind): Likewise.
18313         (__tdelete): Likewise.
18314         (__twalk): Likewise.
18315         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18316         __twalk to GLIBC_PRIVATE.
18317         * include/search.h (__tsearch): Use libc_hidden_proto.
18318         (__tfind): Likewise.
18319         (__tdelete): Likewise.
18320         (__twalk): Likewise.
18321         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18322         Call __tdelete instead of tdelete.
18323         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18324         tfind.  Call __tsearch instead of tsearch.
18325         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18326         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18327         Remove variable.
18328         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18330         [BZ #18534]
18331         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18332         (dprintf): Define as a weak alias of __dprintf, not a strong
18333         alias.
18334         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18335         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18336         dprintf.
18337         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18338         Remove variable.
18339         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18340         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18342         [BZ #18533]
18343         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18344         not a strong alias.
18345         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18346         Remove variable.
18348         [BZ #18532]
18349         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18350         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18351         (in6addr_loopback): Rename to __in6addr_loopback and define as
18352         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18353         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18354         libc_hidden_proto.
18355         (__in6addr_any): Likewise.
18356         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18357         in6addr_any.
18358         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18359         variable.
18360         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18362 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18364         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18365         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18366         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18368         redirections for pow.
18369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18370         * sysdeps/x86_64/fpu/Versions: New versions added.
18371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18372         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18373         build of SSE, AVX2 and AVX512 IFUNC versions.
18374         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18375         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18376         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18377         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18378         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18381         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18382         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18383         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18384         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18385         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18386         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18388         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18391         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18392         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18393         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18394         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18395         * NEWS: Mention addition of x86_64 vector pow.
18397         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18398         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18399         redirections for expf.
18400         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18401         * sysdeps/x86_64/fpu/Versions: New versions added.
18402         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18403         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18404         build of SSE, AVX2 and AVX512 IFUNC versions.
18405         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18406         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18407         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18411         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18412         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18413         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18414         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18415         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18416         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18417         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18418         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18419         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18420         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18423         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18424         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18425         * NEWS: Mention addition of x86_64 vector expf.
18427         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18428         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18431         redirections for exp.
18432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18433         * sysdeps/x86_64/fpu/Versions: New versions added.
18434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18436         build of SSE, AVX2 and AVX512 IFUNC versions.
18437         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18438         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18439         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18440         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18443         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18444         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18445         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18446         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18447         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18448         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18449         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18450         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18453         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18454         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18456         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18457         * NEWS: Mention addition of x86_64 vector exp.
18459         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18460         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18461         redirections for logf.
18462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18463         * sysdeps/x86_64/fpu/Versions: New versions added.
18464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18466         build of SSE, AVX2 and AVX512 IFUNC versions.
18467         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18468         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18469         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18473         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18474         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18475         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18476         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18477         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18478         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18479         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18480         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18481         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18482         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18483         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18484         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18485         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18486         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18487         * NEWS: Mention addition of x86_64 vector logf.
18489         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18490         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18492         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18493         redirections for log.
18494         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18495         * sysdeps/x86_64/fpu/Versions: New versions added.
18496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18497         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18498         build of SSE, AVX2 and AVX512 IFUNC versions.
18499         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18500         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18501         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18502         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18503         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18504         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18505         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18506         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18507         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18508         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18509         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18510         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18512         test.
18513         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18515         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18516         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18517         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18518         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18519         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18520         * NEWS: Mention addition of x86_64 vector log.
18522 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18524         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18525         cfi_adjust_cfa_offset argument.
18526         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18527         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18529         [BZ #18034]
18530         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18531         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18532         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18533         ordering using ldar.
18534         (_dl_tlsdesc_dynamic): Likewise.
18535         (_dl_tlsdesc_return_lazy): Likewise.
18536         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18537         relaxed atomics instead of volatile and synchronize with release store.
18538         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18539         volatile.
18540         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18542 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18545         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18547         * sysdeps/x86_64/fpu/Versions: New versions added.
18548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18550         build of SSE, AVX2 and AVX512 IFUNC versions.
18551         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18552         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18557         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18558         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18559         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18560         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18561         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18562         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18563         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18564         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18565         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18566         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18569         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18570         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18571         * NEWS: Mention addition of x86_64 vector sinf.
18573 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18575         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18576         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18577         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18578         Remove variable.
18579         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18580         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18582 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18584         [BZ #18530]
18585         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18586         strong alias of _IO_fputs.  Use libc_hidden_def.
18587         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18588         and define as weak alias of __fputs_unlocked.  Use
18589         libc_hidden_weak.
18590         * include/stdio.h (__fputs_unlocked): Declare.  Use
18591         libc_hidden_proto.
18592         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18593         fputs_unlocked.
18595         [BZ #18529]
18596         * resolv/netdb.h [__USE_POSIX]: Change condition to
18597         [__USE_XOPEN2K].
18598         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18599         not expect.
18600         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18601         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18602         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18603         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18604         [XPG4 || UNIX98] (AI_ALL): Likewise.
18605         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18606         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18607         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18608         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18609         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18610         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18611         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18612         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18613         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18614         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18615         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18616         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18617         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18618         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18619         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18620         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18621         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18622         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18623         [XPG4 || UNIX98] (gai_strerror): Likewise.
18624         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18625         [XPG4 || UNIX98] (getnameinfo): Likewise.
18627         [BZ #18528]
18628         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18629         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18630         __USE_XOPEN2K8].
18631         (getgrent): Likewise.
18632         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18633         expect.
18634         [XPG3 || POSIX2008] (endgrent): Likewise.
18635         [XPG3] (setgrent): Likewise.
18636         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18637         variable.
18638         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18640         [BZ #18527]
18641         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18642         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18643         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18644         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18645         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18646         * include/unistd.h (__getlogin_r): Declare.  Use
18647         libc_hidden_proto.
18648         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18649         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18650         variable.
18651         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18652         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18653         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18655 2015-06-12  Martin Sebor  <msebor@redhat.com>
18657         [BZ #18512]
18658         * Makerules (check-install-supported): New target.
18659         (install): Add check-install-supported as a dependency.
18660         * manual/install.texi (Installing the C Library): Document
18661         that overriding prefix and exec_prefix is not supported.
18662         Mention DESTDIR.
18663         * INSTALL: Regenerate from the above.
18665 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18667         [BZ #18519]
18668         * posix/Versions (libc): Export __libc_pread at version
18669         GLIBC_PRIVATE.
18670         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18671         instead of pread.
18672         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18673         variable.
18675         [BZ #18522]
18676         * misc/efgcvt_r.c
18677         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18678         (cvt_symbol): Use weak_alias instead of strong_alias.
18679         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18680         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18681         Remove variable.
18682         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18683         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18685         [BZ #18520]
18686         * inet/herrno.c (h_errno): Rename to __h_errno.
18687         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18688         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18689         to __h_errno instead of h_errno.
18690         * nptl/herrno.c (h_errno): Rename to __h_errno.
18691         (__h_errno_location): Refer to __h_errno not h_errno.
18692         * resolv/Versions (h_errno): Rename to __h_errno.
18693         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18694         Remove variable.
18695         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18697 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18699         * configure.ac: More strict check for AVX512 assembler support.
18700         * configure: Regenerated.
18702         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18703         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18704         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18705         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18707         * sysdeps/x86_64/fpu/Versions: New versions added.
18708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18710         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18711         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18712         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18713         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18717         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18718         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18719         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18720         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18721         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18722         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18724         test.
18725         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18728         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18729         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18730         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18731         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18732         * NEWS: Mention addition of x86_64 vector sin.
18734 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18736         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18737         comment.
18739 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18741         [BZ #18479]
18742         * nptl/pt-interp.c: New file.
18743         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18744         Add pt-interp.
18745         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18746         $(common-objpfx)runtime-linker.h.
18748 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18750         * Makeconfig (+interp): Remove unused variable.
18751         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18752         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18753         $(elf-objpfx)runtime-linker.h.
18754         ($(elf-objpfx)runtime-linker.h): Rename to
18755         $(common-objpfx)runtime-linker.h and move ...
18756         * Makerules [$(build-shared) = yes]: ... here.
18757         * elf/interp.c: Include <runtime-linker.h> instead of
18758         <elf/runtime-linker.h>.
18760 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18762         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18763         (__gettimeofday_syscall): Remove vsyscall fallback.
18764         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18765         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18766         Add syscall fallback function.
18767         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18768         if vDSO is not present.
18769         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18770         fallback function.
18771         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18772         present.
18773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18774         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18776 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18778         [BZ #18497]
18779         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18780         of wcscmp.
18781         (wcscmp): Define as weak alias of WCSCMP.
18782         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18783         wcscoll.
18784         (USE_HIDDEN_DEF): Define.
18785         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18786         __wcscoll.  Don't use libc_hidden_weak.
18787         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18788         wcscmp.
18789         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18790         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18791         __GI_wcscmp.
18792         (weak_alias): Undefine and redefine.
18793         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18794         __wcscmp and define as weak alias of __wcscmp.
18795         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18796         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18797         (__wcscoll): Likewise.
18798         (wcscmp): Don't use libc_hidden_proto.
18799         (wcscoll): Likewise.
18800         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18801         wcscoll.
18802         * posix/regexec.c (check_node_accept_bytes): Likewise.
18803         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18804         variable.
18805         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18806         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18808         [BZ #18507]
18809         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18810         __fstatvfs and define as weak alias of __fstatvfs.  Use
18811         libc_hidden_weak.
18812         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18813         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18814         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18815         Define as alias of __fstatvfs, not fstatvfs.
18816         (fstatvfs64): Likewise.
18817         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18818         Define as alias of __statvfs, not statvfs.
18819         (statvfs64): Likewise.
18820         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18821         Remove variable.
18823 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18826         (HAVE_GETCPU_VSYSCALL): Define.
18827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18828         (HAVE_GETCPU_VSYSCALL): Likewise.
18829         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18830         * sysdeps/unix/sysv/linux/sched_getcpu.c
18831         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18832         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18833         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18834         prototype.
18835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18836         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18837         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18839         Define.
18840         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18841         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18843         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18845 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18847         * sysdeps/x86_64/fpu/Makefile: New file.
18848         * sysdeps/x86_64/fpu/Versions: New file.
18849         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18850         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18851         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18852         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18853         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18854         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18855         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18856         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18857         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18858         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18862         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18863         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18865         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18866         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18867         * sysdeps/x86_64/configure: Regenerated.
18868         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18869         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18870         * manual/install.texi (Configuring and compiling): Document
18871         --disable-mathvec.
18872         * INSTALL: Regenerated.
18873         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18875         * math/Makefile: Added rules for vector tests.
18876         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18877         declaration under condition.
18878         * math/test-double-vlen2.h: New file.
18879         * math/test-double-vlen4.h: New file.
18880         * math/test-double-vlen8.h: New file.
18881         * math/test-vec-loop.h: Added initialization macro.
18882         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18884         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18885         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18886         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18888         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18889         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18890         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18891         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18892         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18895         * sysdeps/x86_64/fpu/Versions: New versions added.
18896         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18899         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18900         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18901         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18902         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18903         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18906         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18907         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18908         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18910         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18913         * NEWS: Mention addition of x86_64 vector cosf.
18915         * math/Makefile: Added CFLAGS for new tests.
18916         * math/test-float-vlen16.h: New file.
18917         * math/test-float-vlen4.h: New file.
18918         * math/test-float-vlen8.h: New file.
18919         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18920         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18923         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18924         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18925         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18928         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18929         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18931 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18933         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18934         * locale/programs/ld-ctype.c: Likewise.
18936 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18938         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18939         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18940         bit_ZMM16_31_state): New macro.
18941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18942         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18944 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18946         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18948 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18950         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18952 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18954         [BZ #18498]
18955         * libio/memstream.c (open_memstream): Rename to __open_memstream
18956         and define as weak alias of __open_memstream.
18957         * include/stdio.h (__open_memstream): Declare.  Use
18958         libc_hidden_proto.
18959         (open_memstream): Don't use libc_hidden_proto.
18960         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18961         open_memstream.
18962         * posix/getopt.c (_getopt_internal_r): Likewise.
18963         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18964         variable.
18965         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18966         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18967         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18969         [BZ #18496]
18970         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18971         instead of wcrtomb.
18973         [BZ #18483]
18974         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18975         [__USE_XOPEN2K8].  Remove redundant #endif.
18976         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18977         Remove redundant #if.
18978         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18979         Remove variable.
18980         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18981         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18983         [BZ #18495]
18984         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18985         (__iswlower): Likewise.
18986         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18987         (__iswlower): Likewise.
18988         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18989         instead of towlower.
18990         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18991         instead of iswlower.  Call __towupper instead of towupper.
18992         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18993         instead of iswalnum.
18995 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18997         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18998         errors to stderr.
19000 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19002         [BZ #15661]
19003         [BZ #17322]
19004         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19005         Check for overflow properly.  Check for O_APPEND.  Ignore large
19006         file system block sizes.  Add comments about problems.
19007         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19008         * manual/filesys.texi (Storage Allocation): New node.
19010 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19012         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19013         cancellable syscalls.
19014         (SYS_ify): Add guard to no redefine it.
19015         (INLINE_SYSCALL): Likewise.
19016         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19017         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19018         SYSCALL_CANCEL instead.
19019         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19020         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19021         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19022         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19023         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19024         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19025         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19026         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19027         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19028         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19029         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19030         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19031         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19032         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19033         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19035         Likewise.
19036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19037         (__libc_pread64): Likewise.
19038         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19039         (__libc_preadv): Likewise.
19040         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19041         (__libc_readv64): Likewise.
19042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19043         (__libc_pwrite): Likewise.
19044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19045         (__libc_pwrite64): Likewise.
19046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19047         (__libc_pwritev): Likewise.
19048         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19049         (__libc_pwritev64): Likewise.
19050         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19051         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19052         (sync_file_range): Likewise.
19053         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19054         Likewise.
19055         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19056         Likewise.
19057         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19058         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19059         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19060         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19061         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19062         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19063         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19064         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19066         Likewise.
19067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19068         (__libc_read64): Likewise.
19069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19070         Likewise.
19071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19072         Likewise.
19073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19074         Likewise.
19075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19076         Likewise.
19077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19078         (__libc_pread64): Likewise.
19079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19080         Likewise.
19081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19082         (__libc_pwrite64): Likewise.
19083         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19084         (sync_file_range): Likewise.
19085         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19086         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19087         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19088         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19089         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19090         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19091         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19092         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19093         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19094         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19095         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19096         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19097         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19098         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19099         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19100         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19101         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19102         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19103         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19104         Likewise.
19105         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19106         Likewise.
19107         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19108         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19109         Likewise.
19110         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19111         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19112         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19113         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19114         Likewise.
19115         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19116         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19117         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19118         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19119         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19121 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19123         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19124         Include dl-vdso.
19125         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19126         Use VDSO routines for gettimeofday, clock_gettime if
19127         available.
19128         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19129         Declare VDSO symbols.
19130         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19131         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19132         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19133         * sysdeps/unix/sysv/linux/arm/Versions: Add
19134         __vdso_clock_gettime.
19136 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19138         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19139         be an inline implementation regardless of library is built within.
19140         (open_not_cancel_2): Likewise.
19141         (__read_nocancel): Likewise.
19142         (__write_nocancel): Likewise.
19143         (openat_not_cancel): Likewise.
19144         (openat_not_cancel_3): Likewise.
19145         (openat64_not_cancel): Likewise.
19146         (openat64_not_cancel_3): Likewise.
19147         (__close_nocancel): Likewise.
19148         (pause_not_cancel): Likewise.
19149         (nanosleep_not_cancel): Likewise.
19150         (sigsuspend_not_cancel): Likewise.
19152 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19154         [BZ #14958]
19155         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19156         wake-up.
19157         (__pthread_rwlock_rdlock_slow): Likewise.
19158         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19159         Likewise.
19160         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19161         Likewise.
19162         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19163         * nptl/tst-rwlock16.c: New file.
19164         * nptl/Makefile (tests): Add new test.
19166 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19168         [BZ #18324]
19169         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19170         missing wake-up of readers.
19171         * nptl/tst-rwlock15.c: New file.
19172         * nptl/Makefile (tests): Add new test.
19174 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19176         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19177         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19178         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19179         and __nacl_supply_interface_rtld.
19180         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19181         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19182         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19183         Add __nacl_supply_interface_rtld.
19184         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19186 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19189         isfinite.
19190         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19191         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19193 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19195         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19196         __signbit* with standard C99 macros.
19197         * math/e_exp10l.c: Likewise.
19198         * math/e_exp2l.c: Likewise.
19199         * math/e_scalb.c: Likewise.
19200         * math/e_scalbf.c: Likewise.
19201         * math/e_scalbl.c: Likewise.
19202         * math/s_ldexp.c: Likewise.
19203         * math/s_ldexpf.c: Likewise.
19204         * math/s_ldexpl.c: Likewise.
19205         * math/w_atan2.c: Likewise.
19206         * math/w_atan2f.c: Likewise.
19207         * math/w_atan2l.c: Likewise.
19208         * math/w_cosh.c: Likewise.
19209         * math/w_coshf.c: Likewise.
19210         * math/w_coshl.c: Likewise.
19211         * math/w_exp10.c: Likewise.
19212         * math/w_exp10f.c: Likewise.
19213         * math/w_exp10l.c: Likewise.
19214         * math/w_exp2.c: Likewise.
19215         * math/w_exp2f.c: Likewise.
19216         * math/w_exp2l.c: Likewise.
19217         * math/w_fmod.c: Likewise.
19218         * math/w_fmodf.c: Likewise.
19219         * math/w_fmodl.c: Likewise.
19220         * math/w_hypot.c: Likewise.
19221         * math/w_hypotf.c: Likewise.
19222         * math/w_hypotl.c: Likewise.
19223         * math/w_jnl.c: Likewise.
19224         * math/w_lgamma.c: Likewise.
19225         * math/w_lgamma_r.c: Likewise.
19226         * math/w_lgammaf.c: Likewise.
19227         * math/w_lgammaf_r.c: Likewise.
19228         * math/w_lgammal.c: Likewise.
19229         * math/w_lgammal_r.c: Likewise.
19230         * math/w_pow.c: Likewise.
19231         * math/w_powf.c: Likewise.
19232         * math/w_powl.c: Likewise.
19233         * math/w_remainder.c: Likewise.
19234         * math/w_remainderf.c: Likewise.
19235         * math/w_remainderl.c: Likewise.
19236         * math/w_scalb.c: Likewise.
19237         * math/w_scalbf.c: Likewise.
19238         * math/w_scalbl.c: Likewise.
19239         * math/w_scalbln.c: Likewise.
19240         * math/w_scalblnf.c: Likewise.
19241         * math/w_scalblnl.c: Likewise.
19242         * math/w_sinh.c: Likewise.
19243         * math/w_sinhf.c: Likewise.
19244         * math/w_sinhl.c: Likewise.
19245         * math/w_tgamma.c: Likewise.
19246         * math/w_tgammaf.c: Likewise.
19247         * math/w_tgammal.c: Likewise.
19248         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19249         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19250         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19252         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19254         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19255         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19256         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19257         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19258         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19259         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19260         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19265         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19266         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19267         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19269         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19270         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19272         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19273         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19274         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19275         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19276         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19277         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19278         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19279         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19280         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19281         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19282         * stdio-common/printf_fp.c: Likewise.
19283         * stdio-common/printf_fphex.c: Likewise.
19284         * stdio-common/printf_size.c: Likewise.
19286 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19288         [BZ #18470]
19289         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19290         strnlen.
19291         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19292         Remove variable.
19293         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19294         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19295         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19296         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19297         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19298         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19299         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19300         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19301         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19302         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19304         [BZ #18468]
19305         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19306         weak alias of __wmemchr.  Use libc_hidden_weak.
19307         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19308         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19309         instead of wmemchr.
19311 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19313         [BZ #18383]
19314         * elf/tst-tlsalign-extern.c: New file.
19315         * elf/tst-tlsalign-extern-static.c: New file.
19316         * elf/tst-tlsalign-vars.c: New file.
19317         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19318         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19319         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19320         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19321         (test-xfail-tst-tlsalign-extern-static): New variable.
19323 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19325         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19326         Use variable name _sc_err instead of err.
19327         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19328         instead of ret.
19329         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19330         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19331         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19332         (INLINE_SYSCALL): Likewise.
19334         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19335         * include/string.h (__strnlen): Use libc_hidden_proto.
19336         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19337         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19338         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19339         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19340         (libc_hidden_def): Undefine and redefine.
19341         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19342         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19343         __GI_strnlen.
19344         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19345         libc_hidden_def.
19346         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19348         [BZ #18469]
19349         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19350         weak alias of __towlower.  Use libc_hidden_weak.
19351         (towupper): Rename to __towupper and define as weak alias of
19352         __towupper.  Use libc_hidden_weak.
19353         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19354         (__towupper): Likewise.
19355         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19356         __towlower instead of towlower.
19358 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19360         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19361         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19363 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19365         * sysdeps/aarch64/libm-test-ulps: Update.
19367 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19369         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19370         Define.
19371         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19373         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19374         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19375         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19376         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19377         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19379 2015-06-01  Martin Sebor  <msebor@redhat.com>
19381         [BZ #18116]
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19383         (__setcontext): Use extended four-operand version of mtsf whenever
19384         possible.
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19386         (__novec_swapcontext): Likewise.
19388 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19390         * benchtests/scripts/compare_bench.py: New file.
19391         * benchtests/scripts/import_bench.py (mean): New function.
19392         (split_list): Likewise.
19393         (do_for_all_timings): Likewise.
19394         (compress_timings): Likewise.
19396         * benchtests/scripts/import_bench.py: New file.
19397         * benchtests/scripts/validate_benchout.py: Import import_bench
19398         instead of jsonschema.
19399         (validate_bench): Remove function.
19400         (main): Use import_bench.
19402 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19404         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19405         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19407 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19411 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19413         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19414         set THREAD_SELF->tid to a magic value and futex-wake it.
19415         Pass its address to the thread_exit system call.
19416         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19417         bit is clear.
19418         * sysdeps/nacl/lowlevellock.h: New file.
19419         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19421         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19422         Add TIMEOUT to current time, don't subtract it.
19424 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19426         [BZ #2981]
19427         [BZ #18422]
19428         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19429         ($(objpfx)tst-audit2.out): Also depend on
19430         $(objpfx)tst-auditmod9b.so.
19431         * elf/tst-audit2.c: Include <dlfcn.h>.
19432         (calloc_called): New.
19433         (calloc): Allow to be called more than once.
19434         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19436 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19438         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19439         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19441 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19443         * stdlib/monetary.h: Fix comment.
19445 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19447         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19448         Avoid using variables in #defines that might cause shadowing.
19449         (INTERNAL_VSYSCALL_CALL): Likewise.
19451 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19453         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19455         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19456         * nptl/lll_timedlock_wait.c: ... to this new file.
19457         * nptl/Makefile (libpthread-routines): Add it.
19458         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19459         * nptl/lll_timedwait_tid.c: ... to this new file.
19460         * nptl/Makefile (libpthread-routines): Add it.
19461         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19462         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19463         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19464         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19465         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19466         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19467         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19468         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19469         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19470         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19472 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19474         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19475         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19476         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19477         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19478         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19480         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19482         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19483         * sysdeps/unix/sysv/linux/tile/sysdep.h
19484         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19485         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19486         using vDSO syscall macro.
19488 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19490         [BZ #17293]
19491         * uk_UA: Fix sorting order for Ukrainian locale
19493 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19495         * stdlib/monetary.h: Fix comment.
19497 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19499         [BZ #18234]
19500         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19501         st_mtim and st_ctim members.
19502         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19503         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19504         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19505         (struct stat64): Likewise.
19506         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19507         (struct stat64): Likewise.
19508         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19509         (struct stat64): Likewise.
19511 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19513         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19514         Define and include sysdep-vdso.h.
19515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19516         Likewise.
19517         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19518         Likewise.
19519         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19520         Define with VDSO_SYMBOL and use PTR_MANGLE.
19521         (__vdso_clock_gettime): Likewise.
19522         (__vdso_clock_getres): Likewise.
19523         (_libc_vdso_platform_setup): Likewise.
19524         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19525         Likewise.
19526         (_libc_vdso_platform_setup): Likewise.
19527         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19528         Likewise.
19529         (__vdso_clock_gettime): Likewise.
19530         (__vdso_clock_getres): Likewise.
19531         (__vdso_get_tbfreq): Likewise.
19532         (__vdso_getcpu): Likewise.
19533         (__vdso_time): Likewise.
19534         (__vdso_sigtramp_rt64): Likewise.
19535         (__vdso_signtramp32): Likewise.
19536         (__vdso_sigtramp_rt32): Likewise.
19537         (_libc_vdso_platform_setup): Likewise.
19538         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19539         Likewise.
19540         (__vdso_clock_gettime): Likewise.
19541         (__vdso_clock_getres): Likewise.
19542         (_libc_vdso_platform_setup): Likewise.
19543         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19544         Likewise.
19545         (__vdso_clock_gettime): Likewise.
19546         (_libc_vdso_platform_setup): Likewise.
19547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19548         Likewise.
19549         (__vdso_getcpu): Likewise.
19550         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19551         Use VDSO_SYMBOL macro to define.
19552         (__vdso_clock_gettime): Likewise.
19553         (__vdso_clock_getres): Likewise.
19554         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19555         Likewise.
19556         (__vdso_clock_gettime): Likewise.
19557         (__vdso_clock_getres): Likewise.
19558         (__vdso_get_tbfreq): Likewise.
19559         (__vdso_getcpu): Likewise.
19560         (__vdso_time): Likewise.
19561         (__vdso_sigtramp_rt64): Likewise.
19562         (__vdso_signtramp32): Likewise.
19563         (__vdso_sigtramp_rt32): Likewise.
19564         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19565         Likewise.
19566         (__vdso_clock_gettime): Likewise.
19567         (__vdso_clock_getres): Likewise.
19568         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19569         Likewise.
19570         (__vdso_clock_gettime): Likewise.
19571         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19572         Likewise.
19573         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19574         macro.
19575         (INTERNAL_VSYSCALL): Likewise.
19576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19577         Remove macro.
19578         (INTERNAL_VSYSCALL): Likewise.
19579         (INTERNAL_VSYSCALL_NCS): Likewise.
19580         (INTERNAL_VSYSCALL_CALL): New macro.
19581         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19583         Likewise.
19584         (INTERNAL_VSYSCALL): Likewise.
19585         (INTERNAL_VSYSCALL_NCS): Likewise.
19586         (INTERNAL_VSYSCALL_CALL): New macro.
19587         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19589         (INLINE_VSYSCALL): Remove macro.
19590         (INTERNAL_VSYSCALL): Remove macro.
19591         (INTERNAL_VSYSCALL_NCS): Remove macro.
19592         (INTERNAL_VSYSCALL_CALL): New macro.
19593         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19595         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19596         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19597         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19599         (INLINE_VSYSCALL): Remove macro.
19600         (INTERNAL_VSYSCALL): Likewise.
19601         (INTERNAL_VSYSCALL_NCS): Likewise.
19602         (INTERNAL_VSYSCALL_CALL): New macro.
19603         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19605         PTR_DEMANGLE on vDSO pointer.
19606         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19607         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19608         macro.
19609         (INTERNAL_SYSCALL): Likewise.
19610         (INTERNAL_VSYSCALL_NCS): Remove macro.
19611         (INTERNAL_VSYSCALL_CALL): New macro.
19612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19613         Remove macro.
19614         (INTERNAL_VSYSCALL): Likewise.
19615         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19616         sysdep-vdso.h instead of libc-vdso.h.
19617         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19618         definition.
19619         (INLINE_VSYSCALL): Likewise.
19620         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19621         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19622         definition.
19623         (INLINE_VSYSCALL): Likewise.
19624         (INTERNAL_VSYSCALL): Likewise.
19625         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19626         * sysdeps/unix/sysv/linux/timespec_get.c
19627         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19628         (timespec_get): Use ANSI prototype.
19629         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19630         and definition for Linux.
19632 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19634         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19635         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19637 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19639         [BZ #2981]
19640         [BZ #18410]
19641         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19642         for missing DT_PLTRELSZ.
19644 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19646         Remove obsolete aliases that broke 'locale -a'
19647         [BZ #18412]
19648         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19649         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19650         breaking some applications that use 'locale -a' output.
19651         Change the encoding of this file from Latin-1 to ASCII to avoid
19652         other potential problems with people grepping this file.
19654 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19656         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19657         -fasynchronous-unwind-tables.
19658         (CFLAGS-sendto.c): Likewise.
19659         (CFLAGS-sendmsg.c): Likewise.
19660         (CFLAGS-connect.c): Likewise.
19661         (CFLAGS-recvmsg.c): Likewise.
19662         (CFLAGS-recvfrom.c): Likewise.
19663         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19664         (SOCKETCALL): New macro: non-cancellable socketcall.
19665         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19666         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19667         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19668         * sysdeps/unix/sysv/linux/accept.c: New file.
19669         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19670         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19671         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19672         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19673         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19674         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19675         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19676         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19677         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19678         * sysdeps/unix/sysv/linux/send.c: Likewise.
19679         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19680         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19681         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19682         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19683         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19684         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19685         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19686         prototype.
19687         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19688         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19689         instead of __internal_xxx function.
19690         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19691         prototype.
19692         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19693         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19694         instead of __internal_xxx function.
19695         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19696         prototype.
19697         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19698         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19699         instead of __internal_xxx function.
19700         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19701         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19702         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19703         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19704         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19705         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19706         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19707         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19708         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19709         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19710         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19711         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19712         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19713         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19714         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19715         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19716         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19717         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19718         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19719         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19722         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19723         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19724         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19725         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19726         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19727         * sysdeps/unix/sysv/linux/send.S: Likewise.
19728         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19729         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19730         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19731         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19732         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19733         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19734         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19735         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19736         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19737         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19738         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19739         socketcall is implemented in GLIBC.
19741 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19743         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19744         (__fma): Ignore uninitialized warnings around packing.
19745         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19746         (__fmaf): Ignore uninitialized warnings around packing.
19747         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19748         (__fmal): Ignore uninitialized warnings around packing.
19750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19751         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19752         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19753         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19755         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19756         switch statement into default case.
19757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19759         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19760         a conditional in forcing "inexact".
19761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19762         Likewise.
19764 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19766         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19767         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19768         for each INTERNAL_SYSCALL use.
19770 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19772         [BZ #438]
19773         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19774         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19775         variable.
19777         [BZ #18444]
19778         * string/basename.c (basename): Rename to __basename and define as
19779         weak alias of __basename.  Use libc_hidden_weak.
19780         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19781         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19782         __basename instead of basename.
19783         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19784         Remove variable.
19785         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19787 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19789         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19790         (_IO_JUMPS_FILE_plus): New.
19791         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19792         _IO_CAST_FIELD_ACCESS.
19793         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19794         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19795         * libio/freopen.c (freopen): Likewise.
19796         * libio/freopen64.c (freopen64): Likewise.
19797         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19798         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19799         * libio/iofwide.c (_IO_fwide): Likewise.
19800         * libio/memstream.c (open_memstream): Likewise.
19801         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19802         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19803         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19805 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19807         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19808         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19809         NADJ.
19810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19811         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19812         NADJ.
19813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19814         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19815         NADJ.
19817         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19818         (p == 4) case.
19820         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19821         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19822         Remove variable.
19823         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19824         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19825         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19827 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19829         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19830         Adjust jump table label generation macros.
19832 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19834         * stdio-common/vfprintf.c (vfprintf): Move local variables
19835         args_malloced, specs, specs_malloced, and the code after
19836         do_positional to the printf_positional function.
19837         (printf_positional): New function.
19839 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19841         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19842         function.
19843         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19844         STEP4_TABLE, process_arg): Move macro definitions
19845         out of the vfprintf function.  (Cosmetic change only.)
19847 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19849         * benchtests/Makefile (stdio-common-bench): Define.
19850         (benchset): Add stdio-common-bench.
19851         * sprintf-inputs: New file.
19852         * sprintf-source.c: New file.
19854 2015-05-21  Andreas Schwab  <schwab@suse.de>
19856         [BZ #13028]
19857         [BZ #17053]
19858         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19859         of struct __res_state.
19860         * resolv/res_send.c (__libc_res_nsend): Likewise.
19861         (get_nsaddr): New function.
19862         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19863         statp directly.
19865 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19867         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19868         -D_POSIX_C_SOURCE=199506L.
19870         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19872         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19873         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19874         Do not mention otherwise.
19875         [POSIX] (_XOPEN_VERSION): Do not expect.
19876         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19877         [POSIX] (_POSIX2_C_BIND): Likewise.
19878         [POSIX] (_POSIX2_VERSION): Likewise.
19879         [POSIX] (_XOPEN_XPG2): Likewise.
19880         [POSIX] (_XOPEN_XPG3): Likewise.
19881         [POSIX] (_XOPEN_XPG4): Likewise.
19882         [POSIX] (_XOPEN_UNIX): Likewise.
19883         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19884         [POSIX] (_POSIX_BARRIERS): Likewise.
19885         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19886         [POSIX] (_POSIX_CPUTIME): Likewise.
19887         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19888         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19889         [POSIX] (_POSIX_SHELL): Likewise.
19890         [POSIX] (_POSIX_SPAWN): Likewise.
19891         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19892         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19893         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19894         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19895         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19896         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19897         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19898         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19899         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19900         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19901         [POSIX] (_POSIX2_PBS): Likewise.
19902         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19903         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19904         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19905         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19906         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19907         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19908         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19909         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19910         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19911         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19912         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19913         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19914         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19915         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19916         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19917         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19918         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19919         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19920         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19921         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19922         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19923         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19924         [POSIX] (_SC_2_C_BIND): Likewise.
19925         [POSIX] (_SC_2_C_VERSION): Likewise.
19926         [POSIX] (_SC_2_PBS): Likewise.
19927         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19928         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19929         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19930         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19931         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19932         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19933         [POSIX] (_SC_BARRIERS): Likewise.
19934         [POSIX] (_SC_BASE): Likewise.
19935         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19936         [POSIX] (_SC_DEVICE_IO): Likewise.
19937         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19938         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19939         [POSIX] (_SC_FD_MGMT): Likewise.
19940         [POSIX] (_SC_FIFO): Likewise.
19941         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19942         [POSIX] (_SC_FILE_LOCKING): Likewise.
19943         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19944         [POSIX] (_SC_IOV_MAX): Likewise.
19945         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19946         [POSIX] (_SC_NETWORKING): Likewise.
19947         [POSIX] (_SC_PAGE_SIZE): Likewise.
19948         [POSIX] (_SC_PASS_MAX): Likewise.
19949         [POSIX] (_SC_PIPE): Likewise.
19950         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19951         [POSIX] (_SC_REGEXP): Likewise.
19952         [POSIX] (_SC_SHELL): Likewise.
19953         [POSIX] (_SC_SIGNALS): Likewise.
19954         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19955         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19956         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19957         [POSIX] (_SC_USER_GROUPS): Likewise.
19958         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19959         [POSIX] (_SC_STREAMS): Likewise.
19960         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19961         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19962         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19963         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19964         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19965         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19966         [POSIX] (_PC_FILESIZEBITS): Likewise.
19967         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19968         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19969         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19970         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19971         [POSIX] (uid_t): Likewise.
19972         [POSIX] (gid_t): Likewise.
19973         [POSIX] (off_t): Likewise.
19974         [POSIX] (pid_t): Likewise.
19975         [POSIX] (cuserid): Allow.
19976         (_SC_2_CHAR_TERM): Require constant.
19977         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19978         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19979         variable.
19981 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19983         * sysdeps/nacl/pthread-pids.h: New file.
19984         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19985         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19987         * nptl/pthread-pids.h: New file.
19988         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19989         * nptl/nptl-init.c: Include <pthread-pids.h>.
19990         (__pthread_initialize_minimal_internal):
19991         Call __pthread_initialize_pids instead of set_tid_address syscall.
19993         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19994         * sysdeps/posix/usleep.c: ... here.
19996 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19998         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19999         call_pselect6 object.
20000         [$(subdir) = io]: Remove call_sync_file_range object.
20001         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20002         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20003         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20004         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20006 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20008         * math/s_cproj.c: Add include "math_private.h".
20009         * math/s_cprojf.c: Likewise.
20010         * math/s_cprojl.c: Likewise.
20012 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20014         [BZ #18244]
20015         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20016         high mantissa bit when testing whether P is a NaN.
20017         * math/libm-test.inc (remainder_test_data): Add more tests.
20018         (remquo_test_data): Likewise.
20020         [BZ #18049]
20021         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20022         below -32, return the argument, with underflow if subnormal.
20023         * math/auto-libm-test-in: Add more tests of atanh.
20024         * math/auto-libm-test-out: Regenerated.
20026 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20028         [BZ #18434]
20029         * nptl/tst-sem15.c: New file.
20030         * nptl/Makefile (tests): Add it.
20031         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20032         s/<</>>/ to fix typo in EOVERFLOW check.
20033         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20035 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20037         * manual/strings.texi (envz_remove): Fix typo in safety
20038         annotations.
20040 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20041             Steve Ellcey  <sellcey@imgtec.com>
20043         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20044         in order to avoid strict alias warnings.
20045         (iruserok_af): Ditto for ra.
20047 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20049         [BZ #17581]
20050         * malloc/hooks.c
20051         (magicbyte): Convert to a function and avoid returning 0x01.
20052         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20053         (mem2chunk_check): Fix unsigned comparisons to zero.
20054         Hoist defs of sz and magic.
20056 2015-05-19  Richard Henderson  <rth@redhat.com>
20058         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20060         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20062 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064         [BZ #16159]
20065         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20066         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20067         (reused_arena): Find a non-corrupt arena.
20068         (heap_trim): Pass arena to unlink.
20069         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20070         malloc_printerr.
20071         (top_check): Likewise.
20072         (free_check): Likewise.
20073         (realloc_check): Likewise.
20074         * malloc/malloc.c (malloc_printerr): Add arena argument.
20075         (unlink): Likewise.
20076         (munmap_chunk): Adjust.
20077         (ARENA_CORRUPTION_BIT): New macro.
20078         (arena_is_corrupt): Likewise.
20079         (set_arena_corrupt): Likewise.
20080         (sysmalloc): Use mmap if there are no usable arenas.
20081         (_int_malloc): Likewise.
20082         (__libc_malloc): Don't fail if arena_get returns NULL.
20083         (_mid_memalign): Likewise.
20084         (__libc_calloc): Likewise.
20085         (__libc_realloc): Adjust for additional argument to
20086         malloc_printerr.
20087         (_int_free): Likewise.
20088         (malloc_consolidate): Likewise.
20089         (_int_realloc): Likewise.
20090         (_int_memalign): Don't touch corrupt arenas.
20091         * malloc/tst-malloc-backtrace.c: New test case.
20093         * Makefile (summarize-tests): Fix return value on success.
20095         * manual/string.texi (Envz Functions): Add envz_remove.
20097 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20099         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20100         (invalid_name): New function, broken out of ...
20101         (__opendirat): ... here.  Call it.
20102         (need_isdir_precheck): New function, broken out of ...
20103         (__opendirat): ... here.  Call it.
20104         Use __fxstatat64, not __xstatat64.
20105         (opendir_oflags): New function, broken out of ...
20106         (__opendirat): ... here.  Call it.
20107         (opendir_tail): New function, broken out of ...
20108         (__opendirat): ... here.  Call it.
20109         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20110         opendir_tail, rather than punting to __opendirat.
20111         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20113 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20115         * .gitignore: Ignore generated *.pyc.
20117 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20119         * include/stdio.h: Define __need_wint_t.
20120         * test-skeleton.c: Avoid `for' loop initial declaration.
20121         * nptl/tst-initializers1.c: Use test-skeleton.c.
20123 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20125         [BZ #18418]
20126         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20128 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #16352]
20131         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20132         (__ieee754_atanh): Force underflow exception for results with
20133         small absolute value.
20134         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20135         (__ieee754_atanhf): Force underflow exception for results with
20136         small absolute value.
20137         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20138         (__ieee754_atanh): Force underflow exception for results with
20139         small absolute value.
20140         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20141         (__ieee754_atanhf): Force underflow exception for results with
20142         small absolute value.
20143         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20144         (__ieee754_atanhl): Force underflow exception for results with
20145         small absolute value.
20146         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20147         (__ieee754_atanhl): Force underflow exception for results with
20148         small absolute value.
20149         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20150         (__ieee754_atanhl): Force underflow exception for results with
20151         small absolute value.
20152         * math/auto-libm-test-in: Do not allow missing underflow
20153         exceptions from atanh.
20154         * math/auto-libm-test-out: Regenerated.
20156         [BZ #18221]
20157         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20158         2**-28 as threshold for returning x or +/- 1/x.
20159         * math/auto-libm-test-in: Add more tests of tan.
20160         * math/auto-libm-test-out: Regenerated.
20162         [BZ #18220]
20163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20164         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20165         * math/auto-libm-test-in: Add another test of lgamma.
20166         * math/auto-libm-test-out: Regenerated.
20168 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20170         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20171         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20172         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20173         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20174         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20175         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20176         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20177         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20179         (log1): Use fabs.  (my_log2): Use fabs.
20180         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20181         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20183         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20185         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20186         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20187         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20188         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20189         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20190         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20192 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20194         [BZ #18217]
20195         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20196         as threshold for returning 1 - x.
20197         * math/auto-libm-test-in: Add more tests of erfc.
20198         * math/auto-libm-test-out: Regenerated.
20200 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20202         [BZ #18196]
20203         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20204         threshold for large arguments.
20205         * math/auto-libm-test-in: Add another test of atan.
20206         * math/auto-libm-test-out: Regenerated.
20208         [BZ #16339]
20209         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20210         (__log1p): Force underflow exception for results with small
20211         absolute value.
20212         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20213         (__log1pf): Force underflow exception for results with small
20214         absolute value.
20215         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20216         (__log1p): Force underflow exception for results with small
20217         absolute value.
20218         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20219         (__log1pf): Force underflow exception for results with small
20220         absolute value.
20221         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20222         (__log1pl): Force underflow exception for results with small
20223         absolute value.
20224         * math/auto-libm-test-in: Do not allow missing underflow
20225         exceptions from log1p.
20226         * math/auto-libm-test-out: Regenerated.
20228 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20229             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20231         [BZ #16704]
20232         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20234 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20236         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20237         (libmvec): New variable.
20238         * configure.ac: Added option for mathvec build.
20239         * configure: Regenerated.
20240         * mathvec/Depend: New file.
20241         * mathvec/Makefile: New file.
20242         * shlib-versions: Added libmvec.
20243         * math/Makefile: Added rule for libm.so installation.
20245         * bits/math-vector.h: New file.
20246         * bits/libm-simd-decl-stubs.h: New header.
20247         * math/Makefile (headers): Added new header
20248         libm-simd-decl-stubs.h.
20249         * math/math.h (__MATHCALL_VEC): New macro.
20251         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20252         for conditions in testing functions.
20253         * math/Makefile: Added call of libm-have-vector-test.sh.
20254         * math/libm-test.inc (HAVE_VECTOR): New macros.
20256         * math/libm-test.inc: START refactored.
20257         * math/test-double.c (TEST_MATHVEC): Add define.
20258         * math/test-float.c: Likewise.
20259         * math/test-idouble.c: Likewise.
20260         * math/test-ifloat.c: Likewise.
20261         * math/test-ildoubl.c: Likewise.
20262         * math/test-ldouble.c: Likewise.
20263         * sysdeps/generic/math-tests-arch.h
20264         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20265         architecture check.
20267         * math/test-double.c (FUNC_TEST): New macro.
20268         * math/test-float.c: Likewise.
20269         * math/test-idouble.c: Likewise.
20270         * math/test-ifloat.c: Likewise.
20271         * math/test-ildoubl.c: Likewise.
20272         * math/test-ldouble.c: Likewise.
20273         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20275 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20277         * sysdeps/nacl/fdopendir.c: New file.
20279         * dirent/scandir-tail.c: New file.
20280         * dirent/scandir64-tail.c: New file.
20281         * dirent/Makefile (routines): Add them.
20282         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20283         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20284         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20285         [!SCANDIR] (SCANDIR_TAIL): New macro.
20286         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20287         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20288         (SCANDIRAT): Macro removed.
20289         (SCANDIR_TAIL): New macro.
20290         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20291         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20292         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20293         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20294         (READDIR): Macro removed.
20295         (SCANDIR_TAIL): New macro.
20296         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20297         (SCANDIR_TAIL): New macro.
20299         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20300         * dirent/scandir-cancel.c: ... to this new file.
20301         * dirent/Makefile (routines): Add it.
20302         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20303         * sysdeps/unix/sysv/linux/i386/scandir64.c
20304         (SKIP_SCANDIR_CANCEL): Macro removed.
20305         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20307         * dirent/tst-scandir.c: New file.
20308         * dirent/tst-scandir64.c: New file.
20309         * dirent/Makefile (tests): Add them.
20311 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20313         [BZ #18409]
20314         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20316 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20318         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20319         list.
20321 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20323         * benchtests/bench-strcoll.c: New benchmark.
20324         * benchtests/Makefile: Generate locales and run benchmark.
20325         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20326         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20327         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20328         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20329         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20330         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20331         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20332         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20333         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20334         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20335         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20336         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20337         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20338         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20339         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20340         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20341         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20342         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20343         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20344         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20345         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20346         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20347         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20348         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20350 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20352         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20353         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20355 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20357         * posix/uname-values.h: New file.
20358         * posix/uname.c: Include that instead of <config-name.h>.
20359         * sysdeps/nacl/uname-values.h: New file.
20360         * sysdeps/arm/nacl/uname-values.h: New file.
20362 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20364         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20365         splitting into fields.
20367 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20369         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20370         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20371         * locale/localeinfo.h: Add enum collation_encoding_type.
20372         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20373         * programs/ld-collate.c (collate_output): Add encoding type info.
20374         * string/strcoll_l.c (STRDIFF): New function.
20375         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20376         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20378 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20380         [BZ #18397]
20381         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20382         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20383         <fpu_control.h> instead of <math/fpu_control.c>.
20384         * sysdeps/mips/mips32/fpu/Makefile: New file.
20386 2015-05-11  Andreas Schwab  <schwab@suse.de>
20388         [BZ #18007]
20389         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20390         nss_endgrent.
20391         (_nss_compat_endgrent): Call nss_endgrent.
20392         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20393         nss_endpwent.
20394         (_nss_compat_endpwent): Call nss_endpwent.
20395         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20396         needent, call nss_setspent only if non-zero.
20397         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20398         (internal_endspent): Don't call nss_endspent.
20399         (_nss_compat_endspent): Call nss_endspent.
20400         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20401         Remove.  All uses removed.
20402         (internal_setent): Remove parameter stayopen, add parameter
20403         stream.  Use it instead of global variable.
20404         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20405         (internal_endent, internal_getent): Add parameter stream.  Use it
20406         instead of global variable.
20407         (CONCAT(_nss_files_end,ENTNAME))
20408         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20409         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20410         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20411         uses removed.
20412         (internal_setent, internal_endent): Add parameter stream.  Use it
20413         instead of global variable.
20414         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20415         stream.
20416         (get_next_alias): Add parameter stream.
20417         (_nss_files_getaliasent_r): Pass global stream.
20418         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20419         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20420         (_nss_files_gethostbyname4_r): Pass local stream to
20421         internal_setent, internal_getent and internal_endent.  Remove
20422         locking.
20424 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20426         * tst-strfmon1.c (tests): Update expected currency symbol.
20428 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20430         * sysdeps/nacl/gethostname.c: New file.
20432 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20434         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20435         and sinh.
20436         * math/auto-libm-test-out: Regenerated.
20437         * sysdeps/i386/fpu/libm-test-ulps: Update.
20438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20442         [BZ #18125]
20443         * stdlib/tst-setcontext3.c: New file.
20444         * stdlib/tst-setcontext3.sh: New file.
20445         * stdlib/Makefile (tests): Add tst-setcontext3.
20446         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20447         to verify test program created output file.
20448         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20449         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20450         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20451         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20453 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20455         [BZ #18383]
20456         * elf/tst-tlsalign.c: New file.
20457         * elf/tst-tlsalign-static.c: New file.
20458         * elf/tst-tlsalign-lib.c: New file.
20459         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20460         (tests-static): Add tst-tlsalign-static.
20461         (modules-names): Add tst-tlsalign-lib.
20462         (test-xfail-tst-tlsalign): New variable.
20463         (test-xfail-tst-tlsalign-static): New variable.
20465         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20466         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20468 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20470         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20471         csqrt, erfc, sin and sincos.
20472         * math/auto-libm-test-out: Regenerated.
20473         * sysdeps/i386/fpu/libm-test-ulps: Update.
20474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20476 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20478         * sysdeps/aarch64/libm-test-ulps: Update.
20480 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20482         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20483         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20484         * math/auto-libm-test-out: Regenerated.
20485         * sysdeps/i386/fpu/libm-test-ulps: Update.
20486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20488 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20490         [BZ #18265]
20491         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20492         (wcsncpy): Likewise.
20494 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20496         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20497         Assume __ASSUME_FALLOCATE is always true.
20498         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20499         (__posix_fallocate64_l64): Likweise.
20500         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20501         (posix_fallocate): Likewise.
20502         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20503         (__posix_fallocate64_l64): Likewise.
20504         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20505         [!__ASSUME_FALLOCATE]: Add comment.
20507 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20509         * sysdeps/unix/sysv/linux/i386/Makefile
20510         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20511         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20512         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20513         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20514         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20515         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20516         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20518 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20520         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20521         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20522         tgamma.
20523         * math/auto-libm-test-out: Regenerated.
20524         * sysdeps/i386/fpu/libm-test-ulps: Update.
20525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20527 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20529         * math/auto-libm-test-in: Add more tests of tgamma.
20530         * math/auto-libm-test-out: Regenerated.
20531         * sysdeps/i386/fpu/libm-test-ulps: Update.
20532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20534         * math/auto-libm-test-in: Add more tests of tanh.
20535         * math/auto-libm-test-out: Regenerated.
20536         * sysdeps/i386/fpu/libm-test-ulps: Update.
20537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539         * math/auto-libm-test-in: Add more tests of tan.
20540         * math/auto-libm-test-out: Regenerated.
20541         * sysdeps/i386/fpu/libm-test-ulps: Update.
20542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20545         * math/auto-libm-test-out: Regenerated.
20546         * sysdeps/i386/fpu/libm-test-ulps: Update.
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549         * math/auto-libm-test-in: Add another test of pow.
20550         * math/auto-libm-test-out: Regenerated.
20551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20553         * math/auto-libm-test-in: Add more tests of lgamma.
20554         * math/auto-libm-test-out: Regenerated.
20555         * sysdeps/i386/fpu/libm-test-ulps: Update.
20556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20558         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20559         log1p.
20560         * math/auto-libm-test-out: Regenerated.
20561         * sysdeps/i386/fpu/libm-test-ulps: Update.
20562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20564 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20566         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20567         Elf64_Chdr structs and ELFCOMPRESS constants.
20569 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20571         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20572         expm1.
20573         * math/auto-libm-test-out: Regenerated.
20574         * sysdeps/i386/fpu/libm-test-ulps: Update.
20575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577         * math/auto-libm-test-in: Add more tests of erf and erfc.
20578         * math/auto-libm-test-out: Regenerated.
20579         * sysdeps/i386/fpu/libm-test-ulps: Update.
20580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20582 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20584         * config.h.in (HAVE_AARCH64_BE): Add.
20586 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20588         * math/auto-libm-test-in: Add more tests of csqrt.
20589         * math/auto-libm-test-out: Regenerated.
20590         * sysdeps/i386/fpu/libm-test-ulps: Update.
20591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20593         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20594         * math/auto-libm-test-out: Regenerated.
20595         * sysdeps/i386/fpu/libm-test-ulps: Update.
20596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20598         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20600 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20602         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20603         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20605         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20606         (euidaccess, eaccess): Define as weak aliases.
20608         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20609         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20610         but __suseconds_t is often 'long int' so some sources assume that
20611         type is being used (e.g. they use %ld to print tv_usec).
20613 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20615         [BZ #18007]
20616         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20617         (CVE-2014-8121)
20618         * nss/tst-nss-getpwent.c: New file.
20619         * nss/Makefile (tests): Add new test.
20621 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20623         [BZ #18346]
20624         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20625         exponents less than 48 as cases where high part of mantissa needs
20626         examining to determine whether argument is integral.
20627         * math/libm-test.inc (round_test_data): Add more tests.
20629 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20631         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20633 2015-04-27  David S. Miller  <davem@davemloft.net>
20635         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20636         __tls_get_addr.
20637         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20639 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20641         [BZ#18333]
20642         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20644 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20646         [BZ#18333]
20647         * time/tzset.c (parse_tzname): Return error on memory allocation
20648         failure.
20649         * test-skeleton.c (struct temp_name_list): Change type of name
20650         member to non-const.
20651         (add_temp_file): Create a copy of the file name.
20652         (delete_temp_files): Deallocate memory.
20653         (create_temp_file): Add comment.
20655 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20657         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20658         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20660 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20662         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20663         * sysdeps/arm/configure: Regenerated.
20665 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20667         [BZ #17715]
20668         * time/tzfile.c (__tzfile_read): Check for large values of
20669         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20670         * time/tzset.c (__tzstring_len): New function, based on the old
20671         __tzstring function.
20672         (__tzstring): Call __tzstring_len.
20673         (parse_tzname): New helper function extracted from
20674         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20675         the input string.
20676         (parse_offset): New helper function extracted from
20677         __tzset_parse_tz.  Replace switch with fallthrough with
20678         initialization before sscanf.
20679         (parse_rule): Likewise.
20680         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20681         new-style function definition.
20682         * timezone/Makefile (tests): Add tst-tzset.
20683         (tst-tzset.out): Dependencies on time zone files.
20684         (tst-tzset-ENV): Set TZDIR.
20685         (testdata/XT%): Copy crafted time zone files.
20686         * timezone/README: Mention crafted time zone files.
20687         * timezone/testdata/XT1, timezone/testdata/XT2,
20688         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20689         files.
20690         * timezone/tst-tzset.c: New test.
20692 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20694         * Makeconfig (+gccwarn): Remove -Winline.
20696 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20698         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20700 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20702         * NEWS: Mention sysconf() cache information support for s390.
20703         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20705 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20707         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20708         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20709         (__nearbyint): Likewise.
20710         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20711         (copysignl): Likewise.
20713 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20715         [BZ #18287]
20716         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20717         based on padding.  (CVE-2015-1781)
20719 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20721         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20722         libc-vdso.h.
20723         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20724         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20725         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20726         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20727         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20728         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20730         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20731         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20732         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20733         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20734         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20735         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20736         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20737         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20738         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20739         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20740         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20741         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20742         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20743         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20744         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20745         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20747 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20749         * stdlib/setenv.c (__add_to_environ):
20750         Dump core quickly if setenv (..., NULL, ...) is called.
20751         This time, do it the right way, and pacify GCC with a pragma.
20753 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20755         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20756         IMAP->l_prev cannot be null, and #if out the code for the contrary
20757         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20758         believe that NS (&_dl_ns[NSID]) could point outside the array.
20760         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20761         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20762         before using NSID as an index.
20764 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20766         [BZ #17825]
20767         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20768         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20769         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20771 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20773         Add preliminary port to Google Native Client on ARM.
20774         * abi-tags (.*-.*-nacl.*): New entry.
20775         * sysdeps/arm/nacl: New directory.
20776         * sysdeps/nacl: New directory.
20778 2015-04-16  David S. Miller  <davem@davemloft.net>
20780         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20781         lowlevellock-futex.h
20783 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20785         * sysdeps/tile/configure.ac: New file.
20786         * sysdeps/tile/configure: Regenerated.
20788 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20790         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20791         conditionals for weak_alias and libc_hidden_weak.
20792         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20793         libc_hidden_weak and weak_alias.
20794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20795         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20796         and weak_alias for static one.
20798 2015-04-15  David S. Miller  <davem@davemloft.net>
20800         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20802 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20804         [BZ #18206]
20805         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20806           Use signed comparision instead of substraction to avoid
20807           overflow bug.
20808         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20809           Take the sign of ret.
20810         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20811           Do not expect precise return values. Only the sign matters.
20812         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20813         * wcsmbs/test-wcsncmp.c: New File.
20814         * string/test-strncmp.c: Add wcsncmp support.
20816 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20818         [BZ #6792]
20819         * math/w_log1p.c: New file.
20820         * math/w_log1pf.c: Likewise.
20821         * math/w_log1pl.c: Likewise.
20822         * math/Makefile (libm-calls): Add w_log1p.
20823         * math/s_log1pl.c (log1pl): Remove weak_alias.
20824         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20825         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20826         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20827         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20828         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20829         [NO_LONG_DOUBLE] (log1pl): Likewise.
20830         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20831         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20832         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20833         (log1p): Remove long_double_symbol.
20834         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20835         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20836         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20837         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20838         remove weak_alias for corresponding log1p function.
20839         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20840         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20841         * sysdeps/ia64/fpu/w_log1p.c: New file.
20842         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20843         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20844         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20846 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20848         [BZ #18247]
20849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20850         decimal exponent by 1.
20851         * stdlib/tst-strtod-round-data: Add more tests.
20852         * stdlib/tst-strtod-round.c (tests): Regenerated.
20854 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20856         * math/auto-libm-test-in: Add more tests of clog and clog10.
20857         * math/auto-libm-test-out: Regenerated.
20858         * sysdeps/i386/fpu/libm-test-ulps: Update.
20859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20861 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20863         * Makeconfig (module-cppflags): Exclude all .v.i files.
20864         (skip-module-cppflags): Variable removed.
20866         * configure.ac (libc_config_ok): Initialize before reading
20867         preconfigure scripts, not after.
20868         * configure: Regenerated.
20870         * test-skeleton.c (TIMEOUT): Move #define to top level.
20871         (main): Grok environment variable TEST_DIRECT.  If set, print
20872         test expectation details into that file and then behave as if
20873         given --direct.
20875 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20877         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20878         warning on 32-bit.
20880 2015-04-08  David S. Miller  <davem@davemloft.net>
20882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20884 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20886         * math/auto-libm-test-in: Add more tests of atanh.
20887         * math/auto-libm-test-out: Regenerated.
20888         * sysdeps/i386/fpu/libm-test-ulps: Update.
20889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20891         * math/auto-libm-test-in: Add more tests of atan.
20892         * math/auto-libm-test-out: Regenerated.
20893         * sysdeps/i386/fpu/libm-test-ulps: Update.
20894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20896 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20898         * elf/pldd.c (main): Rewrite to use struct
20899         scratch_buffer instead of extend_alloca.
20900         * elf/pldd-xx.c (find_maps): Likewise.
20901         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20902         <alloca.h>.
20903         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20904         scratch_buffer instead of extend_alloca.
20905         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20906         grp/compat-initgroups.c.
20907         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20908         Rewrite to use struct scratch_buffer instead of extend_alloca.
20909         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20910         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20912 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20914         * math/auto-libm-test-in: Add more tests of cbrt.
20915         * math/auto-libm-test-out: Regenerated.
20916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20918         * math/auto-libm-test-in: Add more tests of cabs.
20919         * math/auto-libm-test-out: Regenerated.
20920         * sysdeps/i386/fpu/libm-test-ulps: Update.
20921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20923         [BZ #18210]
20924         [BZ #18211]
20925         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20926         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20927         computations.
20928         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20929         clog10.
20930         * math/auto-libm-test-out: Regenerated.
20931         * sysdeps/i386/fpu/libm-test-ulps: Update.
20932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20934         [BZ #18197]
20935         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20936         (atan): Set FE_TONEAREST mode for internal computations.
20937         * math/auto-libm-test-in: Add more tests of atan.
20938         * math/auto-libm-test-out: Regenerated.
20940 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20942         [BZ #17930]
20943         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20945 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20947         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20949 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20951         * include/scratch_buffer.h: New file.
20952         * malloc/scratch_buffer_grow.c: Likewise.
20953         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20954         * malloc/scratch_buffer_set_array_size.c: Likewise.
20955         * malloc/tst-scratch_buffer.c: Likewise.
20956         * malloc/Makefile (routines): Add scratch_buffer_grow.
20957         (tests): Add test case.
20958         * malloc/Versions (GLIBC_PRIVATE): Export
20959         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20960         __libc_scratch_buffer_set_array_size.
20962 2015-04-06  Richard Henderson  <rth@redhat.com>
20964         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20965         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20967         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20968         unsigned int before printing.
20970 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20972         [BZ #17596]
20973         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20974         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20976 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20978         * include/libc-internal.h (libc_max_align_t): Define.
20980 2015-04-02  Andreas Schwab  <schwab@suse.de>
20982         [BZ #16850]
20983         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20985 2015-04-02  Mel Gorman  <mgorman@suse.de>
20987         [BZ #17195]
20988         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20989         as well as the main arena.
20991 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20993         [BZ #18185]
20994         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20995         sharing L2 cache to 2 for Silvermont/Knights Landing.
20997 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20999         [BZ #17711]
21000         * config.make.in (have-protected-data): New.
21001         * configure.ac: Check linker support for protected data symbol.
21002         * configure: Regenerated.
21003         * elf/Makefile (modules-names): Add tst-protected1moda and
21004         tst-protected1modb if $(have-protected-data) is yes.
21005         (tests): Add tst-protected1a and tst-protected1b if
21006         $(have-protected-data) is yes.
21007         ($(objpfx)tst-protected1a): New.
21008         ($(objpfx)tst-protected1b): Likewise.
21009         (tst-protected1modb.so-no-z-defs): Likewise.
21010         * elf/tst-protected1a.c: New file.
21011         * elf/tst-protected1b.c: Likewise.
21012         * elf/tst-protected1mod.h: Likewise.
21013         * elf/tst-protected1moda.c: Likewise.
21014         * elf/tst-protected1modb.c: Likewise.
21016 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21018         [BZ #17711]
21019         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21020         indicates it is called from do_lookup_x on relocation against
21021         protected data, skip the data definion in the executable from
21022         copy reloc.
21023         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21024         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21025         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21026         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21027         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21028         otherwise to 0.
21029         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21030         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21031         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21032         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21033         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21034         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21036 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21038         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21039         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21041 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21043         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21044         THREAD_SETMEM_NC.
21045         * sysdeps/x86_64/nptl/tls.h: Ditto.
21047 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21049         * dlfcn/tststatic.c (main): Converted to ...
21050         (do_test): ... this.
21051         (TEST_FUNCTION): New macro.
21052         Include test-skeleton.c.
21054 2015-03-26  Alan Modra  <amodra@gmail.com>
21056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21057         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21058         zero for undefined weak.
21059         (elf_machine_plt_conflict): Similarly.
21061 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21063         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21064         atanh.
21065         * math/auto-libm-test-out: Regenerated.
21066         * sysdeps/i386/fpu/libm-test-ulps: Update.
21067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21069         * math/auto-libm-test-in: Add another test of asin.
21070         * math/auto-libm-test-out: Regenerated.
21071         * sysdeps/i386/fpu/libm-test-ulps: Update.
21072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21074         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21075         Remove macro.
21076         (LLL_EBX_REG): Likewise.
21077         (LLL_ENTER_KERNEL): Likewise.
21079         * math/auto-libm-test-in: Add more tests of asin.
21080         * math/auto-libm-test-out: Regenerated.
21081         * sysdeps/i386/fpu/libm-test-ulps: Update.
21082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21084         [BZ #18138]
21085         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21086         libc_do_syscall_args): New structure.
21087         (INTERNAL_SYSCALL_MAIN_0): New macro.
21088         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21089         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21090         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21091         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21092         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21093         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21094         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21095         Replace conditional definitions by conditional definitions of ....
21096         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21097         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21098         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21099         (libpthread-sysdep_routines): Add libc-do-syscall.
21100         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21102         to __NR_futex not 240.
21104 2015-03-25  Alan Modra  <amodra@gmail.com>
21106         * NEWS: Advertise TLS optimization.
21107         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21108         (DT_PPC_NUM): Increment.
21109         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21110         (CHECK_STATIC_TLS): Use here.
21111         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21112         TLS descriptors.
21113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21114         * sysdeps/powerpc/dl-tls.c: New file.
21115         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21116         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21117         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21118         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21123 2015-03-25  Alan Modra  <amodra@gmail.com>
21125         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21126         for overlapping .opd entries" to "support...".
21127         * sysdeps/powerpc/powerpc64/configure: Regenerate
21129 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21131         * math/auto-libm-test-in: Add more tests of acos.
21132         * math/auto-libm-test-out: Regenerated.
21133         * sysdeps/i386/fpu/libm-test-ulps: Update.
21134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21136         * math/auto-libm-test-in: Add more tests of expm1.
21137         * math/auto-libm-test-out: Regenerated.
21138         * sysdeps/i386/fpu/libm-test-ulps: Update.
21139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21141 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21143         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21144         * math/auto-libm-test-out: Regenerated.
21145         * sysdeps/i386/fpu/libm-test-ulps: Update.
21146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21148         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21151         * math/auto-libm-test-in: Add more tests of log2.
21152         * math/auto-libm-test-out: Regenerated.
21153         * sysdeps/i386/fpu/libm-test-ulps: Update.
21154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21156 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21158         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21159         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21160         _IO_IS_APPENDING bit in READ_WRITE instead.
21162 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21164         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21165         (__determine_cpumask_size): Replace extend_alloca with a
21166         variable-length array.  Do not treat res == 0 as an error.
21168 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21170         [BZ #18100]
21171         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21172         and integer overflow.
21173         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21174         (main): Add integer overflow tests.
21175         * manual/pattern.texi (Calling Wordexp): Document additional use
21176         for WRDE_SYNTAX.
21178 2015-03-23  Alan Modra  <amodra@gmail.com>
21180         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21181         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21182         and false branch of conditional.
21183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21184         Likewise.
21186 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21188         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21189         libc-modules.h
21190         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21191         unused declaration of _hurd_intr_rpc_msg_in_trap.
21192         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21193         defined instead of whether it is non-zero.
21194         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21195         input constraint instead of both input and output constraint.  Use ecx
21196         clobber instead of %ecx.
21197         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21198         mutex_unlock): Use a statement expression instead of an expression list.
21199         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21200         type to vm_size_t instead of vm_address_t.
21201         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21202         defined instead of whether it is non-zero.
21203         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21204         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21205         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21206         comparisons with mapaddr.
21207         * nscd/nscd-client.h: Include <time.h>.
21208         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21209         9th parameter to __vm_region instead of int.
21210         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21211         * scripts/check-local-headers.sh (exclude): Add device/,
21212         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21213         cthreads.h.
21215 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21217         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21218         to account for alignment padding.
21219         * sysdeps/arm/memmove.S: Likewise.
21221 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21223         * sysdeps/unix/sysv/linux/generic/README: New file.
21225 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21227         [BZ #18138]
21228         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21229         (futex_abstimed_wait)
21230         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21231         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21232         of lll_futex_timed_wait.
21234 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21236         [BZ #17542]
21237         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21239 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21241         [BZ #17090]
21242         [BZ #17620]
21243         [BZ #17621]
21244         [BZ #17628]
21245         * NEWS: Update.
21246         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21247         entries with Static TLS too.  Skip entries past the end of the
21248         allocated DTV, from Alan Modra.
21249         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21250         Static TLS DTV entry set up from...
21251         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21252         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21253         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21254         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21255         for Static TLS.
21256         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21257         that the slot we find is associated with the given map before
21258         using its generation count.
21259         * nptl_db/db_info.c: Include ldsodefs.h.
21260         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21261         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21262         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21263         (link_map::l_tls_offset): New struct field.
21264         (dtv_t::counter): Likewise.
21265         (rtld_global): New struct.
21266         (_rtld_global): New rtld variable.
21267         (dl_tls_dtv_slotinfo_list): New rtld global field.
21268         (dtv_slotinfo_list): New struct.
21269         (dtv_slotinfo): Likewise.
21270         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21271         (td_lookup): Rename to...
21272         (td_mod_lookup): ... this.  Use new mod parameter instead of
21273         LIBPTHREAD_SO.
21274         * nptl_db/td_thr_tlsbase.c: Include link.h.
21275         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21276         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21277         addresses even if the DTV is out of date or missing them.
21278         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21279         index zero-length arrays.
21280         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21281         (td_lookup): Make it a macro implemented in terms of...
21282         (td_mod_lookup): ... this declaration.
21283         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21284         (DB_MAIN_VARIABLE): Likewise.
21286 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21288         [BZ #18134]
21289         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21291 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21293         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21295 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21297         [BZ #18128]
21298         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21299         (atomic_add, atomic_increment_and_test)
21300         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21302 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21304         * stdlib/setenv.c (__add_to_environ):
21305         Dump core quickly if setenv (..., NULL, ...) is called.
21307 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21309         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21310         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21311         all the necessary asm magic in one place.
21312         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21313         using those.
21315 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21317         [BZ #14906]
21318         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21319         traced file mtime. Use consistent log message.
21320         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21321         (register_traced_file): Call install_watches. Always set mtime.
21322         (invalidate_cache): Iterate over all trace files. Call install_watches.
21323         (inotify_check_files): Don't inline. Handle watching parent
21324         directories and configuration file movement in and out.
21325         (handle_inotify_events): New function.
21326         (main_loop_poll): Call handle_inotify_events.
21327         (main_loop_epoll): Likewise.
21328         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21329         (struct traced_file): Use array of inotify fds. Add parent directory,
21330         and basename.
21331         (struct database_dyn): Remove unused file_mtime.
21332         (init_traced_file): New inline function.
21333         (define_traced_file): New macro.
21334         * nss/nss_db/db-init.c: Use define_traced_file.
21335         (_nss_db_init): Use init_traced_file.
21336         * nss/nss_files/files-init.c: Use define_traced_file.
21337         (_nss_files_init): Use init_traced_file.
21339 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21341         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21342         [_LIBC]: Do not include <stdlib.h>.
21343         [!_LIBC] (abort): Remove declaration.
21344         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21345         _FP_STATIC_ASSERT instead of conditionally calling abort.
21346         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21347         (_FP_EXTEND_CNAN): Likewise.
21348         (FP_TRUNC): Likewise.
21349         (__FP_CLZ): Likewise.
21350         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21352 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21354         * manual/string.texi (XPG basename): Fix prototype.
21356 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21358         [BZ #18080]
21359         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21360         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21361         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21362         (__setcontext): Likewise.
21363         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21364         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21365         Call rt_sigprocmask syscall one time to set new signal mask
21366         and retrieve the current signal mask instead of two calls.
21367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21368         (__swapcontext): Likewise.
21369         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21370         * stdlib/tst-setcontext2.c: New file.
21372 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21374         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21376 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21378         [BZ #18093]
21379         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21380         the wrong size.
21382 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21384         [BZ #18043]
21385         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21387 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21389         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21390         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21391         Remove define.
21392         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21393         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21394         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21395         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21396         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21397         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21398         define.
21399         * nptl_db/td_symbol_list.c (td_lookup): Remove
21400         HAVE_ASM_GLOBAL_DOT_NAME code.
21401         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21402         HAVE_ASM_GLOBAL_DOT_NAME check.
21403         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21404         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21405         (DOT_LABEL): Remove define.
21406         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21407         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21408         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21409         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21410         (__TLS_GET_ADDR): Likewise.
21411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21412         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21414 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21416         [BZ #18111]
21417         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21418         (_FPU_SETCW): Initialize cw from fpsr before storing.
21419         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21420         (fesetexceptflag): Rewrite using fpu_control.h.
21421         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21423 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21425         [BZ #18110]
21426         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21427         asms.
21428         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21430 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21432         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21433         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21434         abort.
21435         (_FP_FMA): Likewise.
21436         (_FP_DIV): Likewise.
21438 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21440         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21441         with 0 in that case.
21442         * Makefile (summarize-tests): New canned sequence, factored out of
21443         commands for targets tests and xtests.  Display summary lines that
21444         don't start with PASS: or XFAIL: rather than ones that do start with
21445         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21446         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21447         do start with ERROR: or FAIL:.
21448         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21449         (except for [$(build-shared) = yes]).
21450         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21451         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21452         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21453         * nptl/Makefile: Revert 2015-03-04 changes.
21454         [$(CXX) empty] (tests-unsupported): New variable.
21455         * debug/Makefile: Likewise.
21457         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21458         gnulib file.  Replace __attribute with __attribute__ throughout.
21460 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21462         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21464 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21466         [BZ #18104]
21467         * math/auto-libm-test-in: Add another test of pow.
21468         * math/auto-libm-test-out: Regenerated.
21470 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21472         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21473         $(config-cflags-nofma).
21475 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21477         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21478         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21479         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21480         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21481         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21482         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21483         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21484         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21485         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21486         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21487         Add comment on closing #endif.
21489 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21491         * posix/wordexp.c (CHAR_IN_SET): New macro.
21492         (parse_param): Use it.
21494 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21496         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21498 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21500         [BZ #18043]
21501         * posix/wordexp.c (parse_param): Fix buffer overflow.
21502         * posix/wordexp-test.c (test_case): Add test case.
21504 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21506         [BZ #18042]
21507         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21508         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21510 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21512         [BZ #18043]
21513         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21514         (do_bz18043): Delete.
21515         (at_page_end): New.
21516         (testit): Refactor to have words at the edge of unreadable page.
21518 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21520         [BZ #16734]
21521         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21522         Cleanup read-only streams as well.
21523         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21525 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21527         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21528         <bits/libc-lockP.h>
21530 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21532         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21533         on [__KERNEL__].
21534         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21535         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21536         * soft-fp/op-common.h (_FP_DECL): Likewise.
21538 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21540         * elf/ifuncdep2.c (global): Replace
21541         __attribute__((visibility("protected"))) with
21542         asm (".protected global").
21543         * elf/ifuncmod1.c (global): Likewise.
21544         * elf/ifuncmod5.c (global): Likewise.
21546 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21548         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21549         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21551 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21553         * manual/install.texi (Configuring and compiling):
21554         Document test-wrapper-env-only.
21555         * INSTALL: Regenerated.
21557 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21559         [BZ #18043]
21560         * posix/wordexp.c (parse_param): Fix buffer overflow.
21561         * posix/wordexp-test.c (do_bz18043): Add test case.
21563 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21565         * time/tst-strptime2.c (do_test): Ensure failing tests are
21566         reported correctly.
21567         * time/tst-strptime3.c (do_test): Likewise.
21569 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21571         Fix aio_error thread-safety.
21572         * sysdeps/pthread/aio_error.c: New file
21573         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21574         synchronization.
21576 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21578         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21579         (group_number, vfprintf): Use it.
21580         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21581         (JUMP, REF): Use it.
21582         (WORK_BUFFER_SIZE): New enum constant.
21583         (process_arg, vfprintf): Use it.
21585 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21587         * manual/errno.texi (Error Messages): Complete example function
21588         by adding missing #define.
21589         (program_invocation_name): Add statement indicating GNU
21590         extension and reference which header file declares the variable.
21591         (program_invocation_short_name): Likewise.
21593 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21595         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21596         compatibility note.
21598 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21600         * Makeconfig (test-wrapper-env-only): New variable.
21601         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21602         then use that with $(test-wrapper-env-only) rather than using
21603         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21605 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21607         [BZ #18082]
21608         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21609         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21610         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21611         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21612         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21613         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21614         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21615         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21616         Likewise.
21617         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21618         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21619         Likewise.
21620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21621         Likewise.
21622         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21623         Likewise.
21624         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21625         Likewise.
21626         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21627         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21628         Likewise.
21629         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21630         Likewise.
21631         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21632         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21634 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21636         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21637         (ETH_ALEN): New macro.
21638         (struct ether_addr): Use it for length of ether_addr_octet.
21640         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21641         (setdb): Don't call __nss_configure_lookup for "rpc".
21642         (do_test): Don't call test_rpc.
21643         (output_rpcent, test_rpc): Functions moved ...
21644         * sunrpc/test-rpcent.c: ... to this new file.
21645         * sunrpc/Makefile (tests): Add it.
21647         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21648         __xpg_sigpause.
21649         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21650         * nptl/tst-signal6.c: Likewise.
21651         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21652         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21654         * configure.ac (libc_cv_cxx_link_ok): New check.
21655         Reset CXX to empty if it fails to link.
21656         * configure: Regenerated.
21657         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21658         bug-atexit3-lib only if $(CXX) is nonempty.
21659         * nptl/Makefile (tests): Likewise for tst-cancel24.
21660         (tests, tests-static): Likewise for tst-cancel24-static.
21661         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21662         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21663         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21664         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21666 2015-03-04  Andreas Schwab  <schwab@suse.de>
21668         [BZ #17631]
21669         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21670         for non-GCC compilers.
21671         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21672         Likewise.
21674 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21676         [BZ #17776]
21677         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21678         integer before bitwise and assembly operations.
21679         (feclearexcept): Likewise.
21680         * math/test-fenvinline.c: New file.
21681         * math/Makefile: Add test-fenvinline test.
21683 2015-03-03  Alan Modra  <amodra@gmail.com>
21685         [BZ #16512]
21686         * scripts/localplt.awk: Strip off symbol version.
21687         * NEWS: Mention bug fix.
21689 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21691         * sysdeps/pthread/timer_routines.c
21692         (timer_free_list, thread_free_list, thread_active_list): Make static.
21694 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21696         [BZ #17779]
21697         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21698         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21699         Undefine.
21700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21701         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21702         Likewise.
21703         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21704         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21705         Likewise.
21707 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21709         [BZ #18036]
21710         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21711         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21713 2015-03-02  Andreas Schwab  <schwab@suse.de>
21715         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21716         variable name.
21718 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21720         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21721         Return error status.
21723 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21725         [BZ #15969]
21726         * locale/findlocale.c (_nl_find_locale): Introduce const
21727         version of loc_name and drop unsafe type casts.
21729 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21731         * dlfcn/tststatic2.c (main): Converted to ...
21732         (do_test): ... this.
21733         (TEST_FUNCTION): New macro.
21734         Include test-skeleton.c.
21736 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21738         [BZ #17711]
21739         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21740         (tests-pie): Add vismain.
21741         (CFLAGS-vismain.c): New.
21742         * elf/vismain.c: Add comments for PIE requirement.
21744 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #18046]
21747         [BZ #18047]
21748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21749         0x1p-56L as threshold for just returning the argument.
21750         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21751         0x1p-32L as threshold for just returning the argument.
21752         * math/auto-libm-test-in: Add more tests of atanh.
21753         * math/auto-libm-test-out: Regenerated.
21754         * sysdeps/i386/fpu/libm-test-ulps: Update.
21755         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21757 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21759         * string/bcopy.c (bcopy): Call memmove for performance.
21761 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21763         * string/bzero.c (__bzero): Call memset for performance.
21765 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21767         [BZ #18068]
21768         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21769         to 00100000.
21771 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21773         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21775 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21777         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21778         (__kernel_standard): Use CSTR macro when setting exc.name.
21779         * sysdeps/ieee754/Makefile [$(subdir) = math]
21780         (CFLAGS-k_standard.c): Remove variable.
21782         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21783         setting p and q from "else if" to "else".
21784         (qzero): Likewise.
21785         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21786         (qone): Likewise.
21787         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21788         (qzerof): Likewise.
21789         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21790         (qonef): Likewise.
21791         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21792         (qzero): Likewise.
21793         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21794         (qone): Likewise.
21796         [BZ #18038]
21797         [BZ #18039]
21798         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21799         return pi/2 for arguments below 0x1p-113L.
21800         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21801         return pi/2 for arguments below 0x1p-106L.
21802         * math/auto-libm-test-in: Add more tests of acos.
21803         * math/auto-libm-test-out: Regenerated.
21805         [BZ #16351]
21806         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21807         (MO): New macro.
21808         (__ieee754_asin): Force underflow exception for results with small
21809         absolute value.
21810         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21811         (MO): New macro.
21812         (__ieee754_asinf): Force underflow exception for results with
21813         small absolute value.
21814         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21815         (__ieee754_asin): Force underflow exception for results with small
21816         absolute value.
21817         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21818         (__ieee754_asinf): Force underflow exception for results with
21819         small absolute value.
21820         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21821         (__ieee754_asinl): Force underflow exception for results with
21822         small absolute value.
21823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21824         (__ieee754_asinl): Force underflow exception for results with
21825         small absolute value.
21826         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21827         (__ieee754_asinl): Force underflow exception for results with
21828         small absolute value.
21829         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21830         Include <math.h>.
21831         * math/auto-libm-test-in: Do not mark underflow exceptions as
21832         possibly missing for bug 16351.
21833         * math/auto-libm-test-out: Regenerated.
21835         [BZ #18030]
21836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21837         of power of 2 down when low part has opposite sign.
21838         * math/libm-test.inc (logb_test_data): Add more tests.
21840 2015-02-26  Andreas Schwab  <schwab@suse.de>
21842         [BZ #18032]
21843         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21844         over collating symbol inside a bracket expression.  Minor cleanup.
21845         * posix/tst-fnmatch3.c (do_test): Add test case.
21847 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21849         [BZ #18029]
21850         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21851         Adjust exponent of power of 2 down when low part has opposite
21852         sign.
21853         * math/libm-test.inc (ilogb_test_data): Add more tests.
21855 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21857         [BZ #15969]
21858         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21859         the previous change.
21861         [BZ #15969]
21862         * locale/findlocale.c (_nl_find_locale): Retry archive search
21863         after alias expansion.
21865 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21867         * iconv/tst-iconv3.c (main): Converted to ...
21868         (do_test): ... this.
21869         (TEST_FUNCTION): New macro.
21870         Include test-skeleton.c.
21872         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21873         (convert): Make function static.
21874         (test_unalign): Likewise.  Add const to argument pointee types.
21875         (main): Replace with static function do_test.
21876         Print "Succeeded." only if RET is zero.
21877         (TEST_FUNCTION): New macro.
21878         Include test-skeleton.c.
21880         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21881         returns a null pointer.
21883 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21885         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21886         to __memcpy_ppc only for static builds.
21888 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21890         [BZ #18020]
21891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21892         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21893         * math/auto-libm-test-in: Add more tests of asinh.
21894         * math/auto-libm-test-out: Regenerated.
21895         * sysdeps/i386/fpu/libm-test-ulps: Update.
21896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21898 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21900         [BZ #15850]
21901         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21902         and ip6_mtuinfo definitions here.
21903         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21904         in this define too.  Update comment.
21906 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21908         * elf/sprof.c (load_shobj): Tweak error message to match others.
21910 2015-02-24  Kevin Easton  <kevin@guarana.org>
21912         [BZ #16145] (partial fix)
21913         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21914         to reduce lock contention.
21916 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21918         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21919         (struct timex): Update time comment.
21920         (ADJ_SETOFFSET): Define.
21922 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21924         [BZ #18019]
21925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21926         2**56 not 2**28 as threshold for log (2x) formula.
21927         * math/auto-libm-test-in: Add more tests of acosh.
21928         * math/auto-libm-test-out: Regenerated.
21929         * sysdeps/i386/fpu/libm-test-ulps: Update.
21930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21932 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21934         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21935         parenthesis around the buf assignment.
21936         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21938 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21940         [BZ #16783]
21941         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21942         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21943         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21944         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21945         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21946         * math/libm-test.inc (scalb_test_data): Add more tests.
21948 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21950         [BZ #17916]
21951         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21952         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21954 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21956         [BZ #17523]
21957         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21958         * io/bits/fcntl2.h (open): Use it.
21959         (openat): Likewise.
21960         * io/open.c (__libc_open): Likewise.
21961         * io/open64.c (__libc_open64): Likewise.
21962         * io/open64_2.c (__open64_2): Likewise.
21963         * io/open_2.c (__open_2): Likewise.
21964         * io/openat.c (__openat): Likewise.
21965         * io/openat64.c (__openat64): Likewise.
21966         * io/openat64_2.c (__openat64_2): Likewise.
21967         * io/openat_2.c (__openat_2): Likewise.
21968         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21969         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21970         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21971         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21972         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21973         (__open_nocancel): Likewise.
21974         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21975         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21976         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21978 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21980         [BZ #14841]
21981         * resolv/gethnamaddr.c (getanswer): Skip logging if
21982         RES_USE_DNSSEC is set.
21983         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21985 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21987         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21989 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21991         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21992         201304L, for Unicode 7.
21994 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21996         [BZ #17836]
21997         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21998         shared library.  Add gmon-start.os otherwise.
21999         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22000         $(objpfx)gmon-start.os if builing shared library.
22001         ($(objpfx)g$(static-start-installed-name)): Likewise.
22003 2015-02-23  Andreas Schwab  <schwab@suse.de>
22005         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22007 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22009         [BZ #17269]
22010         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22011         (enlarge_userbuf): Likewise.
22013 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22015         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22016         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22017         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22018         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22020 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22022         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22023         expression inside statement expression.
22025 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22027         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22028         <sysdeps/nptl/lowlevellock.h> and remove macros and
22029         functions that are now defined there.
22030         (SYS_futex): Remove.
22031         (lll_compare_and_swap): Remove.
22032         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22034 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22036         [BZ #17999]
22037         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22038         instead of scandirat.
22039         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22040         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22041         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22042         __scandirat.
22043         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22044         (__scandirat): Declare.  Use libc_hidden_proto.
22045         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22046         Remove variable.
22047         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22049 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22051         [BZ #15319]
22052         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22053         (MO): New macro.
22054         (__ieee754_atan2): For results with small absolute value, force
22055         underflow exception and remove excess range and precision from
22056         return value.
22057         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22058         (MO): New macro.
22059         (__ieee754_atan2f): For results with small absolute value, force
22060         underflow exception and remove excess range and precision from
22061         return value.
22062         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22063         (MO): New macro.
22064         (__atan): For results with small absolute value, force underflow
22065         exception and remove excess range and precision from return value.
22066         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22067         (MO): New macro.
22068         (__atanf): For results with small absolute value, force underflow
22069         exception and remove excess range and precision from return value.
22070         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22071         <math.h>.
22072         (__ieee754_atan2): Force underflow exception for results with
22073         small absolute value.
22074         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22075         <math_private.h>.
22076         (atan): Force underflow exception for results with small absolute
22077         value.
22078         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22079         (__atanf): Force underflow exception for results with small
22080         absolute value.
22081         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22082         <math.h>.
22083         (__atanl): Force underflow exception for results with small
22084         absolute value.
22085         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22086         (__atanl): Force underflow exception for results with small
22087         absolute value.
22088         * sysdeps/x86/fpu/bits/mathinline.h
22089         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22090         (__ieee754_atan2): Only define inline for long double.
22091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22092         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22093         * math/auto-libm-test-in: Do not mark underflow exceptions as
22094         possibly missing for bug 15319.  Add more tests of atan2.
22095         * math/auto-libm-test-out: Regenerated.
22096         * math/libm-test.inc (casin_test_data): Do not mark underflow
22097         exceptions as possibly missing for bug 15319.
22098         (casinh_test_data): Likewise.
22099         * sysdeps/i386/fpu/libm-test-ulps: Update.
22101 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22103         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22104         * sysdeps/mips/bits/endian.h: Fix comments.
22106 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22108         [BZ #17996]
22109         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22110         (hdestroy_r): Likewise.
22111         (hsearch_r): Likewise.
22112         (__hcreate_r): Declare and use libc_hidden_proto.
22113         (__hdestroy_r): Likewise.
22114         (__hsearch_r): Likewise.
22115         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22116         (hcreate): Call __hcreate_r instead of hcreate_r.
22117         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22118         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22119         as weak alias of __hcreate_r.
22120         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22121         __hdestroy_r.
22122         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22123         __hsearch_r.
22124         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22125         Remove variable.
22126         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22127         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22128         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22129         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22131 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22133         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22134         arena_lock into a single arena_get.
22136 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22138         * dl-reloc.c: Inlucde libc-internal.h.
22139         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22140         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22141         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22142         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22143         (grow_heap): Likewise.
22144         * malloc/malloc.c: Include libc-internal.h.
22145         (do_check_malloc): Call powerof2.
22146         (sysmalloc): Use pagesize. Call ALIGN_UP.
22147         (systrim): Use pagesize.
22148         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22149         (__libc_valloc): Use pagesize.
22150         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22152 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #17991]
22155         * include/sys/resource.h (__getrlimit64): Declare.  Use
22156         libc_hidden_proto.
22157         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22158         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22159         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22160         getrlimit64.
22161         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22162         __getrlimit64.
22163         [!getrlimit64] (getrlimit64): Define as weak alias of
22164         __getrlimit64.  Use libc_hidden_weak.
22165         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22166         using __getrlimit64 not __new_getrlimit64.
22167         (__GI_getrlimit64): Likewise.
22168         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22169         Likewise.
22170         (__GI_getrlimit64): Likewise.
22171         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22173         (getrlimit): Add __getrlimit64 alias.
22174         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22175         Likewise.
22176         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22177         Remove variable.
22178         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22179         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22181 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22183         * libio/fileops.c: Add missing sys/mman.h
22184         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22186 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22188         * manual/math.texi (Errors in Math Functions): Clarify goals
22189         regarding inexact and underflow exceptions.
22191 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22193         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22194         * sysdeps/mips/memset.S: Ditto.
22196 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22198         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22200 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22202         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22203         (__v1longjmp): Remove versioned symbol.
22204         (__v1siglongjmp): Remove alias and versioned symbol.
22205         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22206         (__v2siglongjmp): Likewise.
22208 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22210         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22212 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22214         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22216 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22218         [BZ #17987]
22219         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22220         zero result does not depend on the sign resulting from
22221         subtraction.
22222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22223         Likewise.
22224         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22225         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22226         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22227         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22228         * math/libm-test.inc (remquo_test_data): Add more tests.
22230 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22232         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22233         Problem reported by J William Piggott.
22235 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22237         [BZ #17978]
22238         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22239         products 4 * y and 2 * y where those would overflow.
22240         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22241         Likewise.
22242         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22243         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22244         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22245         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22246         * math/libm-test.inc (remquo_test_data): Add more tests.
22248         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22250         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22251         [defined _COMPILING_NEWLIB].
22252         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22253         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22255         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22256         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22258 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22260         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22261         acquired.
22263 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22265         [BZ #17792]
22266         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22267         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22268         HOST_STACK_END_ADDR): Likewise.
22270 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22272         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22273         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22274         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22276 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22278         * sysdeps/generic/c++-types.data: New file.
22279         * sysdeps/generic/ld.abilist: New file.
22280         * sysdeps/generic/libBrokenLocale.abilist: New file.
22281         * sysdeps/generic/libanl.abilist: New file.
22282         * sysdeps/generic/libc.abilist: New file.
22283         * sysdeps/generic/libcrypt.abilist: New file.
22284         * sysdeps/generic/libdl.abilist: New file.
22285         * sysdeps/generic/libm.abilist: New file.
22286         * sysdeps/generic/libpthread.abilist: New file.
22287         * sysdeps/generic/libresolv.abilist: New file.
22288         * sysdeps/generic/librt.abilist: New file.
22290 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22292         [BZ #17569]
22293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22294         Compute absolute value of x as modified by fmod, not original
22295         value of x.
22296         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22297         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22298         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22299         RUN_TEST_ffI_f1_mod8.
22300         (remquo_test_data): Add more tests.
22302 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22304         * sysdeps/init_array/pt-crti.S: New file.
22306 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22308         [BZ #17967]
22309         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22310         __builtin_fmaf instead of relying on contraction of a * b + c.
22312 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22314         [BZ #17969]
22315         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22316         node.
22318 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22320         [BZ #17964]
22321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22322         __builtin_fma instead of relying on contraction of a * b + c.
22324 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22326         * Makeconfig (ASFLAGS): Add -Werror=undef.
22327         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22328         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22329         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22331         * Makeconfig (after-link): New variable.
22332         (+link-pie, +link-pie-tests): Use it.
22333         (+link-static, +link-static-tests): Likewise.
22334         (+link, +link-tests): Likewise.
22335         * Makerules (build-module, build-module-asneeded): Likewise.
22336         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22337         Likewise.
22338         * elf/Makefile ($(objpfx)ld.so): Likewise.
22340 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22342         [BZ #17965]
22343         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22344         both struct timeval and struct timespec.
22346 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22348         [BZ #16560]
22349         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22350         and redefine.
22351         (__ieee754_exp2l): Do not multiply small fractional parts by
22352         M_LN2l.
22353         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22354         small argument.
22355         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22356         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22357         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22358         * math/auto-libm-test-in: Add more tests of exp2.
22359         * math/auto-libm-test-out: Regenerated.
22361 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22363         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22364         unaligned path.
22366 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22368         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22369         little endian.
22371 2015-02-12  Andreas Schwab  <schwab@suse.de>
22373         [BZ #15790]
22374         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22375         Filter out elision flags from value returned in kind.
22376         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22377         * nptl/tst-pthread-mutexattr.c: New file.
22379 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22381         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22382         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22383         into gnu-gnu, and update comment to refer to abi-tags.
22385 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22387         [BZ #15467]
22388         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22389         (__sincos): Set errno to EDOM for infinite argument.
22390         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22391         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22392         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22393         (__sincosl): Set errno to EDOM for infinite argument.
22394         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22395         (__sincosl): Set errno to EDOM for infinite argument.
22396         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22397         (__sincosl): Set errno to EDOM for infinite argument.
22398         * math/libm-test.inc (sincos_test_data): Test errno setting.
22400 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22402         * string/strxfrm_l.c: Remove #define STRCMP.
22403         * string/strcoll_l.c: Remove #define STRLEN.
22404         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22405         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22407 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22409         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22410         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22411         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22412         * sysdeps/mips/mips64/Makefile: ... here.
22413         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22414         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22415         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22416         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22417         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22418         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22419         * sysdeps/mips/mips64/n64/Implies: Likewise.
22421 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22423         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22424         <sys/time.h>, <string.h>, and <errno.h>.
22425         (dest_offset, dest_address, value, zero): Remove unused variables.
22426         (ldouble): Remove typedef.
22427         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22428         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22429         1).  Fix code style.
22430         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22431         (check): Function removed.
22432         (CHECK): New macro.
22433         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22434         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22435         Don't call set_sigaction_FP and remove_sigaction_FP here.
22436         (ldouble_test): Just use 'long double' as macro argument, no need for
22437         the 'ldouble' typedef.
22438         (do_test): Set up SIGFPE handler at start, using plain signal rather
22439         than sigaction.  Fix code style.
22441 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22443         [BZ #17949]
22444         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22445         jump label.
22447 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22449         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22450         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22452         * sysdeps/powerpc/configure.ac: Remove file.
22453         * sysdeps/powerpc/configure: Likewise.
22455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22456         [sysdep_routines]: Remove wordcopy-power6 object.
22457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22458         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22459         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22460         (__memmove_ppc32): Likewise.
22461         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22462         file.
22463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22464         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22465         Remove preprocessor.
22467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22468         [sysdep_routines]: Remove wide chars objects.
22469         [wcsmbs]: New rule for wide char objects.
22471         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22472         Remove wordcopy-power6 obejct.
22473         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22474         Use local call for wordcopy and memcpy symbols.
22475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22477         implementation for loader.
22478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22481         Remove wordcopy-power7 object.
22482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22484         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22485         (_wordcopy_fwd_dest_aligned): Likewise.
22486         (_wordcopy_bwd_aligned): Likewise.
22487         (_wordcopy_bwd_dest_aligned): Likewise.
22489         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22490         Rewrite to call __memmove_ppc instead of include default
22491         implementation.
22493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22494         Remove wide chars objects.
22495         [wcsmbs]: New rule for wide char objects.
22497 2015-02-09  Andreas Schwab  <schwab@suse.de>
22499         [BZ #17912]
22500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22501         in terms of __O_DIRECTORY.
22503 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22505         * time/getdate.c: Include <stdbool.h>.
22506         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22507         call PTR_MANGLE.
22508         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22509         PTR_DEMANGLE.
22511 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22513         Add ersatz _Static_assert on older C hosts
22514         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22515         pre-C11 C platform that is not known to support _Static_assert.
22517 2015-02-07  Richard Braun  <rbraun@sceen.net>
22519         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22520         sigstate.
22521         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22523 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22525         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22526         priority against unexistent AIO_PRIO_DELTA_MAX.
22527         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22528         instead of int.
22529         * misc/fchflags.c (fchflags): Likewise.
22530         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22531         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22532         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22533         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22534         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22535         Declare macros.
22536         [__USE_MISC] (chflags, fchflags): Declare functions.
22537         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22538         EINVAL when nfds is greater than FD_SETSIZE.
22539         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22540         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22541         45.
22542         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22543         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22544         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22545         MACH_RCV_TIMED_OUT.
22546         * hurd/hurd/signal.h (_hurd_self_sigstate,
22547         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22548         Explicit casts from void *.
22549         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22550         * abi-tags: Rename gnu-gnu os into gnu.
22552         [BZ #4719]
22553         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22554         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22555         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22556         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22557         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22558         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22560         [BZ #17944]
22561         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22562         duplicates ADDR->sun_path with sockaddr LEN limitation.
22563         * sysdeps/mach/hurd/connect.c: Include <string.h>
22564         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22565         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22566         * sysdeps/mach/hurd/sendto.c: Likewise.
22567         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22568         implementing it by hand.
22570 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22572         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22573         Use sfi_breg on ldr.
22574         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22575         Likewise.
22577         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22578         it's defined.
22579         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22580         Test SIGSETXID only if it's defined.
22582         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22584         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22585         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22587         * nptl/tst-align2.c: Moved ...
22588         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22589         * nptl/Makefile (tests): Remove tst-align2.
22590         * sysdeps/unix/sysv/linux/Makefile
22591         [$(subdir) = nptl] (tests): Add tst-align-clone.
22592         * nptl/tst-getpid1.c: Moved ...
22593         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22594         * nptl/tst-getpid2.c: Moved ...
22595         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22596         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22597         * sysdeps/unix/sysv/linux/Makefile
22598         [$(subdir) = nptl] (tests): ... here.
22599         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22600         * sysdeps/unix/sysv/linux/Makefile
22601         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22603         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22604         Drop trailing \n from perror argument.  Use return rather than exit.
22606         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22607         on [SA_SIGINFO].
22608         * nptl/tst-cancel21.c (do_test): Likewise.
22609         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22610         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22611         [!SA_SIGINFO]: Make it a stub test.
22613         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22614         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22616         * posix/tst-getlogin.c: Move to ...
22617         * login/tst-getlogin.c: ... here.
22618         * posix/Makefile (tests): Move tst-getlogin to ...
22619         * login/Makefile (tests): ... here.
22621         * libio/tst-atime.c (do_test): Move local variables SV and E
22622         inside [ST_NOATIME] conditional.
22624         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22626         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22628         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22629         (wait_code): New function replaces macro.
22630         Call nanosleep rather than syscall.
22632         * nptl/pt-system.c: Rewritten.  Put everything under
22633         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22634         Use IFUNC to redirect when possible.
22636         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22637         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22638         Use IFUNC to redirect when possible.
22640         * nptl/pt-fork.c: Rewritten.  Put everything under
22641         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22642         Use IFUNC to redirect when possible.
22643         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22646         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22647         unconditionally nowadays.  This included the only reference to
22648         __vdso_clock_gettime that appears outside libc proper.
22649         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22650         Remove version set (containing only __vdso_clock_gettime).
22651         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22652         Add attribute_hidden.
22653         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22654         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22655         libc_hidden_data_def.
22656         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22657         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22659         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22660         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22661         setrpcent, and getrpcport to ...
22662         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22663         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22664         getrpcbynumber_r, and getrpcent_r to ...
22665         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22666         * inet/getrpcbyname.c: Moved ...
22667         * sunrpc/getrpcbyname.c: ... here.
22668         * inet/getrpcbyname_r.c: Moved ...
22669         * sunrpc/getrpcbyname_r.c: ... here.
22670         * inet/getrpcbynumber.c: Moved ...
22671         * sunrpc/getrpcbynumber.c: ... here.
22672         * inet/getrpcbynumber_r.c: Moved ...
22673         * sunrpc/getrpcbynumber_r.c: ... here.
22674         * inet/getrpcent.c: Moved ...
22675         * sunrpc/getrpcent.c: ... here.
22676         * inet/getrpcent_r.c: Moved ...
22677         * sunrpc/getrpcent_r.c: ... here.
22678         * inet/Makefile (routines): Move those to ...
22679         * sunrpc/Makefile (routines): ... here.
22680         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22681         the $(subdirs) list.
22682         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22683         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22684         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22685         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22687         * elf/Makefile (routines): Include $(all-dl-routines), not just
22688         $(dl-routines).
22689         (rtld-routines): Likewise.  Use = rather than :=.
22690         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22691         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22692         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22693         * sysdeps/arm/Makefile: Likewise.
22694         * sysdeps/i386/Makefile: Likewise.
22695         * sysdeps/x86_64/Makefile: Likewise.
22696         * sysdeps/hppa/Makefile [$(subdir) = elf]
22697         (sysdep_routines, sysdep-rtld-routines): Don't add
22698         $(sysdep-dl-routines) to these.
22699         * sysdeps/ia64/Makefile: Likewise.
22700         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22701         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22702         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22703         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22704         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22705         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22706         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22707         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22708         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22709         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22710         these; sysdep-dl-routines alone is enough.
22712 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22714         [BZ #17932]
22715         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22716         where multiplication results in zero and third argument is finite
22717         and nonzero.
22718         * math/auto-libm-test-in: Add more tests of fma.
22719         * math/auto-libm-test-out: Regenerated.
22721         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22722         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22723         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22724         (_FP_CMP_EQ): Likewise.
22725         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22727         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22728         extra argument CHECK_NAN.  Redefine as wrapper around
22729         _FP_EXTEND_CNAN.
22731 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22733         * version.h (RELEASE): Set to "stable".
22734         (VERSION): Set to "2.21"
22735         * include/features.h (__GLIBC_MINOR__): Set to 21.
22737         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22739 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22740             Paul Eggert  <eggert@cs.ucla.edu>
22742         [BZ #16618]
22743         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22744         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22745         size in bytes. Store needed elements in wpmax. Use needed size
22746         in bytes for extend_alloca.
22748 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22750         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22751         binutls 2.25, and texinfo 5.2.
22752         * INSTALL: Regenerate.
22753         * sysdeps/nios2/configure: Regenerate.
22754         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22755         * manual/contrib.texi: Update.
22756         * po/be.po: Update.
22757         * po/bg.po: Update.
22758         * po/ca.po: Update.
22759         * po/cs.po: Update.
22760         * po/da.po: Update.
22761         * po/de.po: Update.
22762         * po/el.po: Update.
22763         * po/eo.po: Update.
22764         * po/es.po: Update.
22765         * po/fi.po: Update.
22766         * po/fr.po: Update.
22767         * po/gl.po: Update.
22768         * po/hr.po: Update.
22769         * po/hu.po: Update.
22770         * po/ia.po: Update.
22771         * po/id.po: Update.
22772         * po/it.po: Update.
22773         * po/ja.po: Update.
22774         * po/ko.po: Update.
22775         * po/lt.po: Update.
22776         * po/nb.po: Update.
22777         * po/nl.po: Update.
22778         * po/pl.po: Update.
22779         * po/pt_BR.po: Update.
22780         * po/ru.po: Update.
22781         * po/rw.po: Update.
22782         * po/sk.po: Update.
22783         * po/sl.po: Update.
22784         * po/sv.po: Update.
22785         * po/tr.po: Update.
22786         * po/uk.po: Update.
22787         * po/vi.po: Update.
22788         * po/zh_CN.po: Update.
22789         * po/zh_TW.po: Update.
22791         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22792         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22793         * sysdeps/hppa/dl-irel.h: Remove #warning.
22794         * sysdeps/hppa/entry.h: Provide prototype for
22795         __canonicalize_funcptr_for_compare and cast argument.
22796         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22797         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22798         * sysdeps/hppa/sotruss-lib.c: New file.
22799         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22800         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22801         (atomic_compare_and_exchange_bool_acq): Likewise.
22802         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22803         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22805         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22806         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22807         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22809 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22811         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22812         called function in non-PIC case.
22814 2015-01-31  David S. Miller  <davem@davemloft.net>
22816         * sysdeps/sparc/sparc32/bits/atomic.h
22817         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22818         unlock not after it.
22819         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22820         volatile register usage warnings from the compiler.
22822         * sysdeps/sparc/nptl/sem_init.c: Delete.
22823         * sysdeps/sparc/nptl/sem_post.c: Delete.
22824         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22825         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22826         * sysdeps/sparc/sparc32/sem_init.c: New file.
22827         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22828         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22829         padding explicitly initialized.
22830         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22831         padding for in-semaphore spinlock.
22832         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22833         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22834         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22835         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22836         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22837         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22838         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22839         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22840         version.
22841         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22842         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22844 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22846         [BZ #17801]
22847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22848         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22849         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22850         New.
22851         (index_AVX_Fast_Unaligned_Load): Likewise.
22852         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22853         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22854         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22855         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22856         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22857         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22858         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22859         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22860         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22862 2015-01-29  Andreas Schwab  <schwab@suse.de>
22864         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22866 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22868         [BZ #17892]
22869         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22871 2015-01-28  Martin Sebor  <msebor@redhat.com>
22873         * math/README.libm-test: Clarify. Add "How to read the test output."
22875 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22877         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22878         Define to 0.
22880 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22882         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22883         (__HAVE_64B_ATOMICS): Define to 0.
22885 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22887         [BZ #17885]
22888         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22889         value to set as new flag.
22891         [BZ #16576]
22892         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22893         and use _ARCH_PPCSQ instead.
22894         (__ieee754_sqrt): Likewise.
22895         (__ieee754_sqrtf): Likewise.
22896         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22897         _ARCH_PPCSQ is defined.
22898         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22899         fsqrt instruction.
22900         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22901         _ARCH_PPCSQ is defined.
22902         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22903         fsqrts instruction.
22904         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22906 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22908         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22909         bug (GCC BZ #64739).
22911 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22913         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22914         Mark _retval as used.
22915         (lll_futex_wake_unlock): Likewise.
22916         (lll_futex_timed_wait_requeue_pi): Likewise.
22918         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22919         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22920         register variables.
22922         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22923         libm_hidden_def.
22925         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22926         (__bswap_64): Mark as __always_inline.
22928 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22930         [BZ #15378]
22931         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22932         when none of the search directories exist.
22934 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22936         [BZ #17869]
22937         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22938         power8 in .machine directive.
22940         [BZ #17868]
22941         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22942         set dependency from opd value.
22944 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22947         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22948         architecture.
22950 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22952         [BZ #17870]
22953         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22954         with uint64_t.
22955         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22956         (uint64_t) 1.
22957         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22958         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22959         Replace 1UL with (uint64_t) 1.
22960         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22961         int with uint64_t.
22963 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22965         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22966         (if_freenameindex): Likewise.
22968         * resource/getrlimit64.c: Add missing libc_hidden_def.
22970 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22972         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22973         __label__.
22974         (_FP_FMA): Likewise.
22975         (_FP_TO_INT_ROUND): Likewise.
22976         (_FP_FROM_INT): Likewise.
22978 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22980         [BZ #16418]
22981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22982         Make code racy and cancel safe.
22984 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22986         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22987         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22988         attribution.
22990         * pwd/tst-getpw.c: Rewrite.
22992         [BZ #17702]
22993         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22994         (modules-names): Add moddummy1 and moddummy2.
22995         ($(objpfx)tst-rec-dlopen): Define.
22996         * dlfcn/moddummy1.c: New file.
22997         * dlfcn/moddummy2.c: New file.
22998         * dlfcn/tst-rec-dlopen.c: New file.
22999         * elf/dl-cache.c (_dl_load_cache_lookup):
23000         Return char*. Copy result with alloca/strcpy/strdup.
23001         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23002         returns char*. Free cached. If not saving realname
23003         free cached.
23004         * elf/dl-open.c (dl_open_worker): Do not assert that
23005         _r_debug->r_state is RT_CONSISTENT.
23006         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23007         returns char*.
23009 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23010             Carlos O'Donell  <carlos@redhat.com>
23012         [BZ #12674]
23013         * nptl/sem_waitcommon.c: New file.
23014         * nptl/sem_wait.c: Include sem_waitcommon.c.
23015         (__sem_wait_cleanup, do_futex_wait): Remove.
23016         (__new_sem_wait): Adapt.
23017         (__new_sem_trywait): New function.
23018         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23019         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23020         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23021         (sem_timedwait): Adapt.
23022         * nptl/sem_post.c (__new_sem_post): Adapt.
23023         (futex_wake): New function.
23024         (__old_sem_post): Add release MO fence.
23025         * nptl/sem_open.c (sem_open): Adapt.
23026         * nptl/sem_init.c (__new_sem_init): Adapt.
23027         (futex_private_if_supported): New function.
23028         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23029         (__old_sem_getvalue): Add using previous code.
23030         * sysdeps/nptl/internaltypes.h: Adapt.
23031         * nptl/tst-sem13.c (do_test): Adapt.
23032         * nptl/tst-sem11.c (main): Adapt.
23033         * nptl/sem_trywait.c: Remove.
23034         * nptl/DESIGN-sem.txt: Remove.
23035         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23036         (gen-as-const-headers): Remove structsem.sym.
23037         * nptl/structsem.sym: Remove.
23038         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23039         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23040         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23041         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23042         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23043         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23044         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23045         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23046         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23047         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23048         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23049         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23050         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23051         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23052         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23053         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23054         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23055         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23056         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23057         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23058         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23059         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23061 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23063         * INSTALL: Regenerated.
23065         * po/libc.pot: Regenerated.
23067 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23068             Sandra Loosemore  <sandra@codesourcery.com>
23069             Andrew Jenner  <andrew@codesourcery.com>
23070             Joseph Myers  <joseph@codesourcery.com>
23071             Nathan Sidwell  <nathan@codesourcery.com>
23073         * NEWS: Mention new Nios II port.
23074         * sysdeps/nios2/Implies: New file.
23075         * sysdeps/nios2/Makefile: New file.
23076         * sysdeps/nios2/Subdirs: New file.
23077         * sysdeps/nios2/Versions: New file.
23078         * sysdeps/nios2/__longjmp.S: New file.
23079         * sysdeps/nios2/abort-instr.h: New file.
23080         * sysdeps/nios2/backtrace.c: New file.
23081         * sysdeps/nios2/bits/endian.h: New file.
23082         * sysdeps/nios2/bits/fenv.h: New file.
23083         * sysdeps/nios2/bits/link.h: New file.
23084         * sysdeps/nios2/bits/setjmp.h: New file.
23085         * sysdeps/nios2/bsd-_setjmp.S: New file.
23086         * sysdeps/nios2/bsd-setjmp.S: New file.
23087         * sysdeps/nios2/configure: New generated file.
23088         * sysdeps/nios2/configure.ac: New file.
23089         * sysdeps/nios2/crti.S: New file.
23090         * sysdeps/nios2/crtn.S: New file.
23091         * sysdeps/nios2/dl-init.c: New file.
23092         * sysdeps/nios2/dl-machine.h: New file.
23093         * sysdeps/nios2/dl-sysdep.h: New file.
23094         * sysdeps/nios2/dl-tls.h: New file.
23095         * sysdeps/nios2/dl-trampoline.S: New file.
23096         * sysdeps/nios2/gccframe.h: New file.
23097         * sysdeps/nios2/gmp-mparam.h: New file.
23098         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23099         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23100         * sysdeps/nios2/ldsodefs.h: New file.
23101         * sysdeps/nios2/libc-tls.c: New file.
23102         * sysdeps/nios2/libm-test-ulps: New file.
23103         * sysdeps/nios2/machine-gmon.h: New file.
23104         * sysdeps/nios2/math-tests.h: New file.
23105         * sysdeps/nios2/math_private.h: New file.
23106         * sysdeps/nios2/memusage.h: New file.
23107         * sysdeps/nios2/nptl/Makefile: New file.
23108         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23109         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23110         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23111         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23112         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23113         * sysdeps/nios2/nptl/tls.h: New file.
23114         * sysdeps/nios2/preconfigure: New file.
23115         * sysdeps/nios2/s_fma.c: New file.
23116         * sysdeps/nios2/s_fmaf.c: New file.
23117         * sysdeps/nios2/setjmp.S: New file.
23118         * sysdeps/nios2/sfp-machine.h: New file.
23119         * sysdeps/nios2/sotruss-lib.c: New file.
23120         * sysdeps/nios2/stackguard-macros.h: New file.
23121         * sysdeps/nios2/stackinfo.h: New file.
23122         * sysdeps/nios2/start.S: New file.
23123         * sysdeps/nios2/sysdep.h: New file.
23124         * sysdeps/nios2/tls-macros.h: New file.
23125         * sysdeps/nios2/tst-audit.h: New file.
23126         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23127         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23128         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23129         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23130         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23131         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23132         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23133         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23134         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23135         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23136         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23137         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23138         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23139         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23140         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23141         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23142         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23143         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23144         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23145         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23146         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23147         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23148         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23149         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23150         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23151         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23152         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23153         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23154         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23155         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23156         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23157         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23158         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23159         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23160         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23161         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23162         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23163         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23164         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23165         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23166         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23167         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23168         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23169         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23171 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23173         [BZ #17844]
23174         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23175         (getutent): Use weak_alias in non SHARED case
23176         and default_symbol_version in SHARED case.
23177         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23178         (getutent_r, pututline): Likewise.
23179         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23180         (getutid): Likewise.
23181         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23182         (getutid_r): Likewise.
23183         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23184         (getutline): Likewise.
23185         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23186         (getutline_r): Likewise.
23187         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23188         (updwtmp): Likewise.
23190 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23192         [BZ #17848]
23193         * sysdeps/s390/s390-32/memcmp.S
23194         (memcmp_g5): Rename to __memcmp_g5.
23195         * sysdeps/s390/s390-32/memcpy.S
23196         (memcpy_g5): Rename to __memcpy_g5.
23197         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23198         (memcpy_mvcle) Rename to __memcpy_mvcle.
23199         * sysdeps/s390/s390-32/memset.S
23200         (memset_g5): Rename to __memset_g5.
23201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23202         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23203         and use prefixed functions.
23204         * sysdeps/s390/s390-32/multiarch/memcmp.S
23205         (memcmp_z196): Rename to __memcmp_z196.
23206         (memcmp_z10): Rename to __memcmp_z10.
23207         (memcmp): Set alias to __memcmp_g5.
23208         (bcmp): Set alias to __memcmp_g5.
23209         * sysdeps/s390/s390-32/multiarch/memcpy.S
23210         (memcpy_z196): Rename to __memcpy_z196.
23211         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23212         (memcpy_z10): Rename to __memcpy_z10.
23213         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23214         (memcpy): Set alias to __memcpy_g5.
23215         * sysdeps/s390/s390-32/multiarch/memset.S
23216         (memset_z196): Rename to __memset_z196.
23217         Jump to __memset_mvcle instead of memset_mvcle.
23218         (memset_z10): Rename to __memset_z10.
23219         Jump to __memset_mvcle instead of memset_mvcle.
23220         (memset_mvcle) Rename to __memset_mvcle.
23221         (memset): Set alias to __memset_g5.
23222         * sysdeps/s390/s390-64/memcmp.S
23223         (memcmp_z900): Rename to __memcmp_z900.
23224         * sysdeps/s390/s390-64/memcpy.S
23225         (memcpy_z900): Rename to __memcpy_z900.
23226         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23227         (memcpy_mvcle) Rename to __memcpy_mvcle.
23228         * sysdeps/s390/s390-64/memset.S
23229         (memset_z900): Rename to __memset_z900.
23230         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23231         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23232         and use prefixed functions.
23233         * sysdeps/s390/s390-64/multiarch/memcmp.S
23234         (memcmp_z196): Rename to __memcmp_z196.
23235         (memcmp_z10): Rename to __memcmp_z10.
23236         (memcmp): Set alias to __memcmp_z900.
23237         (bcmp): Set alias to __memcmp_z900.
23238         * sysdeps/s390/s390-64/multiarch/memcpy.S
23239         (memcpy_z196): Rename to __memcpy_z196.
23240         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23241         (memcpy_z10): Rename to __memcpy_z10.
23242         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23243         (memcpy): Set alias to __memcpy_z900.
23244         * sysdeps/s390/s390-64/multiarch/memset.S
23245         (memset_z196): Rename to __memset_z196.
23246         Jump to __memset_mvcle instead of memset_mvcle.
23247         (memset_z10): Rename to __memset_z10.
23248         Jump to __memset_mvcle instead of memset_mvcle.
23249         (memset_mvcle) Rename to __memset_mvcle.
23250         (memset): Set alias to __memset_z900.
23252 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23254         [BZ #17748]
23255         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23256         __fesetenv instead of fesetenv.
23258 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23260         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23261         macro.
23263 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23265         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23266         regression on LE.
23268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23269         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23270         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23271         strncmp-power8 object.
23272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23273         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23274         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23275         * NEWS: Update.
23277 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23280         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23281         trailing byte check.
23283 2015-01-13  David S. Miller  <davem@davemloft.net>
23285         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23287 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23289         * login/logout.c (logout): Use memset rather than bzero.
23290         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23291         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23292         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23293         (_gethtbyaddr): Likewise.
23294         * locale/programs/simple-hash.c (bcopy): Macro removed.
23296 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23299         Add strcmp-power8 object.
23300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23301         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23302         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23303         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23304         __strcmp_power8 implementation.
23305         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23306         * NEWS: Update.
23308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23309         Add strncpy-power8 and stpncpy-power8 objects.
23310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23311         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23312         implementations.
23313         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23315         __stpncpy_power8 implementation.
23316         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23317         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23318         __strncpy_power8 implementation.
23319         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23320         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23321         * NEWS: Update.
23323         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23324         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23325         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23327         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23328         strncat-power8 object.
23329         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23330         __strcat_power8 implementation.
23331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23332         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23333         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23334         optimized strcat for power8.
23336         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23337         strcpy-power8 and stpcpy-power8 objects.
23338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23339         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23340         implementations.
23341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23342         multiarch stpcpy implementation for POWER8.
23343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23344         multiarch strcpy implementation for POWER8.
23345         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23346         __strcpy_power8 function.
23347         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23348         stpcpy for POWER8.
23349         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23350         strcpy for POWER8.
23351         * NEWS: Update.
23353 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23355         [BZ #16009]
23356         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23357         weights and rules. Use do_xfrm_cached if data fits in cache,
23358         do_xfrm otherwise.  Moved former main loop to...
23359         * (do_xfrm_cached): New function.
23360         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23361         find_idx, find_position and stack_push.
23362         * (find_idx): New function.
23363         * (find_position): Likewise.
23364         * localedata/sort-test.sh: Added test run for do_xfrm.
23365         * localedata/xfrm-test.c (main): Added command line option
23366         -nocache to run the test with strings that are too large for
23367         the STRXFRM cache.
23369 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23371         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23372         variable to lll_futex_wake call, not the value itself.
23374 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23376         [BZ #17803]
23377         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23378         twom64.  Adjust value to 0x1p-64L.
23379         (__scalblnl): Only return standard underflowing result for K <=
23380         -64 not K <= -63; adjust exponent for underflowing result by 64
23381         not 63.
23382         * math/libm-test.inc (scalbn_test_data): Add more tests.
23383         (scalbln_test_data): Likewise.
23385         [BZ #17834]
23386         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23387         0x1p63L.
23388         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23389         not HX.
23390         * math/libm-test.inc (scalbn_test_data): Add more tests.
23391         (scalbln_test_data): Likewise.
23393 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23394             Stefani Seibold  <stefani@seibold.net>
23396         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23397         (sysdep_routines): Add dl-vdso here, ...
23398         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23399         (sysdep_routines): ... not here.
23400         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23401         fallback when vDSO is not presented.
23402         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23403         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23404         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23405         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23406         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23407         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23408         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23409         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23410         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23412         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23413         fallback configurable symbol when vDSO is not available.
23414         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23415         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23416         be able to redefine fallback symbol when vDSO is not available.
23417         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23418         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23420 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23422         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23423         (TLS_INIT_TP): Add tm_capable initialization.
23424         (TLS_DEFINE_INIT_TP): Likewise.
23425         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23426         TCB.
23427         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23428         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23429         calculation.
23430         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23431         transactoion is lock elision is built and TCB tm_capable is set.
23432         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23434         (INTERNAL_SYSCALL_NCS): Likewise.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23436         (INTERNAL_SYSCALL_NCS): Likewise.
23437         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23439         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23440         for powerpc.
23441         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23442         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23443         and remove it for 32 bits case.
23444         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23446         initialization.
23447         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23448         Disable lock elision with rdlocks if elision is not available.
23450         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23451         (sysdep_routines): Add lock elision objects.
23452         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23453         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23454         [pthread_mutex_t] (__elision): Add field.
23455         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23456         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23457         elision definitions for powerpc.
23458         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23459         implementation of lock elision for powerpc.
23460         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23461         implementation of timed lock elision for powerpc.
23462         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23463         implementation of trylock with lock elision for powerpc.
23464         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23465         implementaion of unlock for lock elision for powerpc.
23466         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23467         automatic enable lock elision for mutexes.
23468         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23469         transaction execution definitions for powerpc.
23470         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23471         definitions.
23472         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23473         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23474         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23476         * NEWS: Update.
23478 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23480         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23481         for #include of <shm-directory.h>.
23483 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23485         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23486         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23488 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23490         [BZ #17791]
23491         * NEWS: Mention bug fix.
23492         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23493         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23494         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23496 2015-01-09  Torvald Riegel <triegel@redhat.com>
23498         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23500 2015-01-09  Torvald Riegel <triegel@redhat.com>
23502         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23504 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23506         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23507         pointer and cast to uintptr_t.
23509 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23511         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23512         removed.
23513         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23515 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23517         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23518         of 0.
23520 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23522         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23523         <nptl/pthreadP.h> instead.
23524         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23526         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23527         already defined.
23528         [__SIGRTMIN] (init): Function removed.
23529         [__SIGRTMIN] (initialized): Variable removed.
23530         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23531         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23532         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23533         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23534         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23535         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23536         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23537         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23538         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23539         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23540         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23541         * sysdeps/nptl/allocrtsig.c: New file.
23542         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23543         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23544         * sysdeps/generic/testrtsig.h: File removed.
23546         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23547         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23549         * nptl/nptl-init.c (pthread_functions): Conditionalize
23550         .ptr__nptl_setxid initialization on [SIGSETXID].
23552         * sysdeps/nptl/sys/procfs.h: New file.
23553         * nptl_db/Makefile (headers): Add it.
23554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23556         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23557         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23558         * nptl/pthread_attr_setaffinity.c: Include it.
23559         * nptl/pthread_setattr_default_np.c: Likewise.
23560         * nptl/check-cpuset.h: New file.
23562 2015-01-08  Richard Henderson  <rth@redhat.com>
23564         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23565         (CFLAGS-tst-execstack-prog.c): Likewise.
23566         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23568 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23569             Sandra Loosemore  <sandra@codesourcery.com>
23570             Andrew Jenner  <andrew@codesourcery.com>
23571             Joseph Myers  <joseph@codesourcery.com>
23572             Nathan Sidwell  <nathan@codesourcery.com>
23574         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23575         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23576         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23577         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23578         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23579         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23580         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23581         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23582         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23583         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23584         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23585         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23586         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23587         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23588         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23589         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23590         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23592 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23594         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23595         timespec struct member in syscall macro.
23596         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23597         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23598         first timeval struct member in syscall macro.
23599         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23601 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23603         [BZ #17748]
23604         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23605         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23606         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23607         __feupdateenv and define as weak alias of __feupdateenv.  Use
23608         libm_hidden_weak.
23609         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23610         libm_hidden_def.
23611         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23612         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23613         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23614         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23615         libm_hidden_def.
23616         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23617         __feupdateenv and define as weak alias of __feupdateenv.  Use
23618         libm_hidden_weak.
23619         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23620         libm_hidden_def.
23621         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23622         __feupdateenv and define as weak alias of __feupdateenv.  Use
23623         libm_hidden_weak.
23624         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23625         libm_hidden_def.
23626         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23627         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23628         (__feupdateenv): Likewise.
23629         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23630         __feupdateenv and define as weak alias of __feupdateenv.  Use
23631         libm_hidden_weak.
23632         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23633         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23634         libm_hidden_def.
23635         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23636         function.
23637         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23638         libm_hidden_def.
23639         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23640         __feupdateenv instead of feupdateenv.
23641         (default_libc_feupdateenv_test): Likewise.
23642         (libc_feresetround_ctx): Likewise.
23644 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23646         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23647         prototype.
23649 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23651         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23652         COLL_SYM in a couple of places to avoid uninitialized variable
23653         wanings on tilegx gcc 4.8.2.
23655 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23657         * sysdeps/aarch64/strcpy.S: New file.
23658         * sysdeps/aarch64/stpcpy.S: New file.
23659         * NEWS: Updated.
23661 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23663         * sysdeps/aarch64/strrchr.S: New file.
23664         * NEWS: Updated.
23666 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23668         [BZ #17658]
23669         * stdlib/setenv.c: Fix memory leak when setting large,
23670         duplicate string.
23672 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23674         [BZ #17273]
23675         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23676         and tabs from buffer before parsing fstab entry.
23677         * misc/tst-mntent.c (main): Add test for mount entry with
23678         trailing spaces and tabs.
23680 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23682         [BZ #17748]
23683         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23684         * math/fesetround.c (fesetround): Rename to __fesetround and
23685         define as weak alias of __fesetround.  Use libm_hidden_weak.
23686         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23687         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23688         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23689         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23690         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23691         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23692         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23693         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23694         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23695         __fesetround_inline.
23696         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23697         __fesetround_inline instead of __fesetround.
23698         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23699         __fesetround and define as weak alias of __fesetround.  Use
23700         libm_hidden_weak.  Call __fesetround_inline instead of
23701         __fesetround.
23702         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23703         __fesetround and define as weak alias of __fesetround.  Use
23704         libm_hidden_weak.
23705         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23706         Likewise.
23707         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23709         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23710         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23711         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23712         __fesetround and define as weak alias of __fesetround.  Use
23713         libm_hidden_weak.
23714         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23715         __fesetround instead of fesetround.
23716         (default_libc_feholdexcept_setround): Likewise.
23717         (libc_feholdsetround_ctx): Likewise.
23718         (libc_feholdsetround_noex_ctx): Likewise.
23720         [BZ #17748]
23721         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23722         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23723         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23724         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23725         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23726         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23727         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23728         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23729         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23730         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23731         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23732         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23733         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23734         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23736         libm_hidden_def.
23737         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23738         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23739         Likewise.
23740         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23741         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23742         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23743         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23744         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23745         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23746         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23747         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23748         __fesetenv instead of fesetenv.
23749         (libc_feresetround_noex_ctx): Likewise.
23750         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23751         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23752         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23754         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23755         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23756         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23757         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23758         (__feupdateenv): Likewise.
23759         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23760         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23761         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23762         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23764 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23766         [BZ #17806]
23767         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23768         addresses have been freed.
23770 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23772         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23773         and nservall.
23775 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23777         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23778         Clean up check_pf allocation pattern. addresses
23780 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23782         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23783         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23784         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23785         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23786         * nptl/pthread_join.c (pthread_join): Likewise.
23787         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23788         * sysdeps/posix/waitid.c (__waitid): Likewise.
23789         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23790         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23791         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23792         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23794         Likewise.
23795         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23796         (__libc_pread64): Likewise.
23797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23798         (__libc_pwrite): Likewise.
23799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23800         (__libc_pwrite64): Likewsie.
23801         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23802         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23803         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23804         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23805         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23806         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23807         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23809         Likewise.
23810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23811         (__libc_pread64): Likewise.
23812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23813         Likewise.
23814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23815         (__libc_pwrite64): Likewise.
23816         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23817         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23818         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23819         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23820         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23821         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23822         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23823         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23824         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23825         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23826         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23827         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23828         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23829         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23830         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23831         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23832         Likewise.
23834 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23836         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23837         (CFLAGS-test-double.c): Likewise.
23838         (CFLAGS-test-ldouble.c): Likewise.
23839         (CPPFLAGS-test-ifloat.c): Likewise.
23840         (CPPFLAGS-test-idouble.c): Likewise.
23841         (CPPFLAGS-test-ildoubl.c): Likewise.
23842         (CFLAGS-test-test-fenv.c): Remove variable.
23843         (CFLAGS-test-misc.c): Likewise.
23845 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23847         [BZ #17797]
23848         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23849         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23850         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23851         CLOCKS_PER_SEC == 1000000.
23852         * time/clocktest.c (main): Replace %ld with %jd and cast to
23853         intmax_t.
23855 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23857         * sysdeps/generic/unwind-resume.h: New file.
23858         * sysdeps/gnu/unwind-resume.c: Include it.
23859         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23860         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23861         argument list.
23862         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23863         global rather than static.
23864         (_Unwind_Resume): Update user.
23865         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23866         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23867         rather than static.  Add __attribute__ ((cold)).
23868         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23869         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23870         * sysdeps/arm/arm-unwind-resume.S: New file.
23871         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23872         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23873         * sysdeps/arm/Makefile [$(subdir) = csu]
23874         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23875         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23876         Add rt-arm-unwind-resume.
23877         [$(subdir) = nptl]
23878         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23879         Add pt-arm-unwind-resume.
23880         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23881         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23883 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23885         [BZ #17748]
23886         * include/fenv.h (__feholdexcept): Declare.  Use
23887         libm_hidden_proto.
23888         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23889         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23890         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23891         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23892         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23893         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23894         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23895         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23896         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23897         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23898         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23899         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23900         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23901         (feholdexcept): Likewise.
23902         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23903         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23904         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23905         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23906         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23907         __feholdexcept instead of feholdexcept.
23908         (default_libc_feholdexcept_setround): Likewise.
23910 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23912         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23913         to avoid using stl/str to align destination.
23915 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23917         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23919 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23921         [BZ #17796]
23922         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23923         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23924         Define as weak alias not strong alias.
23926 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23928         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23929         bltzal with addiupc.
23930         (RTLD_START): Ditto.
23932 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23934         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23935         for __vdso_* functions in declarations.
23936         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23937         definitions.
23938         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23939         INTERNAL_VSYSCALL): Use struct return types to check for error.
23941         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23942         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23943         function with cast from llround().
23944         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23945         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23946         Define.
23948 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23950         [BZ #17793]
23951         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23952         Define as weak alias not strong alias.
23954         [BZ #17635]
23955         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23956         ...
23957         * ctype/ctype-extn.c: ... here.
23958         (__isblank_l): Move to ...
23959         * ctype/ctype-c99_l.c: ... here.  New file.
23960         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23961         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23962         Remove variable.
23963         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23964         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23965         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23966         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23967         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23969         [BZ #17777]
23970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23971         (posix_fadvise64): Define as weak alias not strong alias.
23972         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23973         (posix_fallocate64): Likewise.
23974         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23975         Remove variable.
23976         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23977         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23978         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23979         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23980         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23982 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23984         [BZ #16191]
23985         * NEWS: Mention bug fix.
23986         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23987         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23988         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23989         (HOST_STACK_END_ADDR): Likewise.
23991 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23993         [BZ #17748]
23994         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23995         * math/fegetround.c (fegetround): Rename to __fegetround and
23996         define as weak alias of __fegetround.  Use libm_hidden_weak.
23997         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23998         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23999         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24000         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24001         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24002         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24003         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24004         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24005         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24006         Undefine after rather than before function definition; use
24007         parentheses around function name in definition.
24008         (__fegetround): Also undefine macro after function definition.
24009         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24010         __fegetround and define as weak alias of __fegetround.  Use
24011         libm_hidden_weak.  Do not undefine as macro.
24012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24013         Likewise.
24014         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24015         __fegetround and define as weak alias of __fegetround.  Use
24016         libm_hidden_weak.
24017         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24018         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24019         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24020         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24021         __fegetround and define as weak alias of __fegetround.  Use
24022         libm_hidden_weak.
24023         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24024         __fegetround instead of fegetround.
24026         [BZ #17782]
24027         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24028         Condition macro definition on [__USE_MISC].
24030         [BZ #17781]
24031         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24032         (struct sigaction): Change type of sa_flags field to int.
24034         [BZ #17780]
24035         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24036         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24037         __glibc_reserved0.
24039         * nptl/version.c (banner): Use single year in copyright notice.
24041         * NEWS: Update copyright dates.
24042         * catgets/gencat.c (print_version): Likewise.
24043         * csu/version.c (banner): Likewise.
24044         * debug/catchsegv.sh: Likewise.
24045         * debug/pcprofiledump.c (print_version): Likewise.
24046         * debug/xtrace.sh (do_version): Likewise.
24047         * elf/ldconfig.c (print_version): Likewise.
24048         * elf/ldd.bash.in: Likewise.
24049         * elf/pldd.c (print_version): Likewise.
24050         * elf/sotruss.sh: Likewise.
24051         * elf/sprof.c (print_version): Likewise.
24052         * iconv/iconv_prog.c (print_version): Likewise.
24053         * iconv/iconvconfig.c (print_version): Likewise.
24054         * locale/programs/locale.c (print_version): Likewise.
24055         * locale/programs/localedef.c (print_version): Likewise.
24056         * login/programs/pt_chown.c (print_version): Likewise.
24057         * malloc/memusage.sh (do_version): Likewise.
24058         * malloc/memusagestat.c (print_version): Likewise.
24059         * malloc/mtrace.pl: Likewise.
24060         * manual/libc.texinfo: Likewise.
24061         * nptl/version.c (banner): Likewise.
24062         * nscd/nscd.c (print_version): Likewise.
24063         * nss/getent.c (print_version): Likewise.
24064         * nss/makedb.c (print_version): Likewise.
24065         * posix/getconf.c (main): Likewise.
24066         * scripts/test-installation.pl: Likewise.
24067         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24069 2015-01-02  Will Newton  <will.newton@linaro.org>
24071         * sysdeps/arm/armv7/configure: Removed.
24072         * sysdeps/arm/armv7/configure.ac: Likewise.
24074 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24076         * All files with FSF copyright notices: Update copyright dates
24077         using scripts/update-copyrights.
24078         * intl/plural.c: Regenerated.
24079         * locale/programs/charmap-kw.h: Likewise.
24080         * locale/programs/locfile-kw.h: Likewise.
24082 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24084         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24086 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #17748]
24089         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24090         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24091         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24092         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24093         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24094         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24095         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24096         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24097         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24098         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24099         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24100         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24101         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24102         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24103         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24104         libm_hidden_def.
24105         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24107         Likewise.
24108         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24109         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24110         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24111         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24112         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24113         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24114         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24115         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24116         __fegetenv instead of fegetenv.
24117         (libc_feholdsetround_noex_ctx): Likewise.
24119 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24121         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24122         (Elf_MIPS_ABIFlags_v0): New structure.
24123         (EF_MIPS_FP64): Define.
24124         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24125         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24126         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24127         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24128         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24129         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24130         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24131         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24132         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24133         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24134         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24135         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24136         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24137         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24138         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24139         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24140         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24141         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24142         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24143         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24144         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24145         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24146         field.
24147         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24148         EF_MIPS_FP64.
24149         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24150         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24151         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24152         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24153         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24154         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24155         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24156         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24157         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24158         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24159         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24160         record the current FP ABI extension.
24161         (mips-mode-switch): Define to show if kernel headers support mode
24162         switching.
24163         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24164         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24165         supported SYSV ABI version to 3.
24166         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24167         feature.
24169 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24172         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24173         path.
24174         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24176 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24178         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24179         __fegetround and redefine to call __fegetround.  Remove condition
24180         on [!__NO_MATH_INLINES].
24181         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24182         function.
24183         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24184         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24185         Remove macro.
24186         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24187         instead of <fenv_libc.h>.
24188         (__llrintl): Call fegetround instead of __fegetround.
24189         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24190         instead of <fenv_libc.h>.
24191         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24192         (__lrintl): Call fegetround instead of __fegetround.
24193         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24194         instead of <fenv_libc.h>.
24195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24196         (__rintl): Call fegetround instead of __fegetround.
24198 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24200         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24201         arrays.
24203 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24205         [BZ #17775]
24206         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24207         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24208         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24210 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24212         * sysdeps/i386/tls-macros.h: Include <features.h>.
24213         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24214         (TLS_IE): Likewise.
24215         (TLS_LD): Likewise.
24216         (TLS_GD): Likewise.
24217         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24218         define for GCC >= 5.0.
24220 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24222         * math/test-fenv.c (test_single_exception, set_single_exc,
24223         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24224         feexcp_mask_test, feenable_test, fe_single_test): Add
24225         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24226         case where they are not used.
24227         * math/libm-test.inc: Likewise.
24228         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24229         unused in the absence of FP rounding/exception support.
24230         * stdio-common/tst-printf-round.c: Likewise.
24231         * stdlib/tst-strtod-round.c: Likewise.
24232         * stdlib/tst-strtod-underflow.c: Likewise.
24234 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24236         [BZ #17723]
24237         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24238         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24239         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24240         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24241         libm_hidden_weak.
24242         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24243         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24244         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24245         libm_hidden_def.
24246         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24247         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24248         libm_hidden_weak.
24249         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24250         Likewise.
24251         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24252         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24253         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24254         libm_hidden_weak.
24255         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24256         libm_hidden_def.
24257         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24258         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24259         (__feraiseexcept): Likewise.
24260         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24262         libm_hidden_weak.
24263         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24264         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24265         libm_hidden_def.
24266         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24267         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24268         Use libm_hidden_def.
24269         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24270         libm_hidden_def.
24271         (feraiseexcept): Define as weak not strong alias.  Use
24272         libm_hidden_weak.
24273         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24274         New inline function.  Factored out of ...
24275         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24276         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24277         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24278         feraiseexcept.
24279         * math/w_acos.c (__acos): Likewise.
24280         * math/w_asin.c (__asin): Likewise.
24281         * math/w_ilogb.c (__ilogb): Likewise.
24282         * math/w_j0.c (y0): Likewise.
24283         * math/w_j1.c (y1): Likewise.
24284         * math/w_jn.c (yn): Likewise.
24285         * math/w_log.c (__log): Likewise.
24286         * math/w_log10.c (__log10): Likewise.
24287         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24288         * sysdeps/aarch64/fpu/math_private.h
24289         (libc_feupdateenv_test_aarch64): Likewise.
24290         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24291         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24292         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24293         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24294         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24295         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24296         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24298         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24299         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24301 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24303         [BZ #17732]
24304         * io/test-utime.c (main): Replace %ld with %jd and cast to
24305         intmax_t.
24306         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24307         * nptl/tst-mutex5.c: Include <stdint.h>.
24308         (do_test): Replace %ld with %jd and cast to intmax_t.
24309         * posix/tst-regex.c (run_test): Likewise.
24310         (run_test_backwards): Likewise.
24311         * rt/tst-clock.c: Include <stdint.h>.
24312         (clock_test): Replace %ld with %jd and cast to intmax_t.
24313         * rt/tst-cpuclock1.c: Include <stdint.h>.
24314         (do_test): Replace %lu with %ju and cast to uintmax_t.
24315         * rt/tst-cpuclock2.c: Include <stdint.h>.
24316         (do_test): Replace %lu with %ju and cast to uintmax_t.
24317         * rt/tst-mqueue1.c: Include <stdint.h>.
24318         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24319         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24320         intmax_t.
24321         * rt/tst-mqueue4.c (do_test): Likewise.
24322         * rt/tst-timer4.c: Include <stdint.h>.
24323         (check_ts): Replace %ld with %jd and cast to intmax_t.
24324         (do_test): Likewise.
24325         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24326         and cast to intmax_t.
24327         * sysdeps/pthread/tst-timer.c (main): Likewise.
24328         * time/clocktest.c (main): Likewise.
24329         * time/tst-posixtz.c (do_test): Likewise.
24330         * timezone/tst-timezone.c (main): Likewise.
24332 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24333             H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24336         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24337         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24338         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24339         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24340         version if bit_Fast_Unaligned_Load is set.
24341         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24342         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24343         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24344         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24345         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24346         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24348         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24349         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24350         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24351         to 4.
24352         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24353         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24354         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24355         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24357 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24359         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24360         instead of #if to avoid a Wundef warning.
24361         * stdlib/tst-limits.c (do_test): Likewise.
24363         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24364         parallel other exception macros.
24365         (fegetenv): Convert from macro to extern inline so that it applies
24366         retroactively to inline functions already seen by the compiler.
24367         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24369         * posix/Makefile (before-compile): Use $(objpfx) for
24370         posix-conf-vars-def.h.
24372 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24374         * posix/getconf.c (main): Use size_t for type of I.
24375         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24376         NSPEC.
24378         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24379         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24380         * posix/posix-envs.def: Likewise.
24381         * sysdeps/posix/sysconf.c: Likewise.
24382         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24383         (specs): Remove array.
24384         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24385         array.
24387         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24388         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24389         (__sysconf): Use CONF_IS_* macros.
24391         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24392         ($(objpfx)posix-conf-vars-def.h): New target.
24393         * posix/posix-conf-vars.list: New file.
24394         * posix/posix-conf-vars.h: New file.
24395         * posix/confstr.c: Include posix-conf-vars.h.
24396         (confstr): Use CONF_IS_* macros.
24397         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24398         CONF_IS_* macros.
24399         * scripts/gen-posix-conf-vars.awk: New file.
24401 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24403         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24404         fegetround): Add no-op macros to avoid linknamespace issues.
24406         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24407         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24409         * sysdeps/unix/sysv/linux/tile/sysdep.h
24410         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24411         assembly-specific section to avoid a redefinition warning.
24413         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24414         long before casting to pointer to avoid a cast warning.
24416 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24418         * sysdeps/tile/tilegx/Implies: New file.
24420 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24422         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24424 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24426         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24428 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24430         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24431         not define.
24432         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24433         <kernel-features.h>.
24434         (__utimes) [__NR_utimes]: Make code unconditional.
24435         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24437         (__ASSUME_UTIMES): Do not undefine.
24438         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24439         (__ASSUME_UTIMES): Likewise.
24440         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24441         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24442         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24443         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24445 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24447         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24449 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24451         [BZ #17747]
24452         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24453         alias to weak alias for j0l, y0l.
24454         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24455         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24457         [BZ #17746]
24458         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24459         conversion.
24461 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24463         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24464         to zero if not already defined.
24466 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24468         [BZ #17724]
24469         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24470         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24471         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24472         (char *) casts added.
24473         * sysdeps/ieee754/k_standardf.c: New file.
24474         * sysdeps/ieee754/k_standardl.c: Likewise.
24475         * math/Makefile (libm-support): Remove k_standard.
24476         (libm-calls): Add k_standard.
24478 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24480         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24481         Optimize to avoid an unnecessary FPCR read.
24483 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24485         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24486         Optimize to reduce FPCR/FPSR accesses.
24488 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24490         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24491         Call libc_fetestexcept_aarch64.
24493 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24495         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24496         Call libc_fesetround_aarch64.
24498 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24500         [BZ #17733]
24501         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24502         (__bind): Do not define as weak alias.
24503         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24504         define.
24505         (__getsockname): Do not define as weak alias.
24507 2014-12-22  Will Newton  <will.newton@linaro.org>
24509         * manual/install.texi: Document that we require bison 2.7
24510         or above.
24511         * INSTALL: Regenerate.
24512         * configure.ac: Use AC_CHECK_PROG_VER instead of
24513         AC_PATH_PROG when checking for bison and check for
24514         version 2.7 or above.
24515         * configure: Regenerate.
24517 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24519         [BZ #17745]
24520         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24521         * sysdeps/tile/ffsll.c (ffsll): To here.
24523         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24525 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24527         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24528         if not defined.
24529         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24530         definition.
24531         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24532         hidden ___tls_get_addr.
24533         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24534         hidden __tls_get_addr.
24535         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24536         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24537         Likewise.
24539 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24541         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24542         _dl_init call.
24544 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24546         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24547         from "call _dl_init@PLT".
24548         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24550 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24552         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24553         guarantees.
24555 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24557         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24559 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24561         [BZ #17744]
24562         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24563         strnlen.
24565 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24567         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24568         of multu on MIPSr6.
24569         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24570         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24571         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24572         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24573         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24575 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24577         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24578         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24579         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24580         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24581         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24582         mips32r6/mips64r6.
24583         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24585 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24587         * string/strncat.c (STRNCAT): Simplify implementation.
24589 2014-12-19  David S. Miller  <davem@davemloft.net>
24591         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24592         access the quad as both a long double and as a series of 4 words.
24594         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24595         link_map->l_info array access.
24597 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24599         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24601         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24602         * math/atest-exp2.c (TIMEOUT): Likewise.
24603         * math/atest-sincos.c (TIMEOUT): Likewise.
24605 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24607         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24608         -Wno-error with -fno-builtin-lround.
24610 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24612         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24613         Contains futex constants and functions moved over from ...
24614         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24615         <lowlevellock-futex.h>.
24616         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24617         (lll_timedwait_tid): Add comments and parentheses around macro
24618         arguments.
24620 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24623         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24624         (__lll_private_flag): Remove.
24625         (lll_futex_wait): Likewise.
24626         (lll_futex_timed_wait): Likewise.
24627         (lll_futex_wake): Likewise.
24628         (lll_futex_requeue): Likewise.
24629         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24630         (__lll_timedwait_tid): Spell out argument names.
24631         (lll_timedwait_tid): Add comments and parentheses around macro
24632         arguments.
24633         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24634         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24638         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24639         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24640         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24641         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24642         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24643         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24644         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24645         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24646         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24652         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24653         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24654         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24655         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24656         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24658 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24660         * sysdeps/x86_64/x32/Makefile: New file.
24662 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24664         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24665         1L with (mp_limb_t) 1.
24667 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24669         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24670         * nptl/libc_pthread_init.c: ... here.
24671         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24672         * nptl/register-atfork.c: ... here.
24674         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24675         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24676         Use assert_perror to check its return value.
24677         (__gai_create_helper_thread): Likewise.
24679         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24681         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24683 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24685         [BZ #17725]
24686         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24687         __profil_counter.
24688         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24689         Likewise.
24690         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24691         Likewise.
24692         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24693         Likewise.
24694         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24695         (profil_counter): Likewise.
24696         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24697         (profil_counter): Likewise.
24698         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24699         Likewise.
24700         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24703         (profil_counter): Likewise.
24704         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24705         Likewise.
24706         [!__profil_counter] (profil_counter): Define as weak alias of
24707         __profil_counter.
24708         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24709         (profil_counter): Rename to __profil_counter.
24710         [!__profil_counter] (profil_counter): Define as weak alias of
24711         __profil_counter.
24712         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24713         (profil_counter): Rename to __profil_counter.
24714         [!__profil_counter] (profil_counter): Define as weak alias of
24715         __profil_counter.
24716         * sysdeps/posix/profil.c: Update comment referring to
24717         profil_counter.
24718         (__profil): Use __profil_counter instead of profil_counter.
24719         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24720         __profil_counter.  Use __profil_counter_ushort and
24721         __profil_counter_uint in definitions.
24722         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24723         instead of profil_counter_uint and profil_counter_ushort.
24725         [BZ #17722]
24726         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24727         define as weak alias of __inet_makeaddr.
24728         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24729         as weak alias of __inet_addr.
24730         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24731         as weak alias of __inet_pton.  Use libc_hidden_weak.
24732         * include/arpa/inet.h (__inet_pton): Declare.  Use
24733         libc_hidden_proto.
24734         (inet_makeaddr): Don't use libc_hidden_proto.
24735         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24736         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24737         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24738         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24739         Remove variable.
24740         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24741         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24743 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24745         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24747 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24749         * stdio-common/bug-vfprintf-nargs.c (do_test):
24750         Cast value to intptr_t to avoid format warning
24751         for usage with PRIdPTR printing macro.
24753 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24755         * libio/tst-widetext.c (do_test):
24756         Use format type %td instead of %Zd for ptrdiff_t
24757         in order to avoid format warning.
24759 2014-12-17  Andreas Schwab  <schwab@suse.de>
24761         * nscd/mem.c (gc): Add size_t cast to match printf format.
24763 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24765         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24766         (init): Apply PTR_MANGLE to pointers before storing them.
24767         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24768         before using them.
24770 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24772         [BZ #17719]
24773         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24774         define as weak alias of __memrchr.
24775         (__memrchr): Do not define as strong alias of memrchr.
24776         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24777         Remove variable.
24778         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24779         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24780         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24782         [BZ #17717]
24783         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24784         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24785         (if_indextoname): Rename to __if_indextoname and define as weak
24786         alias of __if_indextoname.  Use libc_hidden_weak.
24787         (if_freenameindex): Rename to __if_freenameindex and define as
24788         weak alias of __if_freenameindex.
24789         (if_nameindex): Rename to __if_nameindex and define as weak alias
24790         of __if_nameindex.
24791         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24792         __if_nametoindex and define as weak alias of __if_nametoindex.
24793         Use libc_hidden_weak.
24794         (if_freenameindex): Rename to __if_freenameindex and define as
24795         weak alias of __if_freenameindex.
24796         (if_nameindex): Rename to __if_nameindex and define as weak alias
24797         of __if_nameindex.
24798         (if_indextoname): Rename to __if_indextoname and define as weak
24799         alias of __if_indextoname.  Use libc_hidden_weak.
24800         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24801         __if_nametoindex and define as weak alias of __if_nametoindex.
24802         Use libc_hidden_weak.
24803         (if_freenameindex): Rename to __if_freenameindex and define as
24804         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24805         (if_nameindex_netlink): Use __if_freenameindex instead of
24806         if_freenameindex.
24807         (if_nameindex): Rename to __if_nameindex and define as weak alias
24808         of __if_nameindex.  Use libc_hidden_weak.
24809         (if_indextoname): Rename to __if_indextoname and define as weak
24810         alias of __if_indextoname.  Use libc_hidden_weak.
24811         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24812         libc_hidden_proto.
24813         [!_ISOMAC] (__if_freenameindex): Likewise.
24814         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24815         if_nametoindex.
24816         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24817         variable.
24818         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24819         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24820         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24821         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24822         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24823         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24824         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24826         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24827         Remove variable.
24828         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24829         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24831 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24834         subscript above bounds'
24836         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24837         bounds.
24839 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24841         * libio/tst-fopenloc.c: Use test-skeleton.c.
24843         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24844         (entry): Rename to ITEM.
24845         (do_test, comp): Adjust.
24847         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24849 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24851         * string/tester.c: Include <libc-internal.h>.
24852         (test_memset): Ignore -Wmemset-transposed-args.
24854 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24856         * misc/tst-mntent2.c (do_test): Fix warning.
24858 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24860         * elf/tst-unique4lib.cc(a): Mark as used.
24862 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24864         [BZ #17630]
24865         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24866         names.
24868 2014-12-16  Allan McRae  <allan@archlinux.org>
24870         * stdio-common/Makefile (tests): Re-add bug26.
24872 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24874         [BZ #17657]
24875         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24876         static array.
24878 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24880         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24881         (__lll_lock_wait): Likewise.
24882         (__lll_timedlock_wait): Likewise.
24883         (__lll_timedwait_tid): Likewise.
24884         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24885         (__lll_robust_timedlock_wait): Likewise.
24886         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24887         (lll_cond_trylock): Likewise.
24888         (__lll_lock): Likewise.
24889         (__lll_robust_lock): Likewise.
24890         (__lll_cond_lock): Likewise.
24891         (lll_robust_cond_lock): Likewise.
24892         (__lll_timedlock): Likewise.
24893         (__lll_robust_timedlock): Likewise.
24894         (__lll_unlock): Likewise.
24895         (__lll_robust_unlock): Likewise.
24896         (lll_wait_tid): Likewise.
24897         (lll_timedwait_tid): Likewise.
24899 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24901         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24903 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24905         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24907 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24909         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24910         * stdio-common/tst-sprintf.c: Likewise.
24912 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24914         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24916 2014-12-15  Jeff Law  <law@redhat.com>
24918         [BZ #16617]
24919         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24920         on the heap.  (CVE-2012-3406)
24921         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24922         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24923         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24925 2014-12-15  Will Newton  <will.newton@linaro.org>
24927         * manual/install.texi: Bump required version of texinfo
24928         to 4.7 from 4.5.
24929         * INSTALL: Regenerated.
24930         * configure.ac: Check for makeinfo version 4.7 and above.
24931         * configure: Regenerated.
24933 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24935         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24936         PREFIX, string constant to insert between directory and name.
24937         * sysdeps/posix/shm_open.c: Update caller.
24938         * sysdeps/posix/shm_unlink.c: Likewise.
24939         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24940         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24941         (SEM_SHM_PREFIX): New macro.
24942         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24943         [$(have-thread-library) = no].
24944         * nptl/Makefile (libpthread-routines): Add shm-directory.
24945         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24946         * sysdeps/nptl/shm-directory.h: New file.
24947         * sysdeps/posix/shm-directory.c
24948         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24949         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24950         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24951         INTERNAL_SYSCALL.
24952         (__where_is_shmfs): Function removed.
24953         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24954         Variables removed.
24955         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24956         Use SHM_GET_NAME.
24957         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24959         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24960         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24961         unconditional for use inside libpthread.
24962         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24964 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24966         * nptl/pthread_getaffinity.c: New file.
24967         * nptl/pthread_setaffinity.c: New file.
24968         * nptl/pthread_getname.c: New file.
24969         * nptl/pthread_setname.c: New file.
24971         * nptl/pthread_create.c (START_THREAD_DEFN)
24972         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24974 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24977         * resolv/res_send.c (send_vc): Disable warning resplen may
24978         be used uninitialized.
24980 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24982         * nptl/tst-mutex6.c
24983         (ATTR_NULL): New define checks ATTR against NULL.
24984         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24985         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24987 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24989         [BZ #17581]
24990         * malloc/hooks.c
24991         (mem2mem_check): Revert my previous change.
24992         (malloc_check_get_size): Revert my previous change.
24993         (mem2chunk_check): Revert my previous change.
24995 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24997         * sysdeps/posix/shm-directory.c: New file.
24998         * sysdeps/posix/shm-directory.h: New file.
24999         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25000         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25001         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25002         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25003         Transmute EPERM to EACCES.
25004         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25005         from ...
25006         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25007         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25009 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25011         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25012         pointer and cast to uintptr_t.
25013         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25014         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25015         Add cast to avoid warning.
25016         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25018 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25020         * nptl/semaphore.h: Move to ...
25021         * sysdeps/pthread/semaphore.h: ... here.
25022         * Makefile (installed-headers): Change nptl/semaphore.h to
25023         sysdeps/pthread/semaphore.h.
25025 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25027         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25028         generated error format strings.
25030         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25031         -Wformat-extra-args warnings for scanf formats.
25032         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25033         test of zero-length format (duh).
25034         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25035         corner-case scanf format test.
25036         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25037         generated fprintf format string.
25038         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25039         corner-case sprintf format tests.
25040         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25041         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25042         -Wformat-extra-args warnings throughout.
25043         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25044         (CFLAGS-scanf4.c): Likewise.
25045         (CFLAGS-scanf7.c): Likewise.
25046         (CFLAGS-tst-sprintf.c): Likewise.
25047         (CFLAGS-tst-printf.c): Likewise.
25048         (CFLAGS-tst-printfsz.c): Likewise.
25050 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25052         * include/cpio.h: New file.
25053         * include/fmtmsg.h: Likewise.
25055         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25056         corresponding format argument to size_t.
25057         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25058         arguments.
25059         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25060         corresponding format argument to size_t.
25061         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25062         arguments.
25063         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25064         corresponding format argument to size_t.
25065         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25066         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25067         (CFLAGS-tst-mbswcs2.c): Likewise.
25068         (CFLAGS-tst-mbswcs3.c): Likewise.
25069         (CFLAGS-tst-mbswcs4.c): Likewise.
25070         (CFLAGS-tst-mbswcs5.c): Likewise.
25071         (CFLAGS-tst-trans.c): Likewise.
25073 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25075         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25076         rather than assuming they won't contain any '%'s.
25078 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25080         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25081         inhibit_loop_to_libcall to avoid recursive calls.
25082         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25083         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25085 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25087         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25088         prototype.
25090 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25092         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25093         integer value instead of boolean.
25095 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25097         * malloc/malloc.c: Fix powerof2 check.
25099 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25101         * locale/programs/locfile.h (maybe_swap_uint32):
25102         Remove inline and add unused attribute.
25104 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25107         Truncating assembler expression to a .long expression.
25109 2014-12-11  Andreas Schwab  <schwab@suse.de>
25111         * elf/rtld.c (struct map_args): Constify str member.
25112         (do_preload): Constify fname argument.
25114 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25117         constants definition.
25119 2014-12-11  Andreas Schwab  <schwab@suse.de>
25121         [BZ #16657]
25122         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25123         FORCE_ELISION instead of DO_ELISION.
25124         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25125         Remove.
25126         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25127         Likewise.
25129         * iconvdata/gconv-modules: Remove duplicate entry.
25131 2014-12-11  Will Newton  <will.newton@linaro.org>
25133         Merge gettext 0.19.3 into intl/.
25135         This involves a number of cosmetic changes to comments
25136         and ANSI function definitions and prototypes throughout
25137         all the files. The gettext copyright header is used but
25138         with the date ranges taken from the glibc copy.
25140         * NEWS: Add gettext merge to 2.21.
25141         * intl/bindtextdom.c: Switch to gettext copyright.
25142         Use ANSI definitions and prototypes.
25143         Use gl_* locking primitives rather than __libc_* ones.
25144         Use __builtin_expect rather than __glibc_likely/unlikely.
25145         * intl/dcgettext.c: Switch to gettext copyright.
25146         Use ANSI definitions and prototypes.
25147         * intl/dcigettext.c: Switch to gettext copyright.
25148         Use ANSI definitions and prototypes.
25149         (INTDIV0_RAISES_SIGFPE): New define.
25150         Use gl_* locking primitives rather than __libc_* ones.
25151         Include eval-plural.h instead of plural-eval.c.
25152         Use __builtin_expect rather than __glibc_likely/unlikely.
25153         * intl/dcngettext.c: Switch to gettext copyright.
25154         Use ANSI definitions and prototypes.
25155         * intl/dgettext.c: Likewise.
25156         * intl/dngettext.c: Likewise.
25157         * intl/plural-eval.c: Renamed to...
25158         * intl/eval-plural.h: ...this.
25159         * intl/explodename.c: Switch to gettext copyright.
25160         Use ANSI definitions and prototypes.
25161         (_nl_explode_name): Use strchr instead of __rawmemchr.
25162         * intl/finddomain.c: Switch to gettext copyright.
25163         Use ANSI definitions and prototypes.
25164         Use gl_* locking primitives rather than __libc_* ones.
25165         (_nl_find_domain): Use malloc rather than alloca for
25166         allocation of temporary locale name.
25167         * intl/gettext.c: Switch to gettext copyright.
25168         Use ANSI definitions and prototypes.
25169         * intl/gettextP.h: Switch to gettext copyright.
25170         Use ANSI definitions and prototypes.
25171         Use gl_* locking primitives rather than __libc_* ones.
25172         * intl/gmo.h: Switch to gettext copyright.
25173         (struct sysdep_string): Move struct segment_pair outside of
25174         struct definition.
25175         * intl/hash-string.c: Use ANSI definitions and prototypes.
25176         * intl/hash-string.h: Switch to gettext copyright.
25177         Use ANSI definitions and prototypes.
25178         * intl/l10nflist.c: Switch to gettext copyright.
25179         Use ANSI definitions and prototypes.
25180         (_nl_normalize_codeset): Avoid integer overflow.
25181         * intl/loadinfo.h: Switch to gettext copyright.
25182         Use ANSI definitions and prototypes.
25183         (LIBINTL_DLL_EXPORTED): New define.
25184         (PATH_SEPARATOR): New define.
25185         * intl/loadmsgcat.c: Switch to gettext copyright.
25186         * intl/localealias.c: Switch to gettext copyright.
25187         Use ANSI definitions and prototypes.
25188         (_nl_expand_alias): Use PATH_SEPARATOR.
25189         * intl/ngettext.c: Switch to gettext copyright.
25190         Use ANSI definitions and prototypes.
25191         * intl/plural-exp.c: Likewise.
25192         * intl/plural-exp.h: Switch to gettext copyright.
25193         Use ANSI definitions and prototypes.
25194         (struct expression): Move definition of enum operator outside
25195         of struct definition.
25196         * intl/plural.c: Regenerate.
25197         * intl/plural.y: Switch to gettext copyright.
25198         Use ANSI definitions and prototypes.
25199         Port to bison 3.0.
25200         * intl/textdomain.c: Switch to gettext copyright.
25201         Use ANSI definitions and prototypes.
25202         Use gl_* locking primitives rather than __libc_* ones.
25204 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25206         * debug/warning-nop.c: Add used atrribute.
25208 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25210         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25212         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25213         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25214         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25216 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25217             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25219         [BZ #17634]
25220         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25221         Undefine after defining function.  Define as weak alias of
25222         __wcschr.  Use libc_hidden_weak.
25223         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25224         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25225         (libc_hidden_def): Also define __GI___wcschr alias.
25226         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25227         __wcschr and define as weak alias of __wcschr.
25228         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25229         __wcschr.
25230         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25231         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25232         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25233         libc_hidden_weak.  Do not use libc_hidden_def.
25234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25235         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25236         __GI___wcschr alias.
25237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25238         [IS_IN (libc)] (wcschr): Define as macro expanding to
25239         __redirect_wcschr.
25240         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25241         [IS_IN (libc)] (__wcschr_power6): Likewise.
25242         [IS_IN (libc)] (__wcschr_power7): Likewise.
25243         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25244         instead of wcschr.
25245         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25246         __libc_wcschr.
25247         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25248         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25249         __wcschr and define as weak alias of __wcschr.  Use
25250         libc_hidden_builtin_def.
25251         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25252         as weak alias of __wcschr.  Use libc_hidden_weak.
25253         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25254         wcschr.
25255         * time/era.c (_nl_init_era_entries): Likewise.
25256         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25257         variable.
25258         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25259         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25261 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25263         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25264         format for long int variable.
25266 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25268         [BZ #10672]
25269         * manual/search.texi: (Array Sort Function): Remove claim how to make
25270         qsort stable.
25272 2014-12-10  Andreas Schwab  <schwab@suse.de>
25274         [BZ #12847]
25275         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25276         user-controlled locks.
25278 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25280         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25281         register.
25283 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25285         * configure.ac (--disable-werror): New configure option.
25286         (enable_werror): New AC_SUBST.
25287         * configure: Regenerated.
25288         * config.make.in (enable-werror): New variable.
25289         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25290         -Wno-error=undef.
25291         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25292         * manual/install.texi (Configuring and compiling): Document
25293         --disable-werror.
25294         * INSTALL: Regenerated.
25295         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25296         (CFLAGS-tst-chk2.c): Likewise.
25297         (CFLAGS-tst-chk3.c): Likewise.
25298         (CFLAGS-tst-chk4.cc): Likewise.
25299         (CFLAGS-tst-chk5.cc): Likewise.
25300         (CFLAGS-tst-chk6.cc): Likewise.
25301         (CFLAGS-tst-lfschk1.c): Likewise.
25302         (CFLAGS-tst-lfschk2.c): Likewise.
25303         (CFLAGS-tst-lfschk3.c): Likewise.
25304         (CFLAGS-tst-lfschk4.cc): Likewise.
25305         (CFLAGS-tst-lfschk5.cc): Likewise.
25306         (CFLAGS-tst-lfschk6.cc): Likewise.
25308         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25309         (main): Disable -Wdeprecated-declarations around calls to
25310         register_printf_function.
25312         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25313         (do_test): Disable -Wdiv-by-zero around some calls to
25314         fwrite_unlocked and fread_unlocked.
25316         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25317         (DIAG_POP_NEEDS_COMMENT): Likewise.
25318         (_DIAG_STR1): Likewise.
25319         (_DIAG_STR): Likewise.
25320         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25321         * stdio-common/bug21.c: Include <libc-internal.h>.
25322         (do_test): Disable -Wformat around call to sscanf.
25323         * stdio-common/scanf14.c: Include <libc-internal.h>.
25324         (main): Disable -Wformat around some calls to scanf functions.
25326 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25328         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25330 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25332         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25333         stack variable alignment.
25335 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25337         [BZ #17682]
25338         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25339         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25340         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25341         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25342         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25343         __getrlimit instead of getrlimit.
25344         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25345         __gettimeofday instead of gettimeofday.
25346         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25347         Likewise.
25348         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25349         Likewise.
25350         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25351         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25352         Remove variable.
25353         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25354         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25356 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25358         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25359         for wide-character tests.
25361 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25363         * io/openat64.c: #include <libc-internal.h>
25364         (__openat64): Prototypify.  Use ignore_value on MODE.
25365         * io/openat.c: Likewise.
25366         * misc/reboot.c: #include <libc-internal.h>
25367         (reboot): Prototypify.  Use ignore_value on HOWTO.
25368         * misc/ptrace.c: #include <libc-internal.h>
25369         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25371 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25373         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25374         XPG4, UNIX98 and XOPEN2K.
25375         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25376         Remove variable.
25377         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25379 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25381         * libio/fileops.c: Use ISO C style for function definitions.
25382         * libio/iofopen.c: Likewise.
25383         * libio/wfileops.c: Likewise.
25385         [BZ #17653]
25386         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25387         offset on EOF.
25388         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25389         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25390         (fgets_func): Function pointer to fgets and fgetws.
25391         (do_ftell_test): Add test to verify ftell value after read
25392         EOF.
25393         (do_test): Set fgets_func.
25395         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25396         O_TRUNC flag for w and w+ modes.
25397         (do_rewind_test): Likewise.
25398         (do_ftell_test): Likewise.
25399         (do_write_test): Likewise.
25401         [BZ #17647]
25402         * libio/fileops.c (do_ftell): Seek only when there are
25403         unflushed writes.
25404         * libio/wfileops.c (do_ftell_wide): Likewise.
25405         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25406         test case.
25407         (do_one_test): Call it.
25409 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25411         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25412         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25413         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25414         Remove variable.
25415         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25416         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25417         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25419 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25421         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25422         Remove variable.
25423         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25425         [BZ #17668]
25426         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25427         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25428         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25429         __freeifaddrs.  Use libc_hidden_weak.
25430         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25431         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25432         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25433         __freeifaddrs.  Use libc_hidden_weak.
25434         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25435         __getifaddrs and define as weak alias of __getifaddrs.  Use
25436         libc_hidden_weak.
25437         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25438         __freeifaddrs.  Use libc_hidden_weak.
25439         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25440         Remove variable.
25441         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25442         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25444 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25446         [BZ #17601]
25447         * sysdeps/mips/start.S (__start): Use indirect jump to call
25448         __libc_start_main.
25450 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25452         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25454         * nptl/tst-mutex1.c: Include <stdbool.h>.
25455         [!ATTR] (ATTR_NULL): New macro.
25456         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25457         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25458         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25460         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25461         to char *.
25463         [BZ #17665]
25464         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25465         Change conditional to [__USE_MISC].
25467         [BZ #17664]
25468         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25469         fgets_unlocked.
25470         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25471         __fgets_unlocked.
25472         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25473         fgets_unlocked.
25474         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25475         Remove variable.
25476         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25477         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25478         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25479         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25480         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25481         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25482         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25483         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25484         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25486         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25488 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25491         Remove strpbrk objects.
25492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25493         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25494         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25495         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25496         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25497         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25500         Remove strcspn objects.
25501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25502         (__libc_ifunc_impl_list): Remove strcspn implementation.
25503         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25504         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25505         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25506         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25508         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25509         Remove strspn objetcs.
25510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25511         (__libc_ifunc_impl_list): Remove strspn implementation.
25512         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25514         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25515         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25517 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25519         [BZ #17581]
25520         * malloc/hooks.c
25521         (mem2mem_check): Add a terminator to the chain of checking blocks.
25522         (malloc_check_get_size): Use it here.
25523         (mem2chunk_check): Ditto.
25525 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25527         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25528         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25530 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25532         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25534         * nptl/nptl-init.c: Include libc-internal.h.
25535         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25537         * elf/ldconfig.c (search_dir): Expand comment.
25539 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25541         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25542         variable.
25543         (linknamespace-symlist-stdlibs-tests): Likewise.
25544         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25545         instead of $(objpfx)symlist-stdlibs.
25546         (linknamespace-libs-isoc): New variable.
25547         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25548         (linknamespace-libs-ISO): New variable.
25549         (linknamespace-libs-ISO99): Likewise.
25550         (linknamespace-libs-ISO11): Likewise.
25551         (linknamespace-libs-XPG3): Likewise.
25552         (linknamespace-libs-XPG4): Likewise.
25553         (linknamespace-libs-POSIX): Likewise.
25554         (linknamespace-libs-UNIX98): Likewise.
25555         (linknamespace-libs-XOPEN2K): Likewise.
25556         (linknamespace-libs-POSIX2008): Likewise.
25557         (linknamespace-libs-XOPEN2K8): Likewise.
25558         ($(objpfx)symlist-stdlibs): Replace by
25559         $(linknamespace-symlist-stdlibs-tests).  Use
25560         $(linknamespace-libs-$*) as set of libraries.
25561         ($(linknamespace-header-tests)): Update dependencies.  Use
25562         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25563         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25564         * conform/linknamespace.pl: Remove comment about considering
25565         definitions of symbols from irrelevant libraries.
25567 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25569         [BZ #13862]
25570         * elf/dl-tls.c: Include <atomic.h>.
25571         (oom): Remove #ifdef SHARED/#endif.
25572         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25573         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25574         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25575         big enough.
25576         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25577         * nptl/Makefile (tests): Add tst-stack4.
25578         (modules-names): Add tst-stack4mod.
25579         ($(objpfx)tst-stack4): New.
25580         (tst-stack4mod.sos): Likewise.
25581         ($(objpfx)tst-stack4.out): Likewise.
25582         ($(tst-stack4mod.sos)): Likewise.
25583         (clean): Likewise.
25584         * nptl/tst-stack4.c: New file.
25585         * nptl/tst-stack4mod.c: Likewise.
25587 2014-11-27  J. Brown  <jb999@gmx.de>
25589         * sysdeps/x86/bits/string.h: Add recent CPUs.
25591 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25593         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25594         sigblock.
25596         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25597         feof.
25599         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25600         variable.
25602 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25604         * nscd/connections.c: Include libc-internal.h because of macro
25605         usage ignore_value.
25607 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25609         * string/bits/string3.h (__warn_memset_zero_len): Don't
25610         declare for gcc newer than 5.0.
25611         (memset): Don't test for zero-length __LEN for gcc newer than
25612         5.0.
25614 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25616         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25617         size_t for %zu format.
25619         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25620         difference, not %ju.
25622 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25624         * include/libc-internal.h (ignore_value): New macro.
25625         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25626         with ignore_value.
25628         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25629         definition.
25631         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25632         pthread_cleanup_push to void *.
25634         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25635         Undefine.
25637         [BZ #16619]
25638         [BZ #16740]
25639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25640         instead of 1L << 52.
25642         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25643         * libio/bug-rewind2.c (do_test): Likewise.
25645         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25646         * debug/test-strcpy_chk-ifunc.c: Likewise.
25647         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25648         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25649         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25650         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25651         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25652         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25653         * Rules [$(multi-arch) = no] (tests): Do not filter out
25654         $(tests-ifunc).
25655         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25656         * debug/Makefile (tests-ifunc): Remove variable.
25657         (tests): Do not add $(tests-ifunc).
25658         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25659         (tests): Do not add $(tests-ifunc).
25660         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25661         [TEST_IFUNC]: Remove conditionals.
25662         * string/test-string.h (TEST_IFUNC): Remove macro.
25663         [TEST_IFUNC]: Remove conditionals.
25665         * string/test-strchr.c [!WIDE] (L): New macro.
25666         [WIDE] (L): Likewise.
25667         (check1): Use CHAR instead of char.  Use L on string and character
25668         constants.
25670 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25672         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25673         tests.
25674         * sysdeps/powerpc/bits/atomic.h
25675         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25676         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25677         (atomic_exchange_and_add_acq): Likewise.
25678         (atomic_exchange_and_add_rel): Likewise.
25679         * sysdeps/powerpc/powerpc32/bits/atomic.h
25680         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25681         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25682         * sysdeps/powerpc/powerpc64/bits/atomic.h
25683         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25684         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25686 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25688         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25689         Change synchronization of __sched_fifo_min_prio and
25690         __sched_fifo_max_prio.
25691         * nptl/pthread_mutexattr_getprioceiling.c
25692         (pthread_mutexattr_getprioceiling): Likewise.
25693         * nptl/pthread_mutexattr_setprioceiling.c
25694         (pthread_mutexattr_setprioceiling): Likewise.
25695         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25696         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25697         Likewise.
25699 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25701         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25702         void.
25704 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25706         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25707         third argument const.
25709 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25711         fnmatch: work around GCC compiler warning bug with uninit var
25712         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25713         This works around a bug with x86-64 GCC 4.9.2 and earlier
25714         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25715         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25716         used uninitialized in this function [-Wmaybe-uninitialized]".
25718 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25720         * posix/bug-regex31.c (main): Return RES not 0.
25722 2014-11-25  Anton Blanchard <anton@samba.org>
25724         * sysdeps/powerpc/bits/atomic.h
25725         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25727 2014-11-24  Sterling Augustine  <saugustine@google.com>
25729         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25731 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25733         [BZ #17608]
25734         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25736 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25738         [BZ #17633]
25739         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25740         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25741         variable.
25742         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25743         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25745 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25747         * string/strncpy.c (strncpy): Improve performance by using memset.
25749 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25751         * string/strcpy.c (strcpy):
25752         Improve performance by using strlen and memcpy.
25754 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25756         * string/strcoll_l.c (get_next_seq): __always_inline.
25757         * string/strcoll_l.c (do_compare): __always_inline.
25759 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25761         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25762         defined.
25763         * include/mqueue.h: Likewise.
25764         * include/stdlib.h: Likewise.
25766         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25767         (get_null_defines): Adjust.
25768         * sunrpc/Makefile: Adjust comment.
25769         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25770         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25771         (CFLAGS-interp.c): Likewise.
25772         (CFLAGS-ldconfig.c): Likewise.
25773         (CPPFLAGS-.os): Likewise.
25774         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25775         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25776         * extra-modules.mk (extra-modules.mk): Likewise.
25777         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25778         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25779         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25780         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25781         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25782         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25783         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25784         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25785         * iconvdata/Makefile (CPPFLAGS): Likewise.
25786         (cpp-srcs-left): Add libof for all iconvdata routines.
25787         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25788         * include/assert.h: Likewise.
25789         * include/ctype.h: Likewise.
25790         * include/errno.h: Likewise.
25791         * include/libc-symbols.h: Likewise.
25792         * include/math.h: Likewise.
25793         * include/netdb.h: Likewise.
25794         * include/resolv.h: Likewise.
25795         * include/stdio.h: Likewise.
25796         * include/stdlib.h: Likewise.
25797         * include/string.h: Likewise.
25798         * include/sys/stat.h: Likewise.
25799         * include/wctype.h: Likewise.
25800         * intl/l10nflist.c: Likewise.
25801         * libidn/idn-stub.c: Likewise.
25802         * libio/libioP.h: Likewise.
25803         * nptl/libc_multiple_threads.c: Likewise.
25804         * nptl/pthreadP.h: Likewise.
25805         * posix/regex_internal.h: Likewise.
25806         * resolv/res_hconf.c: Likewise.
25807         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25808         * sysdeps/arm/memmove.S: Likewise.
25809         * sysdeps/arm/sysdep.h: Likewise.
25810         * sysdeps/generic/_itoa.h: Likewise.
25811         * sysdeps/generic/symbol-hacks.h: Likewise.
25812         * sysdeps/gnu/errlist.awk: Likewise.
25813         * sysdeps/gnu/errlist.c: Likewise.
25814         * sysdeps/i386/i586/memcpy.S: Likewise.
25815         * sysdeps/i386/i586/memset.S: Likewise.
25816         * sysdeps/i386/i686/memcpy.S: Likewise.
25817         * sysdeps/i386/i686/memmove.S: Likewise.
25818         * sysdeps/i386/i686/mempcpy.S: Likewise.
25819         * sysdeps/i386/i686/memset.S: Likewise.
25820         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25821         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25822         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25823         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25824         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25825         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25826         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25827         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25828         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25830         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25831         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25832         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25833         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25834         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25835         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25836         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25837         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25838         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25839         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25840         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25841         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25842         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25843         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25844         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25845         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25846         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25847         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25848         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25849         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25850         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25851         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25854         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25856         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25857         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25858         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25859         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25860         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25861         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25862         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25863         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25864         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25865         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25866         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25867         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25868         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25869         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25870         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25871         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25872         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25873         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25874         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25875         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25876         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25877         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25878         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25879         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25880         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25881         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25882         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25883         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25884         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25885         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25886         * sysdeps/posix/closedir.c: Likewise.
25887         * sysdeps/posix/opendir.c: Likewise.
25888         * sysdeps/posix/readdir.c: Likewise.
25889         * sysdeps/posix/rewinddir.c: Likewise.
25890         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25891         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25892         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25893         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25894         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25901         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25903         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25904         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25905         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25906         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25907         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25909         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25910         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25911         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25919         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25926         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25927         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25928         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25929         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25930         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25931         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25932         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25933         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25934         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25935         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25936         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25937         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25938         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25939         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25940         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25941         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25947         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25948         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25949         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25952         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25953         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25954         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25955         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25957         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25958         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25959         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25960         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25961         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25962         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25963         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25964         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25965         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25966         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25967         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25968         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25970         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25971         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25972         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25974         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25976         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25977         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25978         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25979         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25980         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25981         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25982         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25986         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25988         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25989         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25990         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25991         * sysdeps/unix/alpha/sysdep.S: Likewise.
25992         * sysdeps/unix/alpha/sysdep.h: Likewise.
25993         * sysdeps/unix/make-syscalls.sh: Likewise.
25994         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25996         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25997         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25999         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26000         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26002         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26003         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26004         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26005         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26007         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26008         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26009         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26010         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26011         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26012         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26013         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26014         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26016         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26017         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26018         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26019         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26023         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26028         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26032         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26033         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26034         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26035         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26036         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26037         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26041         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26044         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26045         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26046         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26047         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26050         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26052         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26053         * sysdeps/x86_64/memcpy.S: Likewise.
26054         * sysdeps/x86_64/memmove.c: Likewise.
26055         * sysdeps/x86_64/memset.S: Likewise.
26056         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26057         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26058         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26059         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26060         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26063         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26064         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26065         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26066         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26067         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26068         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26069         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26070         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26071         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26072         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26073         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26074         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26075         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26076         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26077         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26078         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26079         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26080         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26081         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26082         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26083         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26084         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26085         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26086         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26087         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26088         * sysdeps/x86_64/strcmp.S: Likewise.
26090         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26092         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26093         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26094         * elf/rtld-Rules: Likewise.
26095         * elf/setup-vdso.h: Likewise.
26096         * include/assert.h: Likewise.
26097         * include/bits/stdlib-float.h: Likewise.
26098         * include/errno.h: Likewise.
26099         * include/sys/stat.h: Likewise.
26100         * include/unistd.h: Likewise.
26101         * sysdeps/aarch64/setjmp.S: Likewise.
26102         * sysdeps/alpha/setjmp.S: Likewise.
26103         * sysdeps/arm/__longjmp.S: Likewise.
26104         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26105         * sysdeps/arm/setjmp.S: Likewise.
26106         * sysdeps/arm/sysdep.h: Likewise.
26107         * sysdeps/generic/_itoa.h: Likewise.
26108         * sysdeps/generic/dl-sysdep.h: Likewise.
26109         * sysdeps/generic/ldsodefs.h: Likewise.
26110         * sysdeps/i386/dl-tls.h: Likewise.
26111         * sysdeps/i386/setjmp.S: Likewise.
26112         * sysdeps/m68k/setjmp.c: Likewise.
26113         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26114         * sysdeps/mach/hurd/opendir.c: Likewise.
26115         * sysdeps/posix/getcwd.c: Likewise.
26116         * sysdeps/posix/opendir.c: Likewise.
26117         * sysdeps/posix/profil.c: Likewise.
26118         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26119         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26120         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26121         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26122         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26123         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26124         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26125         * sysdeps/s390/dl-tls.h: Likewise.
26126         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26127         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26128         * sysdeps/sh/sh3/setjmp.S: Likewise.
26129         * sysdeps/sh/sh4/setjmp.S: Likewise.
26130         * sysdeps/unix/alpha/sysdep.h: Likewise.
26131         * sysdeps/unix/arm/sysdep.S: Likewise.
26132         * sysdeps/unix/i386/sysdep.S: Likewise.
26133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26134         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26135         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26136         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26138         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26139         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26140         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26141         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26142         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26143         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26144         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26145         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26151         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26152         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26153         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26156         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26157         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26158         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26160         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26161         * sysdeps/x86_64/setjmp.S: Likewise.
26163         * include/math.h: Use IS_IN instead of IS_IN_libm.
26164         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26165         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26166         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26167         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26169         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26170         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26171         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26173         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26174         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26175         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26176         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26177         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26178         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26179         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26180         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26181         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26182         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26183         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26184         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26185         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26186         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26187         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26188         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26189         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26190         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26191         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26192         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26193         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26194         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26195         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26196         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26198         Likewise.
26199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26200         Likewise.
26201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26202         Likewise.
26203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26204         Likewise.
26205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26206         Likewise.
26207         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26209         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26210         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26211         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26212         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26218         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26219         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26220         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26221         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26222         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26224         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26225         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26226         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26227         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26228         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26231         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26233         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26235         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26236         * nptl/pthreadP.h: Likewise.
26237         * nptl_db/structs.def: Likewise.
26238         * sysdeps/arm/sysdep.h: Likewise.
26239         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26240         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26241         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26242         * sysdeps/unix/alpha/sysdep.h: Likewise.
26243         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26245         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26247         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26248         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26250         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26251         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26252         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26253         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26254         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26255         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26256         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26261         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26264         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26265         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26266         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26268         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26270         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26271         * nptl/pthreadP.h: Likewise.
26272         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26273         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26274         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26275         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26276         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26277         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26278         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26279         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26280         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26281         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26282         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26283         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26285         Likewise.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26287         Likewise.
26288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26289         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26290         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26293         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26294         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26295         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26297         * dlfcn/dladdr.c: Use IS_IN.
26298         * dlfcn/dladdr1.c: Likewise.
26299         * dlfcn/dlclose.c: Likewise.
26300         * dlfcn/dlerror.c: Likewise.
26301         * dlfcn/dlinfo.c: Likewise.
26302         * dlfcn/dlmopen.c: Likewise.
26303         * dlfcn/dlopen.c: Likewise.
26304         * dlfcn/dlsym.c: Likewise.
26305         * dlfcn/dlvsym.c: Likewise.
26307         * include/ifaddrs.h: Use IS_IN.
26308         * inet/check_pf.c: Likewise.
26309         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26310         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26312         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26313         IS_IN_ldconfig.
26314         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26315         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26317         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26318         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26319         IS_IN (libc).
26321         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26323         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26324         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26325         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26326         * include/libc-symbols.h (IS_IN_LIB): New macro.
26327         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26328         * include/netdb.h: Likewise.
26329         * include/stap-probe.h: Remove all uses of IN_LIB.
26331         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26332         instead of IN_MODULE.
26333         * include/libc-symbols.h (IN_MODULE): Define using
26334         MODULE_NAME.
26335         (PASTE_NAME, PASTE_NAME1): New macros.
26336         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26337         of IN_LIB.
26338         (STAP_PROBE_ASM): Likewise.
26340 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26342         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26343         __mach_init in dlopened libc.
26345 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26347         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26348         * sysdeps/arm/preconfigure: Regenerate.
26350 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26352         * nptl/pthread_create.c (__pthread_create_2_1): Set
26353         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26354         when copying values from IATTR into PD.
26356 2014-11-21  Will Newton  <will.newton@linaro.org>
26357             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26359         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26360         Refactor inline-asm.  Also add comment.
26362         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26363         ElfW macro instead of hardcoded Elf64 types.
26364         (la_aarch64_gnu_pltenter): Likewise.
26365         * sysdeps/aarch64/dl-machine.h
26366         (elf_machine_runtime_setup): Use ElfW(Addr).
26368         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26369         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26370         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26371         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26372         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26373         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26374         (R_AARCH64_TLS_DTPMOD): This.
26375         (R_AARCH64_TLS_DTPREL64): Rename to ...
26376         (R_AARCH64_TLS_DTPREL): This.
26377         (R_AARCH64_TLS_TPREL64): Rename to ...
26378         (R_AARCH64_TLS_TPREL): This.
26379         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26380         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26381         R_AARCH64_TLS_TPREL64.
26382         (elf_machine_rela): Likewise.
26384 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26386         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26387         by setting it to 0.  64b atomics are not supported currently.
26389 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26391         [BZ #16469]
26392         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26393         search domain names.
26395 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26397         [BZ #16469]
26398         * NEWS: Update.
26399         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26400         trailing dot.
26401         * posix/tst-getaddrinfo5.c: New.
26402         * posix/Makefile (tests): Add it.
26404 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26406         [BZ #14498]
26407         * NEWS: Fixed.
26408         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26409         after parsing line but before break_if_match.
26410         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26411         if there is a protocol mismatch.
26413 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26415         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26416         because the potential race is on the user-supplied stream.
26418 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26420         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26421         string literal if not passed a buffer.
26422         * manual/job.texi (ctermid): Update reasoning, note deviation
26423         from posix, suggest mtasurace when not passed a buffer, for
26424         future non-preliminary safety notes.
26426 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26428         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26429         of not passing it a buffer.
26430         Reported by Peng Haitao.
26432 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26434         * manual/Makefile ($(objpfx)stamp-summary): Require
26435         check-safety.sh to pass.
26436         * manual/check-safety.sh: Wish for verification that every
26437         @deftypefn and @deftypefun is followed by a @safety remark.
26439 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26441         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26443         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26444         PTHREAD_CANCEL_ASYNCHRONOUS.
26445         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26446         send SIGCANCEL.
26448         * nptl/default-sched.h: New file.
26449         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26450         * nptl/pthread_create.c: Include it.
26451         (__pthread_create_2_1): Use collect_default_sched instead of making
26452         Linux syscalls here directly.
26454 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26456         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26457         __pthread_once): Use C11 atomics.
26459 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26461         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26463 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26465         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26466         atomic_thread_fence_acquire, atomic_thread_fence_release,
26467         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26468         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26469         atomic_compare_exchange_weak_relaxed,
26470         atomic_compare_exchange_weak_acquire,
26471         atomic_compare_exchange_weak_release,
26472         atomic_exchange_acquire, atomic_exchange_release,
26473         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26474         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26475         atomic_fetch_and_acquire,
26476         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26478 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26480         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26481         USE_ATOMIC_COMPILER_BUILTINS): Define.
26482         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26484         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26486         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26488         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26490         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26492         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26494         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26496         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26498         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26500         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26502         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26504         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26506         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26508         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26510         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26512         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26514         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26516         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26517         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26518         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26520         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26523 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26525         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26526         the sched_priority value here.  It was already checked when the user
26527         called pthread_attr_setschedparam.
26529         * nptl/tst-bad-schedattr.c: New file.
26530         * nptl/Makefile (tests): Add it.
26532 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26533             Florian Weimer  <fweimer@redhat.com>
26534             Joseph Myers  <joseph@codesourcery.com>
26535             Adam Conrad  <adconrad@0c3.net>
26536             Andreas Schwab  <schwab@suse.de>
26537             Brooks  <bmoses@google.com>
26539         [BZ #17625]
26540         * wordexp-test.c (__dso_handle): Add prototype.
26541         (__register_atfork): Likewise.
26542         (__app_register_atfork): New function.
26543         (registered_forks): New global.
26544         (register_fork): New function.
26545         (test_case): Add 3 new tests for WRDE_CMDSUB.
26546         (main): Call __app_register_atfork.
26547         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26548         fork count is non-zero fail the test.
26549         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26550         is set.
26551         (parse_dollars): Remove check for WRDE_NOCMD.
26552         (parse_dquote): Likewise.
26554 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26556         * Makeconfig (built-modules): List non-library modules to be
26557         built.
26558         (module-cppflags): Include libc-modules.h for
26559         everything except shlib-versions.v.i.
26560         (CPPFLAGS): Use it.
26561         (before-compile): Add libc-modules.h.
26562         ($(common-objpfx)libc-modules.h,
26563         $(common-objpfx)libc-modules.stmp): New targets.
26564         (common-generated): Add libc-modules.h and libc-modules.stmp.
26565         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26566         * include/libc-symbols.h: Don't include libc-modules.h.
26567         * include/libc-modules.h: Remove file.
26568         * scripts/gen-libc-modules.awk: New script to generate
26569         libc-modules.h.
26570         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26571         Depend on libc-modules.stmp.
26573         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26575         * Makeconfig (in-module): Get value of libof set for the
26576         translation unit.
26577         (CPPFLAGS): Use $(in-module).
26578         * Makerules: Don't suffix routine names for nonlib.
26579         * include/libc-modules.h: New file.
26580         * include/libc-symbols.h: Include libc-modules.h
26581         (IS_IN): New macro to replace IS_IN_* macros.
26582         * elf/Makefile: Set libof-* for each routine.
26583         * elf/rtld-Rules: Likewise.
26584         * extra-modules.mk: Likewise.
26585         * iconv/Makefile: Likewise.
26586         * iconvdata/Makefile: Likewise.
26587         * locale/Makefile: Likewise.
26588         * malloc/Makefile: Likewise.
26589         * nss/Makefile: Likewise.
26590         * sysdeps/gnu/Makefile: Likewise.
26591         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26592         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26593         * sysdeps/s390/s390-64/Makefile: Likewise.
26594         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26595         CPPFLAGS for nscd instead of nonlib.
26597 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26599         * nptl/createthread.c: New file.
26601         * nptl/createthread.c: Moved ...
26602         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26604         * nptl/createthread.c: Add proper top-line comment.
26605         (do_clone): Folded into ...
26606         (create_thread): ... here.  Take new arguments STOPPED_START and
26607         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26608         increment __nptl_threads, do event-reporting logic, do
26609         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26610         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26611         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26612         just send SIGCANCEL.
26613         * nptl/pthread_create.c: Forward-declare create_thread before
26614         including createthread.c.
26615         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26616         declaration, and new macro START_THREAD_SELF to replace argument.
26617         Remove return statement.
26618         (report_thread_creation): New function.
26619         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26620         synchronization logic, and __nptl_nthreads increment here, around
26621         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26622         PD->parent_cancelhandling here, before create_thread.  When
26623         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26624         __deallocate_stack, and ENOMEM translation here.
26626 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26628         [BZ #17616]
26629         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26630         (mptwo): Rename to __mptwo.
26631         (__inv): Use __mptwo instead of mptwo.
26632         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26633         (mptwo): Rename to __mptwo.
26634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26635         of mpone and __mptwo instead of mptwo.
26636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26637         instead of mpone.
26638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26639         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26640         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26641         of mpone and __mptwo instead of mptwo.
26642         (__mpranred): Use __mpone instead of mpone.
26643         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26644         variable.
26645         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26646         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26647         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26648         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26649         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26650         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26651         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26652         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26653         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26654         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26655         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26656         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26657         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26658         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26659         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26660         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26661         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26662         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26663         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26665 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26667         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26668         replace BSD Handler xref with BSD Signal Handling.
26670 2014-11-17  Richard Henderson  <rth@redhat.com>
26672         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26673         (_FP_PACK_RAW_2): Remove.
26674         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26675         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26676         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26677         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26678         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26679         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26680         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26681         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26682         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26683         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26684         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26685         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26686         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26687         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26688         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26689         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26691 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26693         * signal/signal.h [__USE_MISC]
26694         (struct sigvec): Remove type.
26695         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26696         (sigvec): Remove declaration.
26697         * sysdeps/posix/sigvec.c: Moved ...
26698         * signal/sigvec.c: ... here, replacing old file.
26699         (struct sigvec): New type, copied from old signal.h definition.
26700         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26701         (__sigvec): Convert definition to prototype.
26702         (sigvec): Replace weak_alias with compat_symbol.
26703         * signal/Versions (libc: GLIBC_2.21): New version set.
26704         * include/signal.h: Remove __sigvec declaration.
26705         * sysdeps/unix/bsd/sigvec.c: Remove file.
26706         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26707         * manual/signal.texi (BSD Handler): Remove subsection.
26708         Move siginterrupt up to ...
26709         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26710         (Blocking in BSD): Fold subsection into its parent.
26711         * NEWS: Mention sigvec removal.
26713 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26715         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26716         (DLA_FMS): Make definition conditional only on [__FMA4__].
26717         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26718         definition.
26720         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26721         Make definition conditional only on [PROF].
26722         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26723         definition.
26724         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26725         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26727         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26728         !__GNUC__].
26729         * include/signal.h (__sigpause): Move declaration above call to
26730         libc_hidden_proto.
26731         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26732         variable.
26733         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26734         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26736 2014-11-14  David S. Miller  <davem@davemloft.net>
26738         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26739         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26741 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26743         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26744         * configure: Regenerated.
26745         * manual/install.texi (Tools for Compilation): Document a
26746         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26747         compiler verified to work.
26748         * INSTALL: Regenerated.
26750         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26751         redeclare with asm name.
26752         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26753         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26754         including <string.h>.
26755         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26756         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26757         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26759         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26761         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26763 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26765         * stdlib/strtol.c (__strtol): Use prototype definition.
26767         [BZ #17594]
26768         * stdlib/strtol.c (SYM__): New macro.
26769         (SYM__1): Likewise.
26770         (__strtol): Likewise.
26771         (strtol): Rename to __strtol and define as weak alias of
26772         __strtol.  Use libc_hidden_weak.
26774 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26776         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26777         Use numbered labels in inline assembly.
26779 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26781         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26782         Add setjmp LIBC_PROBE.
26783         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26784         Likewise.
26785         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26786         Add longjmp, longjmp_target LIBC_PROBE.
26787         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26788         Likewise.
26790 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26792         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26793         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26794         to get rid of unused variable warning.
26796 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26798         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26799         Check for unwind_backtrace ==  NULL only in SHARED case.
26800         (__backchain_backtrace): Compile only in SHARED case.
26801         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26802         Likewise.
26803         (__backchain_backtrace): Declare as static.
26805 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26807         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26808         (__libc_multiple_threads_ptr): Variable moved ...
26809         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26811 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26813         * conform/GlibcConform.pm: New file.
26814         * conform/conformtest.pl: Use GlibcConform module.
26815         * conform/linknamespace.pl: New file.
26816         * conform/list-header-symbols.pl: Likewise.
26817         * conform/Makefile (linknamespace-symlists-base): New variable.
26818         (linknamespace-symlists-tests): Likewise.
26819         (linknamespace-header-base): Likewise.
26820         (linknamespace-header-tests): Likewise.
26821         (tests-special): Add new tests.
26822         ($(linknamespace-symlists-tests)): New rule.
26823         (linknamespace-libs): New variable.
26824         ($(objpfx)symlist-stdlibs): New rule.
26825         ($(linknamespace-header-tests)): Likewise.
26826         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26827         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26828         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26829         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26830         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26831         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26832         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26833         (test-xfail-ISO/math.h/linknamespace): Likewise.
26834         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26835         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26836         (test-xfail-ISO/time.h/linknamespace): Likewise.
26837         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26838         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26839         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26840         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26841         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26842         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26843         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26844         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26845         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26846         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26847         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26848         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26849         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26850         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26851         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26852         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26853         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26854         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26855         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26856         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26857         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26858         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26859         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26860         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26861         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26862         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26863         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26864         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26865         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26866         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26867         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26868         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26869         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26870         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26871         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26872         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26873         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26874         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26875         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26876         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26877         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26878         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26879         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26880         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26881         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26882         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26883         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26884         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26885         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26886         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26887         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26888         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26889         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26890         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26891         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26892         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26893         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26894         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26895         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26896         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26897         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26898         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26899         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26900         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26901         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26902         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26903         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26904         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26905         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26906         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26907         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26908         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26909         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26910         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26911         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26912         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26913         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26914         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26915         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26916         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26917         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26918         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26919         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26920         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26921         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26922         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26923         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26924         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26925         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26926         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26927         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26928         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26929         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26930         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26931         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26932         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26933         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26934         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26935         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26936         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26937         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26938         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26939         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26940         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26941         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26942         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26943         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26944         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26945         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26946         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26947         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26948         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26949         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26950         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26951         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26952         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26953         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26954         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26955         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26956         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26957         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26958         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26959         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26960         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26961         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26962         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26963         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26964         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26965         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26966         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26967         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26968         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26969         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26970         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26971         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26972         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26973         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26974         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26975         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26976         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26977         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26978         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26979         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26980         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26981         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26982         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26983         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26984         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26985         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26986         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26988         [BZ #17589]
26989         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26990         of fgets_unlocked.
26992         [BZ #17585]
26993         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26994         (memmem): Rename to __memmem and define as weak alias of
26995         __memmem.  Use libc_hidden_weak.
26996         (__memmem): Use libc_hidden_def.
26997         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26998         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26999         memmem.
27001         [BZ #17582]
27002         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27003         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27004         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27005         and define as weak alias of __fgets_unlocked.  Use
27006         libc_hidden_weak.
27007         (__fgets_unlocked): Use libc_hidden_def.
27008         * include/stdio.h (__fgets_unlocked): Declare.  Use
27009         libc_hidden_proto.
27010         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27011         __fgets_unlocked instead of fgets_unlocked.
27012         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27013         (GET_NPROCS_CONF_PARSER): Likewise.
27014         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27015         (GET_NPROCS_CONF_PARSER): Likewise.
27017         [BZ #17574]
27018         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27019         weak alias of __wmemset.  Use libc_hidden_weak.
27020         (__wmemset): Use libc_hidden_def.
27021         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27022         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27023         of wmemset.
27025         [BZ #17573]
27026         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27027         with asm name __mempcpy.
27028         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27030         [BZ #17572]
27031         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27032         and define as weak alias of __rawmemchr.
27033         (__rawmemchr): Do not define as strong alias of rawmemchr.
27035         [BZ #17571]
27036         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27037         alias of __qsort_r.
27038         (qsort): Call __qsort_r instead of qsort_r.
27039         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27040         (__qsort_r): Declare.  Call libc_hidden_proto.
27041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27042         instead of qsort_r.
27043         * nscd/gai.c (__qsort_r): Define to qsort_r.
27044         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27045         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27046         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27048         [BZ #17570]
27049         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27050         define as weak alias of __malloc_info.
27052         [BZ #17584]
27053         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27054         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27055         (__rewinddir): Use libc_hidden_def.
27056         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27057         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27058         (__rewinddir): Use libc_hidden_def.
27059         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27060         weak alias of __rewinddir.  Don't use libc_hidden_def.
27061         (__rewinddir): Use libc_hidden_def.
27062         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27063         (__rewinddir): Use libc_hidden_proto.
27064         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27065         rewinddir.
27066         (__getcwd): Use __rewinddir instead of rewinddir.
27068         [BZ #17583]
27069         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27070         alias of __fileno.  Use libc_hidden_weak.
27071         (__fileno): Use libc_hidden_def.
27072         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27073         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27074         alias of __ftello.
27075         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27076         __ftello.
27077         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27078         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27079         libc_hidden_def.
27080         (fread_unlocked): Don't use libc_hidden_ver.
27081         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27082         and define as weak alias of __fread_unlocked.  Don't use
27083         libc_hidden_def.
27084         (__fread_unlocked): Use libc_hidden_def.
27085         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27086         (ftello): Don't use libc_hidden_proto.
27087         (__ftello): Declare.  Use libc_hidden_proto.
27088         (fread_unlocked): Don't use libc_hidden_proto.
27089         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27090         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27091         and __ftello instead of fileno, fread_unlocked and ftello.
27093 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27095         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27096         GOT12.
27097         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27098         Likewise.
27099         (_dl_start_user): Likewise.
27100         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27102 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27103             Siddhesh Poyarekar  <siddhesh@redhat.com>
27105         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27106         Move argv and envp down instead of moving argc up.
27107         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27109 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27111         [BZ #17506]
27112         * test-skeleton.c (main): Return successful if one of
27113         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27114         * string/tst-strcoll-overflow.c: Define expected status.
27116 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27118         [BZ #17475]
27119         * locale/iso-639.def: Define Bhili and Tulu language codes.
27121 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27123         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27125 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27127         [BZ #17555]
27128         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27130 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27132         * configure.ac: Updated check of minimal required version to
27133         2.22.
27134         * manual/install.texi (Tools for Compilation): Updated version
27135         number.
27136         * configure: Regenerated.
27137         * INSTALL: Likewise.
27139 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27141         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27142         __tls_get_addr.
27144 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27146         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27147         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27148         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27149         libc_hidden_weak.
27150         (waitpid): Define as alias of __waitpid.
27151         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27152         __waitpid.
27153         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27154         libc_hidden_weak.
27155         (waitpid): Define as alias of __waitpid.
27156         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27157         __libc_waitpid alias.
27158         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27159         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27160         Likewise.
27161         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27162         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27163         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27164         alias.
27165         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27166         __waitpid.
27167         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27168         libc_hidden_weak.
27169         (waitpid): Define as alias of __waitpid.
27171 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27173         * manual/llio.texi: Add comment that write safety has been
27174         fixed in Linux.
27176         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27177         (localplt-build-dso): Add elf/ld.so.
27178         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27179         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27180         and free for ld.so.
27181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27182         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27184         Likewise.
27185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27186         Likewise.
27187         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27188         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27189         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27190         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27191         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27192         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27193         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27194         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27195         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27196         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27197         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27199 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27201         [BZ #14132]
27202         * include/libc-symbols.h (INTUSE): Remove macro.
27203         (INTDEF): Likewise.
27204         (INTVARDEF): Likewise.
27205         (_INTVARDEF): Likewise.
27206         (INTDEF2): Likewise.
27207         (INTVARDEF2): Likewise.
27208         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27209         rtld_hidden_def instead of INTVARDEF.
27210         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27211         (_dl_starting_up_internal): Remove declaration.
27212         (_dl_starting_up): Use rtld_hidden_proto.
27213         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27214         declaration.
27215         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27216         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27217         _dl_starting_up.
27218         * elf/dl-writev.h (_dl_writev): Likewise.
27219         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27220         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27221         _dl_starting_up_internal.
27223 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27225         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27226         test-skeleton.c.
27228 2014-11-05  Will Newton  <will.newton@linaro.org>
27230         * benchtests/Makefile: (bench-malloc): Add malloc thread
27231         scalability benchmark.
27232         * benchtests/bench-malloc-threads.c: New file.
27234 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27236         * sysdeps/aarch64/strchrnul.S: New file.
27238 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27240         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27241         definition.
27242         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27243         Likwise.
27244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27245         Likewise.
27246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27247         Likewise.
27248         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27249         Likewise.
27250         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27251         Likewise.
27253 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27255         * catgets/test-gencat.c: Use test-skeleton.c.
27256         * catgets/tst-catgets.c: Likewise.
27257         * csu/tst-empty.c: Likewise.
27258         * elf/tst-audit2.c: Likewise.
27259         * elf/tst-global1.c: Likewise.
27260         * elf/tst-pathopt.c: Likewise.
27261         * elf/tst-piemod1.c: Likewise.
27262         * elf/tst-tls10.c: Likewise.
27263         * elf/tst-tls11.c: Likewise.
27264         * elf/tst-tls12.c: Likewise.
27265         * gnulib/tst-gcc.c: Likewise.
27266         * iconvdata/tst-e2big.c: Likewise.
27267         * iconvdata/tst-loading.c: Likewise.
27268         * iconv/tst-iconv1.c: Likewise.
27269         * iconv/tst-iconv2.c: Likewise.
27270         * inet/test-inet6_opt.c: Likewise.
27271         * inet/tst-gethnm.c: Likewise.
27272         * inet/tst-network.c: Likewise.
27273         * inet/tst-ntoa.c: Likewise.
27274         * intl/tst-codeset.c: Likewise.
27275         * intl/tst-gettext2.c: Likewise.
27276         * intl/tst-gettext3.c: Likewise.
27277         * intl/tst-ngettext.c: Likewise.
27278         * intl/tst-translit.c: Likewise.
27279         * io/test-stat.c: Likewise.
27280         * libio/test-fmemopen.c: Likewise.
27281         * libio/tst-freopen.c: Likewise.
27282         * libio/tst-sscanf.c: Likewise.
27283         * libio/tst-ungetwc1.c: Likewise.
27284         * libio/tst-ungetwc2.c: Likewise.
27285         * libio/tst-widetext.c: Likewise.
27286         * localedata/tst-ctype.c: Likewise.
27287         * localedata/tst-digits.c: Likewise.
27288         * localedata/tst-leaks.c: Likewise.
27289         * localedata/tst-mbswcs1.c: Likewise.
27290         * localedata/tst-mbswcs2.c: Likewise.
27291         * localedata/tst-mbswcs3.c: Likewise.
27292         * localedata/tst-mbswcs4.c: Likewise.
27293         * localedata/tst-mbswcs5.c: Likewise.
27294         * localedata/tst-setlocale.c: Likewise.
27295         * localedata/tst-trans.c: Likewise.
27296         * localedata/tst-wctype.c: Likewise.
27297         * localedata/tst-xlocale1.c: Likewise.
27298         * login/tst-grantpt.c: Likewise.
27299         * malloc/tst-calloc.c: Likewise.
27300         * malloc/tst-malloc.c: Likewise.
27301         * malloc/tst-mallocstate.c: Likewise.
27302         * malloc/tst-mcheck.c: Likewise.
27303         * malloc/tst-mtrace.c: Likewise.
27304         * malloc/tst-obstack.c: Likewise.
27305         * math/atest-exp2.c: Likewise.
27306         * math/atest-exp.c: Likewise.
27307         * math/atest-sincos.c: Likewise.
27308         * math/test-matherr.c: Likewise.
27309         * math/test-misc.c: Likewise.
27310         * math/test-powl.c: Likewise.
27311         * math/tst-definitions.c: Likewise.
27312         * misc/tst-dirname.c: Likewise.
27313         * misc/tst-efgcvt.c: Likewise.
27314         * misc/tst-fdset.c: Likewise.
27315         * misc/tst-hsearch.c: Likewise.
27316         * misc/tst-mntent2.c: Likewise.
27317         * nptl/tst-sem7.c: Likewise.
27318         * nptl/tst-sem8.c: Likewise.
27319         * nptl/tst-sem9.c: Likewise.
27320         * nss/test-netdb.c: Likewise.
27321         * posix/tst-fnmatch.c: Likewise.
27322         * posix/tst-getlogin.c: Likewise.
27323         * posix/tst-gnuglob.c: Likewise.
27324         * posix/tst-mmap.c: Likewise.
27325         * pwd/tst-getpw.c: Likewise.
27326         * resolv/tst-inet_ntop.c: Likewise.
27327         * rt/tst-timer.c: Likewise.
27328         * stdio-common/test-fseek.c: Likewise.
27329         * stdio-common/test-popen.c: Likewise.
27330         * stdio-common/test-vfprintf.c: Likewise.
27331         * stdio-common/tst-cookie.c: Likewise.
27332         * stdio-common/tst-fileno.c: Likewise.
27333         * stdio-common/tst-gets.c: Likewise.
27334         * stdio-common/tst-obprintf.c: Likewise.
27335         * stdio-common/tst-perror.c: Likewise.
27336         * stdio-common/tst-sprintf2.c: Likewise.
27337         * stdio-common/tst-sprintf3.c: Likewise.
27338         * stdio-common/tst-sprintf.c: Likewise.
27339         * stdio-common/tst-swprintf.c: Likewise.
27340         * stdio-common/tst-tmpnam.c: Likewise.
27341         * stdio-common/tst-unbputc.c: Likewise.
27342         * stdio-common/tst-wc-printf.c: Likewise.
27343         * stdlib/tst-environ.c: Likewise.
27344         * stdlib/tst-fmtmsg.c: Likewise.
27345         * stdlib/tst-limits.c: Likewise.
27346         * stdlib/tst-rand48-2.c: Likewise.
27347         * stdlib/tst-rand48.c: Likewise.
27348         * stdlib/tst-random2.c: Likewise.
27349         * stdlib/tst-random.c: Likewise.
27350         * stdlib/tst-strtol.c: Likewise.
27351         * stdlib/tst-strtoll.c: Likewise.
27352         * stdlib/tst-tls-atexit.c: Likewise.
27353         * stdlib/tst-xpg-basename.c: Likewise.
27354         * string/test-ffs.c: Likewise.
27355         * string/tst-bswap.c: Likewise.
27356         * string/tst-inlcall.c: Likewise.
27357         * string/tst-strtok.c: Likewise.
27358         * string/tst-strxfrm.c: Likewise.
27359         * sysdeps/x86_64/tst-audit10.c: Likewise.
27360         * sysdeps/x86_64/tst-audit3.c: Likewise.
27361         * sysdeps/x86_64/tst-audit4.c: Likewise.
27362         * sysdeps/x86_64/tst-audit5.c: Likewise.
27363         * time/tst-ftime_l.c: Likewise.
27364         * time/tst-getdate.c: Likewise.
27365         * time/tst-mktime3.c: Likewise.
27366         * time/tst-mktime.c: Likewise.
27367         * time/tst-posixtz.c: Likewise.
27368         * time/tst-strptime2.c: Likewise.
27369         * time/tst-strptime3.c: Likewise.
27370         * wcsmbs/tst-btowc.c: Likewise.
27371         * wcsmbs/tst-mbrtowc.c: Likewise.
27372         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27373         * wcsmbs/tst-wchar-h.c: Likewise.
27374         * wcsmbs/tst-wcpncpy.c: Likewise.
27375         * wcsmbs/tst-wcrtomb.c: Likewise.
27376         * wcsmbs/tst-wcsnlen.c: Likewise.
27377         * wcsmbs/tst-wcstof.c: Likewise.
27379 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27381         [BZ #14132]
27382         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27383         INTDEF.
27384         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27385         declaration.
27386         (_dl_mcount): Use rtld_hidden_proto.
27387         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27388         _dl_mcount.
27389         * elf/rtld.c (_rtld_global_ro): Likewise.
27391         [BZ #14132]
27392         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27393         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27394         of _dl_init_internal.
27395         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27396         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27397         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27398         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27399         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27400         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27401         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27402         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27403         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27404         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27405         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27406         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27407         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27408         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27409         * sysdeps/tile/dl-start.S (_start): Likewise.
27410         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27411         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27413         [BZ #14132]
27414         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27415         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27416         (rtld_progname): Make macro definition unconditional.
27417         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27418         INTDEF.
27419         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27420         (dl_main): Likewise.
27421         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27422         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27423         instead of _dl_argv_internal.
27424         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27425         __GI__dl_argv instead of INTUSE(_dl_argv).
27426         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27427         __GI__dl_argv instead of _dl_argv_internal.
27429         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27430         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27431         macro.
27432         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27433         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27434         New macro.
27435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27436         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27437         macro.
27438         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27439         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27441 2014-11-04  Andreas Schwab  <schwab@suse.de>
27443         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27445 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27447         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27448         mtvsrd instruction in binary form.
27450 2014-11-03  Andreas Schwab  <schwab@suse.de>
27452         [BZ #17522]
27453         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27454         for less than MB_LEN_MAX use a local buffer of that size.
27455         * libio/tst-fputws.c: New file.
27456         * libio/Makefile (tests): Add tst-fputws.
27458 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27460         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27461         the size of the fpu_fr.fpu_dregs[] array.
27463 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27465         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27466         (__nanosleep): Do not define as alias.
27467         (nanosleep): Define as alias of __nanosleep.
27468         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27469         __libc_nanosleep name.
27471 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27473         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27474         install.texi in comment.
27476 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27478         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27479         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27480         ... add here and use lwsync or sync ...
27481         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27482         ... and add here using lwsync.
27484 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27486         * elf/dl-machine-reject-phdr.h: New file.
27487         * elf/dl-load.c: #include that.
27488         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27489         if that returned true.
27491 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27493         [BZ #17496]
27494         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27495         gen-as-const-headers chunk.  Add a big scare comment after the last
27496         safe place to touch before-compile.
27498 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27500         * manual/install.texi (Tools for Compilation): Update autoconf
27501         version requirements.
27502         * INSTALL: Regenerated.
27504         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27505         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27506         (__libc_pselect): Likewise.
27508         [BZ #14138]
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27514 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27516         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27517         correct barrier instruction.
27518         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27519         Likewise.
27520         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27521         Likewise.
27523 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27525         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27526         after defining inlines.  Instead, just use parens to defeat macro
27527         expansion of __isctype in its declaration.
27529 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27531         * include/sys/uio.h (__libc_readv): Remove declaration.
27532         (__libc_writev): Likewise.
27533         * misc/readv.c (__libc_readv): Rename to __readv.
27534         (__readv): Do not define as alias.
27535         (readv): Define as alias of __readv.
27536         * misc/writev.c (__libc_writev): Rename to __writev.
27537         (__writev): Do not define as alias.
27538         (writev): Define as alias of __writev.
27539         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27540         (__readv): Do not define as alias.
27541         (readv): Define unconditionally as alias of __readv.
27542         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27543         (__writev): Do not define as alias.
27544         (writev): Define unconditionally as alias of __writev.
27545         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27546         name.
27547         (writev): Do not define __libc_writev name.
27549 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27551         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27552         (convert_charseq): New function, broken out of ...
27553         (use_from_charmap): ... here.  Call it.
27554         (use_to_charmap): Use convert_charseq and free instead of duplicating
27555         its code with a variable-length stack struct.
27557 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27559         * include/fcntl.h (__libc_creat): Remove declaration.
27560         * io/creat.c (__libc_creat): Rename to creat.
27561         (creat): Do not define as alias.
27562         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27563         of creat instead of __libc_creat.
27564         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27565         to creat.
27566         (creat): Do not define as alias.
27567         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27568         __libc_creat.
27569         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27570         __libc_creat name.
27571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27572         Likewise.
27574 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27576         * manual/llio.texi: Add comments discussing why write() may be
27577         considered MT-unsafe on Linux.
27579 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27581         * dl-load.c (local_strdup): Remove.
27582         (expand_dynamic_string_token): Use __strdup.
27583         (decompose_rpath): Likewise.
27584         (_dl_map_object): Likewise.
27586 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27588         [BZ #14132]
27589         * sysdeps/generic/unwind-dw2-fde.c
27590         (__register_frame_info_bases_internal): Do not declare.
27591         (__register_frame_info_table_bases_internal): Likewise.
27592         (__deregister_frame_info_bases_internal): Likewise.
27593         (__register_frame_info_bases): Declare and use hidden_proto before
27594         definition.  Use hidden_def instead of INTDEF.
27595         (__register_frame_info_table_bases): Likewise.
27596         (__deregister_frame_info_bases): Likewise.
27597         (__register_frame_info): Do not use INTUSE.
27598         (__register_frame): Likewise.
27599         (__register_frame_info_table): Likewise.
27600         (__register_frame_table): Likewise.
27601         (__deregister_frame_info): Likewise.
27602         (__deregister_frame): Likewise.
27604 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27606         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27607         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27608         not undefine.
27609         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27610         Likewise.
27611         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27612         Likewise.
27614 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27616         [BZ #14138]
27617         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27618         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27619         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27620         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27621         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27622         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27623         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27624         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27625         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27626         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27627         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27628         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27629         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27630         syscall.
27631         (setfsuid): Likewise.
27632         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27633         (setfsuid): Likewise.
27634         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27635         (setfsuid): Likewise.
27636         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27637         Likewise.
27638         (setfsuid): Likewise.
27639         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27640         (setfsuid): Likewise.
27641         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27642         Likewise.
27643         (setfsuid): Likewise.
27645 2014-10-27  Andreas Schwab  <schwab@suse.de>
27647         [BZ #17501]
27648         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27649         check for Slow_SSE4_2 feature bit.
27650         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27651         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27652         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27653         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27655 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27657         * configure.ac: Validate compiler version with a empirical test of
27658         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27659         $CC -v output.
27660         * configure: Regenerated.
27662         * inet/htons.c (htons): Prototypify.
27663         * inet/htonl.c (htonl): Likewise.
27665 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27667         * string/strncat.c (strncat): Improve performance by using strlen.
27669 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27671         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27675         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27676         Call libc_fetestexcept_aarch64.
27678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27680         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27681         Call libc_feholdexcept_aarch64.
27683 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27685         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27686         Call get_rounding_mode.
27688 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27690         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27691         Simplify logic.
27693 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27695         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27696         Simplify logic.
27698 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #14138]
27701         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27702         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27703         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27704         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27705         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27706         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27707         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27708         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27709         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27710         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27711         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27712         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27713         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27714         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27715         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27716         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27717         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27718         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27719         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27720         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27721         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27722         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27723         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27724         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27725         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27726         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27727         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27728         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27729         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27730         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27731         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27732         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27733         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27734         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27735         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27736         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27737         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27738         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27739         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27740         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27741         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27742         syscall.
27743         (geteuid): Likewise.
27744         (getgid): Likewise.
27745         (getuid): Likewise.
27746         (getresgid): Likewise.
27747         (getresuid): Likewise.
27748         (getgroups): Likewise.
27749         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27750         (geteuid): Likewise.
27751         (getgid): Likewise.
27752         (getuid): Likewise.
27753         (getresgid): Likewise.
27754         (getresuid): Likewise.
27755         (getgroups): Likewise.
27756         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27757         (geteuid): Likewise.
27758         (getgid): Likewise.
27759         (getuid): Likewise.
27760         (getresgid): Likewise.
27761         (getresuid): Likewise.
27762         (getgroups): Likewise.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27764         Likewise.
27765         (geteuid): Likewise.
27766         (getgid): Likewise.
27767         (getuid): Likewise.
27768         (getresgid): Likewise.
27769         (getresuid): Likewise.
27770         (getgroups): Likewise.
27771         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27772         (geteuid): Likewise.
27773         (getgid): Likewise.
27774         (getuid): Likewise.
27775         (getresgid): Likewise.
27776         (getresuid): Likewise.
27777         (getgroups): Likewise.
27778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27779         Likewise.
27780         (geteuid): Likewise.
27781         (getgid): Likewise.
27782         (getuid): Likewise.
27783         (getgroups): Likewise.
27785         [BZ #14138]
27786         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27787         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27788         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27790         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27791         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27792         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27793         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27794         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27795         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27796         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27797         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27798         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27799         __chown.
27800         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27801         (lchown): Likewise.
27802         (fchown): Likewise.
27803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27804         Likewise.
27805         (lchown): Likewise.
27806         (fchown): Likewise.
27807         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27808         (lchown): Likewise.
27809         (fchown): Likewise.
27810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27811         Likewise.
27812         (lchown): Likewise.
27813         (fchown): Likewise.
27815 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27817         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27818         Simplify logic.
27820 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27822         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27823         Cleanup logic.
27825 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27827         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27828         Remove unused include.
27830 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27832         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27833         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27834         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27835         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27837 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27838             Helge Deller <deller@gmx.de>
27840         [BZ #17508]
27841         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27842         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27843         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27845 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27847         [BZ #14132]
27848         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27849         Remove macro definition.
27850         (__ashrdi3_v_glibc20): Likewise.
27851         (__lshrdi3_v_glibc20): Likewise.
27852         (__cmpdi2_v_glibc20): Likewise.
27853         (__ucmpdi2_v_glibc20): Likewise.
27854         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27855         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27856         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27857         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27858         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27859         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27861 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27863         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27864         old GNU extension [0] syntax.
27865         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27866         alloca rather than an array member with variable length.
27867         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27868         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27869         (parse_opt): ... here.  Likewise use alloca there.
27870         Validate the -i argument before checking for rootness.
27871         (send_shutdown): New function, broken out of ...
27872         (parse_opt): ... here.
27874 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27876         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27877         macro to get at the _rt_local_ro field.
27878         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27879         ([PIC] case) or _dl_hwcap ([!PIC] case).
27880         * sysdeps/arm/setjmp.S: Likewise.
27882         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27883         * sysdeps/arm/configure.ac: New check to define it.
27884         * sysdeps/arm/configure: Regenerated.
27885         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27886         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27887         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27888         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27889         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27890         Use move/movt pair instead of a load.
27891         (LDST_GLOBAL): Macro removed.
27892         (LDR_GLOBAL): New macro replaces it.
27893         (LDR_HIDDEN): New macro.
27894         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27895         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27897         * setjmp/tst-setjmp-static.c: New file.
27898         * setjmp/Makefile (tests): Add it.
27899         (tests-static): New variable.
27901 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27903         [BZ #17485]
27904         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27906 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27908         [BZ #14132]
27909         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27911 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27913         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27915 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27917         * io/fts.c (dirent_not_directory): New function.
27918         (fts_build): Call it.
27920 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27922         * nptl/version.c (__nptl_main): Use normal __write rather than
27923         INTERNAL_SYSCALL.
27924         (banner): Update copyright years.
27926         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27927         gettimeofday.
27928         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27929         * nptl/pthread_cond_timedwait.c: Likewise.
27930         * nptl/pthread_mutex_timedlock.c: Likewise.
27931         * nptl/sem_timedwait.c: Likewise.
27933         * sysdeps/nptl/bits/libc-lock.h
27934         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27935         (__libc_lock_init_recursive): Return void, not 0.
27936         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27937         (__libc_rwlock_init): Likewise.
27938         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27940 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27942         [BZ #15215]
27943         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27944         (__pthread_once_slow): ... here.
27945         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27946         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27948 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27950         [BZ #15215]
27951         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27952         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27953         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27954         * nptl/pthread_once.c (__pthread_once): Likewise.
27955         Update comments.
27957 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27959         [BZ #14138]
27960         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27961         name.
27962         (writev): Use __libc_writev as strong name.
27963         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27964         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27966 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27968         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27970         * sysdeps/i386/nptl/tls.h
27971         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27972         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27973         New macros.
27974         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27975         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27976         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27977         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27978         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27979         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27981         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27982         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27983         on [__NR_futex].
27984         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27985         broken out of ...
27986         (__pthread_mutex_init): ... here.  Call it.
27987         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27988         Conditionalize PI cases on [__NR_futex].
27989         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27990         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27991         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27993         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27994         conditional on [SIGSETXID].
27995         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27996         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27997         is defined.  Likewise for SIGSETXID.
27998         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27999         Conditionalize definitions on [SIGSETXID].
28000         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28001         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28002         unblocking on [SIGCANCEL].
28004         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28005         [__NR_set_robust_list].
28007 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28009         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28010         (do_compare): Likewise.
28012 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28014         [BZ #15884]
28015         * string/strcoll_l.c: Don't include stdio.h.
28016         (coll_seq): Remove members idxarr and rulearr.
28017         (get_next_seq_cached): Remove function.
28018         (get_next_seq): Likewise.
28019         (get_next_seq_nocache): Rename to get_next_seq.
28020         (do_compare): Remove function.
28021         (do_compare_nocache): Rename to do_compare.
28022         (STRCOLL): Remove weight and rules cache.
28024 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28026         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28027         * sysdeps/arm/sfp-machine.h: ... to here.
28028         * sysdeps/arm/Implies: Remove arm/soft-fp.
28030 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28032         * conform/data/sys/utsname.h-data (*_t): Allow.
28033         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28034         [POSIX] (WEXITED): Do not expect constant.
28035         [POSIX] (WSTOPPED): Likewise.
28036         [POSIX] (WNOHANG): Likewise.
28037         [POSIX] (WNOWAIT): Likewise.
28038         [POSIX] (siginfo_t): Do not expect type or elements.
28039         [POSIX] (pid_t): Do not expect type.
28040         [POSIX] (signal.h): Do not allow header.
28041         [POSIX] (sys/resource.h): Likewise.
28042         [POSIX] (si_*): Do not allow pattern.
28043         [POSIX] (W*): Likewise.
28044         [POSIX] (P_*): Likewise.
28045         [POSIX] (BUS_*): Likewise.
28046         [POSIX] (CLD_*): Likewise.
28047         [POSIX] (FPE_*): Likewise.
28048         [POSIX] (ILL_*): Likewise.
28049         [POSIX] (POLL_*): Likewise.
28050         [POSIX] (SEGV_*): Likewise.
28051         [POSIX] (SI_*): Likewise.
28052         [POSIX] (TRAP_*): Likewise.
28053         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28054         variable.
28056 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28058         [BZ #12926]
28059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28060         infinite loop when __recvmsg returns 0.
28062 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28064         * CANCEL-FCT-WAIVE: Remove file.
28065         * CANCEL-FILE-WAIVE: Likewise.
28067         [BZ #14132]
28068         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28069         instead of INTVARDEF.
28070         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28071         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28072         rtld_hidden_data_def instead of INTVARDEF.
28073         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28074         * elf/dl-deps.c (expand_dst): Likewise.
28075         * elf/dl-load.c (_dl_dst_count): Likewise.
28076         (_dl_dst_substitute): Likewise.
28077         (decompose_rpath): Likewise.
28078         (_dl_init_paths): Likewise.
28079         (open_path): Likewise.
28080         (_dl_map_object): Likewise.
28081         * elf/rtld.c (dl_main): Likewise.
28082         (process_dl_audit): Likewise.
28083         (process_envvars): Likewise.
28084         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28085         Remove declaration.
28086         (__libc_enable_secure): Use rtld_hidden_proto.
28088 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28090         * elf/dl-load.c
28091         (add_path): New function broken out of _dl_rtld_di_serinfo.
28092         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28094 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28096         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28097         parentheses around macro arguments.
28098         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28099         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28100         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28109         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28110         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28111         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28112         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28113         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28114         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28115         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28116         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28117         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28118         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28127         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28129         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28130         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28131         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28132         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28133         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28134         Likewise.
28135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28142         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28143         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28146         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28147         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28156         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28157         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28160         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28161         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28162         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28163         (_FP_FRAC_SRS_1): Likewise.
28164         (_FP_FRAC_CLZ_1): Likewise.
28165         (_FP_MUL_MEAT_1_imm): Likewise.
28166         (_FP_MUL_MEAT_1_wide): Likewise.
28167         (_FP_MUL_MEAT_1_hard): Likewise.
28168         (_FP_SQRT_MEAT_1): Likewise.
28169         (_FP_FRAC_ASSEMBLE_1): Likewise.
28170         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28171         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28172         (__FP_CLZ_2): Likewise.
28173         (_FP_MUL_MEAT_2_wide): Likewise.
28174         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28175         (_FP_MUL_MEAT_2_gmp): Likewise.
28176         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28177         (_FP_SQRT_MEAT_2): Likewise.
28178         (_FP_FRAC_ASSEMBLE_2): Likewise.
28179         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28180         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28181         (_FP_FRAC_CLZ_4): Likewise.
28182         (_FP_MUL_MEAT_4_wide): Likewise.
28183         (_FP_MUL_MEAT_4_gmp): Likewise.
28184         (_FP_SQRT_MEAT_4): Likewise.
28185         (_FP_FRAC_ASSEMBLE_4): Likewise.
28186         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28187         * soft-fp/op-common.h (_FP_CMP): Likewise.
28188         (_FP_CMP_EQ): Likewise.
28189         (_FP_CMP_UNORD): Likewise.
28190         (_FP_TO_INT): Likewise.
28191         (_FP_FROM_INT): Likewise.
28192         [!__FP_CLZ] (__FP_CLZ): Likewise.
28193         (_FP_DIV_HELP_imm): Likewise.
28194         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28195         Likewise.
28196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28200         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28207         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28208         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28209         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28211         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28212         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28225         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28226         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28227         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28228         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28229         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28230         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28231         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28232         (FP_UNPACK_RAW_SP): Likewise.
28233         (FP_PACK_RAW_S): Likewise.
28234         (FP_PACK_RAW_SP): Likewise.
28235         (FP_UNPACK_S): Likewise.
28236         (FP_UNPACK_SP): Likewise.
28237         (FP_UNPACK_SEMIRAW_S): Likewise.
28238         (FP_UNPACK_SEMIRAW_SP): Likewise.
28239         (FP_PACK_S): Likewise.
28240         (FP_PACK_SP): Likewise.
28241         (FP_PACK_SEMIRAW_S): Likewise.
28242         (FP_PACK_SEMIRAW_SP): Likewise.
28243         (_FP_SQRT_MEAT_S): Likewise.
28244         (FP_CMP_S): Likewise.
28245         (FP_CMP_EQ_S): Likewise.
28246         (FP_CMP_UNORD_S): Likewise.
28247         (FP_TO_INT_S): Likewise.
28248         (FP_FROM_INT_S): Likewise.
28250         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28252         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28253         (FP_EX_INVALID_IMZ): Likewise.
28254         (FP_EX_INVALID_IMZ_FMA): Likewise.
28255         (FP_EX_INVALID_ISI): Likewise.
28256         (FP_EX_INVALID_ZDZ): Likewise.
28257         (FP_EX_INVALID_IDI): Likewise.
28258         (FP_EX_INVALID_SQRT): Likewise.
28259         (FP_EX_INVALID_CVI): Likewise.
28260         (FP_EX_INVALID_VC): Likewise.
28261         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28262         "invalid" exceptions.
28263         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28264         (_FP_ADD_INTERNAL): Likewise.
28265         (_FP_MUL): Likewise.
28266         (_FP_FMA): Likewise.
28267         (_FP_DIV): Likewise.
28268         (_FP_CMP_CHECK_NAN): Likewise.
28269         (_FP_SQRT): Likewise.
28270         (_FP_TO_INT): Likewise.
28271         (FP_EXTEND): Likewise.
28273 2014-10-09  Allan McRae  <allan@archlinux.org>
28275         * po/fr.po: Update French translation from translation project.
28277 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28279         [BZ #14132]
28280         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28281         of INTDEF.
28282         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28283         (__cxa_atexit): Use libc_hidden_proto.
28284         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28286         [BZ #14132]
28287         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28288         declaration.
28289         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28290         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28291         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28292         [!_ISOMAC] (__iswctype_internal): Likewise.
28293         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28294         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28295         alias.
28296         (fcntl): Remove __fcntl_internal alias.
28297         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28298         __connect_internal alias.
28299         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28300         Likewise.
28302         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28303         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28304         FP_DENORM_ZERO.
28305         (_FP_CHECK_FLUSH_ZERO): New macro.
28306         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28307         (_FP_CMP): Likewise.
28308         (_FP_CMP_EQ): Likewise.
28309         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28310         FP_DENORM_ZERO.
28311         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28312         (FP_TRUNC): Likewise.
28314         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28315         treated as invalid conversion, not as normal exponent.
28317         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28318         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28319         (_FP_CMP_EQ): Likewise.
28320         (_FP_CMP_UNORD): Likewise.
28321         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28322         (FP_CMP_EQ_D): Likewise.
28323         (FP_CMP_UNORD_D): Likewise.
28324         * soft-fp/extended.h (FP_CMP_E): Likewise.
28325         (FP_CMP_EQ_E): Likewise.
28326         (FP_CMP_UNORD_E): Likewise.
28327         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28328         (FP_CMP_EQ_Q): Likewise.
28329         (FP_CMP_UNORD_Q): Likewise.
28330         * soft-fp/single.h (FP_CMP_S): Likewise.
28331         (FP_CMP_EQ_S): Likewise.
28332         (FP_CMP_UNORD_S): Likewise.
28333         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28334         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28335         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28336         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28337         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28338         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28339         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28340         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28341         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28342         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28343         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28344         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28345         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28346         to FP_CMP_Q.
28347         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28348         FP_CMP_Q.
28349         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28350         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28351         FP_CMP_EQ_Q.
28352         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28353         FP_CMP_Q.
28354         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28355         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28356         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28357         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28358         FP_CMP_EQ_Q.
28359         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28360         FP_CMP_Q.
28361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28363         FP_CMP_EQ_Q.
28364         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28365         FP_CMP_Q.
28366         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28367         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28368         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28369         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28370         FP_CMP_EQ_Q.
28372         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28373         a subnormal result, set the underflow exception if trapping on
28374         underflow is enabled.
28375         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28376         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28377         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28378         redefine to 0.
28379         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28380         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28381         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28382         * soft-fp/extendxftf2.c (__extendxftf2): Use
28383         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28385         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28386         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28387         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28388         FP_HANDLE_EXCEPTIONS.
28389         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28390         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28391         FP_HANDLE_EXCEPTIONS.
28392         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28393         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28394         FP_HANDLE_EXCEPTIONS.
28395         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28396         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28397         FP_HANDLE_EXCEPTIONS.
28399 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28401         [BZ #14132]
28402         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28403         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28404         use INTUSE.
28405         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28406         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28407         Remove alias.
28408         (__adjtimex): Define using libc_hidden_ver.
28409         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28410         Remove declaration.
28411         (ntp_gettime): Call __adjtimex directly.
28412         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28413         Remove declaration.
28414         (ntp_gettimex): Call __adjtimex directly.
28415         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28416         __adjtimex_internal alias.
28418 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28420         [BZ #17460]
28421         * nscd/nscd.c (more_help): Rewrite list of tables collection
28422         using xstrdup and asprintf.
28424         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28426 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28427             Roland McGrath  <roland@hack.frob.com>
28429         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28430         (do_lookup_unique): ... local function 'enter' here; update callers.
28432 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28434         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28435         compat_symbol calls on [SHARED].
28436         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28437         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28438         Remove.
28439         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28440         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28441         (oldsetrlimit): Remove.
28442         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28444         (lchown): New syscall entry.
28445         (oldsetrlimit): Remove.
28446         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28448         (oldsetrlimit): Remove.
28449         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28451         [BZ #14138]
28452         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28453         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28454         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28455         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28456         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28457         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28458         (fchown): Likewise.
28459         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28460         (fchown): Likewise.
28461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28462         Likewise.
28464 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28467         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28468         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28469         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28470         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28471         Likewise.
28472         (__old_sem_post): Likewise.
28474 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28476         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28477         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28478         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28479         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28480         Use INLINE_VSYSCALL macro.
28481         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28482         __vdso_clock_gettime.
28483         * sysdeps/unix/sysv/linux/tile/init-first.c
28484         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28485         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28486         __vdso_clock_gettime.
28488         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28489         to set up frame more cleanly.
28491         * sysdeps/tile/memcmp.c: New file.
28493         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28495         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28496         * sysdeps/tile/tilegx/strcasestr.c: New file.
28497         * sysdeps/tile/tilegx/strnlen.c: New file.
28498         * sysdeps/tile/tilegx/strstr.c: New file.
28500         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28502 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28504         * nptl/tst-setuid3.c: Write errors to stdout.
28506 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28508         * elf/dl-deps.c
28509         (preload): New functions broken out of _dl_map_object_deps.
28510         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28512 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28514         [BZ #14138]
28515         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28516         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28518 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28520         * sysdeps/mips/strcmp.S: New.
28522 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28524         [BZ #14138]
28525         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28526         (linkat): Likewise.
28527         (mkdirat): Likewise.
28528         (readlinkat): Likewise.
28529         (renameat): Likewise.
28530         (symlinkat): Likewise.
28531         (unlinkat): Likewise.
28532         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28533         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28534         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28535         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28536         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28537         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28538         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28540 2014-09-30  Will Newton  <will.newton@linaro.org>
28542         * math/math.h: Define long double math functions if
28543         _LIBC_TEST is defined.
28544         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28546         * localedata/Makefile: Move assignment to tests-special
28547         into an ifdef testing run-built-tests.
28548         * timezone/Makefile: Likewise.
28550 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28552         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28553         with $(BASH) not $(SHELL).
28555 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28556             Matthew LeGendre  <legendre1@llnl.gov>
28558         [BZ #17411]
28559         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28560         l_reloc_result.
28562 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28564         * stdio-common/printf_fp.c
28565         (hack_digit): New function, broken out of ...
28566         (__printf_fp): ... local function here.  Update call sites.
28567         hack_digit now takes an additional parameter that is a pointer
28568         to a struct of the referenced locals.  Those locals moved inside
28569         the struct and references updated.
28571 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28573         * aclocal.m4: Require autoconf 2.69.
28574         * configure: Regenerated.
28575         * sysdeps/aarch64/configure: Likewise.
28576         * sysdeps/alpha/configure: Likewise.
28577         * sysdeps/arm/armv7/configure: Likewise.
28578         * sysdeps/arm/configure: Likewise.
28579         * sysdeps/ia64/configure: Likewise.
28580         * sysdeps/mach/configure: Likewise.
28581         * sysdeps/mips/configure: Likewise.
28582         * sysdeps/s390/configure: Likewise.
28583         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28586         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28587         file.
28588         * sysdeps/ia64/configure.ac: Likewise.
28590 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28593         specify symbol version for ld.so.  Do not include entry for
28594         libpthread.
28595         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28596         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28597         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28599         [BZ #14171]
28600         * Makeconfig [$(build-shared) = yes]
28601         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28602         makefiles.
28603         [$(build-shared) = yes && $(soversions.mk-done) = t]
28604         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28605         [$(build-shared) = yes && $(soversions.mk-done) = t]
28606         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28607         to Makerules.
28608         [$(build-shared) = yes && $(soversions.mk-done) = t]
28609         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28610         here.
28611         [$(build-shared) = yes && $(soversions.mk-done) = t]
28612         (common-generated): Don't append gnu/lib-names.h and
28613         gnu/lib-names.stmp here.
28614         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28615         (lib-names-h-abi): New variable.
28616         [$(build-shared) = yes && $(soversions.mk-done) = t]
28617         (lib-names-stmp-abi): Likewise.
28618         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28619         abi-variants] (before-compile): Append
28620         $(common-objpfx)$(lib-names-h-abi).
28621         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28622         abi-variants] (common-generated): Append gnu/lib-names.h.
28623         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28624         abi-variants] (install-others-nosubdir): Depend on
28625         $(inst_includedir)/$(lib-names-h-abi).
28626         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28627         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28628         [$(build-shared) = yes && $(soversions.mk-done) = t]
28629         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28630         [$(build-shared) = yes && $(soversions.mk-done) = t]
28631         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28632         [$(build-shared) = yes && $(soversions.mk-done) = t]
28633         (common-generated): Append $(lib-names-h-abi) and
28634         $(lib-names-stmp-abi).
28635         * scripts/lib-names.awk: Do not handle multi being set.
28636         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28637         Remove variable.
28638         (abi-lp64_be-ld-soname): Likewise.
28639         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28640         Likewise.
28641         (abi-hard-ld-soname): Likewise.
28642         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28643         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28644         Remove variable.
28645         (abi-o32_hard-ld-soname): Likewise.
28646         (abi-o32_soft_2008-ld-soname): Likewise.
28647         (abi-o32_hard_2008-ld-soname): Likewise.
28648         (abi-n32_soft-ld-soname): Likewise.
28649         (abi-n32_hard-ld-soname): Likewise.
28650         (abi-n32_soft_2008-ld-soname): Likewise.
28651         (abi-n32_hard_2008-ld-soname): Likewise.
28652         (abi-n64_soft-ld-soname): Likewise.
28653         (abi-n64_hard-ld-soname): Likewise.
28654         (abi-n64_soft_2008-ld-soname): Likewise.
28655         (abi-n64_hard_2008-ld-soname): Likewise.
28656         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28657         Likewise.
28658         (abi-64-v2-ld-soname): Likewise.
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28660         ld.so entries.
28661         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28662         variable.
28663         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28664         entry.
28665         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28666         variable.
28667         (abi-64-ld-soname): Likewise.
28668         (abi-x32-ld-soname): Likewise.
28669         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28670         entry.
28671         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28673 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28675         [BZ #14138]
28676         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28677         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28678         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28679         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28680         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28681         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28682         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28683         syscall entry for GLIBC_2.2 symbol version.
28684         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28685         Likewise.
28686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28687         (setrlimit): Likewise.
28688         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28689         Likewise.
28691 2014-09-23  Will Newton  <will.newton@linaro.org>
28693         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28694         _LINUX_ARM_SYSDEP_H include guard too.
28695         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28696         define.
28698 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28700         * sysdeps/unix/sysv/linux/eventfd.c:
28701         Make first argument unsigned.
28702         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28703         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28705 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28707         [BZ #16852]
28708         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28709         * socket/sys/socket.h: Likewise.
28710         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28712 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28714         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28716 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28718         * time/tst-ftime.c: New test.
28719         * time/Makefile (tests): Add tst-ftime.
28721 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28723         * soft-fp/extended.h: Fix comment formatting.
28724         * soft-fp/op-1.h: Likewise.
28725         * soft-fp/op-2.h: Likewise.
28726         * soft-fp/op-4.h: Likewise.
28727         * soft-fp/op-8.h: Likewise.
28728         * soft-fp/op-common.h: Likewise.
28729         * soft-fp/soft-fp.h: Likewise.
28731         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28733 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28735         [BZ #6652]
28736         * Makeconfig (soversions-default-setname): Remove variable.
28737         ($(common-objpfx)soversions.i): Don't pass default_setname to
28738         soversions.awk.
28739         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28740         oldest_abi to abi-versions.awk.
28741         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28742         * config.make.in (oldest-abi): Remove variable.
28743         * configure.ac (--enable-oldest-abi): Remove configure option.
28744         * configure: Regenerated.
28745         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28746         text.
28747         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28748         * scripts/soversions.awk: Do not handle default_setname variable.
28749         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28750         variable.
28751         * sysdeps/mach/hurd/configure: Regenerated.
28752         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28753         variable.
28754         * sysdeps/unix/sysv/linux/configure: Regenerated.
28756 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28758         * elf/Makefile (CFLAGS-interp.c): Remove.
28759         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28760         path string.
28761         * elf/interp.c: Include generated runtime-linker.h
28763         * Makerules (lib%.so): Don't include $(+interp) in
28764         prerequisites.
28765         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28766         * dlfcn/eval.c: Remove file.
28768         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28769         macros.
28771         [BZ #17266]
28772         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28773         4.2 and newer.
28775         [BZ #17370]
28776         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28778 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28779             Jakub Jelinek  <jakub@redhat.com>
28781         [BZ #17266]
28782         * libio/stdio.h: Check definition of __fortify_function
28783         instead of __extern_always_inline to include bits/stdio2.h.
28784         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28785         check if __extern_always_inline is defined.
28786         [__USE_MISC || __USE_XOPEN]: Likewise.
28787         [__USE_ISOC99] Likewise.
28788         * misc/sys/cdefs.h (__fortify_function): Define only if
28789         __extern_always_inline is defined.
28790         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28791         __extern_always_inline and __extern_inline only for g++-4.3
28792         and newer or a compatible gcc.
28794 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28796         [BZ #17371]
28797         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28798         last change to handle zero prefix length.
28800 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28802         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28803         _SC_REGEX_VERSION.
28805         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28806         _POSIX_RAW_SOCKETS.
28808 2014-09-13  Allan McRae  <allan@archlinux.org>
28810         * po/ru.po: Update Russian translation from translation project.
28812 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28814         * locale/programs/locale.c (show_locale_vars): Inline local function
28815         into its sole call site.  Clean up some style nits.
28816         (print_item): New function, broken out of ...
28817         (show_info): ... local function here.  Clean up style nits.
28819         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28820         out of ...
28821         (set_class_defaults): ... local function set_default here.
28822         Define set_default as a macro locally to pass constant parameters.
28823         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28824         rather than a shared local.
28826         * stdlib/rpmatch.c (try): New function, broken out of ...
28827         (rpmatch): ... local function here.  Also, prototypify definition.
28829 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28831         * scripts/soversions.awk: Do not handle configuration names.
28832         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28833         vendor and os variables to soversions.awk.
28834         * configure.ac: Do not modify gnu-* host_os.
28835         * configure: Regenerated
28836         * shlib-versions: Remove first column with configuration names.
28837         * nptl/shlib-versions: Likewise.
28838         * nptl_db/shlib-versions: Likewise.
28839         * sysdeps/hppa/shlib-versions: Likewise.
28840         * sysdeps/m68k/shlib-versions: Likewise.
28841         * sysdeps/mach/hurd/shlib-versions: Likewise.
28842         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28843         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28844         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28845         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28846         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28847         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28848         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28849         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28851         Likewise.
28852         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28853         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28854         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28855         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28856         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28857         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28858         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28859         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28862         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28864         Regenerated.
28865         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28867         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28869         * shlib-versions: Remove OS-specific entries.  Moved to files in
28870         sysdeps.
28871         * sysdeps/mach/hurd/shlib-versions: New file.
28872         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28874         * nptl/shlib-versions: Remove architecture-specific entries.
28875         Moved to files in sysdeps.
28876         * shlib-versions: Likewise.
28877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28878         file.
28879         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28880         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28881         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28882         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28884         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28885         (UDP_NO_CHECK6_RX): Likewise.
28887 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28889         * sysdeps/posix/sysconf.c (__sysconf): Spell
28890         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28892 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28894         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28895         loading.
28896         * iconv/Versions (__gconv_transliterate): Export for use from
28897         gconv modules.
28898         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28899         (struct __gconv_trans_data, __gconv_trans_fct,
28900         __gconv_trans_context_fct, __gconv_trans_query_fct,
28901         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28902         definitions.
28903         (struct __gconv_step_data): Remove __trans member.
28904         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28905         longer hidden.  Remove unused trans_data argument.
28906         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28907         (__gconv_translit_find): Remove declaration.
28908         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28909         prototype.
28910         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28911         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28912         trans_data argument.  Add hidden definition.
28913         (__gconv_translit_find): Remove.
28914         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28915         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28916         * iconv/skeleton.c: Remove transliteration initialization.
28917         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28918         __gconv_step_data initialization.
28919         * libio/iofwide.c (__libio_translit_): Remove.
28920         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28921         * wcsmbs/btowc.c (__btowc): Likewise.
28922         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28923         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28924         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28925         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28926         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28927         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28928         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28929         * wcsmbs/wctob.c (wctob): Likewise.
28931 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933         [BZ #16194]
28934         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28935         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28936         register usage.
28937         * sysdeps/x86/Makefile: Adjust.
28939 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28940             Roland McGrath  <roland@hack.frob.com>
28942         * locale/weight.h: Add include guard.
28943         (findidx): Make static rather than auto; take new parameters
28944         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28945         * locale/weightwc.h: Likewise.
28946         * posix/fnmatch_loop.c
28947         (FCT): Change type of EXTRA from int32_t to wint_t.
28948         Don't include either header inside the function.
28949         Call FINDIDX rather than findidx, and pass new arguments.
28950         #undef FINDIDX at the end of the file.
28951         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28952         FINDIDX before including fnmatch_loop.c for the non-wide version.
28953         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28954         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28955         for the wide version.
28956         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28957         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28958         Pass new arguments to findidx.
28959         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28960         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28961         Don't #include it inside the function.  Pass new arguments to findidx.
28962         * posix/regex_internal.h
28963         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28964         (re_string_elem_size_at): Don't #include it inside the function.
28965         Pass new arguments to findidx.
28966         * string/strcoll_l.c: #include WEIGHT_H at top level.
28967         (get_next_seq): Don't #include it inside the function.
28968         Pass new arguments to findidx.
28969         (get_next_seq_nocache): Likewise.
28970         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28971         (STRXFRM): Don't #include it inside the function.
28972         Pass new arguments to findidx.
28974 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28976         [BZ #17344]
28977         * malloc/malloc.c (unlink): Turn asserts into a call to
28978         malloc_printerr.
28980 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28982         [BZ #17370]
28983         * libio/wfileops (do_ftell_wide): Free OUT.
28985 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28989 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28991         [BZ #17363]
28992         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28993         group if the current group is empty.
28995 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28997         * benchtests/bench-memset.c (test_main): Add more test from size
28998         from 32 to 512 bytes.
28999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29000         Add POWER8 memset object.
29001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29002         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29003         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29004         implementation.
29005         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29006         Likewise.
29007         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29008         multiarch POWER8 memset optimization.
29009         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29010         POWER8 memset optimization.
29012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29013         Remove bzero multiarch objects.
29014         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29015         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29016         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29017         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29018         Remove define.
29019         [__bzero]: Redefine to specific name.
29020         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29021         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29022         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29023         define.
29024         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29025         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29027 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29029         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29030         warnings into errors.
29032         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29033         __cxa_thread_atexit_impl prototype.
29035 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29037         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29038         Fix capitalization of error message.
29040 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29042         * sysdeps/mips/preconfigure: Modify ABI tests.
29044 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29046         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29048 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29049             Carlos O'Donell  <carlos@systemhalted.org>
29051         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29052         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29053         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29054         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29055         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29056         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29057         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29058         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29059         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29060         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29061         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29062         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29064         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29065         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29066         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29068         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29070         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29072         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29073         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29074         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29075         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29076         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29077         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29078         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29079         Deconditionalize the code that was previously under [RESET_PID].
29080         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29081         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29082         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29083         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29084         include sysdep.h.
29086 2014-09-08  Allan McRae  <allan@archlinux.org>
29088         * version.h (RELEASE): Set to "development".
29089         (VERSION): Set to "2.20.90"
29091 2014-09-07  Allan McRae  <allan@archlinux.org
29093         * version.h (RELEASE): Set to "stable".
29094         (VERSION): Set to "2.20"
29095         * include/features.h (__GLIBC_MINOR__): Set to 20.
29097         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29098         Liebler.
29100         * po/ko.po: Update Korean translation from translation project.
29102 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29104         [BZ #17354]
29105         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29106         macro for handling signed relocations.
29108 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29110         [BZ #17325]
29111         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29112         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29113         assert.
29114         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29115         * iconvdata/ibm935.c (BODY): Likewise.
29116         * iconvdata/ibm937.c (BODY): Likewise.
29117         * iconvdata/ibm939.c (BODY): Likewise.
29118         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29119         assert.
29120         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29121         script.
29122         * iconvdata/run-iconv-test.sh: New test loop for checking for
29123         decoder crashers.
29125 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29128         libm_hidden_ver.
29130 2014-09-01  Allan McRae  <allan@archlinux.org>
29132         * po/eo.po: Update Esperanto translation from translation project.
29134         * po/ca.po: Update Catalan translation from translation project.
29136 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29138         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29139         __proc_dostop call.
29141 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29143         [BZ #17319]
29144         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29145         to call set_thread_area instead of hand written asm.
29146         (__NR_set_thread_area): Removed define.
29147         (TLS_FLAG_WRITABLE): Likewise.
29148         (__ASSUME_SET_THREAD_AREA): Remove check.
29149         (TLS_EBX_ARG): Remove define.
29150         (TLS_LOAD_EBX): Likewise.
29152 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29154         Simplify atomicity of socket creation in bind.
29156         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29157         looking up the name after linking the file.
29159 2014-08-27  Allan McRae  <allan@archlinux.org>
29161         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29163 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29165         [BZ #17187]
29166         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29167         trans_compare, open_translit, __gconv_translit_find):
29168         Remove module loading code.
29170 2014-08-26  Allan McRae  <allan@archlinux.org>
29172         * po/vi.po: Update Vietnamese translation from translation project.
29174         * po/uk.po: Update Ukrainian translation from translation project.
29176         * po/fr.po: Update French translation from translation project.
29178         * po/ru.po: Update Russian translation from translation project.
29180         * po/pl.po: Update Polish translation from translation project.
29182         * po/cs.po: Update Czech translation from translation project.
29184         * po/de.po: Update German translation from translation project.
29186         * po/bg.po: Update Bulgarian translation from translation project.
29188         * po/sv.po: Update Sweedish translation from translation project.
29190         * po/nl.po: Update Dutch translation from translation project.
29192         * po/es.po: Update Spanish translation from translation project.
29194 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29196         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29198         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29199         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29200         (CPPFLAGS-iconvconfig): Likewise.
29201         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29203         * include/libc-symbols.h: Remove unnecessary check for
29204         NOT_IN_libc.
29205         * nptl/pthreadP.h: Likewise.
29206         * sysdeps/aarch64/setjmp.S: Likewise.
29207         * sysdeps/alpha/setjmp.S: Likewise.
29208         * sysdeps/arm/sysdep.h: Likewise.
29209         * sysdeps/i386/setjmp.S: Likewise.
29210         * sysdeps/m68k/setjmp.c: Likewise.
29211         * sysdeps/posix/getcwd.c: Likewise.
29212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29213         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29214         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29215         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29216         * sysdeps/sh/sh3/setjmp.S: Likewise.
29217         * sysdeps/sh/sh4/setjmp.S: Likewise.
29218         * sysdeps/unix/alpha/sysdep.h: Likewise.
29219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29221         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29222         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29227         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29230         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29232         * sysdeps/x86_64/setjmp.S: Likewise.
29234 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29236         [BZ #17263]
29237         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29238         <stdint.h>.
29239         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29240         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29242 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29244         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29246         [BZ #17262]
29247         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29248         and __x86_64__ when disabling x87 inline functions.
29250 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29252         [BZ #17259]
29253         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29254         asm statement with __cpuid_count.
29256 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29258         * configure.ac: Change __ehdr_start code to dereference the struct.
29259         Run readelf on the output to look for relocations.
29260         * configure: Regenerated.
29262 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29264         [BZ #17261]
29265         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29266         value to 0.
29267         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29269 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29271         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29273 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29275         [BZ #16892]
29276         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29277         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29279 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29281         * malloc/malloc.c: Fix typo in comment.
29283 2014-08-09  Allan McRae  <allan@archlinux.org>
29285         * Regenerate libc.po.
29287 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29289         * intl/tst-gettext2.sh: Check every lang file for creation.
29291 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29293         * sysdeps/aarch64/fpu/math_private.h
29294         (libc_feholdsetround_noex_aarch64_ctx): New function.
29296 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29298         * sysdeps/arm/armv6/strcpy.S (strcpy):
29299         Fix performance issue in misaligned cases.
29301 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29303         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29304         Move definition from termios.h.
29305         (struct termio): Likewise.
29306         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29307         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29308         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29309         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29310         Likewise.
29311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29312         Move definition to ioctl-types.h
29313         (struct termio): Likewise.
29314         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29315         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29316         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29317         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29318         Likewise.
29320 2014-08-05  Richard Henderson  <rth@redhat.com>
29322         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29323         exceptions.
29324         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29325         Add fraiseexcpt.
29326         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29327         Use __feraiseexcept.
29328         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29329         Protect libm symbols with IS_IN_libm.
29331         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29333 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29335         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29337 2014-08-04  Will Newton  <will.newton@linaro.org>
29339         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29340         file.
29342 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29344         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29345         variants for each function.
29347 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29349         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29350         appended ...
29351         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29352         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29353         appended ...
29354         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29355         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29356         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29357         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29358         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29359         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29360         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29361         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29362         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29363         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29364         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29366         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29367         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29368         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29370         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29371         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29372         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29373         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29374         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29377         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29380         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29381         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29382         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29383         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29384         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29385         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29386         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29387         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29388         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29389         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29390         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29391         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29392         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29393         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29394         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29395         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29396         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29398         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29400         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29402         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29404         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29405         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29406         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29407         Update #include.
29408         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29409         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29413         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29414         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29415         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29416         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29417         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29418         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29420 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29422         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29423         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29424         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29425         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29429         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29430         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29431         (__libc_vfork): Define function under this name.
29432         (__vfork): Define as an alias.
29433         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29434         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29436 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29438         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29439         that was previously under [RESET_PID].
29440         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29442 2014-08-04  Andreas Schwab  <schwab@suse.de>
29444         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29446 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29448         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29449         (main): Likewise.
29451 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29453         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29455 2014-08-01  Richard Henderon  <rth@redhat.com>
29457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29458         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29459         typo in exact zero test.
29460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29461         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29464 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29466         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29467         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29468         * sysdeps/arm/sysdep.h: ... here.
29469         [!__ASSEMBLER__]: Include <stdint.h>.
29471 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29473         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29474         (HAVE_WCTYPE_H): Likewise.
29475         (HAVE_ISWCTYPE): Likewise.
29476         (ENABLE_NLS): Likewise.
29477         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29478         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29480         * posix/regex_internal.c: Check if DEBUG is defined and is
29481         set.
29483         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29484         (HAVE_MBSRTOWCS): Likewise.
29485         * posix/fnmatch.c: Include string.h unconditionally.
29487 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29489         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29490         reversal.
29492 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29494         * sysdeps/generic/safe-fatal.h: New file.
29495         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29496         * nptl/forward.c: Include it.
29497         (__pthread_unwind): Use __safe_fatal as default action, rather
29498         than a bogus use of INTERNAL_SYSCALL that could never work.
29500         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29501         * configure.ac (libc_cv_builtin_trap): New test.
29502         * configure: Regenerated.
29503         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29504         (ABORT_INSTRUCTION): Define using __builtin_trap.
29506         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29507         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29508         * sysdeps/nptl/nptl-signals.h: New file.
29509         * nptl/pthreadP.h: Include <nptl-signals.h>.
29511 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29513         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29514         (ONE_DIRECTION): Define.
29515         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29516         (ONE_DIRECTION): Define.
29517         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29518         (ONE_DIRECTION): Define.
29520 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29522         * sysdeps/s390/Makefile: Delete file.
29523         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29524         * sysdeps/s390/__longjmp.c: Delete file.
29525         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29526         Remove fields __flags and __reserved.
29527         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29528         and add versioning.
29529         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29530         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29531         * sysdeps/s390/rtld-setjmp.S: Likewise.
29532         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29533         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29534         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29535         * sysdeps/s390/s390-32/setjmp.S: ... here.
29536         Add versioning.
29537         (__sigsetjmp): Remove setting __flags field.
29538         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29539         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29540         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29541         * sysdeps/s390/s390-64/setjmp.S: ... here.
29542         Add versioning.
29543         (__sigsetjmp): Remove setting __flags field.
29544         * sysdeps/s390/setjmp.S: Delete file.
29545         * sysdeps/s390/sigjmp.c: Likewise.
29546         * sysdeps/s390/v1-longjmp.c: Likewise.
29547         * sysdeps/s390/v1-setjmp.h: Likewise.
29548         * sysdeps/s390/v1-sigjmp.c: Likewise.
29549         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29550         Remove v1-longjmp_chk.
29551         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29552         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29553         Include debug/longjmp_chk.c and add versioning.
29554         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29555         Include nptl/pt-longjmp.c and add versioning.
29556         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29557         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29558         Include __longjmp.c.
29559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29560         Move to ...
29561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29562         (__getcontext): Remove setting __flags field.
29563         Add versioning.
29564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29565         Don't restore upper high grps.
29566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29567         Likewise.
29568         (__swapcontext): Remove setting uc_flags field.
29569         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29570         Delete file.
29571         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29572         Include __longjmp.c.
29573         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29574         Move to ...
29575         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29576         (__getcontext): Remove setting __flags field.
29577         Add versioning.
29578         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29579         (__swapcontext): Remove setting uc_flags field.
29580         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29581         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29582         Remove fields uc_high_gprs and __reserved.
29583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29584         New file with reverted content.
29585         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29586         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29587         Regenerated.
29588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29589         Regenerated.
29591 2014-07-31  Andreas Schwab  <schwab@suse.de>
29593         * config.h.in (HAVE_IFUNC): Define to 0.
29594         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29595         definedness.
29597 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29600         memmove-avx-unaligned, memcpy-avx-unaligned and
29601         mempcpy-avx-unaligned.
29602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29603         Add tests for AVX memcpy functions.
29604         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29605         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29606         memcpy_chk.
29607         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29608         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29609         memmove_chk.
29610         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29612         mempcpy_chk.
29613         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29614         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29615         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29617 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29619         [BZ #17213]
29620         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29621         powerpc64le.
29623 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29625         [BZ #16839]
29626         * manual/llio.texi: Add section about open file description locks.
29627         * manual/examples/ofdlocks.c: Example of open file description
29628         lock usage.
29629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29630         F_OFD_SETLK, and F_OFD_SETLKW.
29632 2014-07-23  Allan McRae  <allan@archlinux.org>
29634         * po/es.po: Update Spanish translation from translation project.
29636 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29638         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29640 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29642         [BZ #17078]
29643         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29644         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29645         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29647 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29649         [BZ #17088]
29650         * math/fesetenv.c (__fesetenv)
29651         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29652         * math/feupdateenv.c (__feupdateenv)
29653         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29655         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29656         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29657         (__ASSUME_SOCKETCALL): Do not define.
29659         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29660         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29661         (__ASSUME_SOCKETCALL): Do not define.
29662         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29663         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29664         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29665         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29666         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29667         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29668         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29669         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29671         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29672         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29673         (__ASSUME_SOCKETCALL): Do not define.
29674         (__ASSUME_IPC64): Define unconditionally.
29675         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29676         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29677         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29678         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29679         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29681         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29682         Likewise.
29684         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29685         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29686         (__ASSUME_SOCKETCALL): Do not define.
29687         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29688         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29689         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29690         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29691         (__ASSUME_REQUEUE_PI): Define unconditionally.
29692         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29693         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29694         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29695         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29697         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29699         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29700         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29701         (__ASSUME_SOCKETCALL): Do not define.
29702         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29704         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29705         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29707         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29709         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29710         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29711         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29712         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29713         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29714         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29715         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29716         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29717         (__ASSUME_GETCPU_SYSCALL): Likewise.
29719         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29720         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29721         cases for individual architectures.
29722         * sysdeps/gnu/configure: Regenerated.
29723         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29724         LIBC_SLIBDIR_RTLDDIR.
29725         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29726         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29727         LIBC_SLIBDIR_RTLDDIR.
29728         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29730         LIBC_SLIBDIR_RTLDDIR.
29731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29732         Regenerated.
29733         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29734         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29735         file.
29736         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29737         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29738         file.
29739         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29740         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29741         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29742         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29744         * sysdeps/aarch64/shlib-versions: Move to ...
29745         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29746         * sysdeps/alpha/shlib-versions: Move to ...
29747         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29748         * sysdeps/arm/shlib-versions: Move to ...
29749         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29750         * sysdeps/hppa/shlib-versions: Move all contents except for
29751         libgcc_s entry to ...
29752         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29753         entry from ...
29754         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29755         * sysdeps/ia64/shlib-versions: Move to ...
29756         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29757         entry from ...
29758         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29759         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29760         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29761         * sysdeps/microblaze/shlib-versions: Move to ...
29762         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29763         * sysdeps/mips/shlib-versions: Move to ...
29764         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29765         entry from ...
29766         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29767         * sysdeps/tile/shlib-versions: Move to ...
29768         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29769         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29770         from ...
29771         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29772         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29773         entry from ...
29774         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29776 2014-07-17  Will Newton  <will.newton@linaro.org>
29778         * sysdeps/arm/bits/atomic.h
29779         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29780         (__arch_compare_and_exchange_bool_16_int): Likewise.
29781         (__arch_compare_and_exchange_bool_64_int): Likewise.
29783         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29784         into an #else block.
29786 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29788         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29789         just Linux configurations.  Test empirically that the compiler sets
29790         __ARM_EABI__, rather than using the tuple to decide.
29791         * sysdeps/arm/preconfigure: Regenerated.
29792         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29793         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29794         contents appended ...
29795         * sysdeps/arm/configure.ac: ... here.
29796         * sysdeps/arm/configure: Regenerated.
29798 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29800         * nptl/pthread_kill.c: New file.
29801         * nptl/pthread_sigmask.c: New file.
29802         * nptl/pthread_sigqueue.c: New file.
29804         * sysdeps/nptl/lowlevellock.h: New file.
29805         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29806         * sysdeps/nptl/lowlevellock-futex.h: New file.
29808         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29809         Remove dead declarations.
29811 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29813         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29814         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29815         config-cflags-avx2.
29816         * sysdeps/x86_64/configure.ac: Likewise.
29817         * sysdeps/i386/configure: Regenerated.
29818         * sysdeps/x86_64/configure: Likewise.
29819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29820         memset-avx2 only if config-cflags-avx2 is yes.
29821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29822         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29823         defined.
29824         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29825         only if HAVE_AVX2_SUPPORT is defined.
29826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29828 2014-07-14  Alan Modra  <amodra@gmail.com>
29830         [BZ #17153]
29831         * elf/elf.h (DT_PPC64_NUM): Correct value.
29832         * NEWS: Add to fixed bug list.
29834 2014-07-13  Jim Meyering  <meyering@fb.com>
29836         [BZ 17150]
29837         regex: don't deref NULL upon heap allocation failure
29838         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29839         failure in one more place.
29840         To trigger the segfault, configure grep -with-included-regex,
29841         build it, and run these commands:
29842         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29844 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29846         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29848 2014-07-11  Richard Henderson  <rth@redhat.com>
29850         * sysdeps/aarch64/libm-test-ulps: Update.
29852 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29854         [BZ #17135]
29855         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29856         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29857         (__nptl_setxid): Initialize error member.  Call
29858         __nptl_setxid_error.
29859         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29860         * nptl/descr.h (struct xid_command): Add error member.
29861         * nptl/tst-setuid3.c: New file.
29862         * nptl/Makefile (tests): Add it.
29864 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29866         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29867         New define.
29868         (__lll_trylock): Use __lll_base_trylock.
29869         (__lll_cond_trylock): Likewise.
29871 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29873         * nptl/pthread_create.c (start_thread): Use atomic_or and
29874         lll_futex_wake directly rather than lll_robust_dead.
29875         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29876         (lll_robust_dead): Macro removed.
29877         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29878         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29879         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29880         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29881         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29882         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29883         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29885         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29886         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29887         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29889         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29890         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29891         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29893         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29894         Use atomic_compare_and_exchange_val_acq directly rather than
29895         lll_robust_trylock.
29896         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29897         (__lll_robust_trylock, lll_robust_trylock): Removed.
29898         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29899         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29900         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29901         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29902         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29903         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29904         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29905         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29907         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29908         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29911         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29913 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29915         * manual/locale.texi (Locale Names): New section documenting
29916         locale name syntax.  Adjust menu and node chaining accordingly.
29917         (Choosing Locale): Reference Locale Names, Locale Categories.
29918         Mention setting LC_ALL=C.  Reflect that name syntax is now
29919         documented.
29920         (Locale Categories): New section title.  Reference Locale Names.
29921         LC_ALL is an environment variable, but not a category.
29922         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29923         description, now in Locale Name.  Reference that section.  Locale
29924         name syntax is now documented.
29926 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29928         [BZ #17137]
29929         * locale/findlocale.c (name_present, valid_locale_name): New
29930         functions.
29931         (_nl_find_locale): Use the loc_name variable to store name
29932         candidates.  Call name_present and valid_locale_name to check and
29933         validate locale names.  Return an error if the locale is invalid.
29935 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29937         * locale/setlocale.c (setlocale): Use strdup for allocating
29938         composite name copy.
29940 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29942         Sync up with gnulib.
29943         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29944         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29945         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29946         and _GL_ARG_NONNULL.
29947         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29948         [!_LIBC]: Include code for Windows and Cygwin.
29949         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29950         Include prototype for int strerror_r.
29951         [!_LIBC] (is_open): New function.
29952         (flush_stdout): New function.
29953         (print_errno_message): Use it.
29954         (error): Likewise.
29955         (error_at_line): Likewise.
29956         (error_tail) Add function attribute macros.  Use
29957         __builtin_expect.
29959         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29961         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29963         * io/ftw.c: Include sys/param.h unconditionally.
29965         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29967         [BZ #17125]
29968         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29969         libc_freeres_ptr.
29970         (freecache): New function to free CACHE on exit.
29972         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29973         initialization.
29975 2014-07-09  David S. Miller  <davem@davemloft.net>
29977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29979         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29980         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29981         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29982         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29983         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29984         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29985         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29986         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29987         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29988         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29989         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29990         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29991         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29993 2014-07-09  Andreas Schwab  <schwab@suse.de>
29995         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29996         output.
29997         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29998         (do_test): Likewise.
30000         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30002 2014-07-09  Will Newton  <will.newton@linaro.org>
30004         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30005         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30006         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30007         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30008         * sysdeps/hppa/start.S (_start): Likewise.
30010 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30014         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30015         defined.
30017 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30019         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30020         after checking that it is non-NULL.
30022         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30024 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30026         * sysdeps/powerpc/memmove.c: Remove file.
30027         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30028         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30029         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30030         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30031         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30032         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30033         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30034         string memmove instead of removed powerpc one.
30036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30037         [weak_alias]: Fix compiler warning due trailing data.
30038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30039         [weak_alias]: Likewise.
30040         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30041         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30044         (__libc_ifunc_impl_list): Add memmove functions.
30046 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30048         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30049         Remove code.
30050         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30051         Likewise.
30052         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30053         Likewise.
30054         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30055         Likewise.
30056         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30057         Likewise.
30058         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30059         Likewise.
30060         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30061         Likewise.
30062         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30063         Likewise.
30064         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30065         Likewise.
30066         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30067         Likewise.
30068         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30069         Likewise.
30070         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30071         Likewise.
30072         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30073         Likewise.
30074         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30075         Likewise.
30076         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30077         Likewise.
30078         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30079         Likewise.
30080         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30081         Likewise.
30083 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30086         to avoid alignment traps in non-cacheable memory.
30087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30090         multiarch objects.
30091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30092         file: multiarch power7 memmove.
30093         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30094         multiarch default memmove.
30095         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30096         multiarch memove for powerpc32/power4.
30098         * string/bcopy.c: Use full path to include memmove.c.
30099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30100         multiarch objects.
30101         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30102         bcopy for powerpc64.
30103         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30104         bcopy for powerpc64.
30105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30106         and memmove implementations.
30107         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30108         optimized multiarch memmove for POWER7/powerpc64.
30109         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30110         default multiarch memmove for powerpc64.
30111         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30112         multiarch for powerpc64.
30113         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30114         for POWER7/powerpc64.
30115         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30116         memmove for POWER7/powerpc64.
30118         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30119         glibc default one.
30121         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30122         __ELF_NATIVE_CLASS equal to 64.
30124 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30126         * sysdeps/nptl/lowlevellock.h: File removed.
30128         * NEWS: NPTL is no longer an add-on!
30129         * nptl/internaltypes.h: Moved ...
30130         * sysdeps/nptl/internaltypes.h: ... here.
30131         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30132         * sysdeps/nptl/fork.c: Likewise.
30133         * sysdeps/nptl/gai_misc.h: Likewise.
30134         * sysdeps/nptl/librt-cancellation.c: Likewise.
30135         * sysdeps/nptl/jmp-unwind.c: Likewise.
30136         * sysdeps/nptl/setxid.h: Likewise.
30137         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30138         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30139         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30140         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30141         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30142         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30143         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30144         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30145         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30146         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30147         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30148         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30149         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30150         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30151         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30152         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30153         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30154         * nptl/Makeconfig: Moved ...
30155         * sysdeps/nptl/Makeconfig: ... here.
30156         * nptl/configure: File removed.
30157         * nptl/ANNOUNCE: File removed.
30158         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30159         * sysdeps/unix/sysv/linux/configure: Regenerated.
30161         * nptl/Makefile (routines): Add libc_pthread_init,
30162         libc_multiple_threads, register-atfork and unregister-atfork.
30163         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30164         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30165         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30166         pthread-pi-defines.sym, structsem.sym.
30167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30168         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30169         [$(subdir) = nptl] (tests): Add tst-setgetname.
30170         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30171         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30172         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30173         [!LIBC_SIGACTION]: Remove aliases.
30174         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30175         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30176         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30177         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30178         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30179         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30182         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30183         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30184         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30185         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30186         __libc_allocate_rtsig_private.
30187         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30188         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30189         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30190         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30191         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30192         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30193         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30194         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30195         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30196         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30197         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30198         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30199         * nptl/internaltypes.h: ... here.
30200         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30201         * sysdeps/nptl/jmp-unwind.c: ... here.
30202         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30203         * nptl/libc-lowlevellock.c: ... here.
30204         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30205         * nptl/libc_multiple_threads.c: ... here.
30206         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30207         * nptl/libc_pthread_init.c: ... here.
30208         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30209         * nptl/lowlevelbarrier.sym: ... here.
30210         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30211         * nptl/lowlevelcond.sym: ... here.
30212         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30213         * nptl/lowlevellock.c: ... here.
30214         * nptl/lowlevellock.h: Moved ...
30215         * sysdeps/nptl/lowlevellock.h: ... here.
30216         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30217         * nptl/lowlevelrobustlock.c: ... here.
30218         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30219         * nptl/lowlevelrobustlock.sym: ... here.
30220         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30221         * nptl/lowlevelrwlock.sym: ... here.
30222         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30223         * nptl/pt-fork.c: ... here.
30224         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30225         * nptl/pthread-pi-defines.sym: ... here.
30226         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30227         * nptl/pthread_attr_getaffinity.c: ... here.
30228         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30229         * nptl/pthread_attr_setaffinity.c: ... here.
30230         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30231         * nptl/pthread_mutex_cond_lock.c: ... here.
30232         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30233         Update #include.
30234         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30235         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30236         * nptl/pthread_once.c: ... here, replacing old file.
30237         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30238         * nptl/pthread_yield.c: ... here.
30239         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30240         * nptl/register-atfork.c: ... here.
30241         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30242         * nptl/sem_post.c: ... here.
30243         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30244         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30245         * nptl/sem_timedwait.c: ... here.
30246         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30247         * nptl/sem_trywait.c: ... here.
30248         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30249         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30250         * nptl/sem_wait.c: ... here.
30251         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30252         * nptl/structsem.sym: ... here.
30253         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30254         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30255         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30256         * nptl/unregister-atfork.c: ... here.
30257         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30258         * nptl/unwindbuf.sym: ... here.
30259         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30260         * sysdeps/nptl/fork.c: ... here.
30261         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30262         * sysdeps/nptl/fork.h: ... here.
30263         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30264         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30265         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30266         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30267         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30268         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30269         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30270         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30271         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30272         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30273         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30274         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30275         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30276         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30277         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30278         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30279         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30280         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30281         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30282         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30283         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30284         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30285         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30286         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30287         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30288         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30289         * sysdeps/unix/sysv/linux/raise.c: ... here.
30290         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30291         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30292         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30293         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30294         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30295         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30296         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30297         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30298         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30299         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30300         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30301         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30302         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30303         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30304         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30306 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30308         * sysdeps/generic/memcopy.h: Add comment for
30309         MEMCPY_OK_FOR_FWD_MEMMOVE.
30311 2014-07-04  Will Newton  <will.newton@linaro.org>
30313         * string/memchr.c: Merge from gnulib.
30314         [_LIBC]: Remove conditionals.
30315         (__ptr_t): Remove define.
30316         (LONG_MAX_32_BITS): Likewise.
30317         (LONG_MAX): Likewise.
30318         (MEMCHR): Use ANSI prototype and optimize algorithm.
30320         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30322 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30324         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30325         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30327         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30328         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30329         in a bare environment with no <stdlib.h> installed.
30330         * sysdeps/nptl/configure: Regenerated.
30332         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30334         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30335         AC_EGREP_CPP for kernel header checks, so they only succeed if
30336         including <linux/version.h> actually works right.
30337         * sysdeps/unix/sysv/linux/configure: Regenerated.
30339         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30340         value so it's not diagnosed as unused.
30342         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30343         thing) with "ifeq ($(subdir),rt)".
30345 2014-07-03  Richard Henderson  <rth@redhat.com>
30347         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30348         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30349         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30351         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30352         (math_force_eval): New.
30354         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30355         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30357         * sysdeps/alpha/fpu/s_round.c: Remove file.
30358         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30360         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30361         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30362         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30363         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30364         (_dl_start, print_statistics): Likewise.
30365         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30366         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30368         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30369         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30370         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30371         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30373         (HP_SMALL_TIMING_AVAIL): Define.
30374         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30376         (HP_SMALL_TIMING_AVAIL): Define.
30377         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30378         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30380         * sysdeps/aarch64/hp-timing.h: New file.
30382         * sysdeps/generic/hp-timing.h: Remove dead comment.
30383         * sysdeps/generic/hp-timing-common.h: New file.
30384         * sysdeps/alpha/hp-timing.h: Include it.
30385         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30386         * sysdeps/i386/i686/hp-timing.h: Likewise.
30387         * sysdeps/ia64/hp-timing.h: Likewise.
30388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30389         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30391         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30392         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30393         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30394         (hp_timing_t): New.
30396         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30397         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30398         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30399         * elf/rtld.c (_dl_start_final): Likewise.
30400         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30401         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30402         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30403         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30404         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30406         (HP_TIMING_DIFF_INIT): Remove.
30407         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30408         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30409         (HP_TIMING_DIFF_INIT): Remove.
30410         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30411         * sysdeps/i386/i686/hp-timing.c: Remove file.
30412         * sysdeps/x86_64/hp-timing.c: Remove file.
30413         * sysdeps/ia64/hp-timing.c: Remove file.
30414         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30415         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30417         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30419         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30420         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30421         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30422         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30424         (HP_TIMING_ACCUM): Remove.
30425         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30427         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30429         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30430         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30431         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30432         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30434         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30435         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30436         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30438         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30440 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30442         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30444 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30446         Sync up with gettext.
30447         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30448         [_MSC_VER]: Include malloc.h
30449         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30450         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30451         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30452         TEMP_FAILURE_RETRY.  Cast return of alloca.
30453         [!_LIBC] Call gl_rwlock_init.
30454         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30456 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30458         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30459         before checking its value.
30461 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30463         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30465         * debug/memcpy_chk.c: Don't include pagecopy.h.
30466         * debug/mempcpy_chk.c: Likewise.
30467         * string/memcpy.c: Likewise.
30468         * string/memmove.c: Likewise.
30469         * sysdeps/powerpc/memmove.c: Likewise.
30470         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30471         definition of PAGE_COPY_FWD_MAYBE here...
30472         * sysdeps/generic/pagecopy.h: ... from here.
30473         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30475 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30476             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30478         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30480         optimizations.
30481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30482         (__libc_ifunc_impl_list): Likewise.
30483         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30484         multiarch strcat for PPC64.
30485         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30486         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30488 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30490         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30492 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30494         * intl/loadmsgcat.c: Remove declaration of
30495         get_sysdep_segment_value.
30496         (get_sysdep_segment_value): Use ISO C style.
30497         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30498         semicolon.  Fix typo and formatting in comment.
30499         (_nl_unload_domain): Use ISO C style.
30501         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30503 2014-07-02  Will Newton  <will.newton@linaro.org>
30505         * malloc/obstack.c: Merge from gnulib master.
30506         [HAVE_CONFIG_H]: Remove conditional code.
30507         [!_LIBC]: Include config.h.
30508         [!ELIDE_CODE]: Don't include inttypes.h, include
30509         stdint.h unconditionally.
30510         (print_and_abort): Mark as _Noreturn.
30511         (_obstack_allocated_p): Mark as __attribute_pure__.
30512         (obstack_free): Rename to __obstack_free.
30513         [!__attribute__]: Remove conditional code.
30514         * malloc/obstack.h: Merge from gnulib master.
30515         [__cplusplus]: Move conditional down.
30516         [!__attribute_pure__]: Define __attribute_pure__ here
30517         if it is not already defined.
30518         (_obstack_memory_used): Mark as __attribute_pure__.
30519         [!__obstack_free]: Define as obstack_free.
30520         [__GNUC__]: Remove check for ancient NeXT gcc.
30522 2014-07-02  Will Newton  <will.newton@linaro.org>
30523             Paul Eggert  <eggert@cs.ucla.edu>
30525         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30527 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30529         * resolv/gethnamaddr.c: Add comment warning that the file is
30530         not maintained.
30532 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30534         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30535         entries.
30537         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30538         entry for aio_cancel and aio_cancel64.
30539         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30540         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30541         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30542         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30543         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30544         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30545         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30546         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30547         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30548         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30549         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30550         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30551         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30553 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30555         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30556         * nptl/pthread_mutex_lock.c: Likewise.
30557         * nptl/pthread_mutex_timedlock.c: Likewise.
30558         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30560 2014-07-01  Richard henderson  <rth@redhat.com>
30562         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30563         (__isnan, __isnanl): Remove.
30564         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30566         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30568 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30570         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30572 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         * resolv/nss_dns/dns-host.c (getanswer_r)
30575         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30577 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30580         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30581         undefine.
30582         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30583         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30585 2014-07-01  Roland McGrath <roland@hack.frob.com>
30587         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30588         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30590         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30591         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30593         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30594         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30595         ... here.
30596         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30597         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30599         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30600         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30601         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30602         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30604         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30605         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30606         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30607         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30608         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30609         Moved ...
30610         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30611         ... here.
30612         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30613         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30614         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30615         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30616         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30617         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30619         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30620         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30621         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30622         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30623         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30624         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30627         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30628         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30629         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30631         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30632         ... here.
30633         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30634         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30635         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30636         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30637         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30638         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30639         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30640         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30642 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30644         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30645         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30646         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30647         Add sysdep.
30649 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30653 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30655         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30656         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30658         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30660         * sysdeps/arm/libm-test-ulps: Regenerated.
30662 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30663             Roland McGrath <roland@hack.frob.com>
30665         * test-skeleton.c (signal_handler): Kill the whole process group
30666         before killing the child individually.
30667         (main): Report any failure on `setpgid'.
30669 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30671         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30672         from _TLS_H to _ARM_NPTL_TLS_H.
30673         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30674         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30676 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30678         [BZ #16539]
30679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30680         (__expm1l): Return argument unchanged when small but not
30681         subnormal.
30683         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30684         include macro name.
30685         (_FP_UNPACK_RAW_1_P): Likewise.
30686         (_FP_PACK_RAW_1): Likewise.
30687         (_FP_PACK_RAW_1_P): Likewise.
30688         (_FP_MUL_MEAT_1_wide): Likewise.
30689         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30690         (_FP_MUL_MEAT_1_hard): Likewise.
30691         (_FP_DIV_MEAT_1_imm): Likewise.
30692         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30693         (_FP_DIV_MEAT_1_udiv): Likewise.
30694         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30695         (_FP_UNPACK_RAW_2): Likewise.
30696         (_FP_UNPACK_RAW_2_P): Likewise.
30697         (_FP_PACK_RAW_2): Likewise.
30698         (_FP_PACK_RAW_2_P): Likewise.
30699         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30700         (_FP_MUL_MEAT_2_wide): Likewise.
30701         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30702         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30703         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30704         (_FP_MUL_MEAT_2_gmp): Likewise.
30705         (_FP_DIV_MEAT_2_udiv): Likewise.
30706         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30707         (_FP_FRAC_SRL_4): Likewise.
30708         (_FP_FRAC_SRST_4): Likewise.
30709         (_FP_FRAC_SRS_4): Likewise.
30710         (_FP_UNPACK_RAW_4): Likewise.
30711         (_FP_UNPACK_RAW_4_P): Likewise.
30712         (_FP_PACK_RAW_4): Likewise.
30713         (_FP_PACK_RAW_4_P): Likewise.
30714         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30715         (_FP_MUL_MEAT_4_wide): Likewise.
30716         (_FP_MUL_MEAT_4_gmp): Likewise.
30717         (umul_ppppmnnn): Likewise.
30718         (_FP_DIV_MEAT_4_udiv): Likewise.
30719         (__FP_FRAC_ADD_4): Likewise.
30720         (__FP_FRAC_SUB_3): Likewise.
30721         (__FP_FRAC_SUB_4): Likewise.
30722         (__FP_FRAC_DEC_3): Likewise.
30723         (__FP_FRAC_DEC_4): Likewise.
30724         (__FP_FRAC_ADDI_4): Likewise.
30725         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30726         (_FP_FRAC_SRL_8): Likewise.
30727         (_FP_FRAC_SRS_8): Likewise.
30729         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30730         include macro name.
30731         (FP_UNPACK_RAW_EP): Likewise.
30732         (FP_PACK_RAW_E): Likewise.
30733         (FP_PACK_RAW_EP): Likewise.
30734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30735         (_FP_ISSIGNAN): Likewise.
30736         (_FP_ADD_INTERNAL): Likewise.
30737         (_FP_FMA): Likewise.
30738         (_FP_CMP): Likewise.
30739         (_FP_SQRT): Likewise.
30740         (_FP_TO_INT): Likewise.
30741         (_FP_FROM_INT): Likewise.
30742         (FP_EXTEND): Likewise.
30743         (_FP_DIV_MEAT_N_loop): Likewise.
30745 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30747         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30748         throughout.
30750 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30752         [BZ #17097]
30753         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30754         result with correct sign in case of exponents that produce
30755         overflow except for X very close to 1.
30757 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30759         mktime: merge #if/#ifdef usage from glibc
30760         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30761         as that works with both Glibc's and Gnulib's style.
30762         See thread starting at Siddhesh Poyarekar's bug report at:
30763         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30765 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30767         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30768         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30769         * sysdeps/tile/tilegx/memmove.c: Remove file.
30771 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30773         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30774         abi-name definition.
30775         * scripts/soversions.awk: Do not handle or generate ABI lines.
30776         * shlib-versions: Remove ABI entries.
30777         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30778         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30780 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30783         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30784         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30785         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30787         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30789         Moved ...
30790         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30791         ... here.
30792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30793         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30795         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30797         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30799         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30801         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30803         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30805         Moved ...
30806         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30808         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30812         Moved ...
30813         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30815         Moved ...
30816         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30818         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30820         Moved ...
30821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30823         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30825         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30827         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30829         Moved ...
30830         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30832         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30833         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30834         Moved ...
30835         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30837         Moved ...
30838         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30840         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30842         Moved ...
30843         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30844         ... here.
30845         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30846         Identical file removed.
30847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30848         Moved ...
30849         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30850         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30851         Identical file removed.
30852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30855         Moved ...
30856         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30858         Identical file removed.
30859         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30860         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30861         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30862         Identical file removed.
30863         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30864         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30866         Identical file removed.
30867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30868         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30870         Identical file removed.
30871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30872         Moved ...
30873         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30875         Identical file removed.
30876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30877         Moved ...
30878         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30880         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30882         Identical file removed.
30883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30884         Moved ...
30885         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30886         ... here.
30887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30888         Identical file removed.
30889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30890         Moved ...
30891         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30893         Identical file removed.
30894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30895         Moved ...
30896         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30898         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30902         Moved ...
30903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30904         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30905         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30907         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30908         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30909         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30910         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30911         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30913 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30915         [BZ #17092]
30916         * nscd/nscd.c (monitor_child): Return exit status of child
30917         instead of return value from wait syscall.
30919 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30921         * configure.ac (libc_commonpagesize): Remove variable.
30922         (libc_relro_required): Likewise.
30923         (libc_cv_z_relro): Remove configure test.
30924         * configure: Regenerated.
30925         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30926         variable.
30927         (libc_relro_required): Likewise.
30928         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30929         (libc_relro_required): Likewise.
30930         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30931         (libc_relro_required): Likewise.
30932         * sysdeps/arm/preconfigure: Regenerated.
30933         * sysdeps/ia64/preconfigure: Remove file.
30934         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30935         variable.
30936         (libc_relro_required): Likewise.
30938         [BZ #16561]
30939         [BZ #16562]
30940         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30941         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30942         recompute overflowing results in original rounding mode.
30943         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30944         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30945         recompute overflowing results in original rounding mode.
30946         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30947         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30948         recompute overflowing results in original rounding mode.
30949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30950         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30951         recompute overflowing results in original rounding mode.
30952         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30953         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30954         recompute overflowing results in original rounding mode.
30955         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30956         (libc_feholdsetround_ctx): New macro.
30957         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30958         * sysdeps/i386/fpu/libm-test-ulps: Update.
30959         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30961 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30963         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30964         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30965         corresponding .cpsetup call.
30967 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30969         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30970         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30971         * sysdeps/arm/Makefile [$(subdir) = csu]
30972         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30973         (static-only-routines): Add aeabi_read_tp here.
30974         (shared-only-routines): Add libc-aeabi_read_tp here.
30975         (CFLAGS-libc-start.c): Add -fexceptions here.
30976         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30977         (sysdep_routines, static-only-routines, shared-only-routines):
30978         Don't add to these here.
30979         (CFLAGS-libc-start.c): Likewise.
30981         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30982         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30983         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30984         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30985         * sysdeps/arm/Makefile [$(subdir) = rt]
30986         (librt-sysdep_routines, librt-shared-only-routines):
30987         Append rt-aeabi_unwind_cpp_pr1 here.
30988         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30989         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30990         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30991         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30992         Append nptl-aeabi_unwind_cpp_pr1 here.
30993         (tests): Filter out tst-cleanupx4 here.
30994         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30995         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30996         Don't do those here.
30998 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31000         * scripts/list-sources.sh: Do not handle ports specially.
31002 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31004         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31005         * sysdeps/arm/feupdateenv.c: Likewise.
31007         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31009 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31011         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31012         trailing whitespace removed.
31013         * scripts/config.guess: Update to version 2014-03-23.
31014         * scripts/config.sub: Update to version 2014-05-01
31015         * scripts/install-sh: Update to version 2013-12-25.23.
31016         * scripts/move-if-change: Update from gnulib.
31018 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31020         * debug/memmove_chk.c: Remove pagecopy.h include.
31022 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31024         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31025         identical to gnulib mktime.
31027 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31029         * configure.ac: Do not test for machine being rs6000.  Do not test
31030         for powerpc*-*soft.
31031         * configure: Regenerated.
31033         [BZ #11505]
31034         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31035         test.
31036         * configure: Regenerated.
31037         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31038         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31039         Remove configure test.
31040         * sysdeps/arm/configure: Regenerated.
31041         * sysdeps/nptl/configure.ac: Do not check
31042         libc_cv_asm_cfi_directives.
31043         * sysdeps/nptl/configure: Regenerated.
31044         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31045         * sysdeps/x86_64/nptl/configure: Remove generated file.
31046         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31047         unconditional.
31048         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31050 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31052         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31053         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31054         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31055         it is defined.
31057         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31058         instead of whether it is defined.
31059         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31060         * sysdeps/hppa/dl-machine.h: Likewise.
31061         * sysdeps/ia64/dl-machine.h: Likewise.
31062         * sysdeps/m68k/dl-machine.h: Likewise.
31063         * sysdeps/microblaze/dl-machine.h: Likewise.
31064         * sysdeps/mips/dl-machine.: Likewise.
31065         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31066         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31067         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31069         * sysdeps/sh/dl-machine.h: Likewise.
31070         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31072         * sysdeps/tile/dl-machine.h: Likewise.
31073         * sysdeps/x86_64/dl-machine.h: Likewise.
31075         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31076         code.
31077         (verify_persistent_db): Likewise.
31079 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31082         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31084         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31086         Moved ...
31087         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31088         ... here.
31089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31090         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31092         Identical file removed.
31093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31096         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31098         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31102         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31104         Moved ...
31105         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31107         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31109         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31111         Moved ...
31112         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31116         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31118         Identical file removed.
31119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31120         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31122         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31124         Moved ...
31125         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31126         ... here.
31127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31128         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31130         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31132         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31136         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31138         Moved ...
31139         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31141         Moved ...
31142         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31144         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31146         Moved ...
31147         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31149         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31152         folded into ...
31153         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31154         * sysdeps/unix/sysv/linux/s390/Versions
31155         (libpthread: GLIBC_2.19): New version set.
31156         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31157         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31158         (librt: GLIBC_2.3.3): New version set.
31159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31160         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31161         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31162         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31163         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31164         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31165         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31166         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31167         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31168         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31169         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31170         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31171         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31172         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31173         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31174         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31175         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31176         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31177         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31178         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31179         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31180         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31181         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31183         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31185         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31187         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31189         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31193         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31195         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31197         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31199         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31203         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31205         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31206         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31207         (__libc_vfork): Define the function under this name.
31208         [!NOT_IN_libc] (__vfork): Make this an alias.
31209         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31211         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31212         (__libc_vfork): Define the function under this name.
31213         [!NOT_IN_libc] (__vfork): Make this an alias.
31214         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31215         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31216         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31219         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31221         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31222         code that was previously under [RESET_PID].
31223         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31224         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31227         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31228         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31230         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31231         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31232         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31233         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31234         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31235         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31236         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31237         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31238         Moved ...
31239         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31240         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31241         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31242         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31243         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31244         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31245         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31246         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31247         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31248         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31251         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31252         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31253         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31254         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31255         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31256         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31257         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31258         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31259         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31260         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31261         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31262         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31263         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31264         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31265         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31266         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31267         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31269 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31271         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31272         that was previously under [RESET_PID].
31273         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31275 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31277         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31278         not undefine and redefine.
31279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31280         [O_CLOEXEC]: Make code unconditional.
31281         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31282         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31283         <kernel-features.h>.
31284         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31285         conditional variable definition.
31286         (shm_open) [O_CLOEXEC]: Make code unconditional.
31287         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31288         code.
31290         * configure.ac (USE_REGPARMS): Don't define here.
31291         * configure: Regenerated.
31292         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31293         * sysdeps/i386/configure: Regenerated.
31295         * nptl/createthread.c: Don't include kernel-features.h.
31296         * nptl/pthread_cancel.c: Likewise.
31297         * nptl/pthread_condattr_setclock.c: Likewise.
31298         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31299         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31300         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31301         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31302         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31303         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31304         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31307         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31308         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31309         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31310         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31311         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31312         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31313         * nscd/gai.c: Likewise.
31314         * nss/nss_db/db-open.c: Likewise.
31315         * sysdeps/generic/ldsodefs.h: Likewise.
31316         * sysdeps/sh/nptl/tls.h: Likewise.
31317         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31318         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31319         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31320         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31321         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31322         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31323         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31324         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31325         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31326         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31327         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31328         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31329         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31330         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31331         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31332         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31333         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31334         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31335         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31336         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31339         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31340         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31345         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31346         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31347         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31348         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31349         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31350         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31351         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31352         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31353         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31354         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31355         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31356         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31357         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31358         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31359         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31360         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31361         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31362         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31363         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31364         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31365         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31366         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31367         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31368         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31369         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31370         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31371         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31372         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31373         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31374         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31397         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31398         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31399         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31400         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31401         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31402         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31404         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31405         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31406         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31407         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31408         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31409         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31410         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31411         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31412         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31413         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31414         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31415         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31416         * sysdeps/unix/sysv/linux/system.c: Likewise.
31417         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31418         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31421         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31423         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31425         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31426         * configure: Regenerated.
31427         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31429         * configure.ac (base_machine): Do not set specially for particular
31430         machines here.
31431         * configure: Regenerated.
31432         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31433         settings from configure.ac.
31434         * sysdeps/i386/preconfigure: New file.
31435         * sysdeps/s390/preconfigure: Likewise.
31436         * sysdeps/sh/preconfigure: Likewise.
31437         * sysdeps/sparc/preconfigure: Likewise.
31439 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31441         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31442         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31443         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31444         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31445         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31446         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31447         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31448         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31449         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31450         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31451         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31452         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31453         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31455         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31458         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31459         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31461         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31462         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31463         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31464         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31465         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31466         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31467         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31468         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31469         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31470         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31471         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31472         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31473         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31474         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31475         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31476         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31477         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31478         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31479         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31480         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31482         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31484         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31490         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31492         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31494         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31496         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31497         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31498         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31501         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31503         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31505         Moved ...
31506         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31507         ... here.
31508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31509         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31513         Moved ...
31514         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31516         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31518         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31520         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31522         Moved ...
31523         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31525         Moved ...
31526         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31528         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31530         Moved ...
31531         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31533         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31535         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31537         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31539         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31541         Moved ...
31542         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31543         ... here.
31544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31545         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31547         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31549         Moved ...
31550         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31552         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31554         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31558         Moved ...
31559         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31561         Moved ...
31562         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31564         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31566         Moved ...
31567         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31571         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31573 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31575         * timezone/checktab.awk: Update from tzcode 2014e.
31576         * timezone/private.h: Likewise.
31577         * timezone/tzfile.h: Likewise.
31578         * timezone/zdump.c: Likewise.
31579         * timezone/zic.c: Likewise.
31581         * sysdeps/unix/sysv/linux/kernel-features.h
31582         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31584         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31585         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31586         Remove conditional code.
31588 2014-06-25  Will Newton  <will.newton@linaro.org>
31590         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31591         (_dl_arm_cap_flags): Add HWCAP2 values.
31592         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31593         (_DL_HWCAP_COUNT): Increase to 37.
31594         (_DL_HWCAP_LAST): New define.
31595         (_DL_HWCAP2_LAST): New define.
31596         (_dl_procinfo): Add support for printing
31597         AT_HWCAP2 entries.
31598         (_dl_string_hwcap): Use _dl_hwcap_string.
31600 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31604 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31606         * README: Do not mention ports directory.
31608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31609         Remove macro.
31610         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31611         <kernel-features.h>.
31612         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31613         conditional variable definition.
31614         (__futimes): Update comment.
31615         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31616         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31618         [BZ #16560]
31619         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31620         arguments close to 0.
31621         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31622         Likewise.
31623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31624         Likewise.
31625         * math/auto-libm-test-in: Add more tests of exp10.
31626         * math/auto-libm-test-out: Regenerated.
31627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31629         * sysdeps/unix/sysv/linux/kernel-features.h
31630         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31631         * sysdeps/unix/sysv/linux/readv.c: Do not include
31632         <kernel-features.h>.
31633         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31634         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31635         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31636         unconditional.
31637         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31638         conditional code.
31639         * sysdeps/unix/sysv/linux/writev.c: Do not include
31640         <kernel-features.h>.
31641         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31642         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31643         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31644         unconditional.
31645         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31646         conditional code.
31648 2014-06-25  Will Newton  <will.newton@linaro.org>
31650         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31651         comment changes throughout the file.  Remove checks
31652         for HAVE_*_H definitions that are not required.
31653         (__gen_tempname): Call abort if an unknown kind value is
31654         passed.
31656 2014-06-25  Andreas Schwab  <schwab@suse.de>
31658         [BZ #17086]
31659         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31660         scalbln, scalblnf, scalblnl in libc.
31662 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31664         [BZ #17086]
31665         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31666         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31667         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31669 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31671         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31672         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31673         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31674         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31675         Update #include.
31676         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31677         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31678         Update #include.
31679         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31680         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31681         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31682         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31683         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31684         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31685         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31686         * sysdeps/x86/bits/semaphore.h: ... here.
31687         * sysdeps/x86/nptl/elide.h: Moved ...
31688         * sysdeps/x86/elide.h: ... here.
31689         * sysdeps/x86_64/nptl/Implies: File removed.
31690         * sysdeps/i386/nptl/Implies: File removed.
31692 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31694         [BZ #16539]
31695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31696         return the argument for normal arguments with exponent below -64.
31697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31698         Likewise.
31699         * math/auto-libm-test-in: Add another test of expm1.
31700         * math/auto-libm-test-out: Regenerated.
31702         [BZ #16287]
31703         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31704         calling __erfcl for arguments at least 16.
31705         * math/auto-libm-test-in: Add more tests of erf.
31706         * math/auto-libm-test-out: Regenerated.
31708         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31709         individual architectures.
31710         * sysdeps/unix/sysv/linux/configure: Regenerated.
31711         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31712         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31713         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31714         (ldd_rewrite_script): Define variable.
31715         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31717         file.
31718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31719         generated file.
31720         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31721         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31722         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31723         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31724         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31725         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31726         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31727         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31729 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31731         [BZ #17084]
31732         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31733         Rename member __data.d to __data.__elision_data.
31735 2014-06-24  Wilco  <wdijkstr@arm.com>
31737         * NEWS: Add 16918 to fixed bug list.
31739 2014-06-24  Wilco  <wdijkstr@arm.com>
31741         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31743 2014-06-24  Wilco  <wdijkstr@arm.com>
31745         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31746         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31747         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31748         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31749         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31750         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31751         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31752         Use _FPU_MASK_RM.
31754 2014-06-24  Wilco  <wdijkstr@arm.com>
31756         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31758 2014-06-24  Wilco  <wdijkstr@arm.com>
31760         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31761         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31762         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31763         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31765 2014-06-24  Wilco  <wdijkstr@arm.com>
31767         [BZ #16918]
31768         * sysdeps/arm/feupdateenv.c (feupdateenv):
31769         Rewrite to reduce FPSCR accesses and fix return value.
31771 2014-06-24  Wilco  <wdijkstr@arm.com>
31773         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31774         Optimize to avoid unnecessary FPSCR writes.
31775         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31776         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31777         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31778         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31780 2014-06-24  Wilco  <wdijkstr@arm.com>
31782         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31783         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31784         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31785         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31786         Call libc_fetestexcept_vfp.
31787         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31788         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31789         __SOFTFP__ ifdef so that they can be built for softfp.
31791 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31793         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31794         argument type signed char.
31796         * Makerules (check-abi): Dump diff of symlist if the test
31797         fails.
31799 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31801         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31802         using abort.
31804         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31805         Remove unused variable ST.
31807 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31809         [BZ #16354]
31810         [BZ #17061]
31811         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31812         small arguments before calling __expm1.
31813         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31814         small arguments before calling __expm1f.
31815         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31816         small arguments before calling __expm1l.
31817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31818         Likewise.
31819         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31820         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31821         spurious underflow for some cosh tests.
31822         * math/auto-libm-test-out: Regenerated.
31823         * sysdeps/i386/fpu/libm-test-ulps: Update.
31825         [BZ #17050]
31826         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31827         (__ieee754_y1): Set errno if return value overflows.
31828         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31829         (__ieee754_y1f): Set errno if return value overflows.
31830         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31831         (__ieee754_y1l): Set errno if return value overflows.
31832         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31833         (__ieee754_y1l): Set errno if return value overflows.
31834         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31835         * math/auto-libm-test-out: Regenerated.
31837         * math/gen-auto-libm-tests.c: Document use of
31838         ignore-zero-inf-sign.
31839         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31840         (input_flags): Add ignore-zero-inf-sign.
31841         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31842         * math/gen-libm-test.pl (generate_testfile): Handle
31843         ignore-zero-inf-sign.
31844         * math/auto-libm-test-in: Mark some cpow tests with
31845         ignore-zero-inf-sign and some with xfail-rounding.
31846         * math/auto-libm-test-out: Regenerated.
31847         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31848         * sysdeps/i386/fpu/libm-test-ulps: Update.
31849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31851         [BZ #16315]
31852         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31853         overflowing or underflowing operations take place with sign of
31854         result.
31855         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31856         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31857         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31858         (__ieee754_pow): Recompute overflowing and underflowing results in
31859         original rounding mode.
31860         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31861         (__powl_helper): Allow negative argument X and scale negated value
31862         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31863         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31864         overflowing or underflowing operations take place with sign of
31865         result.
31866         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31867         Include <math.h>.
31868         * math/auto-libm-test-in: Add more tests of pow.
31869         * math/auto-libm-test-out: Regenerated.
31870         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31871         (pow_tonearest_test_data): Remove.
31872         (pow_test_tonearest): Likewise.
31873         (pow_towardzero_test_data): Likewise.
31874         (pow_test_towardzero): Likewise.
31875         (pow_downward_test_data): Likewise.
31876         (pow_test_downward): Likewise.
31877         (pow_upward_test_data): Likewise.
31878         (pow_test_upward): Likewise.
31879         (main): Don't call removed functions.
31880         * sysdeps/i386/fpu/libm-test-ulps: Update.
31881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31883 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31886         Moved ...
31887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31889         Moved ...
31890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31892         Moved ...
31893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31895         Moved ...
31896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31898         File removed.
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31900         File removed.
31901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31902         File removed.
31903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31904         File removed.
31905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31906         File removed.
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31908         File removed.
31909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31910         File removed.
31911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31912         File removed.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31914         File removed.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31916         File removed.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31918         File removed.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31920         File removed.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31922         Moved ...
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31925         Moved ...
31926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31927         ... here.
31928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31929         Moved ...
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31932         Moved ...
31933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31935         Moved ...
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31938         Moved ...
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31941         Moved ...
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31944         Moved ...
31945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31947         Moved ...
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31951         ... here.
31952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31956         Moved ...
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31958         ... here.
31959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31960         Moved ...
31961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31962         ... here.
31963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31966         ... here.
31967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31971         Moved ...
31972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31976         Moved ...
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31978         ... here.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31980         Moved ...
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31982         ... here.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31984         Moved ...
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31987         Moved ...
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31993         Moved ...
31994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31996         Moved ...
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31998         ... here.
31999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32000         Moved ...
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32003         Moved ...
32004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32006         Moved ...
32007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32009         Moved ...
32010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32014         Moved ...
32015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32017         Moved ...
32018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32020         Moved ...
32021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32022         ... here.
32023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32024         Moved ...
32025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32026         ... here.
32027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32028         Moved ...
32029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32030         ... here.
32031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32032         Moved ...
32033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32035         Moved ...
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32038         Moved ...
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32041         Moved ...
32042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32043         ... here.
32044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32045         Moved ...
32046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32047         ... here.
32048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32049         Moved ...
32050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32051         ... here.
32052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32053         Moved ...
32054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32056         Moved ...
32057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32059 2014-06-23  Will Newton  <will.newton@linaro.org>
32060             Wilco  <wdijkstr@arm.com>
32062         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32063         implementation.  Include get-rounding-mode.h.
32064         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32065         [!libc_feholdsetround_noex_ctx]: Define
32066         libc_feholdsetround_noex_ctx.
32067         [!libc_feholdsetround_noexf_ctx]: Define
32068         libc_feholdsetround_noexf_ctx.
32069         [!libc_feholdsetround_noexl_ctx]: Define
32070         libc_feholdsetround_noexl_ctx.
32071         (libc_feholdsetround_ctx): New function.
32072         (libc_feresetround_ctx): New function.
32073         (libc_feholdsetround_noex_ctx): New function.
32074         (libc_feresetround_noex_ctx): New function.
32076 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32078         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32079         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32080         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32081         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32082         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32083         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32085         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32086         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32087         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32088         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32089         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32090         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32092         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32094         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32096         Moved ...
32097         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32098         ... here.
32099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32100         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32102         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32107         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32109         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32111         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32113         Moved ...
32114         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32116         Moved ...
32117         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32119         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32121         Moved ...
32122         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32124         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32125         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32126         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32127         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32128         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32130         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32132         Moved ...
32133         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32134         ... here.
32135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32136         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32138         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32142         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32144         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32146         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32148         Moved ...
32149         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32151         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32153         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32155         Moved ...
32156         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32158         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32159         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32160         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32162         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32163         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32164         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32165         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32166         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32167         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32168         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32169         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32171         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32172         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32173         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32174         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32175         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32177         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32178         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32179         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32180         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32181         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32182         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32183         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32184         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32185         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32186         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32187         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32188         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32189         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32191 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32194         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32195         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32196         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32197         (IPV6_PMTUDISC_INTERFACE): Likewise.
32198         (IPV6_PMTUDISC_OMIT): Likewise.
32200 2014-06-23  Andreas Schwab  <schwab@suse.de>
32202         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32203         Remove unused errout label.
32205 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32207         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32208         macro: hardware supports Vector Crypto instructions.
32210 2014-06-23  Will Newton  <will.newton@linaro.org>
32212         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32213         rather than __builtin_expect.
32215         * elf/dl-lookup.c (undefined_msg): Remove variable.
32216         (_dl_lookup_symbol_x): Replace undefined_msg with string
32217         literal.
32219         * elf/dl-lookup.c (do_lookup_unique): New function.
32220         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32221         to a separate function.
32223 2014-06-23  Andreas Schwab  <schwab@suse.de>
32225         [BZ #17079]
32226         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32227         before reading the next line.
32229 2014-06-23  Will Newton  <will.newton@linaro.org>
32231         * test-skeleton.c (signal_handler): Use printf and %m
32232         rather than perror.  Use printf rather than fprintf to
32233         stderr.  Use puts rather than fputs to stderr.
32234         (main): Likewise.
32236 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32238         * nscd/nscd.c (thread_info_t): Remove typedef.
32239         (thread_info): Remove variable.
32241 2014-06-21  Allan McRae  <allan@archlinux.org>
32243         * NEWS: Mention CVE-2014-4043.
32245 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32247         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32248         * nptl/smp.h: ... here.
32250         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32252         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32253         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32254         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32255         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32257         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32258         * nptl/stack-aliasing.h: New file.
32259         * sysdeps/i386/i686/stack-aliasing.h: New file.
32260         * sysdeps/i386/i686/nptl/Makefile: File removed.
32261         * sysdeps/x86_64/stack-aliasing.h: New file.
32262         * sysdeps/x86_64/nptl/Makefile
32263         (CFLAGS-pthread_create.c): Variable removed.
32265         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32266         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32267         old file.
32268         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32269         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32270         old file.
32272 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32275         (__ASSUME_SIGFRAME_V2): Remove macro.
32276         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32277         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32278         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32279         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32280         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32281         Declare as function.  Remove conditional macro definitions.
32282         (__default_rt_sa_restorer): Likewise.
32283         (__default_sa_restorer_v1): Remove declaration.
32284         (__default_sa_restorer_v2): Likewise.
32285         (__default_rt_sa_restorer_v1): Likewise.
32286         (__default_rt_sa_restorer_v2): Likewise.
32287         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32288         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32289         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32291 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32293         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32294         (libpthread-routines): Add sysdep.
32295         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32296         * sysdeps/unix/sysv/linux/sparc/Versions
32297         (libpthread: GLIBC_2.3.3): New version set.
32298         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32299         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32300         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32302         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32303         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32304         Moved ...
32305         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32307         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32308         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32309         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32310         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32311         * sysdeps/sparc/nptl/sem_init.c: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32313         * sysdeps/sparc/nptl/sem_post.c: ... here.
32314         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32315         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32316         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32317         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32318         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32320         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32321         (libpthread-routines): Add cpu_relax.
32322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32323         File removed.
32324         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32325         (librt: GLIBC_2.3.3): New version set.
32326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32327         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32328         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32329         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32332         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32334         Moved ...
32335         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32337         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32339         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32341         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32343         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32345         Moved ...
32346         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32347         Update #include.
32348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32349         Moved ...
32350         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32351         Update #include.
32352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32353         Moved ...
32354         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32355         Update #include.
32356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32357         Moved ...
32358         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32359         Update #include.
32360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32361         Moved ...
32362         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32363         Update #include.
32364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32365         Moved ...
32366         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32367         Update #include.
32368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32369         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32375         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32377         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32379         Moved ...
32380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32384         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32386 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32388         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32389         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32390         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32391         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32392         * nscd/nscd.c: Likewise.
32393         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32394         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32395         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32396         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32398         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32399         <kernel-features.h>.
32400         (init_mq_netlink): Remove conditional have_sock_cloexec
32401         definitions.  Remove code conditional on have_sock_cloexec < 0.
32402         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32403         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32404         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32405         <kernel-features.h>.
32406         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32407         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32409 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32412         Add tests for memset_chk and memset.
32414         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32415         with AVX2_Usable.
32417 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32419         [BZ #16046]
32420         * elf/tst-dl-iter-static.c: New file.
32421         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32423         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32424         error.
32426 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32428         * sysdeps/unix/sysv/linux/kernel-features.h
32429         (__ASSUME_F_GETOWN_EX): Remove macro.
32430         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32431         <kernel-features.h>.
32432         (miss_F_GETOWN_EX): Remove variable or macro.
32433         (do_fcntl): Do not check miss_F_GETOWN_EX.
32434         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32437         Remove macro.
32438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32439         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32440         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32442         * sysdeps/unix/sysv/linux/kernel-features.h
32443         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32444         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32445         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32446         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32448 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32450         [BZ #17075]
32451         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32452         Fix calculation of the symbol's value.
32453         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32454         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32455         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32456         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32457         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32458         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32459         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32460         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32461         (modules-names): Add `tst-armtlsdescmod',
32462         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32463         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32464         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32465         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32466         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32467         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32468         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32469         ($(objpfx)tst-armtlsdescloc): New dependency.
32470         ($(objpfx)tst-armtlsdescextnow): Likewise.
32471         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32472         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32473         TLS scheme support.
32474         * sysdeps/arm/configure: Regenerate.
32476 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32478         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32479         (__atfct_seterrno_2): Likewise.
32480         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32481         <kernel-features.h>.
32482         (__ASSUME_ATFCTS): Do not undefine and redefine.
32483         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32484         (__have_atfcts): Remove conditional definition.
32485         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32486         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32487         unreachable if [__ASSUME_ATFCTS].
32488         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32489         not undefine and redefine.
32490         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32491         <kernel-features.h>.
32492         (faccessat) [__NR_faccessat]: Make code unconditional.
32493         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32494         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32495         <kernel-features.h>.
32496         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32497         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32498         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32499         <kernel-features.h>.
32500         (fchownat) [__NR_fchownat]: Make code unconditional.
32501         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32502         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32503         <kernel-features.h>.
32504         (futimesat) [__NR_futimesat]: Make code unconditional.
32505         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32506         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32507         <kernel-features.h>.
32508         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32509         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32510         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32511         <kernel-features.h>.
32512         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32513         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32514         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32515         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32516         <kernel-features.h>.
32517         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32518         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32519         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32520         <kernel-features.h>.
32521         (linkat) [__NR_linkat]: Make code unconditional.
32522         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32523         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32524         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32525         <kernel-features.h>.
32526         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32527         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32528         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32529         <kernel-features.h>.
32530         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32531         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32532         * sysdeps/unix/sysv/linux/openat.c: Do not include
32533         <kernel-features.h>.
32534         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32535         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32536         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32537         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32538         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32539         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32540         <kernel-features.h>.
32541         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32542         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32543         result of INLINE_SYSCALL directly, not via int variable.
32544         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32545         <kernel-features.h>.
32546         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32547         (renameat) [__NR_renameat]: Make code unconditional.
32548         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32549         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32550         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32551         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32552         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32553         (__ASSUME_ATFCTS): Do not undefine and redefine.
32554         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32555         <kernel-features.h>.
32556         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32557         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32558         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32559         <kernel-features.h>.
32560         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32561         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32562         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32563         (__ASSUME_ATFCTS): Do not undefine and redefine.
32564         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32565         <kernel-features.h>.
32566         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32567         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32568         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32569         <kernel-features.h>.
32570         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32571         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32573 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32575         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32577 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32579         [BZ #17069]
32580         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32581         constructed tree before returning error.
32582         * posix/bug-regexp36.c: Expand test case.
32584 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32586         [BZ #6803]
32587         * math/libm-test.inc (scalbln_test_date):
32588         Add errno expectations.
32589         * math/w_scalblnf.c: New File.
32590         Add wrapper which checks for setting errno to ERANGE.
32591         Add weak_alias for corresponding scalbln function.
32592         * math/w_scalbln.c: Likewise.
32593         * math/w_scalblnl.c: Likewise.
32594         * math/Makefile (libm-calls): Add w_scalbln.
32595         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32596         Remove weak_alias for corresponding scalbln function.
32597         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32599         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32601         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32602         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32603         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32604         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32605         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32606         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32607         Remove long_double_symbol for scalblnl function in libm, libc.
32608         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32609         Add wrapper which checks for setting errno to ERANGE.
32610         Add long_double_symbol for scalblnl function in libm, libc.
32611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32612         Remove long_double_symbol for scalblnl in libm.
32613         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32614         Add wrapper which checks for setting errno to ERANGE.
32615         Add long_double_symbol for scalblnl function in libm.
32616         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32617         Do not use wrapper because of own implementation.
32619 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32621         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32622         3 bytes for __pad1 for x32.
32623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32625 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32626             H.J. Lu  <hongjiu.lu@intel.com>
32628         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32629         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32630         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32632         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32634 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32636         [BZ #17069]
32637         * posix/regcomp.c (parse_expression): Deallocate partially
32638         constructed tree before returning error.
32639         * posix/Makefile.c (tests): Add bug-regex36.
32640         (generated): Add bug-regex36.mtrace.
32641         (tests-special): Add $(objpfx)bug-regex36-mem.out
32642         (bug-regex36-ENV): New variable.
32643         ($(objpfx)bug-regex36-mem.out): New rule.
32644         * posix/bug-regex36.c: New file.
32646 2014-06-19  Will Newton  <will.newton@linaro.org>
32648         * malloc/malloc.c (systrim): If extra is zero then return
32649         early.
32651 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32653         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32655 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32657         * sysdeps/aarch64/strchr.S: New file.
32659 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32661         [BZ #17022]
32662         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32663         from arguments -2 or below.
32664         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32665         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32667 2014-06-18  Andreas Schwab  <schwab@suse.de>
32669         [BZ #17062]
32670         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32671         of a bracket expr not to run off the end of the string.
32672         * posix/Makefile (tests): Add tst-fnmatch3.
32673         * posix/tst-fnmatch3.c: New file.
32675 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32677         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32678         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32679         [$(cross-compiling) = no]: Likewise.
32680         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32681         [$(cross-compiling) = no]: Likewise.
32683 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32685         [BZ #17031]
32686         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32687         double, adjusted for any remainder from the high double.
32688         * math/libm-test.inc (nearbyint): Add tests.
32689         (rint): Likewise.
32691 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32693         * nptl/sysdeps/powerpc/Makefile: Moved ...
32694         * sysdeps/powerpc/nptl/Makefile: ... here.
32695         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32696         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32697         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32698         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32699         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32700         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32701         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32702         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32703         * nptl/sysdeps/powerpc/tls.h: Moved ...
32704         * sysdeps/powerpc/nptl/tls.h: ... here.
32706 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32708         [BZ #16681]
32709         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32710         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32711         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32712         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32713         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32714         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32715         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32716         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32717         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32719 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32721         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32723 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32725         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32726         defined operator.
32728         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32729         $TIMEOUTFACTOR.
32731 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32733         [BZ #17058]
32734         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32735         non-executed part of the test.
32737 2014-06-16  Andreas Schwab  <schwab@suse.de>
32739         * string/bits/string2.h (strdup, strndup): Update feature guard.
32741 2014-06-14  David S. Miller  <davem@davemloft.net>
32743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32745 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32747         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32748         that was previously under [RESET_PID].
32749         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32751         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32752         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32753         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32754         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32755         (__libc_vfork): New strong alias.
32756         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32758 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32760         * sysdeps/generic/elide.h: New file.
32762 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32764         * Makefile (installed-headers): Adjust path of pthread.h header.
32766 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32768         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32769         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32770         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32771         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32773         * nptl/sysdeps/s390/Makefile: Moved ...
32774         * sysdeps/s390/nptl/Makefile: ... here.
32775         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32776         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32777         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32778         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32779         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32780         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32781         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32782         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32783         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32784         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32785         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32786         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32787         * nptl/sysdeps/s390/tls.h: Moved ...
32788         * sysdeps/s390/nptl/tls.h: ... here.
32790         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32791         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32793 2014-06-13  David S. Miller  <davem@davemloft.net>
32795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32802         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32803         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32804         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32805         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32806         Remove RESET_PID cpp guards.
32807         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32808         Remove RESET_PID cpp guards.
32809         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32811 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32813         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32814         __sp to uintptr_t.
32816 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32839         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32840         (pthread_rwlock_rdlock): Add elision.
32841         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32842         (pthread_rwlock_wrlock): Add elision.
32843         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32844         (pthread_rwlock_trywrlock): Add elision.
32845         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32846         (pthread_rwlock_tryrdlock): Add elision.
32847         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32848         (pthread_rwlock_tryrdlock): Add elision unlock.
32849         * nptl/sysdeps/pthread/pthread.h:
32850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32851         (PTHREAD_RWLOCK_INITIALIZER,
32852         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32853         Handle new elision field.
32854         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32855         * sysdeps/arm/nptl/bits/pthreadtypes.h
32856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32857         * sysdeps/sh/nptl/bits/pthreadtypes.h
32858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32859         * sysdeps/tile/nptl/bits/pthreadtypes.h
32860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32861         * sysdeps/a/nptl/bits/pthreadtypes.h
32862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32863         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32865         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32867         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32869         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32871         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32873         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32875         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32877         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32879         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32880         (elision_init): Set try_xbegin to zero when no RTM.
32881         * sysdeps/x86/nptl/bits/pthreadtypes.h
32882         (pthread_rwlock_t): Change __pad1 to __rwelision.
32883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32885 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32887         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32888         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32889         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32890         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32892 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32894         [BZ #16996]
32895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32896         that the cached result has been set before returning it.
32898 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32900         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32901         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32903         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32904         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32905         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32907         * nptl/sysdeps/sparc/Makefile: Moved ...
32908         * sysdeps/sparc/nptl/Makefile: ... here.
32909         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32910         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32911         * nptl/sysdeps/sparc/tls.h: Moved ...
32912         * sysdeps/sparc/nptl/tls.h: ... here.
32913         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32914         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32915         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32916         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32917         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32918         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32919         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32920         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32921         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32922         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32923         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32924         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32925         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32926         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32927         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32928         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32929         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32930         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32931         Update #include.
32932         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32934         Update #include.
32935         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32937         Update #include.
32938         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32940         Update #include.
32942         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32944         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32945         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32947         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32948         (struct list_links): Type removed.
32949         (struct thread_node, struct timer_node): Replace struct list_links
32950         with struct list_head.
32951         (list_unlink_ip): Likewise.
32952         * sysdeps/pthread/timer_routines.c
32953         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32954         (list_append, list_insbefore): Likewise.
32955         (list_init): Function removed.
32956         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32957         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32958         * sysdeps/pthread/Makefile: ... here, new file.
32960         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32961         * sysdeps/nptl/Implies: ... here.
32962         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32963         * nptl/sysdeps/pthread/list.h: Moved ...
32964         * include/list.h: ... here.
32965         * nptl/sysdeps/pthread/createthread.c: Moved ...
32966         * nptl/createthread.c: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32968         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32969         * nptl/pt-longjmp.c: ... here.
32970         * nptl/sysdeps/pthread/Makefile: Moved ...
32971         * sysdeps/nptl/Makefile: ... here.
32972         * nptl/sysdeps/pthread/Subdirs: Moved ...
32973         * sysdeps/nptl/Subdirs: ... here.
32974         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32975         * sysdeps/nptl/aio_misc.h: ... here.
32976         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32977         * sysdeps/nptl/bits/libc-lock.h: ... here.
32978         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32979         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32980         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32981         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32982         * nptl/sysdeps/pthread/configure: Moved ...
32983         * sysdeps/nptl/configure: ... here.
32984         * nptl/sysdeps/pthread/configure.ac: Moved ...
32985         * sysdeps/nptl/configure.ac: ... here.
32986         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32987         * sysdeps/nptl/gai_misc.h: ... here.
32988         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32989         * sysdeps/nptl/librt-cancellation.c: ... here.
32990         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32991         * sysdeps/nptl/malloc-machine.h: ... here.
32992         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32993         * sysdeps/nptl/pthread-functions.h: ... here.
32994         * nptl/sysdeps/pthread/pthread.h: Moved ...
32995         * sysdeps/nptl/pthread.h: ... here.
32996         * nptl/sysdeps/pthread/setxid.h: Moved ...
32997         * sysdeps/nptl/setxid.h: ... here.
32998         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32999         * sysdeps/nptl/sigfillset.c: ... here.
33000         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33001         * sysdeps/nptl/tcb-offsets.h: ... here.
33002         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33003         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33004         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33005         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33006         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33007         * sysdeps/pthread/allocalim.h: ... here.
33008         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33009         * sysdeps/pthread/bits/sigthread.h: ... here.
33010         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33011         * sysdeps/pthread/flockfile.c: ... here.
33012         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33013         * sysdeps/pthread/ftrylockfile.c: ... here.
33014         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33015         * sysdeps/pthread/funlockfile.c: ... here.
33016         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33017         * sysdeps/pthread/posix-timer.h: ... here.
33018         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33019         * sysdeps/pthread/timer_create.c: ... here.
33020         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33021         * sysdeps/pthread/timer_delete.c: ... here.
33022         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33023         * sysdeps/pthread/timer_getoverr.c: ... here.
33024         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33025         * sysdeps/pthread/timer_gettime.c: ... here.
33026         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33027         * sysdeps/pthread/timer_routines.c: ... here.
33028         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33029         * sysdeps/pthread/timer_settime.c: ... here.
33030         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33031         * sysdeps/pthread/tst-timer.c: ... here.
33032         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33033         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33035         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33036         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33038         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33039         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33040         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33041         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33042         Update #include target.
33043         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33044         * sysdeps/i386/i686/nptl/Makefile: ... here.
33045         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33046         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33047         Update #include target.
33048         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33049         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33050         * nptl/sysdeps/i386/Makefile: Moved ...
33051         * sysdeps/i386/nptl/Makefile: ... here.
33052         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33053         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33054         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33055         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33056         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33057         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33058         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33059         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33060         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33061         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33062         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33063         * nptl/sysdeps/i386/tls.h: Moved ...
33064         * sysdeps/i386/nptl/tls.h: ... here.
33066         * sysdeps/sh/Makefile [$(subdir) = csu]
33067         (gen-as-const-headers): Add tcb-offsets.sym.
33068         * nptl/sysdeps/sh/Makefile: File removed.
33069         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33070         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33071         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33072         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33073         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33074         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33075         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33076         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33077         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33078         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33079         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33080         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33081         * nptl/sysdeps/sh/tls.h: Moved ...
33082         * sysdeps/sh/nptl/tls.h: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33084         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33085         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33086         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33087         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33088         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33090         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33091         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33092         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33094         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33096         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33098         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33100         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33102         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33104         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33108         Moved ...
33109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33111         Moved ...
33112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33117         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33118         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33119         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33120         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33121         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33122         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33123         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33124         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33125         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33126         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33128         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33129         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33130         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33132 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33134         * posix/spawn_faction_addopen.c: Include string.h.
33136 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33138         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33139         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33140         * nptl/sysdeps/x86_64/Makefile: Moved ...
33141         * sysdeps/x86_64/nptl/Makefile: ... here.
33142         * nptl/sysdeps/x86_64/configure: Moved ...
33143         * sysdeps/x86_64/nptl/configure: ... here.
33144         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33145         * sysdeps/x86_64/nptl/configure.ac: ... here.
33146         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33147         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33148         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33149         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33150         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33151         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33152         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33153         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33154         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33155         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33156         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33157         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33158         * nptl/sysdeps/x86_64/tls.h: Moved ...
33159         * sysdeps/x86_64/nptl/tls.h: ... here.
33160         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33161         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33162         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33163         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33165         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33167 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33171 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33173         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33174         type.
33175         [POSIX] (off_t): Likewise.
33176         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33177         [POSIX] (S_ISBLK): Require macro.
33178         [POSIX] (S_ISCHR): Likewise.
33179         [POSIX] (S_ISDIR): Likewise.
33180         [POSIX] (S_ISFIFO): Likewise.
33181         [POSIX] (S_ISREG): Likewise.
33182         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33183         optional-macro.
33184         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33185         type.
33186         [POSIX] (time_t): Likewise.
33187         [POSIX] (timer_t): Likewise.
33189 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33191         [BZ #17048]
33192         * posix/spawn_int.h (struct __spawn_action): Make the path string
33193         non-const to support deallocation.
33194         * posix/spawn_faction_addopen.c
33195         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33196         * posix/spawn_faction_destroy.c
33197         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33198         path in all spawn_do_open actions.
33199         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33200         posix_spawn_file_actions_addopen.
33202 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33204         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33205         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33206         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33207         conditional code always true.
33208         (__libc_vfork): New alias.
33210 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33212         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33213         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33215         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33217         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33218         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33220         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33223         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33224         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33226 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33228         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33229         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33230         multiarch strcmp for PPC64.
33231         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33232         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33234         multiarch optimizations.
33235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33236         (__libc_ifunc_impl_list): Likewise.
33238 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33240         * benchtests/scripts/validate_benchout.py: New script.
33241         * benchtests/Makefile (bench-func): Call it.
33242         * benchtests/scripts/benchout.schema.json: New file.
33244 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33246         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33247         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33248         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33249         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33250         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33251         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33252         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33253         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33254         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33255         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33256         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33258         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33259         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33260         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33261         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33263         Moved ...
33264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33265         ... here.
33266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33267         Moved ...
33268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33270         Moved ...
33271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33272         ... here.
33273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33274         Moved ...
33275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33276         ... here.
33277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33278         Moved ...
33279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33281         Moved ...
33282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33283         ... here.
33284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33285         Moved ...
33286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33287         ... here.
33288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33289         Moved ...
33290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33292         Moved ...
33293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33294         ... here.
33295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33296         Moved ...
33297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33298         ... here.
33299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33300         Moved ...
33301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33302         ... here.
33303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33304         Moved ...
33305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33307         Moved ...
33308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33309         ... here.
33310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33311         Moved ...
33312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33313         ... here.
33314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33315         Moved ...
33316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33317         ... here.
33318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33319         Moved ...
33320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33322         Moved ...
33323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33324         ... here.
33325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33326         Moved ...
33327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33328         ... here.
33329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33330         Moved ...
33331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33333         Moved ...
33334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33335         ... here.
33336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33337         Moved ...
33338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33340         Moved ...
33341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33343         Moved ...
33344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33345         ... here.
33346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33347         Moved ...
33348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33349         ... here.
33350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33351         Moved ...
33352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33353         ... here.
33354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33355         Moved ...
33356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33358         Moved ...
33359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33360         ... here.
33361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33362         Moved ...
33363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33364         ... here.
33365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33366         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33368         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33370         Moved ...
33371         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33372         ... here.
33373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33374         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33378         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33380         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33384         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33386         Moved ...
33387         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33389         Moved ...
33390         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33394         Moved ...
33395         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33397         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33398         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33399         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33400         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33401         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33403 2014-06-10  Wilco  <wdijkstr@arm.com>
33405         * math/test-fenv-return.c: New file.
33406         * math/Makefile: Add new test test-fenv-return.
33408 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33410         [BZ #17042]
33411         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33412         when x - 1 is zero.
33413         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33414         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33415         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33416         0.0L for an argument of 1.0L.
33417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33418         Likewise.
33419         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33420         value when x - 1 is zero.
33421         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33422         * sysdeps/i386/fpu/libm-test-ulps: Update.
33423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33425 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33427         [BZ #15119]
33428         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33430 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33432         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33433         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33435 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33437         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33438         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33440         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33441         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33443         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33444         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33446         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33447         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33449         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33450         if not already defined.
33451         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33452         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33453         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33454         (TLS_INIT_TP): Use it.
33455         (TLS_DEFINE_INIT_TP): New macro.
33456         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33458 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33460         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33461         constant.
33462         [POSIX] (IXANY): Likewise.
33463         [POSIX] (OLCUC): Likewise.
33464         [POSIX || POSIX2008] (CBAUD): Do not allow.
33465         [POSIX || POSIX2008] (DEFECHO): Likewise.
33466         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33467         [POSIX || POSIX2008] (ECHOKE): Likewise.
33468         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33469         [POSIX || POSIX2008] (EXTA): Likewise.
33470         [POSIX || POSIX2008] (EXTB): Likewise.
33471         [POSIX || POSIX2008] (FLUSHO): Likewise.
33472         [POSIX || POSIX2008] (LOBLK): Likewise.
33473         [POSIX || POSIX2008] (PENDIN): Likewise.
33474         [POSIX || POSIX2008] (SWTCH): Likewise.
33475         [POSIX || POSIX2008] (VDISCARD): Likewise.
33476         [POSIX || POSIX2008] (VDSUSP): Likewise.
33477         [POSIX || POSIX2008] (VLNEXT): Likewise.
33478         [POSIX || POSIX2008] (VREPRINT): Likewise.
33479         [POSIX || POSIX2008] (VSTATUS): Likewise.
33480         [POSIX || POSIX2008] (VWERASE): Likewise.
33481         (B*): Change to B[0123456789]*.
33482         * conform/data/time.h-data [POSIX || UNIX98]
33483         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33484         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33485         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33486         [POSIX] (tm_*): Do not allow.
33488 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33490         * Makefile (install): Don't set LANGUAGE.
33491         * Makefile.in (install): Likewise.
33492         * assert/Makefile (test-assert-ENV): Remove variable.
33493         (test-assert-perr-ENV): Likewise.
33494         * elf/Makefile (neededtest4-ENV): Likewise.
33495         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33496         [$(cross-compiling) = no]: Don't set LANGUAGE.
33497         * io/ftwtest-sh (LANG): Remove variable.
33498         * libio/Makefile (tst-widetext-ENV): Likewise.
33499         * manual/install.texi (Running make install): Don't refer to
33500         environment settings for make install.
33501         * INSTALL: Regenerated.
33502         * nptl/tst-tls6.sh: Don't set LANG.
33503         * posix/globtest.sh (LANG): Remove variable.
33504         * string/Makefile (tester-ENV): Likewise.
33505         (inl-tester-ENV): Likewise.
33506         (noinl-tester-ENV): Likewise.
33507         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33508         [$(cross-compiling) = no]: Don't set LANGUAGE.
33509         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33510         without explicit environment settings.
33512 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33514         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33515         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33516         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33517         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33519 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33521         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33522         other files in the crypt directory.
33523         * crypt/crypt.c: Remove duplicate includes.
33524         * crypt/crypt-entry.c: Likewise.
33525         * crypt/crypt_util.c: Likewise.
33527 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33529         * Makeconfig (run-program-env): New variable.
33530         (run-program-prefix-before-env): Likewise.
33531         (run-program-prefix-after-env): Likewise.
33532         (run-program-prefix): Define in terms of new variables.
33533         (built-program-cmd-before-env): New variable.
33534         (built-program-cmd-after-env): Likewise.
33535         (built-program-cmd): Define in terms of new variables.
33536         (test-program-prefix-before-env): New variable.
33537         (test-program-prefix-after-env): Likewise.
33538         (test-program-prefix): Define in terms of new variables.
33539         (test-program-cmd-before-env): New variable.
33540         (test-program-cmd-after-env): Likewise.
33541         (test-program-cmd): Define in terms of new variables.
33542         * Rules (make-test-out): Use $(run-program-env).
33543         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33544         (help): Do not mention environment variables.  Mention
33545         --timeoutfactor option.
33546         (timeoutfactor): New variable.
33547         (blacklist_exports): Remove function.
33548         (exports): Remove variable.
33549         (command): Do not include ${exports}.
33550         * manual/install.texi (Configuring and compiling): Do not mention
33551         test wrappers preserving environment variables.  Mention that last
33552         assignment to a variable must take precedence.
33553         * INSTALL: Regenerated.
33554         * benchtests/Makefile (run-bench): Use $(run-program-env).
33555         * catgets/Makefile ($(objpfx)test1.cat): Use
33556         $(built-program-cmd-before-env), $(run-program-env) and
33557         $(built-program-cmd-after-env).
33558         ($(objpfx)test2.cat): Do not specify environment variables
33559         explicitly.
33560         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33561         $(run-program-env) and $(built-program-cmd-after-env).
33562         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33563         $(run-program-env) and $(test-program-cmd-after-env).
33564         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33565         explicitly.
33566         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33567         run_program_env and test_program_cmd_after_env arguments.
33568         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33569         * elf/tst-pathopt.sh: Use run_program_env argument.
33570         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33571         $(test-wrapper-env) and $(run-program-env).
33572         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33573         run_program_env arguments.
33574         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33575         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33576         $(test-program-prefix-before-env), $(run-program-env) and
33577         $(test-program-prefix-after-env).
33578         ($(objpfx)tst-gettext2.out): Likewise.
33579         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33580         run_program_env and test_program_prefix_after_env arguments.
33581         * intl/tst-gettext2.sh: Likewise.
33582         * intl/tst-gettext4.sh: Do not set environment variables
33583         explicitly.
33584         * intl/tst-gettext6.sh: Likewise.
33585         * intl/tst-translit.sh: Likewise.
33586         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33587         $(test-program-prefix-before-env), $(run-program-env) and
33588         $(test-program-prefix-after-env).
33589         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33590         run_program_env and test_program_prefix_after_env arguments.
33591         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33592         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33593         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33594         explicitly with each use of ${test_wrapper_env}.
33595         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33596         $(test-program-prefix-before-env), $(run-program-env) and
33597         $(test-program-prefix-after-env).
33598         * posix/tst-getconf.sh: Do not set environment variables
33599         explicitly.
33600         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33601         run_program_env and test_program_prefix_after_env arguments.
33602         * stdio-common/tst-printf.sh: Do not set environment variables
33603         explicitly.
33604         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33605         $(test-program-prefix-before-env), $(run-program-env) and
33606         $(test-program-prefix-after-env).
33607         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33608         run_program_env and test_program_prefix_after_env arguments.
33609         Split $test calls into $test_pre and $test.
33610         * timezone/Makefile (build-testdata): Use
33611         $(built-program-cmd-before-env), $(run-program-env) and
33612         $(built-program-cmd-after-env).
33614 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33616         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33617         strlen for non SHARED builds.
33619 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33621         * nptl/allocatestack.c (check_list): Inlined function...
33622         (__reclaim_stacks): ... here.
33624 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33626         [BZ #15698]
33627         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33628         memory overrun.
33630 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33632         * Rules (make-test-out): Include
33633         LOCPATH=$(common-objpfx)localedata in default environment.
33634         * debug/Makefile (tst-chk1-ENV): Remove variable.
33635         (tst-chk2-ENV): Likewise.
33636         (tst-chk3-ENV): Likewise.
33637         (tst-chk4-ENV): Likewise.
33638         (tst-chk5-ENV): Likewise.
33639         (tst-chk6-ENV): Likewise.
33640         (tst-lfschk1-ENV): Likewise.
33641         (tst-lfschk2-ENV): Likewise.
33642         (tst-lfschk3-ENV): Likewise.
33643         (tst-lfschk4-ENV): Likewise.
33644         (tst-lfschk5-ENV): Likewise.
33645         (tst-lfschk6-ENV): Likewise.
33646         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33647         (tst-iconv7-ENV): Likewise.
33648         * intl/Makefile (LOCPATH-ENV): Likewise.
33649         (tst-codeset-ENV): Likewise.
33650         (tst-gettext3-ENV): Likewise.
33651         (tst-gettext5-ENV): Likewise.
33652         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33653         (tst-fopenloc-ENV): Likewise.
33654         (tst-fgetws-ENV): Remove variable.
33655         (tst-ungetwc1-ENV): Likewise.
33656         (tst-ungetwc2-ENV): Likewise.
33657         (bug-ungetwc2-ENV): Likewise.
33658         (tst-swscanf-ENV): Likewise.
33659         (bug-ftell-ENV): Likewise.
33660         (tst-fgetwc-ENV): Likewise.
33661         (tst-fseek-ENV): Likewise.
33662         (tst-ftell-partial-wide-ENV): Likewise.
33663         (tst-ftell-active-handler-ENV): Likewise.
33664         (tst-ftell-append-ENV): Likewise.
33665         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33666         (tst-regexloc-ENV): Likewise.
33667         (bug-regex1-ENV): Likewise.
33668         (tst-regex-ENV): Likewise.
33669         (tst-regex2-ENV): Likewise.
33670         (bug-regex5-ENV): Likewise.
33671         (bug-regex6-ENV): Likewise.
33672         (bug-regex17-ENV): Likewise.
33673         (bug-regex18-ENV): Likewise.
33674         (bug-regex19-ENV): Likewise.
33675         (bug-regex20-ENV): Likewise.
33676         (bug-regex22-ENV): Likewise.
33677         (bug-regex23-ENV): Likewise.
33678         (bug-regex25-ENV): Likewise.
33679         (bug-regex26-ENV): Likewise.
33680         (bug-regex30-ENV): Likewise.
33681         (bug-regex32-ENV): Likewise.
33682         (bug-regex33-ENV): Likewise.
33683         (bug-regex34-ENV): Likewise.
33684         (bug-regex35-ENV): Likewise.
33685         (tst-rxspencer-ENV): Likewise.
33686         (tst-rxspencer-no-utf8-ENV): Likewise.
33687         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33688         (tst-sscanf-ENV): Likewise.
33689         (tst-swprintf-ENV): Likewise.
33690         (tst-swscanf-ENV): Likewise.
33691         (test-vfprintf-ENV): Likewise.
33692         (scanf13-ENV): Likewise.
33693         (bug14-ENV): Likewise.
33694         (tst-grouping-ENV): Likewise.
33695         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33696         (tst-strtod3-ENV): Likewise.
33697         (tst-strtod4-ENV): Likewise.
33698         (tst-strtod5-ENV): Likewise.
33699         (testmb2-ENV): Likewise./
33700         * string/Makefile (tst-strxfrm-ENV): Likewise.
33701         (tst-strxfrm2-ENV): Likewise.
33702         (bug-strcoll1-ENV): Likewise.
33703         (test-strcasecmp-ENV): Likewise.
33704         (test-strncasecmp-ENV): Likewise.
33705         * time/Makefile (tst-strptime-ENV): Likewise.
33706         (tst-ftime_l-ENV): Likewise.
33707         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33708         (tst-mbrtowc-ENV): Likewise.
33709         (tst-wcrtomb-ENV): Likewise.
33710         (tst-mbrtowc2-ENV): Likewise.
33711         (tst-c16c32-1-ENV): Likewise.
33712         (tst-mbsnrtowcs-ENV): Likewise.
33714 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33716         * manual/resource.texi (How to get information about the memory
33717         subsystem?): Fix typo.
33718         Reported by Peon de la Parra Ivan <peon@keba.com>
33720 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33722         [BZ #16882]
33723         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33724         (pthread_spin_lock): Branch out of spin loop to proper location.
33725         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33726         (pthread_spin_lock): Likewise.
33728         * nptl/tst-spin4.c: New test.
33729         * nptl/Makefile (tests): Add tst-spin4.
33731 2014-06-03  Andreas Schwab  <schwab@suse.de>
33733         [BZ #15946]
33734         * resolv/res_send.c (send_dg): Reload file descriptor after
33735         calling reopen.
33737 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33739         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33741 2014-06-03  Richard Henderson  <rth@redhat.com>
33743         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33744         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33745         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33746         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33747         in the SAVE_PID block.
33748         (__libc_vfork): New alias.
33749         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33751         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33752         child in registers, not on the stack.  Remove RESET_PID conditionals.
33753         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33755 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33757         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33759 2014-06-03  Wilco  <wdijkstr@arm.com>
33761         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33762         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33763         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33764         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33765         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33766         Likewise.
33768 2014-06-03  Wilco  <wdijkstr@arm.com>
33770         * sysdeps/aarch64/fpu/math_private.h
33771         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33772         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33773         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33774         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33775         Fix declarations.
33777 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33779         * crypt/crypt-private.h: Include ufc-crypt.h.
33780         (__b64_from_24bit): Declare extern.
33781         * crypt/crypt_util.c(__b64_from_24bit): New function.
33782         (b64t): New static const variable.
33783         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33784         (b64t): Remove variable.
33785         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33786         * crypt/sha256-crypt.c: Include crypt-private.h.
33787         (b64t): Remove variable.
33788         (__sha256_crypt_r): Remove b64_from_24bit and replace
33789         with __b64_from_24bit.
33790         * crypt/sha512-crypt.c: Likewise.
33792 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33794         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33795         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33796         Label the code __libc_vfork rather than __vfork.
33797         [!NOT_IN_libc] (vfork): Define as weak alias.
33798         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33799         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33800         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33802 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33804         * malloc/malloc.c (malloc_info): Fix format specifier for
33805         n_mmaps.
33807 2014-06-02  Wilco  <wdijkstr@arm.com>
33809         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33810         FPCR write.
33812 2014-06-02  Wilco  <wdijkstr@arm.com>
33814         [BZ #17009]
33815         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33816         Rewrite to reduce FPCR/FPSR accesses.
33818 2014-06-01  David S. Miller  <davem@davemloft.net>
33820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33822 2014-05-31  David S. Miller  <davem@davemloft.net>
33824         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33825         to occur in round to nearest mode when |x| >= 2.0
33827 2014-05-30  Richard Henderson  <rth@twiddle.net>
33829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33830         (PSEUDO_RET_NOERRNO): Remove.
33831         (ret): Don't redefine.
33832         (ret_NOERRNO): Define in terms of ret.
33833         (ret_ERRVAL): Likewise.
33835         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33836         use of PSEUDO_RET; perform the error check directly.
33838 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33840         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33841         with __int128_t.
33843 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33845         * malloc/malloc (malloc_info): Fix formatting.
33847 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33848             Roland McGrath  <roland@hack.frob.com>
33850         * malloc/malloc (malloc_info): Also print mmapped statistics.
33852 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33854         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33855         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33857 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33859         * malloc/malloc.c (malloc_info): Inline mi_arena.
33861 2014-05-29  Richard Henderson  <rth@twiddle.net>
33863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33864         Remove comma before expanding ASM_ARGS_##nr.
33865         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33866         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33867         of ASM_ARGS_##nr.
33868         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33869         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33870         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33871         (ASM_ARGS_1): Add leading comma.
33873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33874         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33875         to __errno_location.
33876         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33877         Remove the expected plt for __errno_location.
33879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33880         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33881         call to __read_tp.
33883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33884         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33885         it and break it down.
33886         (DOCARGS_0, DOCARGS_1): Do nothing.
33887         (DOCARGS_2): Update to store into the new stack frame.
33888         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33889         (UNDOCARGS_1): Update to restore from the new stack frame.
33890         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33891         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33894         (SINGLE_THREAD_P): New parameter for result regno.
33895         (PSEUDO): Update to match; use cbz instead of beq.
33897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33898         Use ENTRY to define the _nocancel entry point.  Share the syscall
33899         and syscall error check paths with the cancel path.
33900         (PSEUDO_END): New.
33902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33903         whitespace; tabs before and after asm mnemonics.
33905 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33907         [BZ #15132]
33908         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33909         Call fstat64 or stat64 internally, depending on arguments passed.
33910         Replace stat buffer argument with file descriptor argument.
33911         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33912         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33913         Pass fd to __internal_statvfs instead of calling fstat64.
33914         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33915         Pass fd to __internal_statvfs64 instead of calling fstat64.
33916         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33917         Pass -1 to __internal_statvfs instead of calling stat64.
33918         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33919         Pass -1 to __internal_statvfs64 instead of calling stat64.
33921 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33923         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33924         that was previously under [RESET_PID].
33925         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33927         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33928         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33930 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33932         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33934         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33935         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33937 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33939         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33941 2014-05-27  Andreas Schwab  <schwab@suse.de>
33943         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33944         TLS_INIT_TP macro.
33945         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33946         * elf/rtld.c (init_tls, dl_main): Likewise.
33947         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33948         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33949         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33950         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33951         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33952         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33953         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33954         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33955         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33956         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33957         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33958         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33959         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33960         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33961         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33962         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33963         * sysdeps/generic/tls.h: Update description.
33965 2014-05-27  Will Newton  <will.newton@linaro.org>
33967         [BZ #16990]
33968         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33969         and restore r2 rather than just restoring.
33971 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33973         [BZ #16724]
33974         * libio/tst-ftell-append.c: New test case.
33975         * libio/Makefile (tests): Add test case.
33976         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33977         append mode.
33978         * libio/wfileops.c (do_ftell_wide): Likewise.
33980 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33984         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33985         ...
33986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33988         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33989         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33990         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33991         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33992         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33993         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33995         Moved ...
33996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33998         Moved ...
33999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34000         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34001         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34002         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34003         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34005         ...
34006         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34007         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34008         Moved ...
34009         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34010         here.
34011         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34012         ...
34013         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34014         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34015         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34017         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34018         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34020         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34023         merge into ...
34024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34026         ...
34027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34029         ...
34030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34032         Moved ...
34033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34034         here.
34035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34036         Moved ...
34037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34039         Moved ...
34040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34043         conditional [RESET_PID].
34044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34046         removed.
34047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34048         removed.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34051         <tcb-offsets.h>.
34052         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34053         (__libc_vfork): New strong alias.
34054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34055         removed.
34056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34057         Removed.
34059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34060         <tcb-offsets.h>.
34061         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34062         (__libc_vfork): New strong alias.
34063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34064         removed.
34065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34066         removed.
34068 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34070         * malloc/malloc.c (mi_arena): New function.
34071         (malloc_info): Remove nested function mi_arena. Call non-nosted
34072         function mi_arena.
34074 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34076         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34077         by insrwi.
34078         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34079         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34080         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34081         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34082         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34083         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34084         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34086 2014-05-26  Andreas Schwab  <schwab@suse.de>
34088         [BZ #16984]
34089         * locale/programs/repertoire.c (repertoire_read): Add slash
34090         between I18NPATH element and file name.
34091         * locale/programs/locfile.c (locfile_read): Likewise.
34093 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34095         * nptl/pthread_mutexattr_settype.c
34096         (__pthread_mutexattr_settype):
34097         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34099 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34101         * nptl/tst-mutex5 (do_test):
34102         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34104 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34106         * benchtests/README: Document 'init' directive.
34107         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34108         BENCH_INIT.
34109         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34110         (parse_file): Recognize 'init' directive.
34112 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34114         [BZ #16796]
34115         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34116         alignment of struct pthread.
34118 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34120         [BZ #16878]
34121         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34122         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34123         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34124         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34126 2014-05-25  Richard Henderson  <rth@twiddle.net>
34128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34129         (SINGLE_THREAD_P_PIC): Remove.
34130         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34131         (SINGLE_THREAD_P_PIC): Remove.
34133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34134         branch to syscall error ...
34135         (PSEUDO): ... here.
34136         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34137         from __local_syscall_error to .Lsyscall_error.
34138         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34139         (SYSCALL_ERROR): Update label name.
34141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34142         Do not use DOARGS/UNDOARGS.
34143         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34144         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34145         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34146         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34147         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34150         block comment.
34152         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34153         define if !NOT_IN_libc.
34154         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34155         define with non-default symbol versions.
34157 2014-05-23  Richard Henderson  <rth@twiddle.net>
34159         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34160         (vfork, __vfork): Define via compat_symbol.
34162         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34163         [!HAVE_IFUNC] (vfork_compat): Remove.
34164         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34166 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34168         [BZ #16978]
34169         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34170         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34171         variable.
34173 2014-05-23  Richard Henderson  <rth@twiddle.net>
34175         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34176         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34177         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34178         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34180         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34181         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34182         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34183         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34185         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34186         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34187         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34188         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34189         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34190         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34191         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34192         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34193         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34194         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34195         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34197         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34199         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34200         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34201         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34203         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34204         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34206         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34207         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34209         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34210         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34211         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34212         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34213         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34214         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34215         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34216         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34217         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34219         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34220         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34221         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34222         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34223         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34224         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34225         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34227         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34229         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34231         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34233         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34234         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34235         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34237         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34238         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34239         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34240         before exiting on error.
34241         (__libc_vfork): New strong alias.
34242         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34243         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34245         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34246         that was previously under [RESET_PID].
34247         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34249         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34251 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34253         [BZ #16977]
34254         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34255         value when x - 1 is zero.
34256         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34257         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34258         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34259         0.0L for an argument of 1.0L.
34260         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34261         Likewise.
34262         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34263         value when x - 1 is zero.
34264         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34265         * sysdeps/i386/fpu/libm-test-ulps: Update.
34266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34268 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34270         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34271         alphasort and versionsort.
34273 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34275         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34276         macro.
34277         [copysignf]: Likewise.
34279 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34281         * crypt/md5-crypt.c: Fix formatting.
34283 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34285         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34286         (b64_from_24bit): New function.
34288 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34291         libc_hidden_builtin_def to ifunc.
34292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34293         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34295 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34297         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34298         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34300 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34302         * nscd/Depend (linuxthreads): Remove.
34303         (nptl): Add.
34304         * resolv/Depend (linuxthreads): Remove.
34305         * rt/Depend (linuxthreads): Remove.
34307         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34308         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34309         $(common-objpfx)elf/.
34310         (link-libc-before-gnulib): Likewise.
34311         (elfobjdir): Remove variable.
34312         * Makefile (install): Use $(elf-objpfx) instead of
34313         $(common-objpfx)elf/.
34314         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34315         $(elfobjdir)/.
34316         (link-libc-deps): Likewise.
34317         ($(common-objpfx)libc.so): Likewise.
34318         ($(common-objpfx)linkobj/libc.so): Likewise.
34319         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34320         instead of $(common-objpfx)elf/.
34321         (symbolic-link-list): Likewise.
34322         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34323         [$(cross-compiling) = no]: Likewise.
34324         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34325         $(elfobjdir)/.
34326         (static-gnulib-arch): Likewise.
34327         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34328         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34329         $(common-objpfx)elf/.
34331 2014-05-21  Richard Henderson  <rth@redhat.com>
34333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34334         (SINGLE_THREAD_P): Use the correct width load.  Fold
34335         into the ldr offset.
34337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34338         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34340 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34342         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34343         (libgcc_s_resume): Use __attribute_used__.
34344         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34345         Likewise.
34347 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34349         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34350         optimization when used with float constants.
34352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34354 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34356         [BZ #16915]
34357         * locale/nl_langinfo_l.c: Make direct reference to every
34358         _nl_current_CATEGORY symbol.
34359         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34360         (tests-static): Add tst-langinfo-static.
34361         (tests-special): Add tst-langinfo-static.out.
34362         ($(objpfx)tst-langinfo.out): Redirect output.
34363         ($(objpfx)tst-langinfo-static.out): New.
34364         * localedata/tst-langinfo.sh: Send output to stdout.
34365         * localedata/tst-langinfo-static.c: New file.
34367         [BZ #16965]
34368         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34369         when the shift amount is modulo the limb size.
34371 2014-05-20  Richard Henderson  <rth@redhat.com>
34373         [BZ #16967]
34374         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34375         Change type of sa_flags from unsigned int to int.
34377         [BZ #16966]
34378         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34380         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34382 2014-05-20  Will Newton  <will.newton@linaro.org>
34384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34385         Test the return value of the system call in the nocancel case.
34387 2014-05-20  Will Newton  <will.newton@linaro.org>
34388             Yvan Roux  <yvan.roux@linaro.org>
34390         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34391         #include of asm/ptrace.h.
34392         (PTRACE_GET_THREAD_AREA): Remove #undef.
34393         (PTRACE_GETHBPREGS): Likewise.
34394         (PTRACE_SETHBPREGS): Likewise.
34395         (struct user_regs_struct): New structure.
34396         (struct user_fpsimd_struct): New structure.
34397         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34398         #include of asm/ptrace.h and second #include of sys/user.h.
34399         (PTRACE_GET_THREAD_AREA): Remove #undef.
34400         (PTRACE_GETHBPREGS): Likewise.
34401         (PTRACE_SETHBPREGS): Likewise.
34402         (ELF_NGREG): Use new struct user_regs_struct.
34403         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34405 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34408         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34410 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34412         [BZ #16958]
34413         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34414         membar to avoid block loads/stores to overlap previous stores.
34416 2014-05-17  Richard Henderson  <rth@redhat.com>
34418         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34419         Create the __##syscall_name##_nocancel entry point.
34420         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34421         Remove; let the sysdep-cancel.h code create it.
34423 2014-05-17  David S. Miller  <davem@davemloft.net>
34425         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34426         Protect with __USE_GNU.
34427         (TIOCSET_TEMPT): Likewise.
34428         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34429         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34430         these are already provided in bits/ioctl-types.h
34432 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34434         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34435         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34437         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34438         Use wait4 regardless of [__NR_waitpid].
34440 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34442         PR libgcc/60166
34443         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34444         (_FP_NANSIGN_Q): Set the quiet bit.
34446 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34448         * benchtests/Makefile
34449         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34450         not $(common-objpfx)math/libm.so.
34451         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34452         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34453         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34454         $(common-objpfx)dlfcn/libdl.so.
34455         ($(objpfx)tst-audit8): Depend on $(libm), not
34456         $(common-objpfx)math/libm.so.
34457         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34458         not $(common-objpfx)dlfcn/libdl.so.
34459         * math/Makefile
34460         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34461         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34462         [$(build-shared) = yes].
34463         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34464         $(common-objpfx)nptl/libpthread.so.
34465         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34466         $(common-objpfx)math/libm.so$(libm.so-version) or
34467         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34468         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34469         $(common-objpfx)dlfcn/libdl.so.
34470         * setjmp/Makefile (link-libm): Remove variable.
34471         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34472         * stdio-common/Makefile (link-libm): Remove variable.
34473         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34474         * stdlib/Makefile (link-libm): Remove variable.
34475         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34476         ($(objpfx)tst-strtod-round): Likewise.
34477         ($(objpfx)tst-tininess): Likewise.
34478         ($(objpfx)tst-strtod-underflow): Likewise.
34479         ($(objpfx)tst-strtod6): Likewise.
34480         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34481         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34482         $(common-objpfx)dlfcn/libdl.so.
34484 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34486         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34487         BSD terminal modes definitions.
34489 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34491         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34492         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34494         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34495         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34496         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34497         Don't do #include_next.
34498         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34499         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34500         Don't do #include_next.
34501         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34502         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34503         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34504         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34506 2014-05-16  Allan McRae  <allan@archlinux.org>
34508         * po/sv.po: Update Swedish translation from translation project.
34510         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34511         in sed expression.
34513 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34515         [BZ #16917]
34516         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34517         errno if the TIOCGPTN ioctl fails with an error different than
34518         EINVAL.
34519         * login/tst-ptsname.c: New file.
34520         * login/Makefile (tests): Add tst-ptsname.
34522         [BZ #16943]
34523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34524         and prlimit64.
34526 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34528         [BZ #16849]
34529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34530         herrno to return EAI_AGAIN.
34532 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34534         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34535         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34536         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34537         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34538         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34539         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34540         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34541         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34542         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34543         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34544         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34545         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34546         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34547         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34548         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34549         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34550         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34551         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34552         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34553         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34554         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34555         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34556         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34557         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34558         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34559         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34560         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34561         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34562         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34563         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34565         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34567         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34569         Moved ...
34570         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34572         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34574         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34576         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34578         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34580         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34582         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34584         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34586         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34588         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34590         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34592         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34594         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34596         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34598         Moved ...
34599         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34601         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34603         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34605         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34607         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34609         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34611         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34613         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34615         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34617         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34619         Moved ...
34620         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34622         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34624         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34625         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34626         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34627         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34628         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34629         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34630         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34631         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34632         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34633         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34634         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34635         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34636         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34637         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34638         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34639         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34640         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34641         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34642         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34643         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34644         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34645         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34646         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34647         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34648         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34649         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34651         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34652         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34653         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34654         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34656         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34657         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34659         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34660         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34661         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34662         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34663         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34664         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34665         Moved ...
34666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34668         Moved ...
34669         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34671         Moved ...
34672         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34674         Moved ...
34675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34677         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34678         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34679         Moved ...
34680         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34681         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34682         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34683         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34685         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34686         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34688         Moved ...
34689         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34691         Moved ...
34692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34693         ... here.
34694         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34695         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34696         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34697         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34699         Moved ...
34700         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34701         ... here.
34702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34703         Moved ...
34704         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34705         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34706         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34707         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34708         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34709         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34710         Moved ...
34711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34713         Moved ...
34714         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34716         Moved ...
34717         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34719         Moved ...
34720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34722         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34723         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34724         Moved ...
34725         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34726         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34727         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34728         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34729         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34730         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34731         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34733         Moved ...
34734         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34736         Moved ...
34737         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34738         ... here.
34739         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34740         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34741         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34742         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34744         Moved ...
34745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34746         ... here.
34747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34748         Moved ...
34749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34750         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34751         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34752         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34753         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34755         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34756         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34757         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34758         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34759         Moved ...
34760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34762         Moved ...
34763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34765         Moved ...
34766         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34768         Moved ...
34769         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34770         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34771         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34772         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34773         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34777         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34778         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34779         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34780         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34781         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34782         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34783         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34784         Moved ...
34785         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34787         Moved ...
34788         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34789         ... here.
34790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34791         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34792         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34793         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34794         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34795         Moved ...
34796         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34797         ... here.
34798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34799         Moved ...
34800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34801         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34802         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34803         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34804         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34805         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34806         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34807         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34808         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34809         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34810         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34812         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34813         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34815         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34816         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34818         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34819         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34820         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34821         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34822         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34823         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34824         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34825         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34826         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34827         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34829         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34830         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34831         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34832         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34834         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34836         Moved ...
34837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34841         Moved ...
34842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34846         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34850         Moved ...
34851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34853         Moved ...
34854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34860         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34861         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34862         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34863         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34864         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34865         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34866         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34867         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34868         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34869         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34870         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34872         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34873         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34874         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34875         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34876         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34878         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34879         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34880         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34881         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34882         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34883         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34884         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34885         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34886         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34887         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34892         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34893         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34894         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34895         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34896         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34897         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34898         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34899         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34900         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34901         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34903         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34904         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34905         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34907         Update #include.
34908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34909         Likewise.
34910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34911         Likewise.
34912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34913         Likewise.
34914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34915         Likewise.
34916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34917         Likewise.
34918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34919         Likewise.
34920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34921         Likewise.
34922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34923         Likewise.
34924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34925         Likewise.
34926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34932         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34942         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34943         that was previously under [RESET_PID].
34944         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34945         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34946         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34948         * sysdeps/i386/nptl/Implies: New file.
34949         * sysdeps/x86_64/nptl/Implies: New file.
34950         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34951         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34952         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34953         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34955         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34956         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34957         (__libc_vfork): New strong alias.
34958         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34959         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34961         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34962         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34963         (__libc_vfork): New strong alias.
34964         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34965         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34967         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34968         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34969         (__libc_vfork): New strong alias.
34970         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34971         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34972         * nptl/pt-vfork.c: New file.
34973         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34974         (libpthread: GLIBC_2.20): New version set (empty).
34976 2014-05-14  Will Newton  <will.newton@linaro.org>
34978         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34979         rather than #if.
34981 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34983         [BZ #16564]
34984         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34985         arguments with exponent 65 or above.
34986         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34987         arguments 0x1p113L or above.
34988         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34989         to arguments 0x1p107L or above.
34990         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34991         positive arguments with exponent 65 or above.
34992         * math/auto-libm-test-in: Add more tests of log1p.
34993         * math/auto-libm-test-out: Regenerated.
34995         [BZ #16928]
34996         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34997         non-finite arguments is +0.
34998         * math/s_cacosf.c (__cacosf): Likewise.
34999         * math/s_cacosl.c (__cacosl): Likewise.
35000         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35001         * sysdeps/i386/fpu/libm-test-ulps: Update.
35002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35004         [BZ #16927]
35005         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35006         value.
35007         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35008         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35009         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35010         for explicit high bit of mantissa when testing for argument equal
35011         to 1.
35012         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35013         * sysdeps/i386/fpu/libm-test-ulps: Update.
35014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35016         [BZ #16516]
35017         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35018         (__erf): Scale by 16 instead of 8 in potentially underflowing
35019         case.  Ensure exception if result actually underflows.
35020         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35021         (__erff): Scale by 16 instead of 8 in potentially underflowing
35022         case.  Ensure exception if result actually underflows.
35023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35024         (efx8): Remove variable.
35025         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35026         case.  Ensure exception if result actually underflows.
35027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35028         (efx8): Remove variable.
35029         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35030         case.  Ensure exception if result actually underflows.
35031         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35032         (efx8): Remove variable.
35033         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35034         case.  Ensure exception if result actually underflows.
35035         * math/auto-libm-test-in: Add more tests of erf.
35036         * math/auto-libm-test-out: Regenerated.
35038 2014-05-14  Andreas Schwab  <schwab@suse.de>
35040         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35041         Remove code conditionalized on USE___THREAD.
35043         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35044         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35045         not definedness.
35047 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35050         Define unconditionally.
35051         (__ASSUME_O_CLOEXEC): Likewise.
35052         (__ASSUME_SOCK_CLOEXEC): Likewise.
35053         (__ASSUME_IN_NONBLOCK): Likewise.
35054         (__ASSUME_PIPE2): Likewise.
35055         (__ASSUME_EVENTFD2): Likewise.
35056         (__ASSUME_SIGNALFD4): Likewise.
35057         (__ASSUME_DUP3): Likewise.
35058         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35059         (__ASSUME_DUP3): Do not define.
35060         (__ASSUME_EVENTFD2): Likewise.
35061         (__ASSUME_IN_NONBLOCK): Likewise.
35062         (__ASSUME_O_CLOEXEC): Likewise.
35063         (__ASSUME_PIPE2): Likewise.
35064         (__ASSUME_SIGNALFD4): Likewise.
35065         (__ASSUME_SOCK_CLOEXEC): Likewise.
35066         (__ASSUME_UTIMES): Undefine.
35067         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35068         (__ASSUME_UTIMES): Do not define.
35069         (__ASSUME_O_CLOEXEC): Likewise.
35070         (__ASSUME_SOCK_CLOEXEC): Likewise.
35071         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35072         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35073         0x020621].
35074         (__ASSUME_PIPE2): Likewise.
35075         (__ASSUME_EVENTFD2): Likewise.
35076         (__ASSUME_SIGNALFD4): Likewise.
35077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35078         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35079         Do not define.
35080         (__ASSUME_EVENTFD2): Likewise.
35081         (__ASSUME_SIGNALFD4): Likewise.
35082         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35083         (__ASSUME_32BITUIDS): Likewise.
35084         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35085         (__ASSUME_IPC64): Likewise.
35086         (__ASSUME_ST_INO_64_BIT): Likewise.
35087         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35088         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35089         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35090         (__ASSUME_UTIMES): Do not define.
35091         (__ASSUME_PSELECT): Likewise.
35092         (__ASSUME_PPOLL): Likewise.
35093         (__ASSUME_O_CLOEXEC): Likewise.
35094         (__ASSUME_SOCK_CLOEXEC): Likewise.
35095         (__ASSUME_IN_NONBLOCK): Likewise.
35096         (__ASSUME_PIPE2): Likewise.
35097         (__ASSUME_EVENTFD2): Likewise.
35098         (__ASSUME_SIGNALFD4): Likewise.
35099         (__ASSUME_DUP3): Likewise.
35100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35101         (__ASSUME_UTIMES): Likewise.
35102         (__ASSUME_O_CLOEXEC): Likewise.
35103         (__ASSUME_SOCK_CLOEXEC): Likewise.
35104         (__ASSUME_IN_NONBLOCK): Likewise.
35105         (__ASSUME_PIPE2): Likewise.
35106         (__ASSUME_EVENTFD2): Likewise.
35107         (__ASSUME_SIGNALFD4): Likewise.
35108         (__ASSUME_DUP3): Likewise.
35109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35110         (__ASSUME_UTIMES): Likewise.
35111         (__ASSUME_O_CLOEXEC): Likewise.
35112         (__ASSUME_SOCK_CLOEXEC): Likewise.
35113         (__ASSUME_IN_NONBLOCK): Likewise.
35114         (__ASSUME_PIPE2): Likewise.
35115         (__ASSUME_EVENTFD2): Likewise.
35116         (__ASSUME_SIGNALFD4): Likewise.
35117         (__ASSUME_DUP3): Likewise.
35118         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35119         Likewise.
35120         (__ASSUME_UTIMES): Likewise.
35121         (__ASSUME_EVENTFD2): Likewise.
35122         (__ASSUME_SIGNALFD4): Likewise.
35123         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35124         (__ASSUME_O_CLOEXEC): Likewise.
35125         (__ASSUME_SOCK_CLOEXEC): Likewise.
35126         (__ASSUME_IN_NONBLOCK): Likewise.
35127         (__ASSUME_PIPE2): Likewise.
35128         (__ASSUME_EVENTFD2): Likewise.
35129         (__ASSUME_SIGNALFD4): Likewise.
35130         (__ASSUME_DUP3): Likewise.
35131         (__ASSUME_UTIMES): Undefine.
35133         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35134         feclearexcept.  Remove symbol versioning code.
35135         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35136         symbol versioning code.
35137         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35138         symbol versioning code.
35139         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35140         feupdateenv.  Remove symbol versioning code.
35141         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35142         fegetexceptflag.  Remove symbol versioning code.
35143         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35144         fesetexceptflag.  Remove symbol versioning code.
35145         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35146         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35147         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35148         (__posix_fadvise64_l32): Remove prototype.
35149         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35150         code.
35152 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35154         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35155         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35156         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35157         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35159 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35161         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35162         current working directory
35164 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35166         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35167         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35168         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35169         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35170         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35171         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35172         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35173         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35174         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35175         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35176         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35177         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35178         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35179         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35180         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35181         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35182         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35183         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35184         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35185         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35186         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35187         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35188         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35189         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35190         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35191         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35192         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35193         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35194         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35195         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35196         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35197         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35198         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35199         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35200         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35201         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35202         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35203         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35204         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35205         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35206         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35207         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35209         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35210         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35212         * sysdeps/unix/sysv/linux/arm/Makefile
35213         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35214         Add rt-aeabi_unwind_cpp_pr1.
35215         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35216         Add nptl-aeabi_unwind_cpp_pr1.
35217         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35218         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35219         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35220         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35221         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35222         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35224         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35225         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35226         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35227         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35229         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35230         Deconditionalize the code that was previously under [RESET_PID].
35231         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35233         * sysdeps/generic/exit-thread.h: New file.
35234         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35235         * include/unistd.h (__exit_thread): Remove declaration.
35236         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35237         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35238         * csu/libc-start.c: Include <exit-thread.h>.
35239         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35240         * nptl/pthread_create.c: Include <exit-thread.h>.
35241         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35242         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35243         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35244         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35245         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35246         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35247         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35248         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35249         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35250         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35251         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35252         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35253         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35254         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35255         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35256         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35257         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35259 2014-05-13  Andreas Schwab  <schwab@suse.de>
35261         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35263 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35265         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35266         (__ASSUME_UTIMES): Do not condition on kernel version.
35267         (__ASSUME_PSELECT): Define unconditionally.
35268         (__ASSUME_PPOLL): Likewise.
35269         (__ASSUME_ATFCTS): Likewise.
35270         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35271         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35272         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35273         (__ASSUME_UTIMENSAT): Define unconditionally.
35274         (__ASSUME_PRIVATE_FUTEX): Likewise.
35275         (__ASSUME_FALLOCATE): Likewise.
35276         (__ASSUME_O_CLOEXEC): Likewise.
35277         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35278         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35279         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35280         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35281         (__ASSUME_IN_NONBLOCK): Likewise.
35282         (__ASSUME_PIPE2): Likewise.
35283         (__ASSUME_EVENTFD2): Likewise.
35284         (__ASSUME_SIGNALFD4): Likewise.
35285         (__ASSUME_DUP3): Likewise.
35286         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35287         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35288         (__ASSUME_AT_RANDOM): Likewise.
35289         (__ASSUME_PREADV): Likewise.
35290         (__ASSUME_PWRITEV): Likewise.
35291         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35292         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35293         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35294         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35295         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35297         (__ASSUME_O_CLOEXEC): Define unconditionally.
35298         (__ASSUME_PSELECT): Do not undefine conditionally.
35299         (__ASSUME_PPOLL): Likewise.
35300         (__ASSUME_ATFCTS): Likewise.
35301         (__ASSUME_SET_ROBUST_LIST): Likewise.
35302         (__ASSUME_UTIMENSAT): Likewise.
35303         (__ASSUME_FDATASYNC): Define unconditionally.
35304         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35305         (__ASSUME_SIGFRAME_V2): Likewise.
35306         )__ASSUME_EVENTFD2): Likewise.
35307         (__ASSUME_SIGNALFD4): Likewise.
35308         (__ASSUME_PSELECT): Do not undefine conditionally.
35309         (__ASSUME_PPOLL): Likewise.
35310         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35311         (__ASSUME_PSELECT): Define unconditionally.
35312         (__ASSUME_PPOLL): Likewise.
35313         (__ASSUME_O_CLOEXEC): Likewise.
35314         (__ASSUME_SOCK_CLOEXEC): Likewise.
35315         (__ASSUME_IN_NONBLOCK): Likewise.
35316         (__ASSUME_PIPE2): Likewise.
35317         (__ASSUME_EVENTFD2): Likewise.
35318         (__ASSUME_SIGNALFD4): Likewise.
35319         (__ASSUME_DUP3): Likewise.
35320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35321         (__ASSUME_O_CLOEXEC): Likewise.
35322         (__ASSUME_SOCK_CLOEXEC): Likewise.
35323         (__ASSUME_IN_NONBLOCK): Likewise.
35324         (__ASSUME_PIPE2): Likewise.
35325         (__ASSUME_EVENTFD2): Likewise.
35326         (__ASSUME_SIGNALFD4): Likewise.
35327         (__ASSUME_DUP3): Likewise.
35328         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35329         (__ASSUME_EVENTFD2): Likewise.
35330         (__ASSUME_SIGNALFD4): Likewise.
35331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35333 2014-05-12  Andreas Schwab  <schwab@suse.de>
35335         [BZ #16932]
35336         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35337         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35338         than maximum RPC packet size.
35339         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35340         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35341         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35342         (_nss_nis_getservbyport_r): Likewise.
35344 2014-05-12  Will Newton  <will.newton@linaro.org>
35346         * malloc/Makefile (tests): Add tst-mallopt.
35347         * malloc/tst-mallopt.c: New file.
35349 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35351         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35352         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35354 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35356         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35357         (tst-tlsmod6.so): Likewise.
35359 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35361         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35363 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35365         [BZ #16064]
35366         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35367         and <dl-procinfo.h>.
35368         (__fegetenv): Save SSE state in envp->__eip if supported.
35369         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35370         envp->__eip if supported.
35371         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35372         and <dl-procinfo.h>.
35373         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35374         __data_offset and __data_selector in environment to 0.  Set SSE
35375         state if supported.
35376         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35377         test-fenv-sse.
35378         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35379         -mfpmath=sse.
35380         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35382 2014-05-09  Will Newton  <will.newton@linaro.org>
35384         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35385         and libc_relro_required for ARM.
35386         * sysdeps/arm/preconfigure: Regenerate.
35388 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35389             Stefan Liebler  <stli@linux.vnet.ibm.com>
35391         * config.make.in (enable-lock-elision): New Makefile variable.
35392         * configure.ac: Likewise.
35393         * configure: Regenerate.
35394         * sysdeps/s390/configure.ac:
35395         Add check for gcc transactions support.
35396         * sysdeps/s390/configure: Regenerate.
35397         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35398         Build elision files if enabled.
35399         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35400         Add lock elision support for s390.
35401         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35402         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35403         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35404         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35405         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35408         Likewise.
35409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35410         Likewise.
35411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35412         Likewise.
35413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35414         Likewise.
35415         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35416         (__lll_timedlock_elision, __lll_lock_elision)
35417         (__lll_unlock_elision, __lll_trylock_elision)
35418         (lll_timedlock_elision, lll_lock_elision)
35419         (lll_unlock_elision, lll_trylock_elision): Add.
35420         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35421         (pthread_mutex_t): Add lock elision support for s390.
35423 2014-05-14  Wilco  <wdijkstr@arm.com>
35425         * sysdeps/arm/fclrexcpt.c: Cleanup.
35426         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35427         * sysdeps/arm/feenablxcpt.c: Cleanup.
35428         * sysdeps/arm/fegetenv.c: Cleanup.
35429         * sysdeps/arm/fegetexcept.c: Cleanup.
35430         * sysdeps/arm/fegetround.c: Cleanup.
35431         * sysdeps/arm/feholdexcpt.c: Cleanup.
35432         * sysdeps/arm/fesetenv.c: Cleanup.
35433         * sysdeps/arm/fesetround.c: Cleanup.
35434         * sysdeps/arm/feupdateenv.c: Cleanup.
35435         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35436         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35437         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35438         * sysdeps/arm/ftestexcept.c: Cleanup.
35439         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35440         * sysdeps/arm/setfpucw.c: Cleanup.
35442 2014-05-09  Will Newton  <will.newton@linaro.org>
35444         * sysdeps/arm/armv7/strcmp.S: New file.
35445         * NEWS: Mention addition of ARMv7 optimized strcmp.
35447 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35449         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35450         look for %.ac rather than %.in.
35452         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35453         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35454         * sysdeps/mach/hurd/configure: Regenerated.
35455         * sysdeps/unix/sysv/linux/configure: Regenerated.
35457         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35459 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35461         [BZ# 16922]
35462         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35463         (LONG_SUB): Ditto.
35464         (PTR_SUB): Ditto.
35466 2014-05-07  Andreas Schwab  <schwab@suse.de>
35468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35469         when skipping over non-matching result from nscd.
35471 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35473         [BZ #16876]
35474         * nptl/sockperf.c (client): Check socket return value.
35476         [BZ #16877]
35477         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35478         nscd security class.
35480 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35482         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35483         * sysdeps/arm/unwind.h: ... here.
35485 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35487         [BZ# 16916]
35488         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35489         Define.
35491 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35493         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35494         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35495         multiarch strncpy for PPC64.
35496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35497         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35499         multiarch optimizations.
35500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35501         (__libc_ifunc_impl_list): Likewise.
35502         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35503         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35504         multiarch stpncpy for PPC64.
35505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35508 2014-05-06  Andreas Schwab  <schwab@suse.de>
35510         [BZ #16912]
35511         * gmon/mcount.c (_MCOUNT_DECL): Use
35512         atomic_compare_and_exchange_bool_acq instead of
35513         catomic_compare_and_exchange_bool_acq.
35515 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35517         * elf/Makefile (others, install-bin): Remove pldd.
35518         (pldd-modules): Variable removed.
35519         ($(objpfx)pldd): Target removed.
35520         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35521         (others, install-bin): Append pldd here.
35522         ($(objpfx)pldd): New target.
35524         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35525         to 0, so the first #if test emitted later doesn't see it undefined.
35526         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35527         * sysdeps/gnu/errlist.c: Regenerated.
35529 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35531         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35532         [libc_hidden_builtin_def]: Define to empty value.
35533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35534         [libc_hidden_builtin_def]: Likewise.
35535         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35536         [libc_hidden_builtin_def]: Likewise.
35537         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35538         [libc_hidden_builtin_def]: Likewise.
35539         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35540         __redirect_memcpy and define ifunc as default hidden symbol.
35541         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35542         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35544 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35546         * locale/iso-4217.def: Reintroduce XDR currency.
35548 2014-05-04  Allan McRae  <allan@archlinux.org>
35550         * po/eo.po: Update Esperanto translation from translation project.
35552 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35554         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35555         and FEATURE_INDEX_MAX to 1.
35556         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35558 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35560         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35561         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35562         * iconvdata/big5.c (ONE_DIRECTION): Define.
35563         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35564         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35565         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35566         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35567         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35568         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35569         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35570         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35571         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35572         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35573         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35574         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35575         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35576         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35577         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35578         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35579         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35580         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35581         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35582         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35583         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35584         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35585         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35586         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35587         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35588         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35589         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35590         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35591         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35592         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35593         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35594         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35595         * iconvdata/johab.c (ONE_DIRECTION): Define.
35596         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35597         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35598         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35599         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35600         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35601         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35602         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35603         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35604         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35605         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35607 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35609         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35610         (_IO_JUMPS_OFFSET): Define to 0.
35612         * nptl/sysdeps/pthread/bits/libc-lock.h
35613         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35614         (__libc_lock_define_initialized_recursive): Always define using
35615         initializer.  Modern compilers treat uninitialized (implicit zero) and
35616         explicit zero initializers the same (i.e. put the datum in bss).
35618 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35620         * nscd/nscd-client.h: Include <string.h>.
35622 2014-05-01  David S. Miller  <davem@davemloft.net>
35624         [BZ #16885]
35625         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35626         multiple zero bytes exist at the end of a string.
35627         Reported by Aurelien Jarno <aurelien@aurel32.net>
35629         * string/test-strcmp.c (check): Add explicit test for situations where
35630         there are multiple zero bytes after the first.
35632 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35634         [BZ #16890]
35635         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35636         when compiling wprintf.
35637         * stdio-common/tstdiomisc.c (t3): New function.
35638         (main): Call it.
35640 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35642         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35643         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35644         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35645         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35647 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35649         * stdlib/longlong.h: Updated from GCC.
35651 2014-05-01  Will Newton  <will.newton@linaro.org>
35652             Bernard Ogden  <bernie.ogden@linaro.org>
35654         * NEWS: Update fixed bug list.
35656         [BZ #15119]
35657         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35659 2014-04-30  David S. Miller  <davem@davemloft.net>
35661         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35662         (libc_feholdexcept_setround_sparc_ctx): New function.
35663         (libc_fesetenv_sparc_ctx): Likewise.
35664         (libc_feupdateenv_sparc_ctx): Likewise.
35665         (libc_feholdsetround_sparc_ctx): Likewise.
35666         (libc_feholdexcept_setround_ctx): Define.
35667         (libc_feholdexcept_setroundf_ctx): Likewise.
35668         (libc_feholdexcept_setroundl_ctx): Likewise.
35669         (libc_fesetenv_ctx): Likewise.
35670         (libc_fesetenvf_ctx): Likewise.
35671         (libc_fesetenvl_ctx): Likewise.
35672         (libc_feupdateenv_ctx): Likewise.
35673         (libc_feupdateenvf_ctx): Likewise.
35674         (libc_feupdateenvl_ctx): Likewise.
35675         (libc_feresetround_ctx): Likewise.
35676         (libc_feresetroundf_ctx): Likewise.
35677         (libc_feresetroundl_ctx): Likewise.
35678         (libc_feholdsetround_ctx): Likewise.
35679         (libc_feholdsetroundf_ctx): Likewise.
35680         (libc_feholdsetroundl_ctx): Likewise.
35682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35683         with __USE_GNU instead of XOPEN cpp guards.
35685         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35686         0.
35688         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35689         with XOPEN cpp guards.
35691 2014-04-30  Julian Brown  <julian@codesourcery.com>
35693         [BZ #16888]
35694         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35695         handling.
35697 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35699         [BZ #9894]
35700         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35701         Change to 2.6.32.
35702         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35703         * sysdeps/unix/sysv/linux/configure: Regenerated.
35704         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35705         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35706         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35707         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35708         * README: Update reference to required Linux kernel version.
35709         * manual/install.texi (Linux): Update reference to required Linux
35710         kernel headers version.
35711         * INSTALL: Regenerated.
35713         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35714         header inclusion.
35715         [POSIX] (limits.h): Likewise.
35716         [POSIX] (math.h): Likewise.
35717         [POSIX] (sys/wait.h): Likewise.
35718         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35719         function.
35720         [POSIX] (stddef.h): Do not allow header inclusion.
35722 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35724         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35726 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35728         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35729         Return immediately after lll_futex_wake.
35731 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35733         [BZ #16791]
35734         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35735         structure.
35736         (datahead_init_pos): Call datahead_init_common early.
35737         (datahead_init_neg): Likewise.
35739         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35740         datahead_init_neg): New functions.
35741         * nscd/aicache.c (addhstaiX): Use them.
35742         * nscd/grpcache.c (cache_addgr): Likewise.
35743         * nscd/hstcache.c (cache_addhst): Likewise.
35744         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35745         * nscd/netgroupcache.c (do_notfound): Likewise.
35746         (addgetnetgrentX): Likewise.
35747         (addinnetgrX): Likewise.
35748         * nscd/pwdcache.c (cache_addpw): Likewise.
35749         * nscd/servicescache.c (cache_addserv): Likewise.
35751 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35752             Atsushi Onoe  <atsushi@onoe.org>
35754         [BZ #14308]
35755         [BZ #12994]
35756         [BZ #13651]
35757         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35758         one response is valid.
35759         * resolv/res_send.c (send_dg): Check for validity of other
35760         response if the current response is a referral.
35762 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35764         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35766 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35768         [BZ #16823]
35769         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35770         Always divide by positive zero when computing -Inf result.
35771         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35772         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35774 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35776         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35777         FPSCR if value do not change.
35778         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35779         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35780         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35781         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35782         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35783         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35784         function.
35786 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35788         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35789         * sysdeps/unix/sysv/linux/hppa: Move directory from
35790         ports/systeps/unix/sysv/linux/hppa.
35791         * README: Update listing for hppa-*-linux-gnu.
35793 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35795         [BZ #16754]
35796         * manual/stdio.texi (Hook functions): Fix types of stream hook
35797         functions.
35798         [BZ #16854]
35799         * socket/sys/socket.h: Fix typo in comment.
35801 2014-04-28  Wilco  <wdijkstr@arm.com>
35803         * sysdeps/arm/fenv_private.h: New file.
35804         * sysdeps/arm/math_private.h: New file.
35805         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35807 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35809         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35810         with __int128_t.
35811         (La_x86_64_retval): Likewise.
35813 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35815         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35816         fpsr if value didn't change.
35817         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35818         to fpcr if value didn't change.
35819         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35820         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35821         fpsr or fpcr if value didn't change.
35822         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35823         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35824         fpcr if value didn't change.
35825         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35826         to fpsr if value didn't change.
35828 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35830         * nptl/tst-sem3.c: Use test-skeleton.c
35831         (main): Rename to do_test.  Use return instead of
35832         exit.
35833         * nptl/tst-sem4.c: Use test-skeleton.c
35834         (main): Rename to do_test.
35836 2014-04-22  David S. Miller  <davem@davemloft.net>
35838         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35839         (struct sigaction): New struct member __glibc_reserved0, change
35840         type of sa_flags to int.
35842 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35844         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35845         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35847 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35849         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35850         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35852 2014-04-22  Will Newton  <will.newton@linaro.org>
35853             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35855         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35856         (__longjmp): Add longjmp and longjmp_target SystemTap
35857         probes.
35858         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35859         (__sigsetjmp): Add setjmp SystemTap probe.
35861 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35863         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35864         match manual order.
35866 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35868         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35870         * sysdeps/powerpc/fpu/fenv_private.h
35871         (libc_feholdexcept_setroundl_ctx): Define to
35872         libc_feholdexcept_setround_ppc_ctx.
35873         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35874         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35875         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35876         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35878 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35880         * sysdeps/aarch64/math-tests.h: New file.
35882 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35884         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35885         New.
35886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35887         Check and set bit_AVX2_Usable.
35888         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35889         macro.
35890         (bit_AVX2): Likewise.
35891         (index_AVX2_Usable): Likewise.
35892         (CPUID_AVX2): Likewise.
35893         (HAS_AVX2): Likewise.
35895 2014-04-17  Will Newton  <will.newton@linaro.org>
35897         * manual/setjmp.texi (System V contexts): Add note that
35898         calling setcontext on a context created by a call to a
35899         signal handler is undefined.  Update text to note that
35900         setcontext from a signal handler is possible but not
35901         recommended.
35903         [BZ #16629]
35904         * stdlib/tst-setcontext.c: Include signal.h.
35905         (main): Check that the signal stack before and
35906         after swapcontext is the same.
35908         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35909         Re-implement to restore registers in user code and avoid
35910         rt_sigreturn system call.
35912 2014-04-17  Wilco  <wdijkstr@arm.com>
35914         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35915         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35916         * math/test-fenv.c: Skip exception trap tests on targets which only
35917         support non-stop mode.
35919 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35920             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35922         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35923         (libc_feholdsetround_aarch64_ctx)
35924         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35925         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35926         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35927         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35928         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35929         (libc_feresetround_noexl_ctx): Define.
35931 2014-04-16  Richard Henderson  <rth@redhat.com>
35933         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35935         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35936         unwind tables.
35938         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35939         const from the non-libc, non-ldso copy.
35941         * sysdeps/alpha/libm-test-ulps: Regenerate.
35943 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35944             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35946         * sysdeps/aarch64/fpu/math_private.h: New file.
35948 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35950         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35952 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35954         [BZ #16275]
35955         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35956         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35958         Intel MPX bound registers before _dl_profile_fixup.
35959         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35960         registers after _dl_profile_fixup.  Save and restore bound
35961         registers bnd0/bnd1 when calling _dl_call_pltexit.
35962         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35963         (LR_BND_OFFSET): Likewise.
35964         (LRV_BND0_OFFSET): Likewise.
35965         (LRV_BND1_OFFSET): Likewise.
35967 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35969         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35970         to...
35971         * sysdeps/mach/hurd/i386/tls.h: ... here.
35972         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35973         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35974         fields.
35976 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35978         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35980 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35982         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35984 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35986         [BZ #14770]
35987         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35988         * sysdeps/s390/configure: Regenerate.
35990         [BZ #16824]
35991         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35992         Set round-to-nearest internally to reduce error accumulation.
35994 2014-04-16  Alan Modra  <amodra@gmail.com>
35996         [BZ #16740]
35997         [BZ #16619]
35998         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35999         * math/libm-test.inc (frexp_test_data): Add tests.
36000         * NEWS: Update fixed bug list.
36002 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36004         * benchtests/Makefile: Depend on libraries in build directory.
36005         (bench-math): Separate out math tests.
36006         (bench-pthread): Separate out pthread tests.
36007         (bench): Include math and pthread tests.
36009 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36011         [BZ #16831]
36012         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36013         _dl_debug_initialize.
36015         * configure.ac: Remove SELinux header check.
36016         * configure: Regenerate.
36017         * nscd/selinux.c (perms): Array of const char* to permission names.
36018         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36019         default policy. Call string_to_security_class and string_to_av_perm to
36020         translate strings. Enforce default policy and call avs_has_perm with
36021         results of translated strings.
36023 2014-04-13  David S. Miller  <davem@davemloft.net>
36025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36027 2014-04-12  Allan McRae  <allan@archlinux.org>
36029         [BZ #16838]
36030         * manual/string.texi (Collation Functions): Fix qsort argument
36031         order in example.
36032         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36034 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36036         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36037         Make the test a no-op if there are no exceptions defined.
36039 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36041         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36042         enable-hardcoded-path-in-tests
36044 2014-04-11  Will Newton  <will.newton@linaro.org>
36046         * benchtests/Makefile (extra-objs): Add json-lib.o.
36047         (bench-func): Tidy up JSON output.
36048         * benchtests/bench-skeleton.c: Include json-lib.h.
36049         (main): Use JSON library functions to do output of
36050         benchmark results.
36051         * benchtests/bench-timing-type.c (main): Output the
36052         timing type simply, leaving formatting to the user.
36053         * benchtests/json-lib.c: New file.
36054         * benchtests/json-lib.h: Likewise.
36056 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36058         [BZ #15215]
36059         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36060         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36061         memory barriers.  Add comments.
36062         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36063         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36064         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36065         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36066         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36067         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36069 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36071         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36072         * sysdeps/s390/s390-64/configure.ac: ... this ...
36073         * sysdeps/s390/configure.ac: ... to here.
36074         * sysdeps/s390/s390-32/configure: Delete file.
36075         * sysdeps/s390/s390-64/configure: Delete file.
36076         * sysdeps/s390/configure: Regenerate.
36078 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36080         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36082 2014-04-11  Will Newton  <will.newton@linaro.org>
36084         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36085         to zero if it is not defined elsewhere.  (mtrim): Test
36086         the value of MALLOC_DEBUG with #if rather than #ifdef.
36088 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36090         * benchtests/pthread_once-inputs: New file.
36091         * benchtests/pthread_once-source.c: New file.
36092         * benchtests/README: Update documentation.
36094 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36095             H.J. Lu  <hongjiu.lu@intel.com>
36097         [BZ #16275]
36098         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36099         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36100         * sysdeps/x86_64/configure: Regenerated.
36101         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36102         macro.
36103         (REGISTER_SAVE_RAX): Likewise.
36104         (REGISTER_SAVE_RCX): Likewise.
36105         (REGISTER_SAVE_RDX): Likewise.
36106         (REGISTER_SAVE_RSI): Likewise.
36107         (REGISTER_SAVE_RDI): Likewise.
36108         (REGISTER_SAVE_R8): Likewise.
36109         (REGISTER_SAVE_R9): Likewise.
36110         (REGISTER_SAVE_BND0): Likewise.
36111         (REGISTER_SAVE_BND1): Likewise.
36112         (REGISTER_SAVE_BND2): Likewise.
36113         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36114         bound registers when calling _dl_fixup.
36116 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36118         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36119         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36120         of its definition.
36121         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36122         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36123         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36124         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36125         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36126         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36127         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36129 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36131         [BZ #15514]
36132         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36133         pathconf(_PC_NAME_MAX).
36135 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36137         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36138         Remove macro usage.
36139         (__PTHREAD_SPINS): Move definition to ...
36140         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36141         (__PTHREAD_SPINS): ... here.
36142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36143         (__PTHREAD_SPIN): Likewise.
36144         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36145         (__PTHREAD_SPIN): Likewise.
36146         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36147         (__PTHREAD_SPIN): Likewise.
36148         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36149         (__PTHREAD_SPIN): Likewise.
36150         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36151         (__PTHREAD_SPIN): Likewise.
36152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36153         (__PTHREAD_SPIN): Likewise.
36154         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36155         (__PTHREAD_SPIN): Likewise.
36156         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36157         (__PTHREAD_SPIN): Likewise.
36158         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36159         (__PTHREAD_SPIN): Likewise.
36160         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36161         (__PTHREAD_SPIN): Likewise.
36162         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36163         (__PTHREAD_SPIN): Likewise.
36164         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36165         (__PTHREAD_SPIN): Likewise.
36167         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36168         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36169         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36170         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36171         imply folder.
36172         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36173         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36174         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36175         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36176         correct imply path.
36177         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36178         strlen symbol for non multi-arch builds.
36179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36180         missing hidden_def and weak_alias.
36182 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36184         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36186 2014-04-07  Will Newton  <will.newton@linaro.org>
36188         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36189         and contents.  [!_LIBC] Remove #ifndef and contents.
36190         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36191         * string/memccpy.c (__memccpy): Use ANSI prototype.
36192         * string/memfrob.c (memfrob): Likewise.
36193         * string/strcoll.c (STRCOLL): Likewise.
36194         * string/strlen.c (strlen): Likewise.
36195         * string/strtok.c (STRTOK): Likewise.
36196         * string/strcat.c: Remove unused #include of memcopy.h.
36197         (strcat): Use ANSI prototype.
36198         * string/strchr.c: Remove unused #include of memcopy.h.
36199         (strchr): Use ANSI prototype.
36200         * string/strcmp.c: Remove unused #include of memcopy.h.
36201         (strcmp): Use ANSI prototype.
36202         * string/strcpy.c: Remove unused #include of memcopy.h.
36203         (strcpy): Use ANSI prototype.
36205 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36207         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36208         * config.make.in (config-extra-cppflags): Set it from
36209         libc_extra_cppflags.
36210         * configure.ac (libc_extra_cflags): Make it accumulate over
36211         configure fragments.
36212         (libc_extra_cppflags): New flag.
36213         * configure. Regenerate.
36214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36215         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36216         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36219         [BZ #16815]
36220         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36221         result for FE_DOWNWARD rounding mode.
36222         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36223         Likewise.
36224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36226 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36228         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36229         in function argument name.
36231 2014-04-03  David Svoboda  <svoboda@cert.org>
36233         [BZ #5666]
36234         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36235         explicitly.
36237 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36239         * elf/dl-unmap-segments.h: New file.
36240         * sysdeps/generic/ldsodefs.h
36241         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36242         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36243         * elf/dl-fptr.c: Likewise.
36244         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36245         * sysdeps/aarch64/tlsdesc.c: Likewise.
36246         * sysdeps/arm/tlsdesc.c: Likewise.
36247         * sysdeps/i386/tlsdesc.c: Likewise.
36248         * sysdeps/tile/dl-runtime.c: Likewise.
36249         * sysdeps/x86_64/tlsdesc.c: Likewise.
36250         * elf/dl-load.h: New file.
36251         * elf/dl-load.c: Include it.
36252         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36253         Macros moved to dl-load.h.
36254         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36255         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36256         Use _dl_unmap_segments in place of __munmap.
36257         Break out segment-mapping loop into ...
36258         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36260 2014-04-03  Will Newton  <will.newton@linaro.org>
36262         * elf/dl-lookup.c (do_lookup_x): Remove comment
36263         referring to nested function and move variable
36264         declarations down to before first use.
36266 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36268         [BZ #16799]
36269         [BZ #16800]
36270         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36271         with 0 numerator.
36272         * math/s_catanf.c (__catanf): Likewise.
36273         * math/s_catanh.c (__catanh): Likewise.
36274         * math/s_catanhf.c (__catanhf): Likewise.
36275         * math/s_catanhl.c (__catanhl): Likewise.
36276         * math/s_catanl.c (__catanl): Likewise.
36277         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36278         by positive zero when computing -Inf result.
36279         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36280         (catanh_test): Likewise.
36281         * sysdeps/i386/fpu/libm-test-ulps: Update.
36282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36284         [BZ #16789]
36285         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36286         instead of using underflowing value in computing result.
36287         * math/s_clog10.c (__clog10): Likewise.
36288         * math/s_clog10f.c (__clog10f): Likewise.
36289         * math/s_clog10l.c (__clog10l): Likewise.
36290         * math/s_clogf.c (__clogf): Likewise.
36291         * math/s_clogl.c (__clogl): Likewise.
36292         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36293         (clog10_test): Likewise.
36294         * sysdeps/i386/fpu/libm-test-ulps: Update.
36295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36297 2014-04-02  Alan Modra  <amodra@gmail.com>
36299         [BZ #16739]
36300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36301         output when value is near a power of two.  Use int64_t for lx and
36302         remove casts.  Use decimal rather than hex exponent constants.
36303         Don't use long double multiplication when double will suffice.
36304         * math/libm-test.inc (nextafter_test_data): Add tests.
36305         * NEWS: Add 16739 and 16786 to bug list.
36307         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36309         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36311 2014-04-01  Will Newton  <will.newton@linaro.org>
36313         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36314         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36316 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36318         [BZ #13347]
36319         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36320         * nptl/tst-setuid2.c: New file.
36321         * nptl/Makefile (xtests): Add tst-setuid2.
36323 2014-04-01  Alan Modra  <amodra@gmail.com>
36325         [BZ #16786]
36326         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36328 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36330         [BZ #6803]
36331         [BZ #6804]
36332         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36333         set errno as appropriate.
36334         * math/w_scalbf.c (__scalbf): Likewise.
36335         * math/w_scalbl.c (__scalbl): Likewise.
36336         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36337         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36338         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36339         Add more NaN tests.
36341         [BZ #16349]
36342         * math/w_atan2.c: Include <errno.h>.
36343         (__atan2): Set errno for result underflowing to zero.
36344         * math/w_atan2f.c: Include <errno.h>.
36345         (__atan2f): Set errno for result underflowing to zero.
36346         * math/w_atan2l.c: Include <errno.h>.
36347         (__atan2l): Set errno for result underflowing to zero.
36348         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36349         tests.
36350         * math/auto-libm-test-out: Regenerated.
36352 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36354         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36355         Encode instruction correctly in little endian.
36356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36357         Likewise.
36358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36359         Likewise.
36360         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36361         Likewise.
36362         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36363         Likewise.
36365 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36367         [BZ #9894]
36368         * sysdeps/unix/sysv/linux/kernel-features.h
36369         [__sparc__ && !__arch64__ && !__sparc_v9__]
36370         (__ASSUME_SET_ROBUST_LIST): Do not define.
36371         [__sparc__ && !__arch64__ && !__sparc_v9__]
36372         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36373         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36374         Likewise.
36375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36376         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36377         (__ASSUME_REQUEUE_PI): Likewise.
36378         (__ASSUME_SET_ROBUST_LIST): Likewise.
36379         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36380         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36381         Undefine.
36382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36383         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36384         Likewise.
36385         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36386         Likewise.
36387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36388         Likewise.
36389         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36390         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36391         Undefine.
36392         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36393         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36394         Likewise.
36396         [BZ #16648]
36397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36399         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36401 2014-03-31  Will Newton  <will.newton@linaro.org>
36403         * benchtests/Makefile (bench): Add ffs and ffsll to list
36404         of tests.
36405         * benchtests/ffs-inputs: New file.
36406         * benchtests/ffsll-inputs: Likewise.
36408 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36410         [BZ #16770]
36411         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36412         too large before casting to int.
36413         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36414         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36415         * math/libm-test.inc (scalb_test_data): Add more tests.
36417 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36419         * benchtests/Makefile (DETAILED_OPT): New make option.
36420         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36421         set.
36422         * benchtests/bench-skeleton.c: Include stdbool.h.
36423         (main): Store and print timings per input.
36424         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36425         member to each argument value.
36426         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36427         (_print_arg_data): Initialize per-input timing to 0.
36429         * benchtests/Makefile (timing-type): New binary.
36430         (bench-clean): Also remove bench-timing-type.
36431         (bench): New target for timing-type.
36432         (bench-func): Print output in JSON format.
36433         * benchtests/bench-skeleton.c (main): Print output in JSON
36434         format.
36435         * benchtests/bench-timing-type.c: New file.
36436         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36437         (TIMING_PRINT_STATS): Remove.
36438         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36439         name separately.
36441         * benchtests/bench-modf.c: Remove.
36442         * benchtests/modf-inputs: New inputs file.
36444 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36446         [BZ #16362]
36447         * math/s_clog10.c (M_PI_LOG10E): New macro.
36448         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36449         imaginary parts are 0.
36450         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36451         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36452         imaginary parts are 0.
36453         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36454         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36455         imaginary parts are 0.
36456         * math/libm-test.inc (clog10_test_data): Update expected results
36457         for when real and imaginary parts are 0.
36459 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36461         * elf/dl-load.c: Finish conversion of __builtin_expect into
36462         __glibc_{un}likely.
36464 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #16348]
36467         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36468         1+x for argument with exponent below -67.
36469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36470         Likewise.
36471         * math/auto-libm-test-in: Add more tests of exp.
36472         * math/auto-libm-test-out: Regenerated.
36474 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36476         [BZ #16759]
36477         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36478         (nscd_getnetgrent): Use it.
36480         [BZ #16760]
36481         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36482         of stpcpy.
36484 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36486         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36487         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36488         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36489         (lll_robust_unlock): Remove out of line section. Use cfi
36490         intrinsics.
36491         (LLL_STUB_UNWIND_INFO*): Remove.
36492         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36493         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36494         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36495         (lll_robust_unlock): Remove out of line section. Use cfi
36496         intrinsics.
36497         (LLL_STUB_UNWIND_INFO*): Remove.
36499 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36501         [BZ #16758]
36502         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36503         blank values.
36505 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36507         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36509 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36511         [BZ #16198]
36512         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36513         fnstenv.
36514         * math/test-fenv-preserve.c: New file.
36515         * math/Makefile (tests): Add test-fenv-preserve.
36517 2014-03-26  Will Newton <will.newton@linaro.org>
36519         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36521 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36523         * scripts/versionlist.awk: Partition the version sets and emit all
36524         GLIBC_* (sorted) before all others (sorted).
36526 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36528         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36529         GLIBC_2.2.5 version.
36531 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36533         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36534         calls.
36536         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36537         previous change.
36539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36541 2014-03-25  Andreas Schwab  <schwab@suse.de>
36543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36544         label to be used after in6ailist is initialized.
36546 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36548         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36549         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36551 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36553         [BZ #16357]
36554         [BZ #16599]
36555         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36556         min_plus_half.
36557         (fp_formats): Update initializers.
36558         (init_fp_formats): Initialize new field.
36559         (output_for_one_input_case): Allow underflow for results up to
36560         min_plus_half.
36561         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36562         * math/auto-libm-test-in: Don't mark some underflows from asin and
36563         atanh as spurious.
36564         * math/auto-libm-test-out: Regenerated.
36565         * sysdeps/i386/fpu/libm-test-ulps: Update.
36566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36568 2014-03-25  Andreas Schwab  <schwab@suse.de>
36570         * libio/Makefile (tst-ftell-partial-wide-ENV)
36571         (tst-ftell-active-handler-ENV): Define.
36573 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36575         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36577 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36579         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36581 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36583         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36584         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36585         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36587 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36589         [BZ #16634]
36590         * elf/dl-load.c (open_verify): Add mode parameter.
36591         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36592         (open_path): Change from boolean 'secure' to complete flag 'mode'
36593         (_dl_map_object): Adjust.
36594         * elf/Makefile (tests): Add tst-dlopen-aout.
36595         * elf/tst-dlopen-aout.c: New test.
36597 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36599         [BZ #16714]
36600         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36601         (struct stat): Rename member pad0 to __glibc_reserved0.
36603         [BZ #16712]
36604         * sysdeps/s390/s390-32/bits/wordsize.h
36605         (__WORDSIZE32_SIZE_ULONG): New define.
36606         * sysdeps/s390/s390-64/bits/wordsize.h
36607         (__WORDSIZE32_SIZE_ULONG): Likewise.
36608         * sysdeps/generic/stdint.h (SIZE_MAX):
36609         Define as UL if __WORDSIZE32_SIZE_ULONG.
36611         [BZ #16713]
36612         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36613         (__glibc_reserved0): New variable.
36614         (sa_flags): Change type to int.
36616         * posix/Makefile (before-compile): Use += before-compile instead
36617         of a :=.
36619         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36620         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36622 2014-03-20  Andreas Schwab  <schwab@suse.de>
36624         [BZ #16743]
36625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36626         non-matching result from nscd.
36628 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36630         * scripts/bench.py: Moved to ...
36631         * benchtests/scripts/bench.py: ... here.
36632         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36634 2014-03-24  Andreas Schwab  <schwab@suse.de>
36636         [BZ #16002]
36637         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36638         alloca_account and account alloca use for struct in6ailist.
36640 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36642         [BZ #16284]
36643         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36644         rounding mode to recompute results that overflow to infinity or
36645         underflow to zero.
36646         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36647         bug 16284.
36648         * math/auto-libm-test-out: Regenerated.
36649         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36650         (ccosh_test): Likewise.
36651         (csin_test_data): Use plus_oflow.
36652         (csin_test): Use ALL_RM_TEST.
36653         (csinh_test_data): Use plus_oflow.
36654         (csinh_test): Use ALL_RM_TEST.
36655         * sysdeps/i386/fpu/libm-test-ulps: Update.
36656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36658 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36660         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36661         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36662         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36664         [BZ #16731]
36665         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36666         when x - 1 is zero.
36667         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36668         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36669         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36671         argument is 1.
36672         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36673         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36674         zero.
36675         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36676         * sysdeps/i386/fpu/libm-test-ulps: Update.
36677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36679 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681         * scripts/bench.pl: Remove file.
36682         * scripts/bench.py: New benchmark script.
36683         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36684         * benchtests/README: Mention python dependency.
36685         * scripts/pylintrc: New file.
36686         * scripts/pylint: New file.
36688         * bits/mathdef.h: Use #ifdef instead of #if.
36689         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36690         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36691         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36692         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36693         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36694         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36696 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36697             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36699         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36701         and strpbrk-ppc64 objects.
36702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36703         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36704         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36705         multiarch strpbrk for POWER7.
36706         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36707         multiarch strpbrk for PPC64.
36708         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36709         ifunc selector.
36710         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36711         strpbrk for POWER7.
36713 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36715         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36716         (atan_test): Likewise.
36717         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36718         (atanh_test): Use ALL_RM_TEST.
36719         (atan2_test_data): Likewise.
36720         (cabs_test): Likewise.
36721         (cacosh_test): Likewise.
36722         (carg_test): Likewise.
36723         (casin_test): Likewise.
36724         (casinh_test): Likewise.
36725         (cbrt_test): Likewise.
36726         (csqrt_test): Likewise.
36727         (erf_test): Likewise.
36728         (erfc_test): Likewise.
36729         (pow10_test): Likewise.
36730         (exp2_test): Likewise.
36731         (hypot_test): Likewise.
36732         (j0_test): Likewise.
36733         (j1_test): Likewise.
36734         (lgamma_test): Likewise.
36735         (gamma_test): Likewise.
36736         (sincos_test): Likewise.
36737         (tanh_test): Likewise.
36738         (y0_test): Likewise.
36739         (y1_test): Likewise.
36740         * sysdeps/i386/fpu/libm-test-ulps: Update.
36741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36743 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36745         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36747         and strcspn-ppc64 objects.
36748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36749         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36750         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36751         multiarch strcspn for POWER7.
36752         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36753         multiarch strcspn for PPC64.
36754         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36755         ifunc selector.
36756         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36757         strcspn for POWER7.
36759 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36761         * math/gen-libm-test.pl (generate_testfile): Expect only function
36762         name as argument to AUTO_TESTS_* and pass results for all rounding
36763         modes to parse_args.
36764         (parse_auto_input): Separate inputs of automatic tests from
36765         outputs before storing in %auto_tests.
36766         * math/libm-test.inc (acos_test_data): Update call to
36767         AUTO_TESTS_f_f.
36768         (acos_test): Use ALL_RM_TEST.
36769         (acos_tonearest_test_data): Remove.
36770         (acos_test_tonearest): Likewise.
36771         (acos_towardzero_test_data): Likewise.
36772         (acos_test_towardzero): Likewise.
36773         (acos_downward_test_data): Likewise.
36774         (acos_test_downward): Likewise.
36775         (acos_upward_test_data): Likewise.
36776         (acos_test_upward): Likewise.
36777         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36778         (asin_test_data): Likewise.
36779         (asin_test): Use ALL_RM_TEST.
36780         (asin_tonearest_test_data): Remove.
36781         (asin_test_tonearest): Likewise.
36782         (asin_towardzero_test_data): Likewise.
36783         (asin_test_towardzero): Likewise.
36784         (asin_downward_test_data): Likewise.
36785         (asin_test_downward): Likewise.
36786         (asin_upward_test_data): Likewise.
36787         (asin_test_upward): Likewise.
36788         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36789         (atan_test_data): Likewise.
36790         (atanh_test_data): Likewise.
36791         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36792         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36793         (carg_test_data): Likewise.
36794         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36795         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36796         (ccosh_test_data): Likewise.
36797         (cexp_test_data): Likewise.
36798         (clog_test_data): Likewise.
36799         (clog10_test_data): Likewise.
36800         (cos_test_data): Update call to AUTO_TESTS_f_f.
36801         (cos_test): Use ALL_RM_TEST.
36802         (cos_tonearest_test_data): Remove.
36803         (cos_test_tonearest): Likewise.
36804         (cos_towardzero_test_data): Likewise.
36805         (cos_test_towardzero): Likewise.
36806         (cos_downward_test_data): Likewise.
36807         (cos_test_downward): Likewise.
36808         (cos_upward_test_data): Likewise.
36809         (cos_test_upward): Likewise.
36810         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36811         (cosh_test): Use ALL_RM_TEST.
36812         (cosh_tonearest_test_data): Remove.
36813         (cosh_test_tonearest): Likewise.
36814         (cosh_towardzero_test_data): Likewise.
36815         (cosh_test_towardzero): Likewise.
36816         (cosh_downward_test_data): Likewise.
36817         (cosh_test_downward): Likewise.
36818         (cosh_upward_test_data): Likewise.
36819         (cosh_test_upward): Likewise.
36820         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36821         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36822         (ctan_test_data): Likewise.
36823         (ctan_test): Use ALL_RM_TEST.
36824         (ctan_tonearest_test_data): Remove.
36825         (ctan_test_tonearest): Likewise.
36826         (ctan_towardzero_test_data): Likewise.
36827         (ctan_test_towardzero): Likewise.
36828         (ctan_downward_test_data): Likewise.
36829         (ctan_test_downward): Likewise.
36830         (ctan_upward_test_data): Likewise.
36831         (ctan_test_upward): Likewise.
36832         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36833         (ctanh_test): Use ALL_RM_TEST.
36834         (ctanh_tonearest_test_data): Remove.
36835         (ctanh_test_tonearest): Likewise.
36836         (ctanh_towardzero_test_data): Likewise.
36837         (ctanh_test_towardzero): Likewise.
36838         (ctanh_downward_test_data): Likewise.
36839         (ctanh_test_downward): Likewise.
36840         (ctanh_upward_test_data): Likewise.
36841         (ctanh_test_upward): Likewise.
36842         (erf_test_data): Update call to AUTO_TESTS_f_f.
36843         (erfc_test_data): Likewise.
36844         (exp_test_data): Likewise.
36845         (exp_test): Use ALL_RM_TEST.
36846         (exp_tonearest_test_data): Remove.
36847         (exp_test_tonearest): Likewise.
36848         (exp_towardzero_test_data): Likewise.
36849         (exp_test_towardzero): Likewise.
36850         (exp_downward_test_data): Likewise.
36851         (exp_test_downward): Likewise.
36852         (exp_upward_test_data): Likewise.
36853         (exp_test_upward): Likewise.
36854         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36855         (exp10_test): Use ALL_RM_TEST.
36856         (exp10_tonearest_test_data): Remove.
36857         (exp10_test_tonearest): Likewise.
36858         (exp10_towardzero_test_data): Likewise.
36859         (exp10_test_towardzero): Likewise.
36860         (exp10_downward_test_data): Likewise.
36861         (exp10_test_downward): Likewise.
36862         (exp10_upward_test_data): Likewise.
36863         (exp10_test_upward): Likewise.
36864         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36865         (expm1_test_data): Likewise.
36866         (expm1_test): Use ALL_RM_TEST.
36867         (expm1_tonearest_test_data): Remove.
36868         (expm1_test_tonearest): Likewise.
36869         (expm1_towardzero_test_data): Likewise.
36870         (expm1_test_towardzero): Likewise.
36871         (expm1_downward_test_data): Likewise.
36872         (expm1_test_downward): Likewise.
36873         (expm1_upward_test_data): Likewise.
36874         (expm1_test_upward): Likewise.
36875         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36876         (fma_test): Use ALL_RM_TEST.
36877         (fma_towardzero_test_data): Remove.
36878         (fma_test_towardzero): Likewise.
36879         (fma_downward_test_data): Likewise.
36880         (fma_test_downward): Likewise.
36881         (fma_upward_test_data): Likewise.
36882         (fma_test_upward): Likewise.
36883         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36884         (j0_test_data): Update call to AUTO_TESTS_f_f.
36885         (j1_test_data): Likewise.
36886         (jn_test_data): Update call to AUTO_TESTS_if_f.
36887         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36888         (log_test_data): Update call to AUTO_TESTS_f_f.
36889         (log10_test_data): Likewise.
36890         (log1p_test_data): Likewise.
36891         (log2_test_data): Likewise.
36892         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36893         (pow_tonearest_test_data): Likewise.
36894         (sin_test_data): Update call to AUTO_TESTS_f_f.
36895         (sin_test): Use ALL_RM_TEST.
36896         (sin_tonearest_test_data): Remove.
36897         (sin_test_tonearest): Likewise.
36898         (sin_towardzero_test_data): Likewise.
36899         (sin_test_towardzero): Likewise.
36900         (sin_downward_test_data): Likewise.
36901         (sin_test_downward): Likewise.
36902         (sin_upward_test_data): Likewise.
36903         (sin_test_upward): Likewise.
36904         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36905         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36906         (sinh_test): Use ALL_RM_TEST.
36907         (sinh_tonearest_test_data): Remove.
36908         (sinh_test_tonearest): Likewise.
36909         (sinh_towardzero_test_data): Likewise.
36910         (sinh_test_towardzero): Likewise.
36911         (sinh_downward_test_data): Likewise.
36912         (sinh_test_downward): Likewise.
36913         (sinh_upward_test_data): Likewise.
36914         (sinh_test_upward): Likewise.
36915         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36916         (sqrt_test): Use ALL_RM_TEST.
36917         (sqrt_tonearest_test_data): Remove.
36918         (sqrt_test_tonearest): Likewise.
36919         (sqrt_towardzero_test_data): Likewise.
36920         (sqrt_test_towardzero): Likewise.
36921         (sqrt_downward_test_data): Likewise.
36922         (sqrt_test_downward): Likewise.
36923         (sqrt_upward_test_data): Likewise.
36924         (sqrt_test_upward): Likewise.
36925         (tan_test_data): Update call to AUTO_TESTS_f_f.
36926         (tan_test): Use ALL_RM_TEST.
36927         (tan_tonearest_test_data): Remove.
36928         (tan_test_tonearest): Likewise.
36929         (tan_towardzero_test_data): Likewise.
36930         (tan_test_towardzero): Likewise.
36931         (tan_downward_test_data): Likewise.
36932         (tan_test_downward): Likewise.
36933         (tan_upward_test_data): Likewise.
36934         (tan_test_upward): Likewise.
36935         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36936         (tgamma_test_data): Likewise.
36937         (y0_test_data): Likewise.
36938         (y1_test_data): Likewise.
36939         (yn_test_data): Update call to AUTO_TESTS_if_f.
36940         (main): Do not call removed functions.
36942 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36944         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36945         (ldexp_test_data): Remove.
36946         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36947         scalbn_test_data.
36948         (scalb_test): Use ALL_RM_TEST.
36950 2014-03-19  Andreas Schwab  <schwab@suse.de>
36952         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36954 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36956         [BZ #16649]
36957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36959         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36961         (__ASSUME_PREADV): Undefine.
36962         (__ASSUME_PWRITEV): Likewise.
36964 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36966         * bits/mman-linux.h: Add comment about non-Linux use.
36967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36968         bits/mman-linux.h resting place.
36970         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36971         * bits/mman-linux.h: ... here.
36973 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36975         * conform/conformtest.pl: Add standard definition when calling C
36976         preprocessor on data files.
36977         (checknamespace): Remove unused variable.
36979 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36981         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36982         minus_oflow, plus_uflow and minus_uflow in expected results.
36983         * math/libm-test.inc (scalbn_test_data): Add more tests of
36984         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36985         minus_uflow.
36986         (scalbn_test): Use ALL_RM_TEST.
36987         (scalbln_test_data): Add more tests of negative arguments.  Use
36988         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36989         (scalbln_test): Use ALL_RM_TEST.
36991 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36993         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36995 2014-03-18  Will Newton  <will.newton@linaro.org>
36997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36998         inaccurate comment.
37000 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37002         * Makerules [!subdir] (check-abi): Exit with error status if a
37003         test failed.
37005 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37007         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37008         for rint.  Include results for all rounding modes.
37009         (nearbyint_test): Use ALL_RM_TEST.
37010         (rint_test_data): Include all tests used for nearbyint.
37012 2014-03-17  Will Newton  <will.newton@linaro.org>
37014         * nptl/sysdeps/pthread/pthread.h: Revert previous
37015         change.
37017         * sysdeps/generic/ldsodefs.h: Revert previous
37018         change.
37020         * libio/genops.c: Revert previous change.
37021         * libio/libioP.h: Likewise.
37022         * stdio-common/vfprintf.c: Likewise.
37024         * sysdeps/generic/math_private.h: Revert previous
37025         change.
37027         * sysdeps/generic/math_private.h: Check whether
37028         HAVE_RM_CTX is defined with #ifdef rather
37029         than #if.
37031         * argp/argp-fmtstream.h: Check whether
37032         __STRICT_ANSI__ is defined with #ifdef rather
37033         than #if.
37034         * argp/argp.h: Likewise.
37036         * libio/genops.c: Check whether
37037         _IO_JUMPS_OFFSET is defined with #ifdef rather
37038         than #if.
37039         * libio/libioP.h: Likewise.
37040         * stdio-common/vfprintf.c: Likewise.
37042         * sysdeps/generic/ldsodefs.h: Check whether
37043         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37044         than #if.
37046         * nptl/sysdeps/pthread/pthread.h: Check
37047         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37048         its value.
37050 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37052         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37053         setting O_APPEND.
37054         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37055         test case.
37057         [BZ #16680]
37058         * libio/fileops.c (_IO_file_open): Seek to end of file but
37059         don't cache the offset.
37060         (get_file_offset): Remove function.
37061         (do_ftell): Use cached offset when available.
37062         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37063         don't cache the offset.
37064         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37065         case.
37066         (do_one_test): Call it.
37067         (do_ftell_test): Fix up expected old offset for a+ mode.
37068         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37069         available.
37071         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37072         up test status with function return status.
37073         (do_write_test): Likewise.
37074         (do_append_test): Likewise.
37076         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37077         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37078         Remove.
37080 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37082         * math/gen-libm-test.pl (parse_args): Handle results specified for
37083         each rounding mode separately.
37084         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37085         tests and results from lrint_tonearest_test_data,
37086         lrint_towardzero_test_data, lrint_downward_test_data and
37087         lrint_upward_test_data.
37088         (lrint_test): Use ALL_RM_TEST.
37089         (lrint_tonearest_test_data): Remove.
37090         (lrint_test_tonearest): Likewise.
37091         (lrint_towardzero_test_data): Likewise.
37092         (lrint_test_towardzero): Likewise.
37093         (lrint_downward_test_data): Likewise.
37094         (lrint_test_downward): Likewise.
37095         (lrint_upward_test_data): Likewise.
37096         (lrint_test_upward): Likewise.
37097         (llrint_test_data): Merge in per-rounding-mode tests and results
37098         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37099         llrint_downward_test_data and llrint_upward_test_data.
37100         (llrint_test): Use ALL_RM_TEST.
37101         (llrint_tonearest_test_data): Remove.
37102         (llrint_test_tonearest): Likewise.
37103         (llrint_towardzero_test_data): Likewise.
37104         (llrint_test_towardzero): Likewise.
37105         (llrint_downward_test_data): Likewise.
37106         (llrint_test_downward): Likewise.
37107         (llrint_upward_test_data): Likewise.
37108         (llrint_test_upward): Likewise.
37109         (rint_test_data): Merge in per-rounding-mode tests and results
37110         from rint_tonearest_test_data, rint_towardzero_test_data,
37111         rint_downward_test_data and rint_upward_test_data.  Add
37112         per-rounding-mode results for tests not in those arrays.
37113         (rint_test): Use ALL_RM_TEST.
37114         (rint_tonearest_test_data): Remove.
37115         (rint_test_tonearest): Likewise.
37116         (rint_towardzero_test_data): Likewise.
37117         (rint_test_towardzero): Likewise.
37118         (rint_downward_test_data): Likewise.
37119         (rint_test_downward): Likewise.
37120         (rint_upward_test_data): Likewise.
37121         (rint_test_upward): Likewise.
37122         (main): Don't call removed functions.
37124 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37126         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37127         "Compiled on ..." crapola.  It is anti-useful.
37129 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37131         * scripts/evaluate-test.sh: Handle fourth argument to determine
37132         whether test run should stop on failure.
37133         * Makeconfig (stop-on-test-failure): New variable.
37134         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37135         $(stop-on-test-failure).
37136         * Makefile (tests): Give a summary of results from testing and
37137         exit with failure status if they include an ERROR or FAIL.
37138         (xtests): Likewise.
37139         * manual/install.texi (Configuring and compiling): Mention
37140         stop-on-test-failure=y.
37141         * INSTALL: Regenerated.
37143 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37145         * scripts/versionlist.awk: New file.
37146         * Makerules [$(build-shared) = yes]
37147         (postclean-generated): Add Versions.def, not Versions.def.v and
37148         Versions.def.v.i.
37149         ($(common-objpfx)Versions.def.v.i): Target removed.
37150         ($(common-objpfx)Versions.def): New target.
37151         ($(common-objpfx)Versions.all): Depend on that rather that
37152         $(common-objpfx)Versions.def.v.
37153         * Versions.def: File removed.
37155         * Makeconfig (+gccwarn): Add -Wundef.
37156         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37157         a dl-sysdep.h breaking its contract.
37158         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37159         * include/stackinfo.h: New file.
37160         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37161         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37162         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37163         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37164         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37165         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37166         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37167         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37168         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37169         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37170         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37171         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37172         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37173         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37174         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37176 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37178         [BZ #16707]
37179         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37180         implementation.
37181         * math/libm-test.inc (round_test_data): Add more tests.
37183         [BZ #16706]
37184         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37185         implementation.
37186         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37188         [BZ #16701]
37189         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37190         implementation.
37191         * math/libm-test.inc (ceil_test_data): Add more tests.
37193         * math/libm-test.inc (trunc_test_data): Add more tests related to
37194         BZ#16414.
37196 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37198         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37199         with #if rather than #ifdef.
37200         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37202 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37204         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37205         first.  Disable AVX-512 GCC support if assembler doesn't support
37206         it.
37207         * sysdeps/x86_64/configure: Regenerated.
37209 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37211         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37212         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37213         (__old_pthread_attr_setstack): Likewise.
37214         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37215         [!_STACK_GROWS_DOWN]: Likewise.
37217 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37219         * config.make.in (have-bash2): Delete.
37220         * configure.ac (libc_cv_have_bash2): Delete.
37221         * configure: Regenerate.
37222         * elf/Makefile (common-ldd-rewrite): Rename to ...
37223         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37224         (sh-ldd-rewrite): Delete.
37225         (bash-ldd-rewrite): Delete.
37226         (have-bash2): Delete checks.
37227         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37228         ldd-rewrite.
37230         * config.make.in (have-ksh): Delete.
37231         (KSH): Delete.
37232         * configure.ac (libc_cv_have_ksh): Delete.
37233         * configure: Regenerate.
37235         * elf/Makefile: Delete $(have-ksh) check.
37236         ($(objpfx)sotruss): Change KSH to BASH.
37237         * elf/sotruss.ksh: Rename to ...
37238         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37239         function style to match POSIX.  Drop ksh vim mode setting.
37241         * manual/time.texi (Specifying the Time Zone with TZ): Change
37242         Tuesday to Thursday.
37244         * debug/tst-longjmp_chk2.c: Update header comment.
37245         (stackoverflow_handler): Add comment.  Call assert on pass value.
37247 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37249         [BZ #16194]
37250         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37251         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37252         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37253         (La_x86_64_vector): Add zmm.
37254         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37255         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37256         ($(objpfx)tst-audit10): New target.
37257         ($(objpfx)tst-audit10.out): Likewise.
37258         (tst-audit10-ENV): New.
37259         (AVX512-CFLAGS): Likewise.
37260         (CFLAGS-tst-audit10.c): Likewise.
37261         (CFLAGS-tst-auditmod10a.c): Likewise.
37262         (CFLAGS-tst-auditmod10b.c): Likewise.
37263         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37264         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37265         * sysdeps/x86_64/configure: Regenerated.
37266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37267         AVX-512 zmm register support.
37268         (_dl_x86_64_save_sse): Likewise.
37269         (_dl_x86_64_restore_sse): Likewise.
37270         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37271         size vector registers.
37272         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37273         (ZMM_SIZE): Likewise.
37274         * sysdeps/x86_64/tst-audit10.c: New file.
37275         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37276         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37278 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37280         * configure.ac (HAVE_EHDR_START): New check.
37281         * configure: Regenerated.
37282         * config.h.in (HAVE_EHDR_START): New #undef.
37283         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37284         assuming the lowest-addressed segment maps the start of the file.
37286 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37288         * INSTALL: Regenerated.
37290 2014-03-13  Will Newton  <will.newton@linaro.org>
37292         * manual/setjmp.texi (System V contexts): Improve
37293         clarity and grammar of documentation.
37295 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37297         [BZ #16381]
37298         * elf/Makefile (tests): Add tst-pie2.
37299         (tests-pie): Add tst-pie2.
37300         * elf/tst-pie2.c: New file.
37301         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37302         for ET_EXEC.
37303         * elf/rtld.c (map_doit): Load executable as lt_executable.
37304         (dl_main): Likewise.
37306 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37308         [BZ #16642]
37309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37310         (__ASSUME_PSELECT): Undefine.
37312 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37314         [BZ #16689]
37315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37316         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37317         static build.
37318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37319         selector for static builds.
37321 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37323         [BZ #16695]
37324         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37325         key in the buffer.
37327 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37329         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37330         IFUNC selector for static builds.
37332 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37334         * sysdeps/mips/math_private.h [__mips_hard_float]
37335         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37336         libc_feresetround_mips_ctx.
37337         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37338         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37339         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37341         [BZ #16677]
37342         * math/s_nextafter.c (__nextafter): Do not return value from
37343         overflowing computation.
37344         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37345         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37347         Likewise.
37348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37349         Likewise.
37350         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37351         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37353 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37355         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37356         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37357         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37358         the new mov targetting sp.
37360 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37362         [BZ #16683]
37363         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37364         Define it for static builds as well.
37365         (NO_BZERO_IMPL): Likewise.
37367 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37369         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37370         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37371         multiarch strspn for PPC64.
37372         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37373         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37375         (__libc_ifunc_impl_list): Likewise.
37376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37377         multiarch optimizations
37378         * string/strspn.c (strspn): Using macro to redefine symbol name.
37380 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37381             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37383         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37384         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37385         multiarch strncat for PPC64.
37386         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37387         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37389         (__libc_ifunc_impl_list): Likewise.
37390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37391         multiarch optimizations
37393 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37395         [BZ #16639]
37396         * nscd/nscd.service: Make service type forking.
37398 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37400         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37401         sign in non default rounding modes.
37402         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37404 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37406         * math/libm-test.inc (ALL_RM_TEST): New macro.
37407         (ceil_test): Use ALL_RM_TEST.
37408         (cimag_test): Likewise.
37409         (conj_test): Likewise.
37410         (copysign_test): Likewise.
37411         (cproj_test): Likewise.
37412         (creal_test): Likewise.
37413         (fabs_test): Likewise.
37414         (floor_test): Likewise.
37415         (fmax_test): Likewise.
37416         (fmin_test): Likewise.
37417         (fmod_test): Likewise.
37418         (fpclassify_test): Likewise.
37419         (frexp_test): Likewise.
37420         (ilogb_test): Likewise.
37421         (isfinite_test): Likewise.
37422         (finite_test): Likewise.
37423         (isgreater_test): Likewise.
37424         (isgreaterequal_test): Likewise.
37425         (isinf_test): Likewise.
37426         (isless_test): Likewise.
37427         (islessequal_test): Likewise.
37428         (islessgreater_test): Likewise.
37429         (isnan_test): Likewise.
37430         (isnormal_test): Likewise.
37431         (issignaling_test): Likewise.
37432         (isunordered_test): Likewise.
37433         (logb_test): Likewise.
37434         (logb_downward_test_data): Remove.
37435         (logb_test_downward): Likewise.
37436         (lround_test): Use ALL_RM_TEST.
37437         (llround_test): Likewise.
37438         (modf_test): Likewise.
37439         (nexttoward_test): Likewise.
37440         (remainder_test): Likewise.
37441         (drem_test): Likewise.
37442         (remainder_tonearest_test_data): Likewise.
37443         (remainder_test_tonearest): Likewise.
37444         (drem_test_tonearest): Likewise.
37445         (remainder_towardzero_test_data): Likewise.
37446         (remainder_test_towardzero): Likewise.
37447         (drem_test_towardzero): Likewise.
37448         (remainder_downward_test_data): Likewise.
37449         (remainder_test_downward): Likewise.
37450         (drem_test_downward): Likewise.
37451         (remainder_upward_test_data): Likewise.
37452         (remainder_test_upward): Likewise.
37453         (drem_test_upward): Likewise.
37454         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37455         (round_test): Use ALL_RM_TEST.
37456         (signbit_test): Likewise.
37457         (trunc_test): Likewise.
37458         (significand_test): Likewise.
37459         (main): Don't call removed functions.
37461 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37463         [BZ #16674]
37464         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37465         || __USE_XOPEN2K8].
37466         (ILL_ILLOPN): Likewise.
37467         (ILL_ILLADR): Likewise.
37468         (ILL_ILLTRP): Likewise.
37469         (ILL_PRVOPC): Likewise.
37470         (ILL_PRVREG): Likewise.
37471         (ILL_COPROC): Likewise.
37472         (ILL_BADSTK): Likewise.
37473         (FPE_INTDIV): Likewise.
37474         (FPE_INTOVF): Likewise.
37475         (FPE_FLTDIV): Likewise.
37476         (FPE_FLTOVF): Likewise.
37477         (FPE_FLTUND): Likewise.
37478         (FPE_FLTRES): Likewise.
37479         (FPE_FLTINV): Likewise.
37480         (FPE_FLTSUB): Likewise.
37481         (SEGV_MAPERR): Likewise.
37482         (SEGV_ACCERR): Likewise.
37483         (BUS_ADRALN): Likewise.
37484         (BUS_ADRERR): Likewise.
37485         (BUS_OBJERR): Likewise.
37486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37487         (TRAP_TRACE): Likewise.
37488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37489         __USE_XOPEN2K8].
37490         (CLD_KILLED): Likewise.
37491         (CLD_DUMPED): Likewise.
37492         (CLD_TRAPPED): Likewise.
37493         (CLD_STOPPED): Likewise.
37494         (CLD_CONTINUED): Likewise.
37495         (POLL_IN): Likewise.
37496         (POLL_OUT): Likewise.
37497         (POLL_MSG): Likewise.
37498         (POLL_ERR): Likewise.
37499         (POLL_PRI): Likewise.
37500         (POLL_HUP): Likewise.
37501         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37502         Likewise.
37503         (ILL_ILLOPN): Likewise.
37504         (ILL_ILLADR): Likewise.
37505         (ILL_ILLTRP): Likewise.
37506         (ILL_PRVOPC): Likewise.
37507         (ILL_PRVREG): Likewise.
37508         (ILL_COPROC): Likewise.
37509         (ILL_BADSTK): Likewise.
37510         (FPE_INTDIV): Likewise.
37511         (FPE_INTOVF): Likewise.
37512         (FPE_FLTDIV): Likewise.
37513         (FPE_FLTOVF): Likewise.
37514         (FPE_FLTUND): Likewise.
37515         (FPE_FLTRES): Likewise.
37516         (FPE_FLTINV): Likewise.
37517         (FPE_FLTSUB): Likewise.
37518         (SEGV_MAPERR): Likewise.
37519         (SEGV_ACCERR): Likewise.
37520         (BUS_ADRALN): Likewise.
37521         (BUS_ADRERR): Likewise.
37522         (BUS_OBJERR): Likewise.
37523         (BUS_MCEERR_AR): Likewise.
37524         (BUS_MCEERR_AO): Likewise.
37525         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37526         (TRAP_TRACE): Likewise.
37527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37528         __USE_XOPEN2K8].
37529         (CLD_KILLED): Likewise.
37530         (CLD_DUMPED): Likewise.
37531         (CLD_TRAPPED): Likewise.
37532         (CLD_STOPPED): Likewise.
37533         (CLD_CONTINUED): Likewise.
37534         (POLL_IN): Likewise.
37535         (POLL_OUT): Likewise.
37536         (POLL_MSG): Likewise.
37537         (POLL_ERR): Likewise.
37538         (POLL_PRI): Likewise.
37539         (POLL_HUP): Likewise.
37540         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37541         (ILL_ILLOPN): Likewise.
37542         (ILL_ILLADR): Likewise.
37543         (ILL_ILLTRP): Likewise.
37544         (ILL_PRVOPC): Likewise.
37545         (ILL_PRVREG): Likewise.
37546         (ILL_COPROC): Likewise.
37547         (ILL_BADSTK): Likewise.
37548         (FPE_INTDIV): Likewise.
37549         (FPE_INTOVF): Likewise.
37550         (FPE_FLTDIV): Likewise.
37551         (FPE_FLTOVF): Likewise.
37552         (FPE_FLTUND): Likewise.
37553         (FPE_FLTRES): Likewise.
37554         (FPE_FLTINV): Likewise.
37555         (FPE_FLTSUB): Likewise.
37556         (SEGV_MAPERR): Likewise.
37557         (SEGV_ACCERR): Likewise.
37558         (BUS_ADRALN): Likewise.
37559         (BUS_ADRERR): Likewise.
37560         (BUS_OBJERR): Likewise.
37561         (BUS_MCEERR_AR): Likewise.
37562         (BUS_MCEERR_AO): Likewise.
37563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37564         (TRAP_TRACE): Likewise.
37565         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37566         __USE_XOPEN2K8].
37567         (CLD_KILLED): Likewise.
37568         (CLD_DUMPED): Likewise.
37569         (CLD_TRAPPED): Likewise.
37570         (CLD_STOPPED): Likewise.
37571         (CLD_CONTINUED): Likewise.
37572         (POLL_IN): Likewise.
37573         (POLL_OUT): Likewise.
37574         (POLL_MSG): Likewise.
37575         (POLL_ERR): Likewise.
37576         (POLL_PRI): Likewise.
37577         (POLL_HUP): Likewise.
37578         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37579         Likewise.
37580         (ILL_ILLOPN): Likewise.
37581         (ILL_ILLADR): Likewise.
37582         (ILL_ILLTRP): Likewise.
37583         (ILL_PRVOPC): Likewise.
37584         (ILL_PRVREG): Likewise.
37585         (ILL_COPROC): Likewise.
37586         (ILL_BADSTK): Likewise.
37587         (ILL_BADIADDR): Likewise.
37588         (ILL_BREAK): Likewise.
37589         (FPE_INTDIV): Likewise.
37590         (FPE_INTOVF): Likewise.
37591         (FPE_FLTDIV): Likewise.
37592         (FPE_FLTOVF): Likewise.
37593         (FPE_FLTUND): Likewise.
37594         (FPE_FLTRES): Likewise.
37595         (FPE_FLTINV): Likewise.
37596         (FPE_FLTSUB): Likewise.
37597         (FPE_DECOVF): Likewise.
37598         (FPE_DECDIV): Likewise.
37599         (FPE_DECERR): Likewise.
37600         (FPE_INVASC): Likewise.
37601         (FPE_INVDEC): Likewise.
37602         (SEGV_MAPERR): Likewise.
37603         (SEGV_ACCERR): Likewise.
37604         (SEGV_PSTKOVF): Likewise.
37605         (BUS_ADRALN): Likewise.
37606         (BUS_ADRERR): Likewise.
37607         (BUS_OBJERR): Likewise.
37608         (BUS_MCEERR_AR): Likewise.
37609         (BUS_MCEERR_AO): Likewise.
37610         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37611         (TRAP_TRACE): Likewise.
37612         (TRAP_BRANCH): Likewise.
37613         (TRAP_HWBKPT): Likewise.
37614         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37615         __USE_XOPEN2K8].
37616         (CLD_KILLED): Likewise.
37617         (CLD_DUMPED): Likewise.
37618         (CLD_TRAPPED): Likewise.
37619         (CLD_STOPPED): Likewise.
37620         (CLD_CONTINUED): Likewise.
37621         (POLL_IN): Likewise.
37622         (POLL_OUT): Likewise.
37623         (POLL_MSG): Likewise.
37624         (POLL_ERR): Likewise.
37625         (POLL_PRI): Likewise.
37626         (POLL_HUP): Likewise.
37627         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37628         (ILL_ILLOPN): Likewise.
37629         (ILL_ILLADR): Likewise.
37630         (ILL_ILLTRP): Likewise.
37631         (ILL_PRVOPC): Likewise.
37632         (ILL_PRVREG): Likewise.
37633         (ILL_COPROC): Likewise.
37634         (ILL_BADSTK): Likewise.
37635         (FPE_INTDIV): Likewise.
37636         (FPE_INTOVF): Likewise.
37637         (FPE_FLTDIV): Likewise.
37638         (FPE_FLTOVF): Likewise.
37639         (FPE_FLTUND): Likewise.
37640         (FPE_FLTRES): Likewise.
37641         (FPE_FLTINV): Likewise.
37642         (FPE_FLTSUB): Likewise.
37643         (SEGV_MAPERR): Likewise.
37644         (SEGV_ACCERR): Likewise.
37645         (BUS_ADRALN): Likewise.
37646         (BUS_ADRERR): Likewise.
37647         (BUS_OBJERR): Likewise.
37648         (BUS_MCEERR_AR): Likewise.
37649         (BUS_MCEERR_AO): Likewise.
37650         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37651         (TRAP_TRACE): Likewise.
37652         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37653         __USE_XOPEN2K8].
37654         (CLD_KILLED): Likewise.
37655         (CLD_DUMPED): Likewise.
37656         (CLD_TRAPPED): Likewise.
37657         (CLD_STOPPED): Likewise.
37658         (CLD_CONTINUED): Likewise.
37659         (POLL_IN): Likewise.
37660         (POLL_OUT): Likewise.
37661         (POLL_MSG): Likewise.
37662         (POLL_ERR): Likewise.
37663         (POLL_PRI): Likewise.
37664         (POLL_HUP): Likewise.
37665         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37666         (ILL_ILLOPN): Likewise.
37667         (ILL_ILLADR): Likewise.
37668         (ILL_ILLTRP): Likewise.
37669         (ILL_PRVOPC): Likewise.
37670         (ILL_PRVREG): Likewise.
37671         (ILL_COPROC): Likewise.
37672         (ILL_BADSTK): Likewise.
37673         (FPE_INTDIV): Likewise.
37674         (FPE_INTOVF): Likewise.
37675         (FPE_FLTDIV): Likewise.
37676         (FPE_FLTOVF): Likewise.
37677         (FPE_FLTUND): Likewise.
37678         (FPE_FLTRES): Likewise.
37679         (FPE_FLTINV): Likewise.
37680         (FPE_FLTSUB): Likewise.
37681         (SEGV_MAPERR): Likewise.
37682         (SEGV_ACCERR): Likewise.
37683         (BUS_ADRALN): Likewise.
37684         (BUS_ADRERR): Likewise.
37685         (BUS_OBJERR): Likewise.
37686         (BUS_MCEERR_AR): Likewise.
37687         (BUS_MCEERR_AO): Likewise.
37688         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37689         (TRAP_TRACE): Likewise.
37690         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37691         __USE_XOPEN2K8].
37692         (CLD_KILLED): Likewise.
37693         (CLD_DUMPED): Likewise.
37694         (CLD_TRAPPED): Likewise.
37695         (CLD_STOPPED): Likewise.
37696         (CLD_CONTINUED): Likewise.
37697         (POLL_IN): Likewise.
37698         (POLL_OUT): Likewise.
37699         (POLL_MSG): Likewise.
37700         (POLL_ERR): Likewise.
37701         (POLL_PRI): Likewise.
37702         (POLL_HUP): Likewise.
37703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37704         (ILL_ILLOPN): Likewise.
37705         (ILL_ILLADR): Likewise.
37706         (ILL_ILLTRP): Likewise.
37707         (ILL_PRVOPC): Likewise.
37708         (ILL_PRVREG): Likewise.
37709         (ILL_COPROC): Likewise.
37710         (ILL_BADSTK): Likewise.
37711         (FPE_INTDIV): Likewise.
37712         (FPE_INTOVF): Likewise.
37713         (FPE_FLTDIV): Likewise.
37714         (FPE_FLTOVF): Likewise.
37715         (FPE_FLTUND): Likewise.
37716         (FPE_FLTRES): Likewise.
37717         (FPE_FLTINV): Likewise.
37718         (FPE_FLTSUB): Likewise.
37719         (SEGV_MAPERR): Likewise.
37720         (SEGV_ACCERR): Likewise.
37721         (BUS_ADRALN): Likewise.
37722         (BUS_ADRERR): Likewise.
37723         (BUS_OBJERR): Likewise.
37724         (BUS_MCEERR_AR): Likewise.
37725         (BUS_MCEERR_AO): Likewise.
37726         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37727         (TRAP_TRACE): Likewise.
37728         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37729         __USE_XOPEN2K8].
37730         (CLD_KILLED): Likewise.
37731         (CLD_DUMPED): Likewise.
37732         (CLD_TRAPPED): Likewise.
37733         (CLD_STOPPED): Likewise.
37734         (CLD_CONTINUED): Likewise.
37735         (POLL_IN): Likewise.
37736         (POLL_OUT): Likewise.
37737         (POLL_MSG): Likewise.
37738         (POLL_ERR): Likewise.
37739         (POLL_PRI): Likewise.
37740         (POLL_HUP): Likewise.
37741         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37742         (ILL_ILLOPN): Likewise.
37743         (ILL_ILLADR): Likewise.
37744         (ILL_ILLTRP): Likewise.
37745         (ILL_PRVOPC): Likewise.
37746         (ILL_PRVREG): Likewise.
37747         (ILL_COPROC): Likewise.
37748         (ILL_BADSTK): Likewise.
37749         (ILL_DBLFLT): Likewise.
37750         (ILL_HARDWALL): Likewise.
37751         (FPE_INTDIV): Likewise.
37752         (FPE_INTOVF): Likewise.
37753         (FPE_FLTDIV): Likewise.
37754         (FPE_FLTOVF): Likewise.
37755         (FPE_FLTUND): Likewise.
37756         (FPE_FLTRES): Likewise.
37757         (FPE_FLTINV): Likewise.
37758         (FPE_FLTSUB): Likewise.
37759         (SEGV_MAPERR): Likewise.
37760         (SEGV_ACCERR): Likewise.
37761         (BUS_ADRALN): Likewise.
37762         (BUS_ADRERR): Likewise.
37763         (BUS_OBJERR): Likewise.
37764         (BUS_MCEERR_AR): Likewise.
37765         (BUS_MCEERR_AO): Likewise.
37766         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37767         (TRAP_TRACE): Likewise.
37768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37769         __USE_XOPEN2K8].
37770         (CLD_KILLED): Likewise.
37771         (CLD_DUMPED): Likewise.
37772         (CLD_TRAPPED): Likewise.
37773         (CLD_STOPPED): Likewise.
37774         (CLD_CONTINUED): Likewise.
37775         (POLL_IN): Likewise.
37776         (POLL_OUT): Likewise.
37777         (POLL_MSG): Likewise.
37778         (POLL_ERR): Likewise.
37779         (POLL_PRI): Likewise.
37780         (POLL_HUP): Likewise.
37781         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37782         (ILL_ILLOPN): Likewise.
37783         (ILL_ILLADR): Likewise.
37784         (ILL_ILLTRP): Likewise.
37785         (ILL_PRVOPC): Likewise.
37786         (ILL_PRVREG): Likewise.
37787         (ILL_COPROC): Likewise.
37788         (ILL_BADSTK): Likewise.
37789         (FPE_INTDIV): Likewise.
37790         (FPE_INTOVF): Likewise.
37791         (FPE_FLTDIV): Likewise.
37792         (FPE_FLTOVF): Likewise.
37793         (FPE_FLTUND): Likewise.
37794         (FPE_FLTRES): Likewise.
37795         (FPE_FLTINV): Likewise.
37796         (FPE_FLTSUB): Likewise.
37797         (SEGV_MAPERR): Likewise.
37798         (SEGV_ACCERR): Likewise.
37799         (BUS_ADRALN): Likewise.
37800         (BUS_ADRERR): Likewise.
37801         (BUS_OBJERR): Likewise.
37802         (BUS_MCEERR_AR): Likewise.
37803         (BUS_MCEERR_AO): Likewise.
37804         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37805         (TRAP_TRACE): Likewise.
37806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37807         __USE_XOPEN2K8].
37808         (CLD_KILLED): Likewise.
37809         (CLD_DUMPED): Likewise.
37810         (CLD_TRAPPED): Likewise.
37811         (CLD_STOPPED): Likewise.
37812         (CLD_CONTINUED): Likewise.
37813         (POLL_IN): Likewise.
37814         (POLL_OUT): Likewise.
37815         (POLL_MSG): Likewise.
37816         (POLL_ERR): Likewise.
37817         (POLL_PRI): Likewise.
37818         (POLL_HUP): Likewise.
37819         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37820         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37822         [BZ #16670]
37823         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37824         before #include of <time.h>.
37825         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37826         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37827         (test-xfail-UNIX98/sched.h/conform): Likewise.
37829 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37832         error absence of trapping exception support.
37833         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37835 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37837         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37838         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37839         * timezone/Makefile (testdata): Move definition above include of
37840         Rules.
37841         (test-zones): New variable.
37842         (tests-special): Add zone files.
37843         (build-testdata): Use $(evaluate-test).
37845         * elf/Makefile (tests-special): Rename tests to end with .out.
37846         ($(objpfx)noload-mem): Likewise.
37847         ($(objpfx)tst-leaks1-mem): Likewise.
37848         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37849         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37850         $(objpfx)test-iconvconfig.out.
37851         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37852         set -e inside subshell and redirect output to file.
37853         * iconvdata/Makefile (generated): Rename tests to end with .out.
37854         Correct type.
37855         (tests-special): Rename tests to end with .out.
37856         ($(objpfx)mtrace-tst-loading): Likewise.
37857         * intl/Makefile (generated): Likewise.
37858         (tests-special): Likewise.
37859         ($(objpfx)mtrace-tst-gettext): Likewise.
37860         * misc/Makefile (generated): Likewise.
37861         (tests-special): Likewise.
37862         ($(objpfx)tst-error1-mem): Likewise.
37863         * nptl/Makefile (tests-special): Likewise.
37864         ($(objpfx)tst-stack3-mem): Likewise.
37865         (generated): Likewise.
37866         * posix/Makefile (generated): Likewise.
37867         (tests-special): Likewise.
37868         (xtests-special): Likewise.
37869         ($(objpfx)tst-fnmatch-mem): Likewise.
37870         ($(objpfx)bug-regex2-mem): Likewise.
37871         ($(objpfx)bug-regex14-mem): Likewise.
37872         ($(objpfx)bug-regex21-mem): Likewise.
37873         ($(objpfx)bug-regex31-mem): Likewise.
37874         ($(objpfx)tst-vfork3-mem): Likewise.
37875         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37876         ($(objpfx)tst-pcre-mem): Likewise.
37877         ($(objpfx)tst-boost-mem): Likewise.
37878         ($(objpfx)bug-ga2-mem): Likewise.
37879         ($(objpfx)bug-glob2-mem): Likewise.
37880         * resolv/Makefile (generate): Likewise.
37881         (tests-special): Likewise.
37882         (xtests-special): Likewise.
37883         (generated): Likewise.
37884         ($(objpfx)mtrace-tst-leaks): Likewise.
37885         ($(objpfx)mtrace-tst-leaks2): Likewise.
37887         * scripts/merge-test-results.sh: New file.
37888         * Makefile (tests-special-notdir): New variable.
37889         (tests): Run merge-test-results.sh.
37890         (xtests): Likewise.
37891         * Rules (tests-special-notdir): New variable.
37892         (xtests-special-notdir): Likewise.
37893         (tests): Run merge-test-results.sh
37894         (xtests): Likewise.
37896         * Makeconfig (test-xfail-name): New variable.
37897         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37898         compute variable name for expected failures.
37899         * conform/Makefile (conformtest-headers-data): New variable.
37900         (conformtest-standards): Likewise.
37901         (conformtest-headers-ISO): Likewise.
37902         (conformtest-headers-ISO99): Likewise.
37903         (conformtest-headers-ISO11): Likewise.
37904         (conformtest-headers-POSIX): Likewise.
37905         (conformtest-headers-XPG3): Likewise.
37906         (conformtest-headers-XPG4): Likewise.
37907         (conformtest-headers-UNIX98): Likewise.
37908         (conformtest-headers-XOPEN2K): Likewise.
37909         (conformtest-headers-POSIX2008): Likewise.
37910         (conformtest-headers-XOPEN2K8): Likewise.
37911         (conformtest-header-list-base): Likewise.
37912         (conformtest-header-list-tests): Likewise.
37913         (conformtest-header-base): Likewise.
37914         (conformtest-header-tests): Likewise.
37915         (tests-special): Add $(conformtest-header-list-tests).  If
37916         [$(fast-check) && !$(cross-compiling)], add
37917         $(conformtest-header-tests) instead of
37918         $(objpfx)run-conformtest.out.
37919         (generated): Add $(conformtest-header-list-base).  If
37920         [$(fast-check) && !$(cross-compiling)], add
37921         $(conformtest-header-base).  Remove previous setting.
37922         ($(conformtest-header-list-tests)): New target.
37923         (test-xfail-run-conformtest): Remove variable.
37924         ($(objpfx)run-conformtest.out): Remove target.
37925         (test-xfail-ISO11/complex.h/conform): New variable.
37926         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37927         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37928         (test-xfail-XPG3/varargs.h/conform): Likewise.
37929         (test-xfail-XPG4/varargs.h/conform): Likewise.
37930         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37931         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37932         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37933         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37934         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37935         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37936         (test-xfail-XPG3/ftw.h/conform): Likewise.
37937         (test-xfail-XPG3/grp.h/conform): Likewise.
37938         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37939         (test-xfail-XPG3/limits.h/conform): Likewise.
37940         (test-xfail-XPG3/pwd.h/conform): Likewise.
37941         (test-xfail-XPG3/search.h/conform): Likewise.
37942         (test-xfail-XPG3/signal.h/conform): Likewise.
37943         (test-xfail-XPG3/stdio.h/conform): Likewise.
37944         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37945         (test-xfail-XPG3/string.h/conform): Likewise.
37946         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37947         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37948         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37949         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37950         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37951         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37952         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37953         (test-xfail-XPG3/termios.h/conform): Likewise.
37954         (test-xfail-XPG3/time.h/conform): Likewise.
37955         (test-xfail-XPG3/unistd.h/conform): Likewise.
37956         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37957         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37958         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37959         (test-xfail-XPG4/netdb.h/conform): Likewise.
37960         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37961         (test-xfail-XPG4/signal.h/conform): Likewise.
37962         (test-xfail-XPG4/stdio.h/conform): Likewise.
37963         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37964         (test-xfail-XPG4/stropts.h/conform): Likewise.
37965         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37966         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37967         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37968         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37969         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37970         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37971         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37972         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37973         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37974         (test-xfail-XPG4/termios.h/conform): Likewise.
37975         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37976         (test-xfail-XPG4/unistd.h/conform): Likewise.
37977         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37978         (test-xfail-POSIX/sched.h/conform): Likewise.
37979         (test-xfail-POSIX/signal.h/conform): Likewise.
37980         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37981         (test-xfail-POSIX/tar.h/conform): Likewise.
37982         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37983         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37984         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37985         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37986         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37987         (test-xfail-UNIX98/sched.h/conform): Likewise.
37988         (test-xfail-UNIX98/signal.h/conform): Likewise.
37989         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37990         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37991         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37992         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37993         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37994         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37995         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37996         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37997         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37998         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37999         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38000         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38001         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38002         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38003         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38004         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38005         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38006         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38007         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38008         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38009         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38010         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38011         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38012         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38013         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38014         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38015         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38016         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38017         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38018         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38019         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38020         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38021         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38022         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38023         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38024         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38025         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38026         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38027         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38028         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38029         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38030         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38031         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38032         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38033         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38034         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38035         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38036         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38037         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38038         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38039         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38040         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38041         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38042         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38043         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38044         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38045         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38046         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38047         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38048         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38049         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38050         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38051         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38052         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38053         (conformtest-cc-flags): Likewise.
38054         ($(conformtest-header-tests): New target.
38055         * conform/check-header-lists.sh: New file.
38056         * conform/run-conformtest.sh: Remove.
38058         * conform/conformtest.pl: Allow ' and \ in values given for
38059         constants.
38060         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38061         inclusion.
38062         [POSIX] (sys/types.h): Likewise.
38063         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38064         inclusion.
38065         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38066         inclusion.
38067         * conform/data/signal.h-data (SIGIO): Remove expectation.
38068         [XPG3] (SIGBUS): Do not expect.
38069         [POSIX || XPG3] (SIGPOLL): Likewise.
38070         [POSIX || XPG3] (SIGPROF): Likewise.
38071         [POSIX || XPG3] (SIGSYS): Likewise.
38072         [XPG3] (SIGTRAP): Likewise.
38073         [POSIX || XPG3] (SIGURG): Likewise.
38074         [POSIX || XPG3] (SIGVTALRM): Likewise.
38075         [POSIX || XPG3] (SIGXCPU): Likewise.
38076         [POSIX || XPG3] (SIGXFSZ): Likewise.
38077         [POSIX] (SA_SIGINFO): Expect.
38078         [XPG3] (siginfo_t): Do not expect type or contents.
38079         [POSIX] (si_pid): Do not expect element.
38080         [POSIX] (si_uid): Likewise.
38081         [POSIX] (si_addr): Likewise.
38082         [POSIX] (si_status): Likewise.
38083         [POSIX] (si_band): Likewise.
38084         [XPG4] (si_value): Likewise.
38085         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38086         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38087         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38088         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38089         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38090         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38091         [POSIX || XPG3] (ILL_COPROC): Likewise.
38092         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38093         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38094         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38095         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38096         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38097         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38098         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38099         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38100         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38101         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38102         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38103         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38104         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38105         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38106         [POSIX || XPG3] (CLD_EXITED): Likewise.
38107         [POSIX || XPG3] (CLD_KILLED): Likewise.
38108         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38109         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38110         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38111         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38112         [POSIX || XPG3] (POLL_IN): Likewise.
38113         [POSIX || XPG3] (POLL_OUT): Likewise.
38114         [POSIX || XPG3] (POLL_MSG): Likewise.
38115         [POSIX || XPG3] (POLL_ERR): Likewise.
38116         [POSIX || XPG3] (POLL_PRI): Likewise.
38117         [POSIX || XPG3] (POLL_HUP): Likewise.
38118         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38119         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38120         (SIG*): Do not allow.
38121         [XPG3] (si_*): Likewise.
38122         [XPG3] (SI_*): Likewise.
38123         [XPG3 || XPG4] (sigev_*): Likewise.
38124         [XPG3 || XPG4] (SIGEV_*): Likewise.
38125         [XPG3 || XPG4] (sival_*): Likewise.
38126         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38127         [POSIX || XPG3] (BUS_*): Likewise.
38128         [POSIX || XPG3] (CLD_*): Likewise.
38129         [POSIX || XPG3] (FPE_*): Likewise.
38130         [POSIX || XPG3] (ILL_*): Likewise.
38131         [POSIX || XPG3] (POLL_*): Likewise.
38132         [POSIX || XPG3] (SEGV_*): Likewise.
38133         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38134         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38135         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38136         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38137         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38138         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38139         Specify type and value.
38140         (TVERSLEN): Likewise.
38141         (REGTYPE): Likewise.
38142         (AREGTYPE): Likewise.
38143         (LNKTYPE): Likewise.
38144         (SYMTYPE): Likewise.
38145         (CHRTYPE): Likewise.
38146         (BLKTYPE): Likewise.
38147         (DIRTYPE): Likewise.
38148         (FIFOTYPE): Likewise.
38149         (CONTTYPE): Likewise.
38150         (TSUID): Likewise.
38151         (TSGID): Likewise.
38152         (TSVTX): Likewise.
38153         (TUREAD): Likewise.
38154         (TUWRITE): Likewise.
38155         (TUEXEC): Likewise.
38156         (TGREAD): Likewise.
38157         (TGWRITE): Likewise.
38158         (TGEXEC): Likewise.
38159         (TOREAD): Likewise.
38160         (TOWRITE): Likewise.
38161         (TOEXEC): Likewise.
38162         [POSIX] (TSVTX): Expect constant.
38164 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38166         * Makefile (tests): Change dependencies to ....
38167         (tests-special): ... additions to this variable.
38168         (tests): Depend on $(tests-special).
38169         * Makerules (check-abi-list): New variable.
38170         (check-abi): Depend on $(check-abi-list).
38171         [$(subdir) = elf] (tests-special): Add
38172         $(objpfx)check-abi-libc.out.
38173         [$(build-shared) = yes && subdir] (tests-special): Add
38174         $(check-abi-list).
38175         [$(build-shared) = yes && subdir] (tests): Do not depend on
38176         check-abi.
38177         * Rules (tests): Depend on $(tests-special).
38178         (xtests): Depend on $(xtests-special).
38179         * catgets/Makefile (tests): Change dependencies to ....
38180         (tests-special): ... additions to this variable.
38181         * conform/Makefile (tests): Change dependencies to ....
38182         (tests-special): ... additions to this variable.
38183         * elf/Makefile (tests): Change dependencies to ....
38184         (tests-special): ... additions to this variable.
38185         * grp/Makefile (tests): Change dependencies to ....
38186         (tests-special): ... additions to this variable.
38187         * iconv/Makefile (xtests): Change dependencies to ....
38188         (xtests-special): ... additions to this variable.
38189         * iconvdata/Makefile (tests): Change dependencies to ....
38190         (tests-special): ... additions to this variable.
38191         * intl/Makefile (tests): Change dependencies to ....
38192         (tests-special): ... additions to this variable.  Also add
38193         $(objpfx)tst-gettext.out.
38194         * io/Makefile (tests): Change dependencies to ....
38195         (tests-special): ... additions to this variable.
38196         * libio/Makefile (tests): Change dependencies to ....
38197         (tests-special): ... additions to this variable.
38198         * malloc/Makefile (tests): Change dependencies to ....
38199         (tests-special): ... additions to this variable.
38200         * misc/Makefile (tests): Change dependencies to ....
38201         (tests-special): ... additions to this variable.
38202         * nptl/Makefile (tests): Change dependencies to ....
38203         (tests-special): ... additions to this variable.
38204         * nptl_db/Makefile (tests): Change dependencies to ....
38205         (tests-special): ... additions to this variable.
38206         * posix/Makefile (tests): Change dependencies to ....
38207         (tests-special): ... additions to this variable.
38208         (xtests): Change dependencies to ....
38209         (xtests-special): ... additions to this variable.
38210         * resolv/Makefile (tests): Change dependencies to ....
38211         (tests-special): ... additions to this variable.
38212         (xtests): Change dependencies to ....
38213         (xtests-special): ... additions to this variable.
38214         * stdio-common/Makefile (tests): Change dependencies to ....
38215         (tests-special): ... additions to this variable.
38216         (do-tst-unbputc): Remove target.
38217         (do-tst-printf): Likewise.
38218         * stdlib/Makefile (tests): Change dependencies to ....
38219         (tests-special): ... additions to this variable.
38220         * string/Makefile (tests): Change dependencies to ....
38221         (tests-special): ... additions to this variable.
38222         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38223         (tests-special): ... additions to this variable.
38225         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38226         whole file.
38227         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38228         whole file.
38229         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38230         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38232         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38233         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38234         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38235         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38236         * conform/data/libgen.h-data [XPG3]: Likewise.
38237         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38238         * conform/data/ndbm.h-data [XPG3]: Likewise.
38239         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38240         * conform/data/netdb.h-data [XPG3]: Likewise.
38241         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38242         * conform/data/poll.h-data [XPG3]: Likewise.
38243         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38244         * conform/data/strings.h-data [XPG3]: Likewise.
38245         * conform/data/stropts.h-data [XPG3]: Likewise.
38246         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38247         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38248         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38249         Likewise.
38250         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38251         * conform/data/sys/time.h-data [XPG3]: Likewise.
38252         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38253         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38254         * conform/data/sys/un.h-data [XPG3]: Likewise.
38255         * conform/data/syslog.h-data [XPG3]: Likewise.
38256         * conform/data/ucontext.h-data [XPG3]: Likewise.
38257         * conform/data/utmpx.h-data [XPG3]: Likewise.
38258         * conform/data/varargs.h-data [UNIX98]: Enable file.
38260         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38262         * math/libm-test.inc (struct test_f_f_data): Move expected results
38263         into structure for each rounding mode.
38264         (struct test_ff_f_data): Likewise.
38265         (struct test_ff_f_data_nexttoward): Likewise.
38266         (struct test_fi_f_data): Likewise.
38267         (struct test_fl_f_data): Likewise.
38268         (struct test_if_f_data): Likewise.
38269         (struct test_fff_f_data): Likewise.
38270         (struct test_c_f_data): Likewise.
38271         (struct test_f_f1_data): Likewise.
38272         (struct test_fF_f1_data): Likewise.
38273         (struct test_ffI_f1_data): Likewise.
38274         (struct test_c_c_data): Likewise.
38275         (struct test_cc_c_data): Likewise.
38276         (struct test_f_i_data): Likewise.
38277         (struct test_ff_i_data): Likewise.
38278         (struct test_f_l_data): Likewise.
38279         (struct test_f_L_data): Likewise.
38280         (struct test_fFF_11_data): Likewise.
38281         (RM_): New macro.
38282         (RM_FE_DOWNWARD): Likewise.
38283         (RM_FE_TONEAREST): Likewise.
38284         (RM_FE_TOWARDZERO): Likewise.
38285         (RM_FE_UPWARD): Likewise.
38286         (RUN_TEST_LOOP_f_f): Update references to expected results.
38287         (RUN_TEST_LOOP_2_f): Likewise.
38288         (RUN_TEST_LOOP_fff_f): Likewise.
38289         (RUN_TEST_LOOP_c_f): Likewise.
38290         (RUN_TEST_LOOP_f_f1): Likewise.
38291         (RUN_TEST_LOOP_fF_f1): Likewise.
38292         (RUN_TEST_LOOP_fI_f1): Likewise.
38293         (RUN_TEST_LOOP_ffI_f1): Likewise.
38294         (RUN_TEST_LOOP_c_c): Likewise.
38295         (RUN_TEST_LOOP_cc_c): Likewise.
38296         (RUN_TEST_LOOP_f_i): Likewise.
38297         (RUN_TEST_LOOP_f_i_tg): Likewise.
38298         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38299         (RUN_TEST_LOOP_f_b): Likewise.
38300         (RUN_TEST_LOOP_f_b_tg): Likewise.
38301         (RUN_TEST_LOOP_f_l): Likewise.
38302         (RUN_TEST_LOOP_f_L): Likewise.
38303         (RUN_TEST_LOOP_fFF_11): Likewise.
38304         * math/gen-libm-test.pl (parse_args): Output four copies of
38305         expected results for each test.
38307         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38308         (__ASSUME_UTIMES): Remove.
38309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38310         (__ASSUME_UTIMES): Likewise.
38312         * math/gen-auto-libm-tests.c: Update comment on output format.
38313         (output_for_one_input_case): Generate before-rounding and
38314         after-rounding information as conditions on output flags not
38315         floating-point format.
38316         * math/auto-libm-test-out: Regenerated.
38317         * math/gen-libm-test.pl (cond_value): New function.
38318         (or_cond_value): Use cond_value.
38319         (generate_testfile): Handle conditional exceptions.
38321 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38323         * math/libm-test.inc (max_valid_error): New variable.
38324         (init_max_error): Take new argument specifying whether function
38325         results are exactly determined.  Set max_valid_error and bound
38326         other variables for errors based on this argument.
38327         (set_max_error): Do not record results above max_valid_error.
38328         (check_float_internal): Only accept errors of up to 0.5ulps if
38329         also at most max_valid_error.
38330         (START): Take new argument EXACT and pass it to init_max_error.
38331         (acos_test): Update call to START.
38332         (acos_test_tonearest): Likewise.
38333         (acos_test_towardzero): Likewise.
38334         (acos_test_downward): Likewise.
38335         (acos_test_upward): Likewise.
38336         (acosh_test): Likewise.
38337         (asin_test): Likewise.
38338         (asin_test_tonearest): Likewise.
38339         (asin_test_towardzero): Likewise.
38340         (asin_test_downward): Likewise.
38341         (asin_test_upward): Likewise.
38342         (asinh_test): Likewise.
38343         (atan_test): Likewise.
38344         (atanh_test): Likewise.
38345         (atan2_test): Likewise.
38346         (cabs_test): Likewise.
38347         (cacos_test): Likewise.
38348         (cacosh_test): Likewise.
38349         (carg_test): Likewise.
38350         (casin_test): Likewise.
38351         (casinh_test): Likewise.
38352         (catan_test): Likewise.
38353         (catanh_test): Likewise.
38354         (cbrt_test): Likewise.
38355         (ccos_test): Likewise.
38356         (ccosh_test): Likewise.
38357         (ceil_test): Likewise.
38358         (cexp_test): Likewise.
38359         (cimag_test): Likewise.
38360         (clog_test): Likewise.
38361         (clog10_test): Likewise.
38362         (conj_test): Likewise.
38363         (copysign_test): Likewise.
38364         (cos_test): Likewise.
38365         (cos_test_tonearest): Likewise.
38366         (cos_test_towardzero): Likewise.
38367         (cos_test_downward): Likewise.
38368         (cos_test_upward): Likewise.
38369         (cosh_test): Likewise.
38370         (cosh_test_tonearest): Likewise.
38371         (cosh_test_towardzero): Likewise.
38372         (cosh_test_downward): Likewise.
38373         (cosh_test_upward): Likewise.
38374         (cpow_test): Likewise.
38375         (cproj_test): Likewise.
38376         (creal_test): Likewise.
38377         (csin_test): Likewise.
38378         (csinh_test): Likewise.
38379         (csqrt_test): Likewise.
38380         (ctan_test): Likewise.
38381         (ctan_test_tonearest): Likewise.
38382         (ctan_test_towardzero): Likewise.
38383         (ctan_test_downward): Likewise.
38384         (ctan_test_upward): Likewise.
38385         (ctanh_test): Likewise.
38386         (ctanh_test_tonearest): Likewise.
38387         (ctanh_test_towardzero): Likewise.
38388         (ctanh_test_downward): Likewise.
38389         (ctanh_test_upward): Likewise.
38390         (erf_test): Likewise.
38391         (erfc_test): Likewise.
38392         (exp_test): Likewise.
38393         (exp_test_tonearest): Likewise.
38394         (exp_test_towardzero): Likewise.
38395         (exp_test_downward): Likewise.
38396         (exp_test_upward): Likewise.
38397         (exp10_test): Likewise.
38398         (exp10_test_tonearest): Likewise.
38399         (exp10_test_towardzero): Likewise.
38400         (exp10_test_downward): Likewise.
38401         (exp10_test_upward): Likewise.
38402         (pow10_test): Likewise.
38403         (exp2_test): Likewise.
38404         (expm1_test): Likewise.
38405         (expm1_test_tonearest): Likewise.
38406         (expm1_test_towardzero): Likewise.
38407         (expm1_test_downward): Likewise.
38408         (expm1_test_upward): Likewise.
38409         (fabs_test): Likewise.
38410         (fdim_test): Likewise.
38411         (floor_test): Likewise.
38412         (fma_test): Likewise.
38413         (fma_test_towardzero): Likewise.
38414         (fma_test_downward): Likewise.
38415         (fma_test_upward): Likewise.
38416         (fmax_test): Likewise.
38417         (fmin_test): Likewise.
38418         (fmod_test): Likewise.
38419         (fpclassify_test): Likewise.
38420         (frexp_test): Likewise.
38421         (hypot_test): Likewise.
38422         (ilogb_test): Likewise.
38423         (isfinite_test): Likewise.
38424         (finite_test): Likewise.
38425         (isgreater_test): Likewise.
38426         (isgreaterequal_test): Likewise.
38427         (isinf_test): Likewise.
38428         (isless_test): Likewise.
38429         (islessequal_test): Likewise.
38430         (islessgreater_test): Likewise.
38431         (isnan_test): Likewise.
38432         (isnormal_test): Likewise.
38433         (issignaling_test): Likewise.
38434         (isunordered_test): Likewise.
38435         (j0_test): Likewise.
38436         (j1_test): Likewise.
38437         (jn_test): Likewise.
38438         (ldexp_test): Likewise.
38439         (lgamma_test): Likewise.
38440         (gamma_test): Likewise.
38441         (lrint_test): Likewise.
38442         (lrint_test_tonearest): Likewise.
38443         (lrint_test_towardzero): Likewise.
38444         (lrint_test_downward): Likewise.
38445         (lrint_test_upward): Likewise.
38446         (llrint_test): Likewise.
38447         (llrint_test_tonearest): Likewise.
38448         (llrint_test_towardzero): Likewise.
38449         (llrint_test_downward): Likewise.
38450         (llrint_test_upward): Likewise.
38451         (log_test): Likewise.
38452         (log10_test): Likewise.
38453         (log1p_test): Likewise.
38454         (log2_test): Likewise.
38455         (logb_test): Likewise.
38456         (logb_test_downward): Likewise.
38457         (lround_test): Likewise.
38458         (llround_test): Likewise.
38459         (modf_test): Likewise.
38460         (nearbyint_test): Likewise.
38461         (nextafter_test): Likewise.
38462         (nexttoward_test): Likewise.
38463         (pow_test): Likewise.
38464         (pow_test_tonearest): Likewise.
38465         (pow_test_towardzero): Likewise.
38466         (pow_test_downward): Likewise.
38467         (pow_test_upward): Likewise.
38468         (remainder_test): Likewise.
38469         (drem_test): Likewise.
38470         (remainder_test_tonearest): Likewise.
38471         (drem_test_tonearest): Likewise.
38472         (remainder_test_towardzero): Likewise.
38473         (drem_test_towardzero): Likewise.
38474         (remainder_test_downward): Likewise.
38475         (drem_test_downward): Likewise.
38476         (remainder_test_upward): Likewise.
38477         (drem_test_upward): Likewise.
38478         (remquo_test): Likewise.
38479         (rint_test): Likewise.
38480         (rint_test_tonearest): Likewise.
38481         (rint_test_towardzero): Likewise.
38482         (rint_test_downward): Likewise.
38483         (rint_test_upward): Likewise.
38484         (round_test): Likewise.
38485         (scalb_test): Likewise.
38486         (scalbn_test): Likewise.
38487         (scalbln_test): Likewise.
38488         (signbit_test): Likewise.
38489         (sin_test): Likewise.
38490         (sin_test_tonearest): Likewise.
38491         (sin_test_towardzero): Likewise.
38492         (sin_test_downward): Likewise.
38493         (sin_test_upward): Likewise.
38494         (sincos_test): Likewise.
38495         (sinh_test): Likewise.
38496         (sinh_test_tonearest): Likewise.
38497         (sinh_test_towardzero): Likewise.
38498         (sinh_test_downward): Likewise.
38499         (sinh_test_upward): Likewise.
38500         (sqrt_test): Likewise.
38501         (sqrt_test_tonearest): Likewise.
38502         (sqrt_test_towardzero): Likewise.
38503         (sqrt_test_downward): Likewise.
38504         (sqrt_test_upward): Likewise.
38505         (tan_test): Likewise.
38506         (tan_test_tonearest): Likewise.
38507         (tan_test_towardzero): Likewise.
38508         (tan_test_downward): Likewise.
38509         (tan_test_upward): Likewise.
38510         (tanh_test): Likewise.
38511         (tgamma_test): Likewise.
38512         (trunc_test): Likewise.
38513         (y0_test): Likewise.
38514         (y1_test): Likewise.
38515         (yn_test): Likewise.
38516         (significand_test): Likewise.
38518         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38519         individual tests in comment.
38520         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38521         (prev_max_error): New variable.
38522         (prev_real_max_error): Likewise.
38523         (prev_imag_max_error): Likewise.
38524         (compare_ulp_data): Don't refer to test names in comment.
38525         (find_test_ulps): Remove function.
38526         (find_function_ulps): Likewise.
38527         (find_complex_function_ulps): Likewise.
38528         (init_max_error): Take function name as argument.  Look up ulps
38529         for that function.
38530         (print_ulps): Remove function.
38531         (print_max_error): Use prev_max_error instead of calling
38532         find_function_ulps.
38533         (print_complex_max_error): Use prev_real_max_error and
38534         prev_imag_max_error instead of calling find_complex_function_ulps.
38535         (check_float_internal): Take max_ulp parameter instead of calling
38536         find_test_ulps.  Don't call print_ulps.
38537         (check_float): Update call to check_float_internal.
38538         (check_complex): Update calls to check_float_internal.
38539         (START): Pass argument to init_max_error.
38540         * math/gen-libm-test.pl (%results): Don't include "kind"
38541         information.
38542         (parse_ulps): Don't handle ulps of individual tests.
38543         (print_ulps_file): Likewise.
38544         (output_ulps): Likewise.
38545         * math/README.libm-test: Update.
38546         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38547         individual tests.
38548         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38549         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38550         * sysdeps/arm/libm-test-ulps: Likewise.
38551         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38552         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38553         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38554         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38555         * sysdeps/microblaze/libm-test-ulps: Likewise.
38556         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38557         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38558         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38559         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38560         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38561         * sysdeps/sh/libm-test-ulps: Likewise.
38562         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38563         * sysdeps/tile/libm-test-ulps: Likewise.
38564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38566 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38568         * math/libm-test.inc (print_complex_max_error): Check separately
38569         whether real and imaginary errors are within allowed range and
38570         pass 0 to print_complex_function_ulps instead of value within
38571         allowed range.
38573 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38575         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38576         formatting.
38577         (get_handles_fopen): Likewise.
38578         (do_write_test): Likewise.
38580         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38582         * libio/fileops.c (do_ftell): Use cached offset when
38583         available.
38584         * libio/iofwide.c (do_ftell_wide): Likewise.
38585         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38586         _IO_file_attach.
38587         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38589         [BZ #16532]
38590         * libio/libioP.h (get_file_offset): New function.
38591         * libio/fileops.c (get_file_offset): Likewise.
38592         (do_ftell): Likewise.
38593         (_IO_new_file_seekoff): Split out ftell logic.
38594         * libio/wfileops.c (do_ftell_wide): Likewise.
38595         (_IO_wfile_seekoff): Split out ftell logic.
38596         * libio/tst-ftell-active-handler.c: New test case.
38597         * libio/Makefile (tests): Add it.
38599 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38601         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38602         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38604 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38606         [BZ #16639]
38607         * nscd/connections.c (nscd_init): Call do_exit.
38608         (start_threads): Call do_exit and notify_parent.
38609         (begin_drop_privileges): Call do_exit.
38610         (finish_drop_privileges): Likewise.
38611         * nscd/selinux.c (preserve_capabilities): Likewise.
38612         (install_real_capabilities): Likewise.
38613         (nscd_selinux_enabled): Likewise.
38614         (avc_create_thread): Likewise.
38615         (avc_alloc_lock): Likewise.
38616         (nscd_avc_init): Likewise.
38617         * nscd/nscd.c (parent_fd): New static variable.
38618         (main): Create a pipe between parent and child processes.
38619         Skip closing parent_fd.
38620         (monitor_child): New function.
38621         (do_exit): Likewise.
38622         (notify_parent): Likewise.
38623         * nscd/nscd.h (notify_parent): Likewise.
38624         (do_exit): Likewise.
38626 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38628         * malloc/malloc.c (__libc_calloc): Revert last change.
38630 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38634 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38636         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38638         implementation.
38639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38640         (__libc_ifunc_impl_list): Likewise.
38641         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38643         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38644         * string/strrchr.c: Define STRRCHR.
38646 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38648         * benchtest/bench-strtok.c (simple_strtok): Delete.
38649         (strtok_string): Use as benchmark.
38650         * string/strtok (STRTOK): New macro.
38652 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38654         * manual/threads.texi: Add header and standard comments to all
38655         functions.
38657         * elf/dl-lookup.c (check_match): New function.
38658         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38659         (do_lookup_x): Remove nested function check_match. Use non-nested
38660         function check_match.
38662 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38664         * csu/Makefile (generated, before-compile): Use += rather than =.
38665         * catgets/Makefile (generated, generated-dirs): Likewise.
38666         * debug/Makefile (generated): Likewise.
38667         * dlfcn/Makefile (generated): Likewise.
38668         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38669         * iconvdata/Makefile (before-compile, generated): Likewise.
38670         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38671         * libio/Makefile (generated): Likewise.
38672         * malloc/Makefile (generated): Likewise.
38673         * manual/Makefile (generated, generated-dirs): Likewise.
38674         * misc/Makefile (generated): Likewise.
38675         * posix/Makefile (generated): Likewise.
38676         * resolv/Makefile (generated): Likewise.
38677         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38678         * timezone/Makefile (generated, generated-dirs): Likewise.
38680         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38682 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38685         power8 implementation.
38686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38687         file: POWER8 llround ifunc implementation.
38688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38689         (__lllround): Add POWER8 implementation.
38690         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38691         POWER8 llround implementation.
38693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38694         power8 implementation.
38695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38696         file: POWER8 llrint ifunc implementation.
38697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38698         Add POWER8 implementation.
38699         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38700         POWER8 llrint implementation.
38702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38703         power8 implementation.
38704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38705         file: POWER8 finite ifunc implementation.
38706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38707         Add POWER8 implementation.
38708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38709         Likewise.
38710         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38711         POWER8 finite implementation.
38712         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38715         power8 implementation.
38716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38717         file: POWER8 isinf ifunc implementation.
38718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38719         POWER8 implementation.
38720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38721         Likewise.
38722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38723         isinf implementation.
38724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38726         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38727         (INIT_ARCH): Add hwcap2 initialization.
38728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38729         power8 implementation.
38730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38731         file: POWER8 isnan ifunc implementation.
38732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38733         POWER8 implementation.
38734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38735         Likewise.
38736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38737         isnan implementation.
38738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38740 2014-02-27  Joey Ye  <joey.ye@arm.com>
38742         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38743         (_FP_NANFRAC_Q): Set to zero.
38745 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747         [BZ #16623]
38748         * math/auto-libm-test-in: New test inputs.
38749         * math/auto-libm-test-out: Regenerate.
38750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38751         and DA.
38752         (__cos): Likewise.
38753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38755 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38757         * scripts/evaluate-test.sh: Take new argument indicating whether
38758         failure is expected.
38759         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38760         indicating whether failure is expected.
38761         * conform/Makefile (test-xfail-run-conformtest): New variable.
38762         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38763         level.
38764         * posix/Makefile (test-xfail-annexc): New variable.
38765         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38767 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38769         * argp/Makefile: Include Makeconfig immediately after defining
38770         subdir.
38771         * assert/Makefile: Likewise.
38772         * benchtests/Makefile: Likewise.
38773         * catgets/Makefile: Likewise.
38774         * conform/Makefile: Likewise.
38775         * crypt/Makefile: Likewise.
38776         * csu/Makefile: Likewise.
38777         (all): Remove target.
38778         * ctype/Makefile: Include Makeconfig immediately after defining
38779         subdir.
38780         * debug/Makefile: Likewise.
38781         * dirent/Makefile: Likewise.
38782         * dlfcn/Makefile: Likewise.
38783         * gmon/Makefile: Likewise.
38784         * gnulib/Makefile: Likewise.
38785         * grp/Makefile: Likewise.
38786         * gshadow/Makefile: Likewise.
38787         * hesiod/Makefile: Likewise.
38788         * hurd/Makefile: Likewise.
38789         (all): Remove target.
38790         * iconvdata/Makefile: Include Makeconfig immediately after
38791         defining subdir.
38792         * inet/Makefile: Likewise.
38793         * intl/Makefile: Likewise.
38794         * io/Makefile: Likewise.
38795         * libio/Makefile: Likewise.
38796         (all): Remove target.
38797         * locale/Makefile: Include Makeconfig immediately after defining
38798         subdir.
38799         * login/Makefile: Likewise.
38800         * mach/Makefile: Likewise.
38801         (all): Remove target.
38802         * malloc/Makefile: Include Makeconfig immediately after defining
38803         subdir.
38804         (all): Remove target.
38805         * manual/Makefile: Include Makeconfig immediately after defining
38806         subdir.
38807         * math/Makefile: Likewise.
38808         * misc/Makefile: Likewise.
38809         * nis/Makefile: Likewise.
38810         * nss/Makefile: Likewise.
38811         * po/Makefile: Likewise.
38812         (all): Remove target.
38813         * posix/Makefile: Include Makeconfig immediately after defining
38814         subdir.
38815         * pwd/Makefile: Likewise.
38816         * resolv/Makefile: Likewise.
38817         * resource/Makefile: Likewise.
38818         * rt/Makefile: Likewise.
38819         * setjmp/Makefile: Likewise.
38820         * shadow/Makefile: Likewise.
38821         * signal/Makefile: Likewise.
38822         * socket/Makefile: Likewise.
38823         * soft-fp/Makefile: Likewise.
38824         * stdio-common/Makefile: Likewise.
38825         * stdlib/Makefile: Likewise.
38826         * streams/Makefile: Likewise.
38827         * string/Makefile: Likewise.
38828         * sunrpc/Makefile: Likewise.
38829         (all): Remove target.
38830         * sysvipc/Makefile: Include Makeconfig immediately after defining
38831         subdir.
38832         * termios/Makefile: Likewise.
38833         * time/Makefile: Likewise.
38834         * timezone/Makefile: Likewise.
38835         (all): Remove target.
38836         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38837         subdir.
38838         * wctype/Makefile: Likewise.
38840 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38842         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38843         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38844         (libc_feholdexcept_setround_mips): Ditto.
38845         (libc_feholdsetround): New.
38846         (libc_feholdsetroundf): New.
38847         (libc_feholdsetroundl): New.
38848         (libc_feupdateenv_test_mips): New.
38849         (libc_feupdateenv_test): New.
38850         (libc_feupdateenv_testf): New.
38851         (libc_feupdateenv_testl): New.
38852         (libc_feresetround): New.
38853         (libc_feresetroundf): New.
38854         (libc_feresetroundl): New.
38855         (libc_fetestexcept_mips): New.
38856         (libc_fetestexcept): New.
38857         (libc_fetestexceptf): New.
38858         (libc_fetestexceptl): New.
38859         (HAVE_RM_CTX): New.
38860         (libc_feholdexcept_setround_mips_ctx): New.
38861         (libc_feholdexcept_setround_ctx): New.
38862         (libc_feholdexcept_setroundf_ctx): New.
38863         (libc_feholdexcept_setroundl_ctx): New.
38864         (libc_fesetenv_mips_ctx): New.
38865         (libc_fesetenv_ctx): New.
38866         (libc_fesetenv_ctxf): New.
38867         (libc_fesetenv_ctxl): New.
38868         (libc_feupdateenv_mips_ctx): New.
38869         (libc_feupdateenv_ctx): New.
38870         (libc_feupdateenvf_ctx): New.
38871         (libc_feupdateenvl_ctx): New.
38872         (libc_feholdsetround_mips_ctx): New.
38873         (libc_feholdsetround_ctx): New.
38874         (libc_feholdsetroundf_ctx): New.
38875         (libc_feholdsetroundl_ctx): New.
38876         (libc_feresetround_mips_ctx): New.
38877         (libc_feresetround_ctx): New.
38878         (libc_feresetroundf_ctx): New.
38879         (libc_feresetroundl_ctx): New.
38881 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38883         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38885         * manual/ipc.texi: New file.
38886         * manual/Makefile (chapters): Add ipc.
38887         * manual/job.texi: Add "Inter-Process Communication" to next.
38888         * manual/process.texi: Add "Inter-Process Communication" to prev.
38890 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38894 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38896         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38898         * manual/arith.texi: Fix spaces after sentences.
38899         * manual/charset.texi: Likewise.
38900         * manual/errno.texi: Likewise.
38901         * manual/install.texi: Likewise.
38902         * manual/llio.texi: Likewise.
38903         * manual/locale.texi: Likewise.
38904         * manual/maint.texi: Likewise.
38905         * manual/math.texi: Likewise.
38906         * manual/memory.texi: Likewise.
38907         * manual/message.texi: Likewise.
38908         * manual/probes.texi: Likewise.
38909         * manual/resource.texi: Likewise.
38910         * manual/signal.texi: Likewise.
38911         * manual/socket.texi: Likewise.
38912         * manual/stdio.texi: Likewise.
38913         * manual/string.texi: Likewise.
38914         * manual/time.texi: Likewise.
38915         * manual/users.texi: Likewise.
38917 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38919         [BZ #16632]
38920         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38921         _DEFAULT_SOURCE is defined.
38923 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38924             Carlos O'Donell  <carlos@redhat.com>
38926         [BZ #16613]
38927         * elf/dl-tls.c (_dl_count_modids): New function.
38928         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38929         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38930         audit library and increment generation counter.
38931         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38932         * elf/tst-audit9.c: New file.
38933         * elf/tst-auditmod9a.c: New file.
38934         * elf/tst-auditmod9b.c: New file.
38935         * elf/Makefile: Add rules to build and run tst-audit9.
38937 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38939         [BZ #15347]
38940         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38942 2014-02-25  Will Newton  <will.newton@linaro.org>
38944         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38945         (__longjmp): Restore sp and lr before restoring callee
38946         saved registers.  Add longjmp and longjmp_target
38947         SystemTap probe point.
38948         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38949         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38950         Define to zero to match jmpbuf layout.
38951         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38952         (__sigsetjmp): Save sp and lr before saving callee
38953         saved registers.  Add setjmp SystemTap probe point.
38955 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38957         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38959 2014-02-24  Andreas Schwab  <schwab@suse.de>
38961         [BZ #15804]
38962         * elf/pldd.c (wait_for_ptrace_stop): New function.
38963         (main): Call it after attaching.
38965 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38967         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38968         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38969         Versions files is now verboten.
38970         * hurd/Versions (libc: GLIBC_2.0):
38971         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38972         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38973         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38974         * mach/Versions: Likewise.
38976         * csu/Versions: Remove unused %include.
38977         * resolv/Versions: Likewise.
38979 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38981         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38982         ($(objpfx)check-local-headers.out): Likewise.
38983         ($(objpfx)begin-end-check.out): Likewise.
38984         * Makerules (check-abi-%.out): Likewise.
38985         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38986         ($(objpfx)test2.cat): Likewise.
38987         ($(objpfx)de/libc.cat): Likewise.
38988         ($(objpfx)test-gencat.out): Likewise.
38989         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38990         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38991         ($(objpfx)noload-mem): Likewise.
38992         ($(objpfx)tst-pathopt.out): Likewise.
38993         ($(objpfx)tst-rtld-load-self.out): Likewise.
38994         ($(objpfx)tst-array1-cmp.out): Likewise.
38995         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38996         ($(objpfx)tst-array2-cmp.out): Likewise.
38997         ($(objpfx)tst-array3-cmp.out): Likewise.
38998         ($(objpfx)tst-array4-cmp.out): Likewise.
38999         ($(objpfx)tst-array5-cmp.out): Likewise.
39000         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39001         ($(objpfx)check-textrel.out): Likewise.
39002         ($(objpfx)check-execstack.out): Likewise.
39003         ($(objpfx)check-localplt.out): Likewise.
39004         ($(objpfx)order2-cmp.out): Likewise.
39005         ($(objpfx)tst-leaks1-mem): Likewise.
39006         ($(objpfx)tst-leaks1-static-mem): Likewise.
39007         ($(objpfx)tst-initorder-cmp.out): Likewise.
39008         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39009         ($(objpfx)tst-unused-dep.out): Likewise.
39010         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39011         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39012         * iconv/Makefile (test-iconvconfig): Likewise.
39013         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39014         ($(objpfx)iconv-test.out): Likewise.
39015         ($(objpfx)tst-tables.out): Likewise.
39016         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39017         ($(objpfx)tst-gettext.out): Likewise.
39018         ($(objpfx)tst-translit.out): Likewise.
39019         ($(objpfx)tst-gettext2.out): Likewise.
39020         ($(objpfx)tst-gettext4.out): Likewise.
39021         ($(objpfx)tst-gettext6.out): Likewise.
39022         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39023         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39024         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39025         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39026         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39027         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39028         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39029         ($(objpfx)wordexp-tst.out): Likewise.
39030         ($(objpfx)annexc.out): Likewise.
39031         ($(objpfx)tst-fnmatch-mem): Likewise.
39032         ($(objpfx)bug-regex2-mem): Likewise.
39033         ($(objpfx)bug-regex14-mem): Likewise.
39034         ($(objpfx)bug-regex21-mem): Likewise.
39035         ($(objpfx)bug-regex31-mem): Likewise.
39036         ($(objpfx)tst-vfork3-mem): Likewise.
39037         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39038         ($(objpfx)tst-pcre-mem): Likewise.
39039         ($(objpfx)tst-boost-mem): Likewise.
39040         ($(objpfx)tst-getconf.out): Likewise.
39041         ($(objpfx)bug-ga2-mem): Likewise.
39042         ($(objpfx)bug-glob2-mem): Likewise.
39043         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39044         ($(objpfx)mtrace-tst-leaks2): Likewise.
39045         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39046         ($(objpfx)tst-printf.out): Likewise.
39047         ($(objpfx)tst-setvbuf1.out): Likewise.
39048         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39049         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39050         ($(objpfx)tst-fmtmsg.out): Likewise.
39051         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39052         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39054         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39055         * bits/sigaction.h [__USE_MISC]: Likewise.
39056         * bits/waitstatus.h: Update #endif comments.
39057         * ctype/ctype.h: Likewise.
39058         * dirent/dirent.h: Likewise.
39059         [__USE_MISC]: Remove redundant conditionals.
39060         * grp/grp.h: Update #endif comments.
39061         [__USE_GNU]: Remove redundant conditionals.
39062         [__USE_MISC]: Likewise.
39063         * inet/netinet/in.h [__USE_GNU]: Likewise.
39064         * io/sys/stat.h [__USE_MISC]: Likewise.
39065         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39066         * libio/bits/stdio.h: Update #endif comments.
39067         [__USE_MISC]: Remove redundant conditionals.
39068         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39069         * libio/stdio.h: Update #endif comments.
39070         [__USE_MISC]: Remove redundant conditionals.
39071         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39072         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39073         * math/math.h: Update #else and #endif comments.
39074         [__USE_MISC]: Remove redundant conditionals.
39075         * misc/sys/uio.h: Update #endif comments.
39076         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39077         * posix/glob.h [__USE_MISC]: Likewise.
39078         * posix/sys/types.h: Update #endif comments.
39079         [__USE_MISC]: Remove redundant conditionals.
39080         * posix/sys/wait.h: Update #endif comments.
39081         [__USE_MISC]: Remove redundant conditionals.
39082         * posix/unistd.h: Update #endif comments.
39083         [__USE_MISC]: Remove redundant conditionals.
39084         * pwd/pwd.h [__USE_GNU]: Likewise.
39085         [__USE_MISC]: Likewise.
39086         * resolv/netdb.h [__USE_GNU]: Likewise.
39087         * signal/signal.h: Update #endif comments.
39088         [__USE_MISC]: Remove redundant conditionals.
39089         * stdlib/stdlib.h: Update #else and #endif comments.
39090         [__USE_MISC]: Remove redundant conditionals.
39091         [__USE_GNU]: Likewise.
39092         * string/bits/string2.h [__USE_MISC]: Likewise.
39093         * string/string.h: Update #endif comments.
39094         [__USE_MISC]: Remove redundant conditionals.
39095         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39096         Likewise.
39097         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39098         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39099         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39100         Likewise.
39101         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39102         Likewise.
39103         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39104         comments.
39105         [__USE_MISC]: Remove redundant conditionals.
39106         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39107         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39108         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39109         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39110         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39111         Likewise.
39112         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39113         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39114         Likewise.
39115         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39116         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39117         Likewise.
39118         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39119         Likewise.
39120         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39121         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39122         Likewise.
39123         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39124         Likewise.
39125         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39126         * sysdeps/x86/bits/string.h: Update #endif comments.
39127         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39128         conditionals.
39129         * time/sys/time.h: Update #endif comments.
39130         * time/time.h: Likewise.
39131         [__USE_MISC]: Remove redundant conditionals.
39133 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39135         [BZ #16600]
39136         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39138 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39140         * Versions.def (librt): Add GLIBC_2.17.
39142 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39144         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39145         synonym for _SYS_AUXV_H to allow direct inclusion.
39146         * sysdeps/sparc/bits/hwcap.h: Likewise.
39147         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39148         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39149         * sysdeps/sparc/sysdep.h: Likewise.
39151 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39153         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39155 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39157         * benchtests/bench-strrchr.c: Print length instead of position.
39159 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39161         [BZ #16611]
39162         * sysdeps/unix/sysv/linux/kernel-features.h
39163         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39164         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39165         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39166         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39167         Likewise.
39168         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39169         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39170         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39171         (__ASSUME_SENDMMSG): Define instead of using previous
39172         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39173         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39174         (__ASSUME_SENDMMSG_SYSCALL): Define.
39175         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39176         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39177         Likewise.
39178         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39179         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39180         Likewise.
39181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39182         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39183         Likewise.
39184         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39185         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39186         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39187         [__ASSUME_SENDMMSG]: Change conditionals to
39188         [__ASSUME_SENDMMSG_SOCKETCALL].
39189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39190         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39191         Define.
39192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39193         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39194         Likewise.
39195         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39196         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39197         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39198         [!__ASSUME_SENDMMSG]: Change conditional to
39199         [!__ASSUME_SENDMMSG_SOCKETCALL].
39200         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39201         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39202         Define.
39204         [BZ #16610]
39205         * sysdeps/unix/sysv/linux/kernel-features.h
39206         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39207         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39208         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39209         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39210         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39211         [__i386__ || __sparc__]
39212         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39213         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39214         (__ASSUME_RECVMMSG): Define instead of using previous
39215         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39216         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39217         (__ASSUME_RECVMMSG_SYSCALL): Define.
39218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39220         Likewise.
39221         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39223         Likewise.
39224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39226         Likewise.
39227         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39228         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39229         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39230         [__ASSUME_RECVMMSG]: Change condition to
39231         [__ASSUME_RECVMMSG_SOCKETCALL].
39232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39233         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39234         Define.
39235         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39238         Likewise.
39239         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39240         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39241         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39242         [!__ASSUME_RECVMMSG]: Change condition to
39243         [!__ASSUME_RECVMMSG_SOCKETCALL].
39244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39245         (__ASSUME_RECVMMSG_SYSCALL): Define.
39247         [BZ #16609]
39248         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39249         __powerpc__ || __s390__ || __sh__ || __sparc__]
39250         (__ASSUME_SOCKETCALL): Define.
39251         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39252         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39253         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39254         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39255         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39256         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39257         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39258         (__ASSUME_ACCEPT4): Define instead of using previous
39259         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39260         __powerpc__ || __sparc__ || __s390__)] condition.
39261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39262         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39263         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39264         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39265         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39266         [!__ASSUME_ACCEPT4]: Change condition to
39267         [!__ASSUME_ACCEPT4_SOCKETCALL].
39268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39269         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39270         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39271         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39272         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39273         __ASSUME_ACCEPT4_SYSCALL.
39274         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39275         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39276         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39277         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39278         __ASSUME_ACCEPT4_SYSCALL.
39279         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39280         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39281         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39282         [__ASSUME_ACCEPT4]: Change condition to
39283         [__ASSUME_ACCEPT4_SOCKETCALL].
39284         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39285         (__ASSUME_SOCKETCALL): Define.
39286         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39288         (__ASSUME_SOCKETCALL): Define.
39289         (__ASSUME_ACCEPT4): Remove.
39290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39291         Define.
39292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39293         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39294         Likewise.
39295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39296         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39298         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39299         macro.
39300         (HWCAP_ARM_LPAE): Likewise.
39301         (HWCAP_ARM_EVTSTRM): Likewise.
39302         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39303         Add vpfd32, lpae and evtstrm.
39304         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39305         Increase to 22.
39307 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39309         * math/auto-libm-test-in: Add tests of clog10.
39310         * math/auto-libm-test-out: Regenerated.
39311         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39312         * sysdeps/i386/fpu/libm-test-ulps: Update.
39313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39315 2014-02-18  Andreas Schwab  <schwab@suse.de>
39317         [BZ #16574]
39318         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39319         Store non-zero if the second buffer was newly allocated.
39320         (send_dg): Likewise.
39321         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39322         to send_vc and send_dg.
39323         (res_nsend): Pass NULL for ansp2_malloced.
39324         * resolv/res_query.c (__libc_res_nquery): Add parameter
39325         answerp2_malloced and pass it down to __libc_res_nsend.
39326         (res_nquery): Pass additional NULL to __libc_res_nquery.
39327         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39328         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39329         second answer buffer if answerp2_malloced was set.
39330         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39331         (__libc_res_nquerydomain): Add parameter
39332         answerp2_malloced and pass it down to __libc_res_nquery.
39333         (res_nquerydomain): Pass additional NULL to
39334         __libc_res_nquerydomain.
39335         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39336         additional NULL to __libc_res_nsend and __libc_res_nquery.
39337         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39338         additional NULL to __libc_res_nsearch.
39339         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39340         parameter of __libc_res_nsearch to check for separately allocated
39341         second buffer.
39342         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39343         __libc_res_nquery.
39344         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39345         additional NULL to __libc_res_nquery.
39346         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39347         __libc_res_nsearch.
39348         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39349         * include/resolv.h: Update prototypes of __libc_res_nquery,
39350         __libc_res_nsearch, __libc_res_nsend.
39352 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39354         * math/auto-libm-test-in: Add tests of fma.
39355         * math/auto-libm-test-out: Regenerated.
39356         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39357         (fma_towardzero_test_data): Likewise.
39358         (fma_downward_test_data): Likewise.
39359         (fma_upward_test_data): Likewise.
39360         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39361         mpc_mode.
39362         (rounding_modes): Add values for new field.
39363         (func_calc_method): Add value mpfr_fff_f.
39364         (func_calc_desc): Add mpfr_fff_f union field.
39365         (test_function): Add field exact_args.
39366         (FUNC): Add macro argument EXACT_ARGS.
39367         (FUNC_mpfr_f_f): Update call to FUNC.
39368         (FUNC_mpfr_f_f): Likewise.
39369         (FUNC_mpfr_ff_f): Likewise.
39370         (FUNC_mpfr_if_f): Likewise.
39371         (FUNC_mpc_c_f): Likewise.
39372         (FUNC_mpc_c_c): Likewise.
39373         (test_functions): Add fma.  Update calls to FUNC.
39374         (handle_input_arg): Add argument exact_args.
39375         (add_test): Update call to handle_input_arg.
39376         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39377         (output_for_one_input_case): Update call to calc_generic_results.
39378         Recalculate exact zero results in each rounding mode.
39380         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39381         non-negative before setting low bit.
39382         * math/auto-libm-test-in: Mark one asin test possibly having
39383         spurious underflow.
39384         * math/auto-libm-test-out: Regenerated.
39385         * sysdeps/i386/fpu/libm-test-ulps: Update.
39386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39388 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39390         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39391         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39392         ports/sysdeps/unix/sysv/linux/microblaze.
39393         * README: Add missing listing for microblaze*-*-linux-gnu.
39395 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39398         duplicate code
39400 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39402         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39403         * sysdeps/unix/sysv/linux/ia64: Move directory from
39404         ports/sysdeps/unix/sysv/linux/ia64.
39405         * README: Update listing for ia64-*-linux-gnu.
39407 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39408             Joseph Myers  <joseph@codesourcery.com>
39410         * Makeconfig (test-name): New variable.
39411         (evaluate-test): Likewise.
39412         * Makerules (do-test-clean): Remove .test-result files.
39413         (common-mostlyclean): Likewise.
39414         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39415         * scripts/evaluate-test.sh: New file.
39417 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39419         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39420         separate $(objpfx)tst-fopenloc-cmp.out and
39421         $(objpfx)tst-fopenloc-mem.out targets.
39422         (tests): Update dependencies.
39423         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39424         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39425         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39426         (tst-rxspencer-no-utf8-ARGS): New variable.
39427         (tst-rxspencer-no-utf8-ENV): Likewise.
39428         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39429         instead of $(objpfx)tst-rxspencer-mem.
39430         ($(objpfx)tst-rxspencer-mem): Change target to
39431         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39432         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39433         * posix/tst-rxspencer-no-utf8.c: New file.
39435         * elf/Makefile ($(objpfx)order.out): Remove rule.
39436         [$(run-built-tests) = yes] (tests): Depend on
39437         $(objpfx)order-cmp.out.
39438         ($(objpfx)order-cmp.out): New rule.
39439         [$(run-built-tests) = yes] (tests): Depend on
39440         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39441         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39442         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39443         $(objpfx)tst-array5-static-cmp.out.
39444         ($(objpfx)tst-array1.out): Remove rule.
39445         ($(objpfx)tst-array1-cmp.out): New rule.
39446         ($(objpfx)tst-array1-static.out): Remove rule.
39447         ($(objpfx)tst-array1-static-cmp.out): New rule.
39448         ($(objpfx)tst-array2.out): Remove rule.
39449         ($(objpfx)tst-array2-cmp.out): New rule.
39450         ($(objpfx)tst-array3.out): Remove rule.
39451         ($(objpfx)tst-array3-cmp.out): New rule.
39452         ($(objpfx)tst-array4.out): Remove rule.
39453         ($(objpfx)tst-array4-cmp.out): New rule.
39454         ($(objpfx)tst-array5.out): Remove rule.
39455         ($(objpfx)tst-array5-cmp.out): New rule.
39456         ($(objpfx)tst-array5-static.out): Remove rule.
39457         ($(objpfx)tst-array5-static-cmp.out): New rule.
39458         [$(run-built-tests) = yes] (tests): Depend on
39459         $(objpfx)order2-cmp.out.
39460         ($(objpfx)order2.out): Remove rule.
39461         ($(objpfx)order2-cmp.out): New rule.
39462         ($(objpfx)tst-initorder.out): Remove rule.
39463         [$(run-built-tests) = yes] (tests): Depend on
39464         $(objpfx)tst-initorder-cmp.out.
39465         ($(objpfx)tst-initorder-cmp.out): New rule.
39466         ($(objpfx)tst-initorder2.out): Remove rule.
39467         [$(run-built-tests) = yes] (tests): Depend on
39468         $(objpfx)tst-initorder2-cmp.out.
39469         ($(objpfx)tst-initorder2-cmp.out): New rule.
39470         [$(run-built-tests) = yes] (tests): Depend on
39471         $(objpfx)tst-unused-dep-cmp.out.
39472         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39473         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39474         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39475         on $(objpfx)tst-setvbuf1-cmp.out.
39476         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39477         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39478         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39479         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39480         ($(objpfx)tst-svc.out): Remove rule.
39481         ($(objpfx)tst-svc-cmp.out): New rule.
39483 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39485         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39486         * ctype/ctype.h [__USE_MISC]: Likewise.
39487         * dirent/dirent.h [__USE_MISC]: Likewise.
39488         * grp/grp.h [__USE_MISC]: Likewise.
39489         * io/fcntl.h [__USE_MISC]: Likewise.
39490         * io/sys/stat.h [__USE_MISC]: Likewise.
39491         * libio/stdio.h [__USE_MISC]: Likewise.
39492         * posix/unistd.h [__USE_MISC]: Likewise.
39493         * pwd/pwd.h [__USE_MISC]: Likewise.
39494         * stdlib.h [__USE_MISC]: Likewise.
39495         * string/bits/string2.h [__USE_MISC]: Likewise.
39496         * string/string.h [__USE_MISC]: Likewise.
39497         * time/time.h [__USE_MISC]: Likewise.
39499 2014-02-13  Andreas Schwab  <schwab@suse.de>
39501         [BZ #16574]
39502         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39503         second answer buffer if it was separately allocated.
39505 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39507         * sysdeps/mips/math-tests.h: Include <features.h>.
39508         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39509         (ROUNDING_TESTS_long_double): Do not define.
39510         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39511         (EXCEPTION_TESTS_long_double): Likewise.
39512         * sysdeps/mips/mips64/libm-test-ulps: Update.
39514         * include/features.h (__USE_BSD): Remove macro definitions.
39515         (__USE_SVID): Likewise.
39516         (_BSD_SOURCE): Likewise.
39517         (_SVID_SOURCE): Likewise.
39518         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39519         from definition of _DEFAULT_SOURCE.
39520         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39521         [_DEFAULT_SOURCE].
39522         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39523         * bits/mman.h [__USE_BSD]: Likewise.
39524         * bits/termios.h [__USE_BSD]: Likewise.
39525         * bits/waitstatus.h [__USE_BSD]: Likewise.
39526         * ctype/ctype.h [__USE_SVID]: Likewise.
39527         * dirent/dirent.h [__USE_BSD]: Likewise.
39528         * grp/grp.h [__USE_SVID]: Likewise.
39529         [__USE_BSD]: Likewise.
39530         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39531         * io/fcntl.h [__USE_BSD]: Likewise.
39532         * io/ftw.h [__USE_BSD]: Likewise.
39533         * io/sys/stat.h [__USE_BSD]: Likewise.
39534         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39535         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39536         * libio/stdio.h [__USE_SVID]: Likewise.
39537         [__USE_BSD]: Likewise.
39538         * math/math.h [__USE_SVID]: Likewise.
39539         [__USE_BSD]: Likewise.
39540         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39541         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39542         * misc/search.h [__USE_SVID]: Likewise.
39543         * misc/sys/mman.h [__USE_BSD]: Likewise.
39544         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39545         * misc/sys/uio.h [__USE_BSD]: Likewise.
39546         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39547         * posix/glob.h [__USE_BSD]: Likewise.
39548         * posix/regex.h [__USE_BSD]: Likewise.
39549         * posix/sys/types.h [__USE_BSD]: Likewise.
39550         [__USE_SVID]: Likewise.
39551         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39552         * posix/sys/wait.h [__USE_BSD]: Likewise.
39553         [__USE_SVID]: Likewise.
39554         * posix/unistd.h [__USE_BSD]: Likewise.
39555         [__USE_SVID]: Likewise.
39556         * pwd/pwd.h [__USE_SVID]: Likewise.
39557         * resolv/netdb.h [__USE_BSD]: Likewise.
39558         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39559         * signal/signal.h [__USE_BSD]: Likewise.
39560         [__USE_SVID]: Likewise.
39561         * socket/sys/socket.h [__USE_BSD]: Likewise.
39562         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39563         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39564         [__USE_SVID]: Likewise.
39565         * string/bits/string2.h [__USE_BSD]: Likewise.
39566         [__USE_SVID]: Likewise.
39567         * string/bits/string3.h [__USE_BSD]: Likewise.
39568         * string/endian.h [__USE_BSD]: Likewise.
39569         * string/string.h [__USE_SVID]: Likewise.
39570         [__USE_BSD]: Likewise.
39571         * string/strings.h [__USE_BSD]: Likewise.
39572         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39573         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39574         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39575         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39576         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39577         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39578         Likewise.
39579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39580         Likewise.
39581         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39582         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39583         Likewise.
39584         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39585         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39586         Likewise.
39587         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39588         Likewise.
39589         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39590         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39591         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39592         Likewise.
39593         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39594         Likewise.
39595         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39596         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39597         * termios/termios.h [__USE_BSD]: Likewise.
39598         * time/sys/time.h [__USE_BSD]: Likewise.
39599         * time/time.h [__USE_BSD]: Likewise.
39600         [__USE_SVID]: Likewise.
39602         * Makefile (subdir_targets): Remove subdir_lint.out.
39604         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39605         (do-tst-printf): Likewise.
39606         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39607         $(objpfx)tst-printf.out.
39609         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39611         * Makerules (check-abi-%): Change target to
39612         $(objpfx)check-abi-%.out.
39613         (check-abi target): Update dependencies.
39614         (check-abi-pattern variable): Redirect output of diff to $@.
39615         (check-abi variable): Likewise.
39616         * elf/Makefile (check-abi): Update dependencies.
39618         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39619         unused.
39620         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39621         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39622         subnormal range.
39623         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39624         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39625         value has largest subnormal exponent.
39626         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39627         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39628         * sysdeps/aarch64/soft-fp/sfp-machine.h
39629         (_FP_TININESS_AFTER_ROUNDING): New macro.
39630         * sysdeps/alpha/soft-fp/sfp-machine.h
39631         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39632         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39633         Likewise.
39634         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39636         * sysdeps/mips/soft-fp/sfp-machine.h
39637         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39638         * sysdeps/powerpc/soft-fp/sfp-machine.h
39639         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39640         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39641         Likewise.
39642         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39643         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39646         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39647         Likewise.
39649 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39651         [BZ #16545]
39652         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39653         model 1.
39655 2014-02-12  Richard Henderson  <rth@redhat.com>
39657         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39658         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39659         * sysdeps/unix/sysv/linux/alpha: Move directory from
39660         ports/sysdeps/unix/sysv/linux/alpha.
39661         * README: Update listing for alpha-*-linux-gnu.
39663 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39665         * include/features.h: Update comment documenting feature test
39666         macros.
39667         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39668         _DEFAULT_SOURCE.
39669         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39670         (_SVID_SOURCE): Likewise.
39671         (_DEFAULT_SOURCE): Update description of default features.
39672         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39673         with _GNU_SOURCE.
39674         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39675         (S_ISVTX): Likewise.
39676         * manual/math.texi (Mathematical Constants): Likewise.
39677         * manual/signal.texi (Interrupted Primitives): Likewise.
39678         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39679         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39680         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39681         Don't refer to _SVID_SOURCE in warning text.
39683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39685         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39686         already defined.
39687         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39688         * sysdeps/mips/dl-lookup.c: Remove.
39689         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39691 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39693         [BZ #16447]
39694         * math/auto-libm-test-in: Add testcase for expl.
39695         * math/auto-libm-test-out: Regenerate.
39696         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39697         calculation of unsafe.
39698         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39700 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39702         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39703         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39704         ports/sysdeps/unix/sysv/linux/aarch64.
39705         * README: Update listing for aarch64*-*-linux-gnu.
39707 2014-02-11  Will Newton  <will.newton@linaro.org>
39709         * manual/probes.texi (Mathematical Function Probes): Use
39710         "triggered" instead of "hit".
39712         * manual/probes.texi (Internal Probes): Add documentation
39713         of setjmp, longjmp and longjmp_target probes.
39715         * include/stap-probe.h: Add comment about probe argument
39716         format.
39718         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39719         definition.  (tr_where, tr_freehook, tr_mallochook,
39720         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39722 2014-02-11  David S. Miller  <davem@davemloft.net>
39724         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39725         processing int_tests.
39727 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39729         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39730         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39731         * sysdeps/unix/sysv/linux/mips: Move directory from
39732         ports/sysdeps/unix/sysv/linux/mips.
39733         * README: Update listing for mips-*-linux-gnu and
39734         mips64-*-linux-gnu.
39736 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39738         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39739         * sysdeps/unix/sysv/linux/m68k: Move directory from
39740         ports/sysdeps/unix/sysv/linux/m68k.
39741         * README: Update listing for m68k-*-linux-gnu.
39743 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39745         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39746         * sysdeps/unix/sysv/linux/generic: Move directory from
39747         ports/sysdeps/unix/sysv/linux/generic.
39748         * sysdeps/unix/sysv/linux/tile: Move directory from
39749         ports/sysdeps/unix/sysv/linux/tile.
39750         * README: Update listing for tile*-*-linux-gnu.
39752 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39754         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39755         __builtin_expect.
39756         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39757         * catgets/open_catalog.c (__open_catalog): Likewise.
39758         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39759         * debug/confstr_chk.c: Likewise.
39760         * debug/fread_chk.c (__fread_chk): Likewise.
39761         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39762         * debug/getgroups_chk.c: Likewise.
39763         * debug/mbsnrtowcs_chk.c: Likewise.
39764         * debug/mbsrtowcs_chk.c: Likewise.
39765         * debug/mbstowcs_chk.c: Likewise.
39766         * debug/memcpy_chk.c: Likewise.
39767         * debug/memmove_chk.c: Likewise.
39768         * debug/mempcpy_chk.c: Likewise.
39769         * debug/memset_chk.c: Likewise.
39770         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39771         * debug/strcat_chk.c (__strcat_chk): Likewise.
39772         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39773         * debug/strncat_chk.c (__strncat_chk): Likewise.
39774         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39775         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39776         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39777         * debug/wcpncpy_chk.c: Likewise.
39778         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39779         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39780         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39781         * debug/wcsncpy_chk.c: Likewise.
39782         * debug/wcsnrtombs_chk.c: Likewise.
39783         * debug/wcsrtombs_chk.c: Likewise.
39784         * debug/wcstombs_chk.c: Likewise.
39785         * debug/wmemcpy_chk.c: Likewise.
39786         * debug/wmemmove_chk.c: Likewise.
39787         * debug/wmempcpy_chk.c: Likewise.
39788         * debug/wmemset_chk.c: Likewise.
39789         * dirent/scandirat.c (SCANDIRAT): Likewise.
39790         * dlfcn/dladdr1.c (dladdr1): Likewise.
39791         * dlfcn/dladdr.c (dladdr): Likewise.
39792         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39793         * dlfcn/dlerror.c (__dlerror): Likewise.
39794         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39795         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39796         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39797         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39798         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39799         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39800         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39801         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39802         Likewise.
39803         * elf/dl-conflict.c: Likewise.
39804         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39805         * elf/dl-dst.h: Likewise.
39806         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39807         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39808         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39809         * elf/dl-init.c (call_init, _dl_init): Likewise.
39810         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39811         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39812         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39813         Likewise.
39814         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39815         Likewise.
39816         * elf/dl-minimal.c (__libc_memalign): Likewise.
39817         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39818         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39819         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39820         * elf/dl-sym.c (do_sym): Likewise.
39821         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39822         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39823         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39824         * elf/dl-writev.h (_dl_writev): Likewise.
39825         * elf/ldconfig.c (search_dir): Likewise.
39826         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39827         (dl_main): Likewise.
39828         * elf/setup-vdso.h (setup_vdso): Likewise.
39829         * grp/compat-initgroups.c (compat_call): Likewise.
39830         * grp/fgetgrent.c (fgetgrent): Likewise.
39831         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39832         * grp/putgrent.c (putgrent): Likewise.
39833         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39834         Likewise.
39835         * hurd/hurdinit.c: Likewise.
39836         * iconvdata/8bit-gap.c (struct): Likewise.
39837         * iconvdata/ansi_x3.110.c : Likewise.
39838         * iconvdata/big5.c : Likewise.
39839         * iconvdata/big5hkscs.c : Likewise.
39840         * iconvdata/cp1255.c: Likewise.
39841         * iconvdata/cp1258.c : Likewise.
39842         * iconvdata/cp932.c : Likewise.
39843         * iconvdata/euc-cn.c: Likewise.
39844         * iconvdata/euc-jisx0213.c : Likewise.
39845         * iconvdata/euc-jp.c: Likewise.
39846         * iconvdata/euc-jp-ms.c : Likewise.
39847         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39848         * iconvdata/gb18030.c : Likewise.
39849         * iconvdata/gbbig5.c (const): Likewise.
39850         * iconvdata/gbgbk.c: Likewise.
39851         * iconvdata/gbk.c : Likewise.
39852         * iconvdata/ibm1364.c : Likewise.
39853         * iconvdata/ibm930.c : Likewise.
39854         * iconvdata/ibm932.c: Likewise.
39855         * iconvdata/ibm933.c : Likewise.
39856         * iconvdata/ibm935.c : Likewise.
39857         * iconvdata/ibm937.c : Likewise.
39858         * iconvdata/ibm939.c : Likewise.
39859         * iconvdata/ibm943.c: Likewise.
39860         * iconvdata/iso_11548-1.c: Likewise.
39861         * iconvdata/iso-2022-cn.c : Likewise.
39862         * iconvdata/iso-2022-cn-ext.c : Likewise.
39863         * iconvdata/iso-2022-jp-3.c: Likewise.
39864         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39865         * iconvdata/iso-2022-kr.c : Likewise.
39866         * iconvdata/iso646.c (gconv_end): Likewise.
39867         * iconvdata/iso_6937-2.c : Likewise.
39868         * iconvdata/iso_6937.c : Likewise.
39869         * iconvdata/iso8859-1.c: Likewise.
39870         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39871         * iconvdata/shift_jisx0213.c : Likewise.
39872         * iconvdata/sjis.c : Likewise.
39873         * iconvdata/t.61.c : Likewise.
39874         * iconvdata/tcvn5712-1.c : Likewise.
39875         * iconvdata/tscii.c: Likewise.
39876         * iconvdata/uhc.c : Likewise.
39877         * iconvdata/unicode.c (gconv_end): Likewise.
39878         * iconvdata/utf-16.c (gconv_end): Likewise.
39879         * iconvdata/utf-32.c (gconv_end): Likewise.
39880         * iconvdata/utf-7.c (base64): Likewise.
39881         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39882         * iconv/gconv_close.c (__gconv_close): Likewise.
39883         * iconv/gconv_open.c (__gconv_open): Likewise.
39884         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39885         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39886         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39887         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39888         (ucs4le_internal_loop_single): Likewise.
39889         * iconv/iconv.c (iconv): Likewise.
39890         * iconv/iconv_close.c: Likewise.
39891         * iconv/loop.c (SINGLE): Likewise.
39892         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39893         * include/atomic.h: Likewise.
39894         * inet/inet6_option.c (option_alloc): Likewise.
39895         * intl/bindtextdom.c (set_binding_values): Likewise.
39896         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39897         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39898         * intl/localealias.c (read_alias_file): Likewise.
39899         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39900         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39901         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39902         * libio/fmemopen.c (fmemopen): Likewise.
39903         * libio/iofgets.c (_IO_fgets): Likewise.
39904         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39905         * libio/iofgetws.c (fgetws): Likewise.
39906         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39907         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39908         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39909         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39910         * locale/findlocale.c (_nl_find_locale): Likewise.
39911         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39912         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39913         Likewise.
39914         * locale/setlocale.c (setlocale): Likewise.
39915         * login/programs/pt_chown.c (main): Likewise.
39916         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39917         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39918         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39919         (mmap, mmap64, mremap, munmap): Likewise.
39920         * math/e_exp2l.c: Likewise.
39921         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39922         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39923         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39924         * math/s_catan.c (__catan): Likewise.
39925         * math/s_catanf.c (__catanf): Likewise.
39926         * math/s_catanh.c (__catanh): Likewise.
39927         * math/s_catanhf.c (__catanhf): Likewise.
39928         * math/s_catanhl.c (__catanhl): Likewise.
39929         * math/s_catanl.c (__catanl): Likewise.
39930         * math/s_ccosh.c (__ccosh): Likewise.
39931         * math/s_ccoshf.c (__ccoshf): Likewise.
39932         * math/s_ccoshl.c (__ccoshl): Likewise.
39933         * math/s_cexp.c (__cexp): Likewise.
39934         * math/s_cexpf.c (__cexpf): Likewise.
39935         * math/s_cexpl.c (__cexpl): Likewise.
39936         * math/s_clog10.c (__clog10): Likewise.
39937         * math/s_clog10f.c (__clog10f): Likewise.
39938         * math/s_clog10l.c (__clog10l): Likewise.
39939         * math/s_clog.c (__clog): Likewise.
39940         * math/s_clogf.c (__clogf): Likewise.
39941         * math/s_clogl.c (__clogl): Likewise.
39942         * math/s_csin.c (__csin): Likewise.
39943         * math/s_csinf.c (__csinf): Likewise.
39944         * math/s_csinh.c (__csinh): Likewise.
39945         * math/s_csinhf.c (__csinhf): Likewise.
39946         * math/s_csinhl.c (__csinhl): Likewise.
39947         * math/s_csinl.c (__csinl): Likewise.
39948         * math/s_csqrt.c (__csqrt): Likewise.
39949         * math/s_csqrtf.c (__csqrtf): Likewise.
39950         * math/s_csqrtl.c (__csqrtl): Likewise.
39951         * math/s_ctan.c (__ctan): Likewise.
39952         * math/s_ctanf.c (__ctanf): Likewise.
39953         * math/s_ctanh.c (__ctanh): Likewise.
39954         * math/s_ctanhf.c (__ctanhf): Likewise.
39955         * math/s_ctanhl.c (__ctanhl): Likewise.
39956         * math/s_ctanl.c (__ctanl): Likewise.
39957         * math/w_pow.c: Likewise.
39958         * math/w_powf.c: Likewise.
39959         * math/w_powl.c: Likewise.
39960         * math/w_scalb.c (sysv_scalb): Likewise.
39961         * math/w_scalbf.c (sysv_scalbf): Likewise.
39962         * math/w_scalbl.c (sysv_scalbl): Likewise.
39963         * misc/error.c (error_tail): Likewise.
39964         * misc/pselect.c (__pselect): Likewise.
39965         * nis/nis_callback.c (__nis_create_callback): Likewise.
39966         * nis/nis_call.c (__nisfind_server): Likewise.
39967         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39968         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39969         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39970         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39971         * nis/nis_lookup.c (nis_lookup): Likewise.
39972         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39973         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39974         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39975         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39976         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39977         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39978         * nis/nss_compat/compat-initgroups.c (add_group)
39979         (internal_getgrent_r): Likewise.
39980         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39981         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39982         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39983         (internal_getspnam_r): Likewise.
39984         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39985         (_nss_nis_getaliasbyname_r): Likewise.
39986         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39987         (_nss_nis_getntohost_r): Likewise.
39988         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39989         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39990         (_nss_nis_getgrgid_r): Likewise.
39991         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39992         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39993         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39994         (_nss_nis_gethostbyname4_r): Likewise.
39995         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39996         (initgroups_netid): Likewise.
39997         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39998         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39999         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40000         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40001         (_nss_nis_getprotobynumber_r): Likewise.
40002         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40003         (_nss_nis_getsecretkey): Likewise.
40004         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40005         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40006         (_nss_nis_getpwuid_r): Likewise.
40007         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40008         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40009         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40010         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40011         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40012         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40013         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40014         Likewise.
40015         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40016         (_nss_nisplus_getntohost_r): Likewise.
40017         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40018         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40019         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40020         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40021         Likewise.
40022         * nis/nss_nisplus/nisplus-initgroups.c
40023         (_nss_nisplus_initgroups_dyn): Likewise.
40024         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40025         (_nss_nisplus_getnetbyaddr_r): Likewise.
40026         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40027         (_nss_nisplus_getprotobynumber_r): Likewise.
40028         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40029         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40030         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40031         Likewise.
40032         * nis/nss_nisplus/nisplus-service.c
40033         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40034         (_nss_nisplus_getservbyport_r): Likewise.
40035         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40036         (_nss_nisplus_getspnam_r): Likewise.
40037         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40038         Likewise.
40039         * nscd/aicache.c (addhstaiX): Likewise.
40040         * nscd/cache.c (cache_search, prune_cache): Likewise.
40041         * nscd/connections.c (register_traced_file, send_ro_fd)
40042         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40043         (main_loop_epoll): Likewise.
40044         * nscd/grpcache.c (addgrbyX): Likewise.
40045         * nscd/hstcache.c (addhstbyX): Likewise.
40046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40047         * nscd/mem.c (gc, mempool_alloc): Likewise.
40048         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40049         (addinnetgrX): Likewise.
40050         * nscd/nscd-client.h (__nscd_acquire_maplock)
40051         (__nscd_drop_map_ref): Likewise.
40052         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40053         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40054         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40055         Likewise.
40056         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40057         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40058         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40059         (__nscd_get_map_ref): Likewise.
40060         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40061         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40062         Likewise.
40063         * nscd/pwdcache.c (addpwbyX): Likewise.
40064         * nscd/selinux.c (preserve_capabilities): Likewise.
40065         * nscd/servicescache.c (addservbyX): Likewise.
40066         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40067         * posix/fnmatch.c (fnmatch): Likewise.
40068         * posix/getopt.c (_getopt_internal_r): Likewise.
40069         * posix/glob.c (glob, glob_in_dir): Likewise.
40070         * posix/wordexp.c (exec_comm_child): Likewise.
40071         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40072         (getanswer_r, gaih_getanswer_slice): Likewise.
40073         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40074         * resolv/res_init.c: Likewise.
40075         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40076         * resolv/res_query.c (__libc_res_nquery): Likewise.
40077         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40078         Likewise.
40079         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40080         * stdio-common/perror.c (perror): Likewise.
40081         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40082         * stdio-common/tmpnam.c (tmpnam): Likewise.
40083         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40084         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40085         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40086         Likewise.
40087         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40088         * stdlib/putenv.c (putenv): Likewise.
40089         * stdlib/setenv.c (__add_to_environ): Likewise.
40090         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40091         * stdlib/strtol_l.c (INTERNAL): Likewise.
40092         * string/memmem.c (memmem): Likewise.
40093         * string/strerror.c (strerror): Likewise.
40094         * string/strnlen.c (__strnlen): Likewise.
40095         * string/test-memmem.c (simple_memmem): Likewise.
40096         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40097         * sunrpc/pm_getport.c (__get_socket): Likewise.
40098         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40099         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40100         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40101         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40102         Likewise.
40103         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40104         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40105         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40106         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40107         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40108         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40109         Likewise.
40110         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40111         Likewise.
40112         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40113         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40115         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40116         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40118         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40119         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40120         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40121         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40122         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40123         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40124         Likewise.
40125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40126         Likewise.
40127         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40128         Likewise.
40129         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40132         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40133         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40134         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40135         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40136         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40138         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40139         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40141         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40142         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40144         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40145         Likewise.
40146         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40147         Likewise.
40148         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40149         Likewise.
40150         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40151         Likewise.
40152         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40154         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40155         Likewise.
40156         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40157         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40158         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40159         * sysdeps/posix/sleep.c: Likewise.
40160         * sysdeps/posix/tempname.c: Likewise.
40161         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40162         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40163         Likewise.
40164         * sysdeps/powerpc/powerpc32/dl-machine.h
40165         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40166         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40167         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40168         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40169         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40170         Likewise.
40171         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40172         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40173         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40174         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40175         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40176         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40177         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40178         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40179         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40180         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40182         (elf_machine_lazy_rel): Likewise.
40183         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40185         (elf_machine_lazy_rel): Likewise.
40186         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40187         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40188         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40189         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40190         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40191         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40192         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40194         Likewise.
40195         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40196         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40197         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40198         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40199         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40200         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40201         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40202         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40203         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40204         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40205         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40206         Likewise.
40207         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40208         (__posix_fallocate64_l64): Likewise.
40209         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40210         (posix_fallocate): Likewise.
40211         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40212         Likewise.
40213         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40214         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40215         (getifaddrs_internal): Likewise.
40216         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40217         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40218         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40219         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40220         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40221         (__posix_fallocate64_l64): Likewise.
40222         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40223         Likewise.
40224         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40225         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40226         (__get_clockfreq): Likewise.
40227         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40228         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40229         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40231         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40232         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40233         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40234         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40235         Likewise.
40236         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40237         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40238         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40239         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40240         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40241         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40242         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40243         Likewise.
40244         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40245         (posix_fallocate): Likewise.
40246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40247         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40248         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40249         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40250         (elf_machine_rela, elf_machine_rela_relative)
40251         (elf_machine_lazy_rel): Likewise.
40252         * time/asctime.c (asctime_internal): Likewise.
40253         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40254         * time/tzset.c (__tzset_parse_tz): Likewise.
40255         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40256         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40257         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40258         * wcsmbs/wcsmbsload.h: Likewise.
40260         [BZ #15894]
40261         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40263         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40264         (arena_get2): Remove THREAD_STATS conditionals.
40265         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40266         (__malloc_stats, int): Likewise.
40268 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40270         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40271         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40273         * manual/setjmp.texi: Fix typos/grammar errors.
40275         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40276         Only return early when n is <= 0.  Delete unused return statement.
40278         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40279         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40280         * debug/tst-longjmp_chk3.c: New file.
40282         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40283         (test_main): Replace code with set_fortify_handler call.
40284         * debug/test-strcpy_chk.c: Likewise.
40285         * debug/tst-chk1.c: Likewise.
40286         * debug/tst-longjmp_chk.c: Likewise.
40287         * test-skeleton.c: Include fcntl.h & paths.h
40288         (set_fortify_handler): Define.
40290         * debug/tst-longjmp_chk.c: Add header comment and include
40291         ../test-skeleton.c.
40292         (do_test): Mark static.
40293         (TEST_FUNCTION): Define.
40295         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40296         (IP_PMTUDISC_INTERFACE): Likewise.
40297         (IP_MULTICAST_IF): Likewise.
40298         (IP_MULTICAST_TTL): Likewise.
40299         (IP_MULTICAST_LOOP): Likewise.
40300         (IP_ADD_MEMBERSHIP): Likewise.
40301         (IP_DROP_MEMBERSHIP): Likewise.
40302         (IP_UNBLOCK_SOURCE): Likewise.
40303         (IP_BLOCK_SOURCE): Likewise.
40304         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40305         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40306         (IP_MSFILTER): Likewise.
40307         (MCAST_JOIN_GROUP): Likewise.
40308         (MCAST_BLOCK_SOURCE): Likewise.
40309         (MCAST_UNBLOCK_SOURCE): Likewise.
40310         (MCAST_LEAVE_GROUP): Likewise.
40311         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40312         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40313         (MCAST_MSFILTER): Likewise.
40314         (IP_MULTICAST_ALL): Likewise.
40315         (IP_UNICAST_IF): Likewise.
40317         * timezone/Makefile: Delete $(have-ksh) check.
40318         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40319         * timezone/tzselect.ksh: Add +x mode bits.
40321         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40322         (ANON_INODE_FS_MAGIC): Likewise.
40323         (BDEVFS_MAGIC): Likewise.
40324         (BINFMTFS_MAGIC): Likewise.
40325         (BTRFS_TEST_MAGIC): Likewise.
40326         (CRAMFS_MAGIC_WEND): Likewise.
40327         (DEBUGFS_MAGIC): Likewise.
40328         (ECRYPTFS_SUPER_MAGIC): Likewise.
40329         (EXT3_SUPER_MAGIC): Likewise.
40330         (EXT4_SUPER_MAGIC): Likewise.
40331         (FUTEXFS_SUPER_MAGIC): Likewise.
40332         (HOSTFS_SUPER_MAGIC): Likewise.
40333         (HUGETLBFS_MAGIC): Likewise.
40334         (MINIX3_SUPER_MAGIC): Likewise.
40335         (MTD_INODE_FS_MAGIC): Likewise.
40336         (NILFS_SUPER_MAGIC): Likewise.
40337         (OPENPROM_SUPER_MAGIC): Likewise.
40338         (PIPEFS_MAGIC): Likewise.
40339         (PSTOREFS_MAGIC): Likewise.
40340         (QNX6_SUPER_MAGIC): Likewise.
40341         (RAMFS_MAGIC): Likewise.
40342         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40343         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40344         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40345         (SECURITYFS_MAGIC): Likewise.
40346         (SELINUX_MAGIC): Likewise.
40347         (SMACK_MAGIC): Likewise.
40348         (SOCKFS_MAGIC): Likewise.
40349         (SQUASHFS_MAGIC): Likewise.
40350         (STACK_END_MAGIC): Likewise.
40351         (TMPFS_MAGIC): Likewise.
40352         (USBDEVICE_SUPER_MAGIC): Likewise.
40353         (V9FS_MAGIC): Likewise.
40354         (XENFS_SUPER_MAGIC): Likewise.
40355         (CRAMFS_MAGIC): Fix typo in comment.
40356         (EXT2_SUPER_MAGIC): Update comment.
40357         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40359 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40361         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40362         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40363         * sysdeps/unix/sysv/linux/arm: Move directory from
40364         ports/sysdeps/unix/sysv/linux/arm.
40365         * README: Update listing for arm-*-linux-gnueabi.
40367         * README: Remove mention of am33.
40369 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40371         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40372         than the comma operator, to avoid "rhs of comma has no effect"
40373         compiler warnings.
40374         (__sigfillset, __sigandset, __sigorset): Likewise.
40375         * include/signal.h (__sigemptyset): Likewise.
40376         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40378 2014-02-07  Allan McRae  <allan@archlinux.org>
40380         * version.h (RELEASE): Set to "development".
40381         (VERSION): Set to "2.19.90"
40382         * NEWS: Add 2.20 section.
40384 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40386         [BZ #16529]
40387         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40389 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40391         * manual/contrib.texi: Update entry for Carlos O'Donell,
40392         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40394 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40396         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40398         * sysdeps/unix/sysv/linux/kernel-features.h
40399         [__LINUX_KERNEL_VERSION >= 0x020621]
40400         (__ASSUME_PROC_PID_TASK_COMM): Define.
40402 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40404         [BZ #16398]
40405         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40406         conversion when destination buffer does not have enough space.
40407         * libio/tst-ftell-partial-wide.c: New test case.
40408         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40410         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40411         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40412         Leonard and Allan McRae.
40414 2014-02-04  David S. Miller  <davem@davemloft.net>
40416         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40417         32-bit.
40419 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40422         New file
40423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40424         New file
40425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40426         New file.
40427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40428         New file.
40429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40430         New file.
40431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40432         New file.
40433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40434         New file.
40435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40436         New file.
40437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40438         New file.
40439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40440         New file.
40441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40442         New file.
40443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40444         New file.
40445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40446         New file.
40448 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40450         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40451         * shlib-versions: Likewise.
40453 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40454             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40456         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40457         (abilist-pattern): New variable, set to %-le.abilist.
40459         * Makerules (abilist-pattern): New variable.
40460         (vpath): Use $(abilist-pattern) in place of %.abilist.
40461         (check-abi-% pattern rule): Likewise.
40462         (check-abi, update-abi): Likewise.
40464 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40468 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40470         * manual/startup.texi: Add next, previous, and top entries for
40471         the `Program Arguments' and `Environment Variables' nodes.
40473 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40475         * manual/macros.texi: Add comments before MTASC-safety macros.
40477         * manual/users.texi: Document MTASC-safety properties.
40479         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40480         (pthread_getspecific, pthread_setspecific): Format with
40481         @deftypefun, and add @safety note.
40482         * manual/signal.texi: Move comments that analyze the above
40483         functions to their home place.
40485 2014-02-03  Allan McRae  <allan@archlinux.org>
40487         * po/sl.po: Update Slovenian translation from translation project.
40489 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40491         * manual/time.texi (timegm): Add missing blank after @c.
40492         Reported by Joseph Myers <joseph@codesourcery.com>.
40494 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40496         * manual/check-safety.sh: New.
40497         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40499         * manual/terminal.texi: Document MTASC-safety properties.
40501         * manual/filesys.texi: Document MTASC-safety properties.
40503         * manual/errno.texi: Document MTASC-safety properties.
40505         * manual/intro.texi: Document safety identifiers and
40506         conditionals.
40508         * manual/string.texi (wcstok): Fix prototype.
40509         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40511         * manual/time.texi: Document MTASC-safety properties.
40513         * manual/string.texi: Document MTASC-safety properties.
40515         * manual/threads.texi: Document MTASC-safety properties.
40517         * manual/stdio.texi: Document MTASC-safety properties.
40519         * manual/syslog.texi: Document MTASC-safety properties.
40521         * manual/sysinfo.texi: Document MTASC-safety properties.
40523         * manual/startup.texi: Document MTASC-safety properties.
40525         * manual/socket.texi: Document MTASC-safety properties.
40527         * manual/signal.texi: Document MTASC-safety properties.
40529 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40531         * manual/setjmp.texi: Document MTASC-safety properties.
40533         * manual/search.texi: Document MTASC-safety properties.
40535         * manual/resource.texi: Document MTASC-safety properties.
40537         * manual/process.texi: Document MTASC-safety properties.
40539         * manual/platform.texi: Document MTASC-safety properties.
40541         * manual/pipe.texi: Document MTASC-safety properties.
40543         * manual/pattern.texi: Document MTASC-safety properties.
40545         * manual/message.texi: Document MTASC-safety properties.
40547         [BZ #12751]
40548         * manual/memory.texi: Document MTASC-safety properties.
40550         * manual/math.texi: Document MTASC-safety properties.
40552         * manual/locale.texi: Document MTASC-safety properties.
40554         * manual/llio.texi: Document MTASC-safety properties.
40556         * manual/libdl.texi: New.
40558         * manual/lang.texi: Document MTASC-safety properties.
40560         * manual/job.texi: Document MTASC-safety properties.
40562         * manual/getopt.texi: Document MTASC-safety properties.
40564         * manual/ctype.texi: Document MTASC-safety properties.
40566 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40568         [BZ #16046]
40569         * csu/libc-tls.c (static_map): Remove variable.
40570         (__libc_setup_tls): Use main executable's link map for TLS data.
40571         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40572         casing for LM_ID_BASE and GL(dl_nns).
40573         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40574         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40575         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40576         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40577         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40578         member.
40579         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40580         l_phnum members.
40582 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40584         * manual/debug.texi: Document MTASC-safety properties.
40586 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40588         [BZ #16510]
40589         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40590         of __x86_64__ when disabling x87 inline functions.
40592 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40594         * manual/charset.texi: Document MTASC-safety properties.
40596         * manual/crypt.texi: Document MTASC-safety properties.
40598         * manual/conf.texi: Document MTASC-safety properties.
40600         * manual/arith.texi: Document MTASC-safety properties.
40602         * manual/argp.texi: Document MTASC-safety properties.
40604         * manual/macros.texi: Introduce macros to document multi
40605         thread, asynchronous signal and asynchronous cancellation
40606         safety properties.
40607         * manual/intro.texi: Introduce the properties themselves.
40609 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40611         * sysdeps/sh/sh4/Makefile: New file.
40613 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40615         * math/gen-libm-test.pl ($srcdir): New variable.
40616         ($auto_input): Use it.
40618 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40620         [BZ #16506]
40621         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40622         access beyond array bounds when parsing netgroups file.
40624         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40625         the old buffer before realloc.
40627 2014-01-27  Allan McRae  <allan@archlinux.org>
40629         * po/fr.po: Update French translation from translation project.
40631 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40633         * sysdeps/sh/libm-test-ulps: Regenerate.
40635 2014-01-24  David S. Miller  <davem@davemloft.net>
40637         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40639 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40641         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40642         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40644 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40646         [BZ #16474]
40647         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40648         string pointers after reallocation.
40650 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40652         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40653         __SH4A__ instead of __SH_FPU_ANY__.
40655 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40657         * sysdeps/sh/fpu_control.h: New file.
40658         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40659         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40660         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40661         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40662         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40663         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40664         * sysdeps/sh/sys/ucontext.h: Remove.
40665         * sysdeps/sh/sys: Remove directory.
40667 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40669         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40670         s390/sys/ucontext.h.
40671         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40674 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40676         [BZ #15605]
40677         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40679 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40681         [BZ#16431]
40682         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40683         Adjust the vDSO correctly for internal calls.
40684         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40686 2014-01-20  Allan McRae  <allan@archlinux.org>
40688         * po/ca.po: Update Catalan translation from translation project.
40690 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40692         * sysdeps/s390/sotruss-lib.c: New file.
40694 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40696         [BZ#16430]
40697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40698         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40699         local calls issues by not having a PLT stub required for IFUNC calls.
40700         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40702 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40704         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40705         * math/test-fpucw-static.c: Likewise.
40707 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40709         [BZ #16453]
40710         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40712 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40714         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40715         implementation for powerpc.
40717 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40719         [BZ #14782]
40720         * sysdeps/posix/system.c (__libc_system): Do not enable
40721         asynchronous cancellation.
40723 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40725         [BZ #16427]
40726         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40727         handling only for numbers special also in the IEEE case.
40729 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40731         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40733 2014-01-11  Allan McRae  <allan@archlinux.org>
40735         * po/bg.po: Update Bulgarian translation from translation project.
40737         * po/de.po: Update German translation from translation project.
40739 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40741         * sysdeps/generic/gcc-compat.h: New file.
40743 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40745         * benchtests/asin-inputs: Correct slow inputs.
40746         * benchtests/acos-inputs: Likewise.
40748 2014-01-10  Allan McRae  <allan@archlinux.org>
40750         * po:sv.po: Update Swedish translation from translation project.
40752         * po/vi.po: Update Vietnamese translation from translation project.
40754         * po/eo.po: Update Esperanto translation from translation project.
40756         * po/cs.po: Update Czech translation from translation project.
40758         * po/nl.po: Update Dutch translation from translation project.
40760         * po/pl.po: Update Polish translation from translation project.
40762         * po/ru.po: Update Russian translation from translation project.
40764         * po/uk.po: Update Ukrainian translation from translation project.
40766 2014-01-08  Brooks Moses  <bmoses@google.com>
40768         * elf/dl-load.c: Fix comment typo.
40770 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40772         * po/header.pot: Rename to...
40773         * po/pot.header: ... this.
40774         * po/Makefile: Use pot.header.
40776 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40777             Maxim Kuvyrkov  <maxim@kugelworks.com>
40779         [BZ #16394]
40780         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40781         SRC and DEST against LEN.
40783 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40785         [BZ #16414]
40786         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40787         implementation.
40788         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40790 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40794 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40796         [BZ #16408]
40797         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40798         for large positive arguments.
40800 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40802         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40804         * math/auto-libm-test-in: Mark various tests with
40805         xfail-rounding:ldbl-128ibm.
40806         * math/auto-libm-test-out: Regenerated.
40808         [BZ #16407]
40809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40810         Increase overflow threshold.
40812 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40814         [BZ #14286]
40815         * stdio-common/vfprintf.c: Check for integer overflow.
40817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40819         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40820         the first argument and return value of __tls_get_addr_internal.
40822 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40824         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40825         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40827 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40829         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40830         * sysdeps/s390/rtld-global-offsets.sym: New file.
40831         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40832         GLIBC_2.19 symbol.
40833         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40836         ... this.
40837         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40838         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40839         ... this.
40840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40841         Regenerate.
40842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40843         Regenerate.
40844         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40845         halfs of GPRs for high_gprs contexts.
40846         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40847         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40848         field.
40849         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40850         uc_flags field.
40851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40852         64 bit versions:
40853         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40854         for high GPRs (uc_high_gprs) and for future extensions
40855         (__reserved).
40856         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40857         for future extensions (__reserved).
40858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40859         64 bit versions:
40860         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40861         SC_HIGHGPRS offset definition.
40862         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40863         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40865         * Versions.def: Add GLIBC_2.19 for libpthread.
40866         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40867         siglongjmp for libpthread with GLIBC_2.19 symver.
40868         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40869         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40870         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40871         * sysdeps/s390/__longjmp.c: New file.
40872         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40873         * sysdeps/s390/longjmp.c: New file.
40874         * sysdeps/s390/setjmp.S: New file.
40875         * sysdeps/s390/sigjmp.S: New file.
40876         * sysdeps/s390/v1-longjmp.c: New file.
40877         * sysdeps/s390/v1-setjmp.h: New file.
40878         * sysdeps/s390/v1-sigjmp.c: New file.
40879         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40880         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40881         GLIBC_2.19 version.
40882         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40883         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40884         versioned symbols for ____longjmp_chk.
40885         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40886         Likewise.
40887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40888         Regenerate.
40889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40890         Regenerate.
40891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40892         Regenerate.
40893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40894         Regenerate.
40895         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40896         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40897         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40898         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40899         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40900         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40901         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40902         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40903         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40904         * sysdeps/s390/rtld-__longjmp.c: New file.
40905         * sysdeps/s390/rtld-setjmp.S: New file.
40907 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40909         [BZ #16400]
40910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40911         Return -__logl (x) for small positive arguments without evaluating
40912         a polynomial.
40914 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40916         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40917         Rename to ...
40918         (__ptrace_peeksiginfo_args): ... this.
40919         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40923 2014-01-06  Allan McRae  <allan@archlinux.org>
40925         * inet/netinet/in.h: Fix typo in comment.
40927 2014-01-05  Andreas Jaeger  <aj@suse.de>
40929         * sysdeps/i386/fpu/libm-test-ulps: Update.
40931 2014-01-05  Allan McRae  <allan@archlinux.org>
40933         * po/libc.pot: Regenerated.
40935         * malloc/memusagestat.c: Fix gettext call formatting.
40937 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40939         * nscd/nscd.c: Improve usage() output.
40941 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40943         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40944         * sysdeps/unix/sysv/linux/configure: Regenerated.
40945         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40946         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40948 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40950         [BZ #16390]
40951         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40952         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40954 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40956         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40957         extra tokens at end of #undef directive.
40958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40959         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40960         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40962 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40964         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40966         * math/auto-libm-test-in: Mark various tests with
40967         xfail-rounding:ldbl-128ibm.
40968         * math/auto-libm-test-out: Regenerated.
40970 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40972         [BZ #16386]
40973         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40974         numbers with subnormal high part when calculating exponent.
40976         [BZ #16385]
40977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40978         fabs.
40980         [BZ #16384]
40981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40982         M_LN2l.
40983         (__ieee754_acoshl): Use __log1pl not __log1p.
40985 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40987         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40988         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40989         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40990         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40991         (reused_arena, arena_get2): Convert to GNU style.
40992         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40993         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40994         (memalign_check, __malloc_set_state): Likewise.
40995         * malloc/mallocbug.c (main): Likewise.
40996         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40997         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40998         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40999         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41000         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41001         (__posix_memalign, malloc_info): Likewise.
41002         * malloc/malloc.h: Likewise.
41003         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41004         (mallochook, memalignhook, reallochook, mabort): Likewise.
41005         * malloc/mcheck.h: Likewise.
41006         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41007         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41008         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41009         * malloc/morecore.c (__default_morecore): Likewise.
41010         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41011         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41012         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41013         (print_and_abort): Likewise.
41014         * malloc/obstack.h: Likewise.
41015         * malloc/set-freeres.c (__libc_freeres): Likewise.
41016         * malloc/tst-mallocstate.c (main): Likewise.
41017         * malloc/tst-mtrace.c (main): Likewise.
41018         * malloc/tst-realloc.c (do_test): Likewise.
41020 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41022         [BZ #16366]
41023         * nscd/netgroupcache.c (do_notfound): New function.
41024         (addgetnetgrentX): Use it.
41026         [BZ # 16365]
41027         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41028         NSS_STATUS_NOTFOUND.
41030 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41032         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41035 2014-01-01  Allan McRae  <allan@archlinux.org>
41037         * scripts/update-copyrights: Update configure input file suffix.
41039         * NEWS: Update copyright year.
41040         * catgets/gencat.c: Likewise.
41041         * csu/version.c: Likewise.
41042         * debug/catchsegv.sh: Likewise.
41043         * debug/pcprofiledump.c: Likewise.
41044         * debug/xtrace.sh: Likewise.
41045         * elf/ldconfig.c: Likewise.
41046         * elf/ldd.bash.in: Likewise.
41047         * elf/pldd.c: Likewise.
41048         * elf/sotruss.ksh: Likewise.
41049         * elf/sprof.c: Likewise.
41050         * iconv/iconv_prog.c: Likewise.
41051         * iconv/iconvconfig.c: Likewise.
41052         * locale/programs/locale.c: Likewise.
41053         * locale/programs/localedef.c: Likewise.
41054         * login/programs/pt_chown.c: Likewise.
41055         * malloc/memusage.sh: Likewise.
41056         * malloc/memusagestat.c: Likewise.
41057         * malloc/mtrace.pl: Likewise.
41058         * manual/libc.texinfo: Likewise.
41059         * nscd/nscd.c: Likewise.
41060         * nss/getent.c: Likewise.
41061         * nss/makedb.c: Likewise.
41062         * posix/getconf.c: Likewise.
41063         * scripts/test-installation.pl: Likewise.
41065         * All files with FSF copyright notices: Update copyright dates
41066         using scripts/update-copyrights.
41067         * intl/plural.c: Regenerated.
41068         * locale/programs/charmap-kw.h: Likewise.
41069         * locale/programs/locfile-kw.h: Likewise.
41071 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41073         * sysdeps/unix/sysv/linux/configure: Regenerated.
41074         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41075         the linux/fanotify.h header.
41076         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41077         HAVE_LINUX_FANOTIFY_H is defined.
41079 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41081         * benchtests/cos-inputs: New inputs.
41082         * benchtests/sin-inputs: Likewise.
41084         * benchtests/atan-inputs: New inputs. Fix name of multiple
41085         precision fallback inputs.
41087         * benchtests/atanh-inputs: New inputs.
41088         * benchtests/tanh-inputs: Likewise.
41090         * benchtests/acosh-inputs: New inputs.
41091         * benchtests/asinh-inputs: Likewise.
41093         * benchtests/cosh-inputs: New inputs.
41094         * benchtests/sinh-inputs: Likewise.
41096         * benchtests/acos-inputs: Add more inputs.
41097         * benchtests/asin-inputs: Likewise.
41099 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41101         [BZ #16375]
41102         * manual/arith.texi: Fix spelling.
41103         * manual/charset.texi: Likewise.
41104         * manual/errno.texi: Likewise.
41105         * manual/filesys.texi: Likewise.
41106         * manual/lang.texi: Likewise.
41107         * manual/llio.texi: Likewise.
41108         * manual/locale.texi: Likewise.
41109         * manual/message.texi: Likewise.
41110         * manual/resource.texi: Likewise.
41111         * manual/search.texi: Likewise.
41112         * manual/setjmp.texi: Likewise.
41113         * manual/stdio.texi: Likewise.
41114         * manual/string.texi: Likewise.
41115         * manual/sysinfo.texi: Likewise.
41116         * manual/time.texi: Likewise.
41118 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41120         * po/sl.po: New file.
41122 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41124         * .gitignore: Add core/.gdbinit/.gdb_history.
41126 2013-12-27  Allan McRae  <allan@archlinux.org>
41128         [BZ #16369]
41129         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41130         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41132 2013-12-24  Brooks Moses  <bmoses@google.com>
41134         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41135         all compilers that claim C++98 compliance, not just GCC.
41136         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41137         Likewise.
41139 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41141         * NEWS: Restore accidentally deleted bug-fix entries.
41143 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41144             Ondřej Bílka  <neleai@seznam.cz>
41146         [BZ #15073]
41147         * malloc/malloc.c (_int_free): Perform sanity check only if we
41148         have_lock.
41150 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41152         [BZ #12986]
41153         * manual/stdio.texi (String Input Conversions): Clarify that character
41154         classes are not supported.
41156 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41160 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41162         [BZ #16337]
41163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41164         Calculate results for small negative arguments directly rather
41165         than using reflection formula with special underflow handling.
41167         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41168         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41169         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41170         (fchflags): Likewise.
41171         (revoke): Likewise.
41172         (setlogin): Likewise.
41173         (sigaltstack): Likewise.
41174         (wait4): Likewise.
41175         (sigblock): Remove.
41176         (sigsetmask): Likewise.
41177         (wait3): Likewise.
41178         (waitpid): Likewise.
41179         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41180         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41181         file.
41182         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41183         * sysdeps/unix/bsd/Makefile: ... here.
41184         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41185         * sysdeps/unix/bsd/Versions: ... here.
41186         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41187         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41188         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41189         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41190         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41191         * sysdeps/unix/bsd/sigblock.c: ... here.
41192         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41193         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41194         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41195         * sysdeps/unix/bsd/sigvec.c: ... here.
41196         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41197         * sysdeps/unix/bsd/tcdrain.c: ... here.
41198         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41199         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41200         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41201         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41202         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41203         * sysdeps/unix/bsd/wait.c: ... here.
41204         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41205         * sysdeps/unix/bsd/wait3.c: ... here.
41206         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41207         * sysdeps/unix/bsd/waitpid.c: ... here.
41209 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41211         [BZ #16356]
41212         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41213         round-to-nearest for [!USE_AS_EXPM1L].
41214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41215         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41216         more tests of exp and exp10.  Expect some exp10 tests to miss
41217         exceptions or fail in directed rounding modes.
41218         * math/auto-libm-test-out: Regenerated.
41219         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41220         (exp10_test_tonearest): New function.
41221         (exp10_towardzero_test_data): New array.
41222         (exp10_test_towardzero): New function.
41223         (exp10_downward_test_data): New array.
41224         (exp10_test_downward): New function.
41225         (exp10_upward_test_data): New array.
41226         (exp10_test_upward): New function.
41227         (main): Call the new functions.
41228         * sysdeps/i386/fpu/libm-test-ulps: Update.
41229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41231 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41233         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41234         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41235         * math/auto-libm-test-out: Regenerated.
41236         * math/libm-test.inc (acosh_test_data): Add more tests.
41237         (atanh_test_data): Likewise.
41238         (ceil_test_data): Likewise.
41239         (copysign_test_data): Likewise.
41240         * sysdeps/i386/fpu/libm-test-ulps: Update.
41241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41243         * timezone/checktab.awk: Update from tzcode 2013i.
41244         * timezone/private.h: Likewise.
41245         * timezone/scheck.c: Likewise.
41246         * timezone/tzfile.h: Likewise.
41247         * timezone/tzselect.ksh: Likewise.
41248         * timezone/zdump.c: Likewise.
41249         * timezone/zic.c: Likewise.
41251         * math/auto-libm-test-in: Add tests of cpow.
41252         * math/auto-libm-test-out: Regenerated.
41253         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41254         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41255         mpc_cc_c.
41256         (func_calc_desc): Add mpc_cc_c union field.
41257         (test_functions): Add cpow.
41258         (special_fill_2pi): New function.
41259         (special_real_inputs): Add 2pi.
41260         (calc_generic_results): Handle mpc_cc_c.
41261         * sysdeps/i386/fpu/libm-test-ulps: Update.
41262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41264         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41265         csqrt, ctan and ctanh.
41266         * math/auto-libm-test-out: Regenerated.
41267         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41268         (TEST_COND_x86): Likewise.
41269         (ccos_test_data): Use AUTO_TESTS_c_c.
41270         (ccosh_test_data): Likewise.
41271         (cexp_test_data): Likewise.
41272         (clog_test_data): Likewise.
41273         (csqrt_test_data): Likewise.
41274         (ctan_test_data): Likewise.
41275         (ctan_tonearest_test_data): Likewise.
41276         (ctan_towardzero_test_data): Likewise.
41277         (ctan_downward_test_data): Likewise.
41278         (ctan_upward_test_data): Likewise.
41279         (ctanh_test_data): Likewise.
41280         (ctanh_tonearest_test_data): Likewise.
41281         (ctanh_towardzero_test_data): Likewise.
41282         (ctanh_downward_test_data): Likewise.
41283         (ctanh_upward_test_data): Likewise.
41284         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41285         mpc_c_c.
41286         (func_calc_desc): Add mpc_c_c union field.
41287         (FUNC_mpc_c_c): New macro.
41288         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41289         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41290         ctanh.
41291         (special_fill_min_subnorm_p120): New function.
41292         (special_real_inputs): Add min_subnorm_p120.
41293         (calc_generic_results): Handle mpc_c_c.
41294         * sysdeps/i386/fpu/libm-test-ulps: Update.
41295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41297 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41299         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41300         (do_sin_slow): New functions.
41301         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41302         (cslow2, csloww1, csloww2): Use the new functions.
41304         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41305         Use M to change sign of result instead of X.  Assume X is
41306         positive.
41307         (csloww1): Likewise.
41308         (__sin): Adjust.
41309         (__cos): Adjust.
41311         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41312         arguments A and DA.
41313         (__sin): Adjust.
41314         (__cos): Likewise.
41316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41317         (__cos): Likewise.
41318         (sloww1): Don't adjust sign of DX.
41319         (csloww1): Likewise.
41320         (sloww2): Use X directly and don't adjust sign of DX.
41321         (csloww2): Likewise.
41323 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41325         * math/auto-libm-test-in: Add tests of cabs and carg.
41326         * math/auto-libm-test-out: Regenerated.
41327         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41328         (carg_test_data): Likewise.
41329         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41330         mpc_c_f.
41331         (func_calc_desc): Add mpc_c_f union field.
41332         (test_functions): Add cabs and carg.
41333         (calc_generic_results): Handle mpc_c_f.
41335         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41336         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41337         as a macro and a compat symbol.
41338         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41339         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41340         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41341         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41342         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41344         not use .hidden.
41345         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41346         Likewise.
41347         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41348         Likewise.
41349         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41350         Likewise.
41351         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41352         Likewise.
41353         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41354         Likewise.
41355         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41356         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41357         from GLIBC_2.3.2.
41359 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41363 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41365         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41366         trailing whitespace removed.
41367         * scripts/config.guess: Update to version 2013-11-29.
41368         * scripts/config.sub: Update to version 2013-10-01.
41370         * math/auto-libm-test-in: Add tests of sincos.
41371         * math/auto-libm-test-out: Regenerated.
41372         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41373         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41374         mpfr_f_11.
41375         (func_calc_desc): Add mpfr_f_11 union field.
41376         (test_functions): Add sincos.
41377         (calc_generic_results): Handle mpfr_f_11.
41378         * sysdeps/i386/fpu/libm-test-ulps: Update.
41379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41381 2013-12-19  Andreas Schwab  <schwab@suse.de>
41383         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41384         CALL_MCOUNT.
41385         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41387         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41389 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41391         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41392         * sysdeps/i386/fpu/libm-test-ulps: Update.
41393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41395         [BZ #16293]
41396         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41397         round-to-nearest mode when using frndint.
41398         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41399         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41401         Likewise.
41402         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41403         sinh test to fail.
41404         * math/auto-libm-test-out: Regenerated.
41405         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41406         (TEST_COND_x86): Likewise.
41407         (expm1_tonearest_test_data): New array.
41408         (expm1_test_tonearest): New function.
41409         (expm1_towardzero_test_data): New array.
41410         (expm1_test_towardzero): New function.
41411         (expm1_downward_test_data): New array.
41412         (expm1_test_downward): New function.
41413         (expm1_upward_test_data): New array.
41414         (expm1_test_upward): New function.
41415         (main): Run the new test functions.
41416         * sysdeps/i386/fpu/libm-test-ulps: Update.
41417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41419         * include/features.h: Update comment documenting feature test
41420         macros.  Mention _DEFAULT_SOURCE in comment.
41421         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41422         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41423         _BSD_SOURCE and _SVID_SOURCE.
41424         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41425         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41426         !_SVID_SOURCE]: Likewise.
41427         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41428         (__USE_POSIX_IMPLICITLY): Define.
41429         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41430         (_POSIX_SOURCE): Undefine and redefine.
41431         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41432         (_POSIX_C_SOURCE): Likewise.
41433         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41434         (Feature Test Macros): Update documentation of default features.
41436 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41438         * benchtests/Makefile: Add bench-strtok.
41439         * benchtests/bench-strtok.c: New file: strtok benchtest.
41441 2013-12-19  Allan McRae  <allan@archlinux.org>
41443         * manual/install.texi: Suppress menu for plain text output.
41444         * INSTALL: Regenerated.
41446 2013-12-18  Brooks Moses  <bmoses@google.com>
41448         [BZ #15846]
41449         * misc/getauxval.c: Include errno.h.
41450         (__getauxval): Set errno to ENOENT if the requested type is not
41451         found.
41452         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41453         don't declare with __attribute_const__.
41454         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41455         * manual/startup.texi: Document that getauxval sets errno.
41457 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41459         * math/auto-libm-test-in: Add tests of jn and yn.
41460         * math/auto-libm-test-out: Regenerated.
41461         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41462         (yn_test_data): Likewise.
41463         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41464         mpfr_if_f.
41465         (func_calc_desc): Add mpfr_if_f union field.
41466         (FUNC_mpfr_if_f): New macro.
41467         (test_functions): Add jn and yn.
41468         (calc_generic_results): Assert type of second input for
41469         mpfr_ff_f.  Handle mpfr_if_f.
41470         (output_for_one_input_case): Disable all checking for arguments
41471         fitting floating-point types in case of an integer argument.
41472         * sysdeps/i386/fpu/libm-test-ulps: Update.
41473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41476         Don't expect fegetround reference in libm.so.
41478 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41480         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41481         $(config-cflags-nofma).
41483 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41485         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41486         * math/auto-libm-test-out: Regenerated.
41488         [BZ #16338]
41489         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41490         to determine exponent and adjust argument to have exponent of -1.
41491         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41492         log2.
41493         * math/auto-libm-test-out: Regenerated.
41494         * sysdeps/i386/fpu/libm-test-ulps: Update.
41495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41497 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41499         * manual/probes.texi: Remove cases when per-thread arenas are
41500         disabled.
41502 2013-12-18  Andreas Schwab  <schwab@suse.de>
41504         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41505         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41506         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41507         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41508         * sysdeps/i386/i686/multiarch/Makefile: Update.
41509         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41511 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41513         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41514         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41516 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41518         [BZ #15968]
41519         Support TZ transition times < 00:00:00.
41520         This is needed for version-3 tz-format files; it supports time
41521         stamps past 2037 for America/Godthab (the only entry in the tz
41522         database for which this change is relevant).
41523         * manual/time.texi (TZ Variable): Document transition times
41524         from -167:59:59 through -00:00:01.
41525         * time/tzset.c (tz_rule): Time of day is now signed.
41526         (__tzset_parse_tz): Parse negative time of day.
41528         Document TZ transition times >= 25:00:00.
41529         * manual/time.texi (TZ Variable): Document transition times from
41530         25:00:00 through 167:59:59.  These are already supported, and this
41531         support will help with version-3 tz-format files.
41533         * manual/time.texi (TZ Variable): Modernize North America example
41534         to reflect current (i.e., 2007-and-later) daylight saving rules.
41536         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41538 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41540         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41541         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41544         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41545         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41546         * sysdeps/unix/bsd/clock.c: Likewise.
41547         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41548         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41549         * sysdeps/unix/bsd/init-posix.c: Likewise.
41550         * sysdeps/unix/bsd/poll.c: Likewise.
41551         * sysdeps/unix/bsd/ptsname.c: Likewise.
41552         * sysdeps/unix/bsd/seekdir.c: Likewise.
41553         * sysdeps/unix/bsd/setegid.c: Likewise.
41554         * sysdeps/unix/bsd/seteuid.c: Likewise.
41555         * sysdeps/unix/bsd/setgid.c: Likewise.
41556         * sysdeps/unix/bsd/setrgid.c: Likewise.
41557         * sysdeps/unix/bsd/setruid.c: Likewise.
41558         * sysdeps/unix/bsd/setsid.c: Likewise.
41559         * sysdeps/unix/bsd/setuid.c: Likewise.
41560         * sysdeps/unix/bsd/sigaction.c: Likewise.
41561         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41562         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41563         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41564         * sysdeps/unix/bsd/telldir.c: Likewise.
41565         * sysdeps/unix/bsd/times.c: Likewise.
41566         * sysdeps/unix/bsd/usleep.c: Likewise.
41568         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41569         ($(objpfx)libbsd-compat.a): Remove rule.
41571         * include/features.h (__FAVOR_BSD): Do not define.
41572         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41573         features conflicting with POSIX.
41574         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41575         (_BSD_SOURCE): Remove description of not being a subset of other
41576         feature test macros.
41577         * manual/job.texi (getpgrp): Do not document BSD version.
41578         (getpgid): Do not document by reference to BSD getpgrp.
41579         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41580         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41581         * signal/signal.h [__FAVOR_BSD]: Likewise.
41582         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41583         instead of making contents conditional on [__FAVOR_BSD].
41584         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41586 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41590 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41592         [BZ #16314]
41593         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41594         values below 2**-450, not 2**-500.
41595         * math/auto-libm-test-in: Don't allow spurious underflow from
41596         hypot.
41597         * math/auto-libm-test-out: Regenerated.
41599         [BZ #16316]
41600         [BZ #16330]
41601         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41602         values of ha and hb and sort them after adjusting subnormal
41603         arguments.
41604         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41605         Likewise.
41606         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41607         values of ea and eb and sort them after adjusting subnormal
41608         arguments.
41609         * math/auto-libm-test-in: Do not expect some hypot tests of
41610         subnormals to fail.  Add more hypot tests.
41611         * math/auto-libm-test-out: Regenerated.
41613 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41615         [BZ #13304]
41616         * sysdeps/sh/s_fma.c: New file.
41617         * sysdeps/sh/s_fmaf.c: New file.
41618         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41619         version.
41620         * sysdeps/sh/Implies: Add sh/soft-fp.
41622 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41624         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41625         level of indirection to members `objname', `errstring', `malloced'.
41626         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41627         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41628         it as the __longjmp argument (just pass 1 instead).
41629         (_dl_catch_error): Initialize C with argument pointers and address of
41630         volatile local ERRCODE rather than copying values out of C at return.
41632 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41634         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41635         * math/auto-libm-test-out: Regenerated.
41636         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41637         (hypot_test_data): Likewise.
41638         (pow_test_data): Likewise.
41639         (pow_tonearest_test_data): Likewise.
41640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41641         mpfr_ff_f.
41642         (func_calc_desc): Add mpfr_ff_f union field.
41643         (FUNC_mpfr_ff_f): New macro.
41644         (test_functions): Add atan2, hypot and pow.
41645         (special_fill_min): New function.
41646         (special_fill_minus_min): Likewise.
41647         (special_fill_min_subnorm): Likewise.
41648         (special_fill_minus_min_subnorm): Likewise.
41649         (special_real_inputs): Add min, -min, min_subnorm and
41650         -min_subnorm.
41651         (calc_generic_results): Handle mpfr_ff_f.
41652         * sysdeps/i386/fpu/libm-test-ulps: Update.
41653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41655 2013-12-16  Will Newton  <will.newton@linaro.org>
41657         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41658         (Aligned Memory Blocks): Add documentation for aligned_alloc
41659         and suggest it as an alternative to posix_memalign.
41660         (Hooks for Malloc): Document __memalign_hook is also called
41661         for aligned_alloc.  (Summary of Malloc): Add summary for
41662         aligned alloc.  Document __memalign_hook is also called
41663         for aligned_alloc.
41665 2013-12-16  Will Newton  <will.newton@linaro.org>
41667         * manual/memory.texi (Malloc Examples): Clarify default
41668         alignment documentation.  Suggest posix_memalign rather
41669         than memalign or valloc.
41670         (Aligned Memory Blocks): Remove suggestion to use memalign
41671         or valloc.  Remove obsolete comment about BSD.
41672         Document memalign errno values and mark the function obsolete.
41673         Document posix_memalign returned error codes.  Mark valloc
41674         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41675         called for posix_memalign and valloc.
41676         (Summary of Malloc): Add posix_memalign to function summary.
41677         __memalign_hook is also called for posix_memalign and valloc.
41679 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41681         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41682         TAYLOR_SIN.
41683         (__sin): Adjust.
41684         (__cos): Likewise.
41685         (sloww): Use mynumber union.  Expand ternary operator into
41686         if-else statements.
41687         (cslow): use mynumber union.
41689 2013-12-16  Allan McRae  <allan@archlinux.org>
41691         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41692         * configure: Regenerated.
41694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41696         [BZ #14120]
41697         * configure.ac: Added --enable-maintainer-mode. Check for
41698         autoconf when enabled.
41699         * configure: Regenerated.
41701         * nscd/nscd.service: New file.
41702         * nscd/nscd.tmpfiles: New file.
41704 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41706         [BZ #12100]
41707         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41708         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41709         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41710         (strstr): Add __strstr_sse2_unaligned ifunc.
41711         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41712         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41713         (strcasestr): Remove __strcasestr_sse42 ifunc.
41714         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41718 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41720         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41721         * sysdeps/sh/bits/fenv.h: ... here.
41722         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41724 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41726         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41729         hypotf multiarch implementations.
41730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41731         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41732         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41733         multiarch hypot for PPC64.
41734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41735         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41736         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41737         multiarch hypotf for PPC64.
41739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41740         modff multiarch implementations.
41741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41744         multiarch modf for PPC64.
41745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41748         multiarch modff for PPC64.
41750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41751         and logl multiarch implementations.
41752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41755         multiarch logb for PPC64.
41756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41759         multiarch logb for PPC64.
41760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41763         multiarch logb for PPC64.
41765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41766         isinff multiarch implementation.
41767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41768         file.
41769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41771         multiarch isinf for PPC64.
41772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41773         file.
41774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41775         multiarch isinff for PPC64.
41777         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41778         finitef multiarch implementation.
41779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41780         file.
41781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41783         multiarch finite for PPC64.
41784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41785         file.
41786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41787         multiarch finitef for PPC64.
41789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41790         lrint multiarch implementation.
41791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41792         file.
41793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41795         multiarch llrint for PPC64.
41796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41797         multiarch lrint for PPC64.
41799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41800         copysignf multiarch implementation.
41801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41802         file.
41803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41804         file.
41805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41806         multiarch copysign for PPC64.
41807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41808         multiarch copysignf for PPC64.
41810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41811         multiarch implementation.
41812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41813         file.
41814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41815         file.
41816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41817         file.
41818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41819         file.
41820         multiarch llround for PPC64.
41821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41822         multiarch trunc for PPC64.
41823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41824         multiarch truncf for PPC64.
41826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41827         multiarch implementation.
41828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41829         file.
41830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41831         file.
41832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41833         file.
41834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41835         file.
41836         multiarch llround for PPC64.
41837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41838         multiarch round for PPC64.
41839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41840         multiarch roundf for PPC64.
41842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41843         multiarch implementation.
41844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41845         file.
41846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41847         file.
41848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41849         file.
41850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41851         file.
41852         multiarch llround for PPC64.
41853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41854         multiarch floor for PPC64.
41855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41856         multiarch floorf for PPC64.
41858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41859         multiarch implementation.
41860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41861         file.
41862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41863         file.
41864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41865         file.
41866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41867         file.
41868         multiarch llround for PPC64.
41869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41870         multiarch ceil for PPC64.
41871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41872         multiarch ceilf for PPC64.
41874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41875         multiarch implementation.
41876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41877         file.
41878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41879         file.
41880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41881         file.
41882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41883         multiarch llround for PPC64.
41884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41885         multiarch lround for PPC64.
41887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41888         multiarch implementation.
41889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41892         file.
41893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41896         multiarch isnan for PPC64.
41897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41898         multiarch isnanf for PPC64.
41900         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41901         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41902         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41903         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41904         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41907         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41908         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41913         multiarch implementations.
41914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41915         (__libc_ifunc_impl_list): Likewise.
41916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41919         multiarch stpcpy for PPC64.
41921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41922         multiarch implementations.
41923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41924         (__libc_ifunc_impl_list): Likewise.
41925         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41926         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41927         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41928         multiarch strcpy for PPC64.
41930         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41931         redefine function name.
41932         (_wordcopy_fwd_dest_aligned): Likewise.
41933         (_wordcopy_bwd_aligned): Likewise.
41934         (_wordcopy_bwd_dest_aligned): Likewise.
41935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41936         multiarch implementations.
41937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41938         (__libc_ifunc_impl_list): Likewise.
41939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41940         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41943         multiarch wcscpy for PPC64.
41945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41946         multiarch implementations.
41947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41948         (__libc_ifunc_impl_list): Likewise.
41949         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41951         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41952         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41953         multiarch wcscpy for PPC64.
41955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41956         multiarch implementations.
41957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41958         (__libc_ifunc_impl_list): Likewise.
41959         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41960         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41961         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41963         multiarch wcsrchr for PPC64.
41965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41966         multiarch implementations.
41967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41968         (__libc_ifunc_impl_list): Likewise.
41969         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41970         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41971         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41972         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41973         multiarch wcschr for PPC64.
41975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41976         multiarch implementations.
41977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41978         (__libc_ifunc_impl_list): Likewise.
41979         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41980         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41981         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41982         multiarch strchrnul for PPC64.
41984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41985         implementations.
41986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41987         (__libc_ifunc_impl_list): Likewise.
41988         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41989         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41990         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41991         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41992         strchr for PPC64.
41994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41995         implementations.
41996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41997         (__libc_ifunc_impl_list): Likewise.
41998         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41999         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42000         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42001         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42002         strncmp for PPC64.
42004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42005         multiarch implementations.
42006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42007         (__libc_ifunc_impl_list): Likewise.
42008         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42009         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42010         strncasecmp for PPC64.
42011         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42012         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42013         multiarch strncasecmp_l for PPC64.
42015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42016         multiarch implementations.
42017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42018         (__libc_ifunc_impl_list): Likewise.
42019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42020         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42021         multiarch strcasecmp for PPC64.
42022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42023         file.
42024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42025         multiarch strcasecmp_l for PPC64.
42027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42028         implementations.
42029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42030         (__libc_ifunc_impl_list): Likewise.
42031         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42032         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42033         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42034         strnlen for PPC64.
42036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42037         implementations.
42038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42039         (__libc_ifunc_impl_list): Likewise.
42040         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42041         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42042         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42043         strlen for PPC64.
42045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42046         implementations.
42047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42048         (__libc_ifunc_impl_list): Likewise.
42049         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42050         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42051         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42052         rawmemrchr for PPC64.
42054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42055         implementation.
42056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42057         (__libc_ifunc_impl_list): Likewise.
42058         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42059         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42060         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42061         memrchr for PPC64.
42063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42064         implementation.
42065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42066         (__libc_ifunc_impl_list): Likewise.
42067         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42068         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42069         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42070         memchr for PPC64.
42072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42073         implementation.
42074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42075         (__libc_ifunc_impl_list): Likewise.
42076         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42077         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42079         mempcpy for PPC64.
42081         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42082         avoid cretion of __bzero symbol.
42083         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42084         Likewise.
42085         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42086         Likewise.
42087         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42088         Likewise.
42089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42090         multiarch implementations.
42091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42092         (__libc_ifunc_impl_list): Likewise.
42093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42094         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42095         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42096         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42097         bzero for PPC32.
42098         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42099         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42100         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42101         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42102         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42103         memset for PPC64.
42104         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42106         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42108         implementations.
42109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42110         (__libc_ifunc_impl_list): Likewise.
42111         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42112         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42113         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42114         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42115         memcmp for PPC64.
42117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42118         multiarch for POWER/PPC64.
42119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42120         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42121         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42122         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42123         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42127         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42128         memcpy for PPC64.
42130         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42131         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42132         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42133         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42134         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42135         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42136         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42137         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42138         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42139         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42140         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42141         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42142         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42143         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42144         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42153 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42155         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42157 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42159         * benchtests/Makefile (bench): Add exp2 and log2.
42160         (LDLIBS-bench-exp2): Add -lm.
42161         (LDLIBS-bench-log2): Likewise.
42162         * benchtests/exp2-inputs: New inputs file.
42163         * benchtests/log2-inputs: New inputs file.
42164         * benchtests/log-inputs: Add new inputs.
42165         * benchtests/tan-inputs: Likewise.
42167 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42169         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42170         definition...
42171         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42172         (csloww2): ... from here.
42174         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42175         instead of structures.
42176         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42177         (POLYNOMIAL): Likewise.
42178         (TAYLOR_SLOW): Likewise.
42179         (__sin): Likewise.
42180         (__cos): Likewise.
42181         (slow1): Likewise.
42182         (slow2): Likewise.
42183         (sloww): Likewise.
42184         (sloww1); Likewise.
42185         (sloww2): Likewise.
42186         (bsloww1): Likewise.
42187         (bsloww2): Likewise.
42188         (cslow2): Likewise.
42189         (csloww): Likewise.
42190         (csloww1): Likewise.
42191         (csloww2): Likewise.
42193 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42195         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42196         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42197         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42198         * malloc/hooks.c (realloc_check): Likewise.
42200         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42201         * malloc/arena.c: Remove PER_THREAD conditional.
42202         [!PER_THREAD]: Remove code.
42203         (ptmalloc_unlock_all2): Likewise.
42204         (ptmalloc_init): Likewise.
42205         (_int_new_arena): Likewise.
42206         (arena_get2): Likewise.
42207         * malloc/hooks.c (__malloc_get_state): Likewise.
42208         (__malloc_set_state): Likewise.
42209         * malloc/malloc.c: Likewise.
42210         (struct malloc_state): Likewise.
42211         (struct malloc_par): Likewise.
42212         (__libc_realloc): Likewise.
42213         (__libc_mallopt): Likewise.
42215 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42217         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42219 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42221         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42222         macro to a function.  Check for zero perturb_byte.
42223         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42225         * malloc/malloc.c: (force_reg): Remove.
42226         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42227         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42228         force_reg by atomic_forced_read.
42229         * malloc/arena.c (ptmalloc_init): Likewise.
42230         * malloc/hooks.c (top_check): Likewise.
42232 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42236 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42240 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42242         * math/auto-libm-test-in: Add tests of lgamma.
42243         * math/auto-libm-test-out: Regenerated.
42244         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42245         (M_LOG_2_SQRT_PIl): Likewise.
42246         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42247         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42248         mpfr_f_f1.
42249         (func_calc_desc): Add mpfr_f_f1 union field.
42250         (ARGS1): New macro.
42251         (ARGS2): Likewise.
42252         (ARGS3): Likewise.
42253         (ARGS4): Likewise.
42254         (RET1): Likewise.
42255         (RET2): Likewise.
42256         (CALC): Likewise.
42257         (FUNC): Likewise.
42258         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42259         (test_functions): Add lgamma.
42260         (calc_generic_results): Handle mpfr_f_f1.
42261         * sysdeps/i386/fpu/libm-test-ulps: Update.
42262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42264 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42266         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42267         __mpn_add_n for PowerPC64/POWER7.
42268         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42269         __mpn_sub_n for PowerPC64/POWER7.
42271         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42272         __mpn_addmul_1 for PowerPC64.
42273         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42274         __mpn_submul_1 for PowerPC64.
42275         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42276         for PowerPC64.
42277         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42278         for PowerPC64.
42280 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42282         [BZ #15089]
42283         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42287         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42289         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42290         add multiarch folders.
42291         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42292         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42293         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42294         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42295         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42296         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42297         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42298         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42299         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42300         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42301         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42310         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42312         New file.
42313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42314         New file.
42315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42316         multiarch __ieee754_hypot for PowerPC32.
42317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42318         New file.
42319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42320         New file.
42321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42322         multiarch __ieee754_hypotf for PowerPC32.
42324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42325         long_double_symbol only if __logbl is defined.
42326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42327         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42329         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42331         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42333         path for implementation.
42334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42335         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42337         logb, and logbl multiarch implementations for PowerPC32.
42338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42339         file.
42340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42341         file.
42342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42343         multiarch logb for PowerPC32.
42344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42345         file.
42346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42347         file.
42348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42349         multiarch logbf for PowerPC32.
42350         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42352         file.
42353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42354         multiarch logbl implementation for PowerPC32.
42356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42357         and modff multiarch implementations.
42358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42359         New file.
42360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42361         New file.
42362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42363         multiarch modf for PowerPC32.
42364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42365         New file.
42366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42367         New file.
42368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42369         multiarch modff for PowerPC32.
42371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42372         and lrintf multiarch implementations.
42373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42374         New file.
42375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42376         New file.
42377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42378         multiarch lrint for PowerPC32.
42379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42380         file: multiarch lrintf for PowerPC32.
42382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42383         and lroundf multiarch implementations.
42384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42385         New file.
42386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42387         New file.
42388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42389         New file.
42390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42391         multiarch lround for PowerPC32.
42392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42393         file: multiarch lroundf for PowerPC32.
42395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42396         copysign and copysignf multiarch implementations.
42397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42398         New file.
42399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42400         New file.
42401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42402         file: multiarch copysign for PowerPC32.
42403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42404         file: multiarch copysignf for PowerPC32.
42406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42407         and truncf multiarch implementations.
42408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42409         New file.
42410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42411         file.
42412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42413         multiarch trunc for PowerPC32.
42414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42415         New file.
42416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42417         New file.
42418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42419         multiarch truncf for PowerPC32.
42421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42422         and roundf multiarch implementations.
42423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42424         New file.
42425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42426         file.
42427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42428         multiarch round for PowerPC32.
42429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42430         New file.
42431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42432         New file.
42433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42434         multiarch roundf for PowerPC32.
42436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42437         and floorf multiarch implementations.
42438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42439         New file.
42440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42441         file.
42442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42443         multiarch floor for PowerPC32.
42444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42445         New file.
42446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42447         New file.
42448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42449         multiarch floorf for PowerPC32.
42451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42452         and ceilf multiarch implementations.
42453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42454         New file.
42455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42456         file.
42457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42458         multiarch ceil for PowerPC32.
42459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42460         New file.
42461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42462         file.
42463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42464         multiarch ceilf for PowerPC32.
42466         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42467         is defined.
42468         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42469         FINITEF is defined.
42470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42471         and finitef multiarch implementations.
42472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42473         New file.
42474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42475         file.
42476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42477         multiarch finite for PowerPC32.
42478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42479         New file.
42480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42481         file: multiarch finitef for PowerPC32.
42483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42484         and isinff multiarch implementations.
42485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42486         file.
42487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42488         file.
42489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42490         multiarch isinf for PowerPC32.
42491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42492         New file.
42493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42494         multiarch isinff for PowerPC32.
42496         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42497         alias when __isnan is defined.
42498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42499         and isnanf multiarch implementations.
42500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42501         file.
42502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42503         file.
42504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42505         file.
42506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42507         file.
42508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42509         multiarch isnan for PowerPC32.
42510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42511         New file.
42512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42513         New file.
42514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42515         multiarch isnanf for PowerPC32.
42517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42518         and sqrtf multiarch implementations.
42519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42520         file.
42521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42522         file.
42523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42524         multiarch sqrt for PowerPC32.
42525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42526         file.
42527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42528         file.
42529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42530         multiarch sqrtf for PowerPC32.
42532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42533         and llroundf multiarch implementations.
42534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42535         New file.
42536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42537         New file.
42538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42539         New file.
42540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42541         file: multiarch llround for PowerPC32.
42542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42543         file: multiarch llroundf for PowerPC32.
42545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42546         multiarch PowerPC32 fpu implementations.
42547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42548         New file.
42549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42550         New file.
42551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42552         multiarch llrint for PowerPC32.
42553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42554         New file.
42555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42556         New file.
42557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42558         file.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42563         file.
42564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42565         file.
42566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42567         file.
42568         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42569         multiarch wordcopy for PPC32.
42570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42571         wordcopy objects.
42572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42573         (__libc_ifunc_impl_list): Likewise.
42574         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42575         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42576         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42577         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42578         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42579         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42581         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42583         file.
42584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42585         file.
42586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42587         file.
42588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42589         multiarch wcscpy for PPC32.
42590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42591         multiarch objects.
42592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42593         (__libc_ifunc_impl_list): Likewise.
42594         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42595         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42596         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42597         sysdeps/powerpc/power6/wcscpy.c.
42599         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42601         file.
42602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42603         file.
42604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42605         file.
42606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42607         multiarch wcsrchr for PPC32.
42608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42609         multiarch objects.
42610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42611         (__libc_ifunc_impl_list): Likewise.
42612         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42613         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42614         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42615         sysdeps/powerpc/power6/wcsrchr.c.
42617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42618         file.
42619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42620         file.
42621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42623         multiarch wcschr for PPc32.
42624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42625         multiarch objects.
42626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42627         (__libc_ifunc_impl_list): Likewise.
42628         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42629         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42630         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42631         sysdeps/powerpc/power6/wcschr.c.
42633         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42635         file.
42636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42637         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42638         file: multiarch strchr for PPC32.
42639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42640         multiarch objects.
42641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42642         (__libc_ifunc_impl_list): Likewise.
42644         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42645         name.
42646         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42647         file.
42648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42649         file.
42650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42651         multiarch strchrnul for PPC32.
42652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42653         multiarch objects.
42654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42655         (__libc_ifunc_impl_list): Likewise.
42657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42658         file.
42659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42660         multiarch strncasecmp for PPC32.
42661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42662         file.
42663         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42664         multiarch strncasecmp_l for PPC32.
42665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42666         strncasecmp multiarch objects.
42667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42668         (__libc_ifunc_impl_list): Likewise.
42670         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42671         file.
42672         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42673         multiarch strncasecmp for PPC32.
42674         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42675         New file.
42676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42677         multiarch strcasecmp_l for PPC32.
42678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42679         multiarch objects.
42680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42681         (__libc_ifunc_impl_list): Likewise.
42683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42684         file.
42685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42686         file.
42687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42688         multiarch strncmp for PPC32.
42689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42690         multiarch objects.
42691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42692         (__libc_ifunc_impl_list): Likewise.
42694         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42695         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42696         file.
42697         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42698         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42700         multiarch objects.
42701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42702         (__libc_ifunc_impl_list): Likewise.
42704         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42705         file.
42706         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42707         file.
42708         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42710         multiarch objects.
42711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42712         (__libc_ifunc_impl_list): Likewise.
42714         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42715         file.
42716         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42717         file.
42718         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42719         multiarch rawmemchr for PPC32.
42720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42721         multiarch objects.
42722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42723         (__libc_ifunc_impl_list): Likewise.
42725         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42726         file.
42727         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42728         file.
42729         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42730         file: memrchr multiarch for PPC32.
42731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42732         multiarch objects.
42733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42734         (__libc_ifunc_impl_list): Likewise.
42736         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42738         file.
42739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42741         multiarch memchr for PPC32.
42742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42743         multiarch objects.
42744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42745         (__libc_ifunc_impl_list): Likewise.
42747         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42748         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42749         file.
42750         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42751         file.
42752         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42753         file: multiarch mempcpy for PPC32.
42754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42755         multiarch objects.
42756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42757         (__libc_ifunc_impl_list): Likewise.
42759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42760         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42761         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42763         multiarch bzero for PPC32.
42764         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42765         file.
42766         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42767         file.
42768         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42769         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42770         file: multiarch memset for PPC32.
42771         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42773         memset multiarch objects.
42774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42775         (__libc_ifunc_impl_list): Likewise.
42777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42778         file.
42779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42781         memcmp for PPC32.
42782         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42784         multiarch objects.
42785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42786         (__libc_ifunc_impl_list): Likewise.
42788         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42791         file.
42792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42793         file.
42794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42795         file.
42796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42797         multiarch memcpy for PPC32.
42798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42799         multiarch objects.
42800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42801         (__libc_ifunc_impl_list): Likewise.
42803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42804         support multiarch for POWER/PPC32.
42805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42806         Likewise.
42807         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42809         Implies file to make multiarch folder appers before the fpu and
42810         default folder for power4 configuration.
42812 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42814         * scripts/bench.pl: Append volatile keyword to type.
42816 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42818         * sysdeps/sh/sotruss-lib.c: New file.
42819         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42821 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42825 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42827         [BZ #6810]
42828         * math/w_tgamma.c: Include <errno.h>.
42829         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42830         * math/w_tgammaf.c: Include <errno.h>.
42831         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42832         * math/w_tgammal.c: Include <errno.h>.
42833         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42834         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42835         underflow.  Add more tgamma tests.
42836         * math/auto-libm-test-out: Regenerated.
42837         * sysdeps/i386/fpu/libm-test-ulps: Update.
42838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42840         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42841         sin, sinh, tan, tanh, tgamma, y0 and y1.
42842         * math/auto-libm-test-out: Regenerated.
42843         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42844         (TEST_COND_x86): Likewise.
42845         (M_E2l): Remove macro.
42846         (M_E3l): Likewise.
42847         (M_2_SQRT_PIl): Likewise.
42848         (M_SQRT_PIl): Likewise.
42849         (M_1_DIV_El): Likewise.
42850         (log_test_data): Use AUTO_TESTS_f_f.
42851         (log10_test_data): Likewise.
42852         (log1p_test_data): Likewise.
42853         (log2_test_data): Likewise.
42854         (sin_test_data): Likewise.
42855         (sin_tonearest_test_data): Likewise.
42856         (sin_towardzero_test_data): Likewise.
42857         (sin_downward_test_data): Likewise.
42858         (sin_upward_test_data): Likewise.
42859         (sinh_test_data): Likewise.
42860         (sinh_tonearest_test_data): Likewise.
42861         (sinh_towardzero_test_data): Likewise.
42862         (sinh_downward_test_data): Likewise.
42863         (sinh_upward_test_data): Likewise.
42864         (tan_test_data): Likewise.
42865         (tan_tonearest_test_data): Likewise.
42866         (tan_towardzero_test_data): Likewise.
42867         (tan_downward_test_data): Likewise.
42868         (tan_upward_test_data): Likewise.
42869         (tanh_test_data): Likewise.
42870         (tgamma_test_data): Likewise.
42871         (y0_test_data): Likewise.
42872         (y1_test_data): Likewise.
42873         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42874         (special_real_inputs): Add pi/4.
42875         * sysdeps/i386/fpu/libm-test-ulps: Update.
42876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42878 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42880         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42881         "longjmp_target" static probes.
42882         (__longjmp): Rename to __longjmp_symbol.
42883         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42884         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42885         on which longjmp to generate.
42886         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42887         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42888         probe.
42889         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42890         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42891         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42893         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42894         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42896         __longjmp_symbol based on which __longjmp to generate.
42897         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42898         probe.
42899         (setjmp): Rename to setjmp_symbol.
42900         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42901         (_setjmp): Rename to _setjmp_symbol.
42902         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42903         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42904         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42905         which setjmp to generate.
42906         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42907         "longjmp_target" static probes.
42909 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42911         * benchtests/README: Add note about output arguments.
42912         * benchtests/bench-sincos.c: Remove file.
42913         * benchtests/sincos-inputs: New file.
42914         * scripts/bench.pl: Identify output arguments and define
42915         static variables for them.
42917         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42919         [BZ #15941]
42920         * Makefile (INSTALL): Add install-plain.texi as the primary
42921         dependency.
42922         * manual/install-plain.texi: New file.
42923         * manual/install.texi: Include node directive only for
42924         non-plaintext output.
42926 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42928         * stdlib/longlong.h: Update from GCC.
42930         [BZ #6807]
42931         [BZ #15901]
42932         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42933         * math/w_j0f.c (y0f): Likewise.
42934         * math/w_j0l.c (__y0l): Likewise.
42935         * math/w_j1.c (y1): Likewise.
42936         * math/w_j1f.c (y1f): Likewise.
42937         * math/w_j1l.c (__y1l): Likewise.
42938         * math/w_jn.c (yn): Likewise.
42939         * math/w_jnf.c (ynf): Likewise.
42940         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42941         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42942         value for Bessel function domain errors outside _SVID_ mode.
42943         Adjust sign of return value for yn (negative integer, 0).
42944         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42945         by zero in return for negative x and set sign appropriately for
42946         negative n.
42947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42948         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42949         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42950         expectations in error cases.
42951         (y1_test_data): Likewise.
42952         (yn_test_data): Likewise.
42953         * sysdeps/i386/fpu/libm-test-ulps: Update.
42954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42956 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42958         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42959         "64" to "64-v1".  Add "64-v2".
42960         (abi-64-options): Rename to ...
42961         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42962         (abi-64-condition): Rename to ...
42963         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42964         (abi-64-ld-soname): Rename to ...
42965         (abi-64-v1-ld-soname): ... this.
42966         (abi-64-v2-options): Define.
42967         (abi-64-v2-condition): Likewise.
42968         (abi-64-v2-ld-soname): Likewise.
42969         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42970         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42975 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42976             Alan Modra  <amodra@gmail.com>
42978         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42979         New versions for use with the ELFv2 ABI.
42980         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42981         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42982         declaration.
42983         (struct La_ppc64v2_retval): Likewise.
42984         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42985         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42986         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42987         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42988         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42989         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42990         Do not save or restore CR.
42991         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42992         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42993         return values for ELFv2 ABI.  Fix location of FPR return registers.
42994         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42995         updated values for _CALL_ELF == 2.
42996         (La_regs, La_retval, int_retval): Likewise.
42998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43000         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43001         (FRAME_MIN_SIZE_PARM): Likewise.
43002         (FRAME_BACKCHAIN): Likewise.
43003         (FRAME_CR_SAVE): Likewise.
43004         (FRAME_LR_SAVE): Likewise.
43005         (FRAME_TOC_SAVE): Likewise.
43006         (FRAME_PARM_SAVE): Likewise.
43007         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43008         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43009         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43010         (call_mcount_parm_offset): New macro.
43011         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43012         (PROF): Use symbolic stack frame offsets.
43013         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43014         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43015         Redefine in terms of FRAME_MIN_SIZE.
43016         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43017         (_dl_profile_resolve): Likewise.  Update comment.
43018         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43019         symbols stack frame offsets.
43020         (__sigsetjmp): Likewise.
43021         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43022         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43023         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43024         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43027         (FRAME_BACKCHAIN): Remove.
43028         (FRAME_CR_SAVE): Likewise.
43029         (FRAME_LR_SAVE): Likewise.
43030         (FRAME_COMPILER_DW): Likewise.
43031         (FRAME_LINKER_DW): Likewise.
43032         (FRAME_TOC_SAVE): Likewise.
43033         (FRAME_PARM_SAVE): Likewise.
43034         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43035         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43036         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43038         (CHECK_SP): Use symbolic stack frame offsets.
43039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43040         zone" instead of caller's parameter save area for temp storage.
43041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43042         Likewise.  Also, use symbolic stack frame offsets.
43043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43044         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43045         our own stack frame instead of the caller's.
43046         (__socket): Use symbolic stack frame offsets.
43048 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43049             Alan Modra  <amodra@gmail.com>
43051         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43052         Define.
43053         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43054         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43055         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43056         New function.
43057         (elf_machine_fixup_plt): Call it.
43058         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43059         reloc arguments.
43060         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43062         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43063         r2 before calling target.
43065 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43066             Alan Modra  <amodra@gmail.com>
43068         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43069         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43070         versions of macros to support ELFv2 ABI.
43071         (LOCALENTRY): New macro.
43072         (ENTRY, EALIGN): Use it.
43073         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43074         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43075         fall through into ENTRY entry point.
43076         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43077         Only define if _CALL_ELF != 2.
43079         (elf_machine_matches_host): Verify ABI version matches.
43080         (RTLD_START): Use LOCALENTRY.
43081         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43082         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43083         (PLT_ENTRY_WORDS): New macro.
43084         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43085         (elf_machine_runtime_setup): Support ELFv2 ABI.
43086         (elf_machine_fixup_plt): Likewise.
43087         (elf_machine_plt_conflict): Likewise.
43088         (resolve_ifunc): Likewise.
43089         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43091         Likewise.
43092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43093         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43095         (makecontext): Support ELFv2 ABI.
43096         * elf/elf.h (EF_PPC64_ABI): Define.
43098 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43100         * sysdeps/powerpc/powerpc64/sysdep.h
43101         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43102         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43103         (ENTRY) [ASSEMBLER]: ... but instead here ...
43104         (EALIGN) [ASSEMBLER]: ... and here.
43105         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43106         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43107         (ENTRY_2) [!ASSEMBLER]: Use it.
43108         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43109         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43110         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43111         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43112         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43114         Use PPC64_LOAD_FUNCPTR.
43116         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43118 2013-12-04  Alan Modra  <amodra@gmail.com>
43120         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43121         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43122         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43123         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43126         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43127         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43128         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43129         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43130         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43135         (__makecontext): Fix incorrect CFI when backtracing out of
43136         context created via makecontext.
43137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43138         (__setcontext): Fix incorrect CFI during switch to new context.
43139         (__novec_setcontext): Likewise.
43141 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43143         [BZ #4772]
43144         * time/strptime_l.c (__strptime_internal): Allow modifiers
43145         in strptime.
43146         * time/tst-strptime.c (day_tests): Add testcase.
43148 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43150         * scripts/bench.pl: Skip over blank lines.
43152 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43154         [BZ #926]
43155         * manual/time.texi (Calendar Time): Clarify what timezone functions
43156         use.
43158 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43162 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43164         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43165         implementation.
43166         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43167         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43168         * debug/memset_chk.c (__memset_chk): Likewise.
43169         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43170         * debug/strncpy_chk.c: Likewise.
43172 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43174         [BZ #15268]
43175         [BZ #15425]
43176         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43177         (__ieee754_exp): For possibly underflowing results, check size of
43178         result and force underflow exception if required.
43179         * math/auto-libm-test-in: Add more tests of exp.
43180         * math/auto-libm-test-out: Regenerated.
43181         * sysdeps/i386/fpu/libm-test-ulps: Update.
43182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43184         [BZ #16283]
43185         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43186         * math/w_exp2f.c (__exp2f): Likewise.
43187         * math/w_exp2l.c (__exp2l): Likewise.
43188         * math/auto-libm-test-in: Do not allow missing errno on exp2
43189         underflow.
43190         * math/auto-libm-test-out: Regenerated.
43192 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43194         [BZ #16274]
43195         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43196         handle filename validation.
43197         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43198         (do_open): Delete.
43200 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43202         [BZ #6786]
43203         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43204         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43205         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43206         <float.h>.
43207         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43208         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43209         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43211         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43213         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43214         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43215         Add more erfc tests.
43216         * math/auto-libm-test-out: Regenerated.
43217         * sysdeps/i386/fpu/libm-test-ulps: Update.
43218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43221         exp2, expm1, j0 and j1.
43222         * math/auto-libm-test-out: Regenerated.
43223         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43224         (erfc_test_data): Likewise.
43225         (exp_test_data): Likewise.
43226         (exp_tonearest_test_data): Likewise.
43227         (exp_towardzero_test_data): Likewise.
43228         (exp_downward_test_data): Likewise.
43229         (exp_upward_test_data): Likewise.
43230         (exp10_test_data): Likewise.
43231         (exp2_test_data): Likewise.
43232         (expm1_test_data): Likewise.
43233         (j0_test_data): Likewise.
43234         (j1_test_data): Likewise.
43235         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43236         (input_flag_type): Add flag_xfail_rounding.
43237         (input_flags): Add xfail-rounding.
43238         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43239         (output_for_one_input_case): Handle flag_xfail_rounding.
43240         * sysdeps/i386/fpu/libm-test-ulps: Update.
43241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43243 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43245         [BZ #16289]
43246         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43247         division by 0.
43249 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43251         [BZ #16195]
43252         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43253         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43254         (STAP_PROBE0): New macro.
43255         (STAP_PROBE1): Likewise.
43256         (STAP_PROBE2): Likewise.
43257         (STAP_PROBE3): Likewise.
43258         (STAP_PROBE4): Likewise.
43260 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43262         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43264 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43266         * benchtests/Makefile (bench): Add sqrt.
43267         (LDLIBS-bench-sqrt): New.
43268         * benchtests/sqrt-input: New.
43270 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43272         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43273         (GAIH_EAI): Likewise.
43274         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43275         (gaih_inet): Likewise.
43276         (getaddrinfo): Don't use GAIH_EAI.
43278         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43279         (struct gaih): Remove definition.
43281 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43283         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43284         Use HERRNOP directly.
43286 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43290 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43292         * math/gen-auto-libm-tests.c (test_functions): Add more
43293         single-argument functions.
43294         (special_fill_pi_2): New function.
43295         (special_fill_minus_pi_2): Likewise.
43296         (special_fill_pi_6): Likewise.
43297         (special_fill_minus_pi_6): Likewise.
43298         (special_fill_pi_3): Likewise.
43299         (special_fill_2pi_3): Likewise.
43300         (special_fill_e): Likewise.
43301         (special_fill_1_e): Likewise.
43302         (special_fill_e_minus_1): Likewise.
43303         (special_real_inputs): Add more special inputs.
43304         (output_for_one_input_case): Do not require ERANGE on underflow to
43305         zero if round-to-nearest result does not underflow to zero, unless
43306         exact results required.
43307         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43308         atan, atanh, cbrt, cos and cosh.
43309         * math/auto-libm-test-out: Regenerated.
43310         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43311         (acos_tonearest_test_data): Likewise.
43312         (acos_towardzero_test_data): Likewise.
43313         (acos_downward_test_data): Likewise.
43314         (acos_upward_test_data): Likewise.
43315         (acosh_test_data): Likewise.
43316         (asin_test_data): Likewise.
43317         (asin_tonearest_test_data): Likewise.
43318         (asin_towardzero_test_data): Likewise.
43319         (asin_upward_test_data): Likewise.
43320         (asinh_test_data): Likewise.
43321         (atan_test_data): Likewise.
43322         (atanh_test_data): Likewise.
43323         (cbrt_test_data): Likewise.
43324         (cos_test_data): Likewise.
43325         (cos_tonearest_test_data): Likewise.
43326         (cos_towardzero_test_data): Likewise.
43327         (cos_downward_test_data): Likewise.
43328         (cos_upward_test_data): Likewise.
43329         (cosh_test_data): Likewise.
43330         (cosh_tonearest_test_data): Likewise.
43331         (cosh_towardzero_test_data): Likewise.
43332         (cosh_downward_test_data): Likewise.
43333         (cosh_upward_test_data): Likewise.
43334         * sysdeps/i386/fpu/libm-test-ulps: Update.
43335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43337 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43339         [BZ #6787]
43340         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43341         * math/w_exp10f.c (__exp10f): Likewise.
43342         * math/w_exp10l.c (__exp10l): Likewise.
43343         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43344         errno settings in existing tests.
43346         [BZ #14032]
43347         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43348         precision control set to double precision.
43349         * sysdeps/i386/fpu/w_sqrt.c: New file.
43350         * math/auto-libm-test-in: Add more tests.
43351         * math/auto-libm-test-out: Update.
43353         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43354         (sqrt_test_tonearest): New function.
43355         (sqrt_towardzero_test_data): New variable.
43356         (sqrt_test_towardzero): New function.
43357         (sqrt_downward_test_data): New variable.
43358         (sqrt_test_downward): New function.
43359         (sqrt_upward_test_data): New variable.
43360         (sqrt_test_upward): New function.
43361         (main): Call the new functions.
43363         * math/gen-auto-libm-tests.c: New file.
43364         * math/auto-libm-test-in: Likewise.
43365         * math/auto-libm-test-out: New generated file.
43366         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43367         variables.
43368         (%beautify): Add generated representations of zero.
43369         (top level): Set $auto_input and call parse_auto_input.
43370         (beautify): Remove trailing "f" from hex float constants.
43371         (parse_args): Handle XFAIL_TEST.
43372         (convert_condition): New function.
43373         (or_value): Likewise.
43374         (or_cond_value): Likewise.
43375         (generate_testfile): Handle AUTO_TESTS_* lines.
43376         (parse_auto_input): New function.
43377         * math/libm-test.inc (XFAIL_TEST): New macro.
43378         (ERRNO_UNCHANGED): Update value.
43379         (ERRNO_EDOM): Likewise.
43380         (ERRNO_ERANGE): Likewise.
43381         (IGNORE_RESULT): Likewise.
43382         (TEST_COND_flt_32): New macro.
43383         (TEST_COND_dbl_64): Likewise.
43384         (TEST_COND_ldbl_96_intel): Likewise.
43385         (TEST_COND_ldbl_96_m68k): Likewise.
43386         (TEST_COND_ldbl_128): Likewise.
43387         (TEST_COND_ldbl_128ibm): Likewise.
43388         (TEST_COND_long32): Likewise.
43389         (TEST_COND_long64): Likewise.
43390         (TEST_COND_before_rounding): Likewise.
43391         (TEST_COND_after_rounding): Likewise.
43392         (enable_test): Handle XFAIL_TEST flag.
43393         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43394         with finite results.
43395         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43396         auto-libm-test-out.
43398 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43399             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43401         [BZ #16214]
43402         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43403         __tls_get_addr_internal instead of __tls_get_offset in order to
43404         avoid GOT pointer dependency.  Make rtld export
43405         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43406         __tls_get_addr since we are a __tls_get_offset platform.
43407         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43408         GOT pointer being set up before.
43409         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43411 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43413         * manual/math.texi (Errors in Math Functions): Document accuracy
43414         goals.
43416         [BZ #15004]
43417         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43418         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43419         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43420         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43421         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43422         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43423         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43424         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43425         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43426         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43427         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43428         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43429         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43430         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43431         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43432         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43434         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43435         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43436         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43437         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43438         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43439         Likewise.
43440         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43441         Likewise.
43442         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43443         Likewise.
43444         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43445         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43446         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43447         atomic-feupdateenv and flt-rounds.
43448         * sysdeps/powerpc/nofpu/Versions (libc): Add
43449         __atomic_feholdexcept, __atomic_feclearexcept,
43450         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43451         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43452         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43454         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43455         here.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43457         Update.
43459         * manual/arith.texi (FP Exceptions): Document that exceptions may
43460         not be raised when matherr is used.
43461         (Math Error Reporting): Document overflow in directed rounding
43462         modes.  Document that errno may not be set when finite values are
43463         returned on overflow.  Document intent to set errno on underflow
43464         only for underflow to zero.
43466         [BZ #16271]
43467         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43468         round-to-nearest then adjust result for other rounding modes.
43469         * include/fenv.h (fegetround): Use libm_hidden_proto.
43470         * math/fegetround.c (fegetround): Use libm_hidden_def.
43471         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43472         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43473         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43475         Likewise.
43476         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43477         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43478         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43479         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43481 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43483         [BZ #16077]
43484         * nss/Versions (libnss_files): Add
43485         _nss_files_gethostbyname3_r.
43486         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43487         New function.
43488         (HOST_DB_LOOKUP): Remove macro.
43489         (_nss_files_gethostbyname_r): Implement function without the
43490         HOST_DB_LOOKUP macro.
43491         (_nss_files_gethostbyname2_r): Likewise.
43493 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43495         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43497 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43499         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43500         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43501         warning.
43503 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43506         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43508         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43509         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43510         __fe_nomask_env_priv and attribute_hidden.
43511         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43512         (libc_feupdateenv_test_ppc): Likewise.
43513         (libc_feresetround_ppc): Likewise.
43514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43515         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43516         compat_symbol macro.
43517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43518         (__fe_nomask_env): Likewise.
43519         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43521 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43523         * string/Makefile: Remove ifunc tests.
43524         * string/test-string.h: Define TEST_IFUNC.
43525         * string/test-bcopy-ifunc.c: Remove.
43526         * string/test-bzero-ifunc.c: Likewise.
43527         * string/test-memccpy-ifunc.c: Likewise.
43528         * string/test-memchr-ifunc.c: Likewise.
43529         * string/test-memcmp-ifunc.c: Likewise.
43530         * string/test-memcpy-ifunc.c: Likewise.
43531         * string/test-memmem-ifunc.c: Likewise.
43532         * string/test-memmove-ifunc.c: Likewise.
43533         * string/test-mempcpy-ifunc.c: Likewise.
43534         * string/test-memrchr-ifunc.c: Likewise.
43535         * string/test-memset-ifunc.c: Likewise.
43536         * string/test-rawmemchr-ifunc.c: Likewise.
43537         * string/test-stpcpy-ifunc.c: Likewise.
43538         * string/test-stpncpy-ifunc.c: Likewise.
43539         * string/test-strcasecmp-ifunc.c: Likewise.
43540         * string/test-strcasestr-ifunc.c: Likewise.
43541         * string/test-strcat-ifunc.c: Likewise.
43542         * string/test-strchr-ifunc.c: Likewise.
43543         * string/test-strchrnul-ifunc.c: Likewise.
43544         * string/test-strcmp-ifunc.c: Likewise.
43545         * string/test-strcpy-ifunc.c: Likewise.
43546         * string/test-strcspn-ifunc.c: Likewise.
43547         * string/test-strlen-ifunc.c: Likewise.
43548         * string/test-strncasecmp-ifunc.c: Likewise.
43549         * string/test-strncat-ifunc.c: Likewise.
43550         * string/test-strncmp-ifunc.c: Likewise.
43551         * string/test-strncpy-ifunc.c: Likewise.
43552         * string/test-strnlen-ifunc.c: Likewise.
43553         * string/test-strpbrk-ifunc.c: Likewise.
43554         * string/test-strrchr-ifunc.c: Likewise.
43555         * string/test-strspn-ifunc.c: Likewise.
43556         * string/test-strstr-ifunc.c: Likewise.
43558 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43560         * benchtests/Makefile: Remove ifunc tests.
43561         * benchtests/bench-string.h: Define TEST_IFUNC.
43562         * benchtests/bench-bcopy-ifunc.c: Remove.
43563         * benchtests/bench-bzero-ifunc.c: Likewise.
43564         * benchtests/bench-memccpy-ifunc.c: Likewise.
43565         * benchtests/bench-memchr-ifunc.c: Likewise.
43566         * benchtests/bench-memcmp-ifunc.c: Likewise.
43567         * benchtests/bench-memcpy-ifunc.c: Likewise.
43568         * benchtests/bench-memmem-ifunc.c: Likewise.
43569         * benchtests/bench-memmove-ifunc.c: Likewise.
43570         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43571         * benchtests/bench-memrchr-ifunc.c: Likewise.
43572         * benchtests/bench-memset-ifunc.c: Likewise.
43573         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43574         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43575         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43576         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43577         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43578         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43579         * benchtests/bench-strcat-ifunc.c: Likewise.
43580         * benchtests/bench-strchr-ifunc.c: Likewise.
43581         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43582         * benchtests/bench-strcmp-ifunc.c: Likewise.
43583         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43584         * benchtests/bench-strcpy-ifunc.c: Likewise.
43585         * benchtests/bench-strcspn-ifunc.c: Likewise.
43586         * benchtests/bench-strlen-ifunc.c: Likewise.
43587         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43588         * benchtests/bench-strncat-ifunc.c: Likewise.
43589         * benchtests/bench-strncmp-ifunc.c: Likewise.
43590         * benchtests/bench-strncpy-ifunc.c: Likewise.
43591         * benchtests/bench-strnlen-ifunc.c: Likewise.
43592         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43593         * benchtests/bench-strrchr-ifunc.c: Likewise.
43594         * benchtests/bench-strsep-ifunc.c: Likewise.
43595         * benchtests/bench-strspn-ifunc.c: Likewise.
43596         * benchtests/bench-strstr-ifunc.c: Likewise.
43598 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43600         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43602 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43604         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43605         * rt/aio.h: Likewise.
43606         * sysdeps/gnu/bits/utmp.h: Likewise.
43607         * sysdeps/gnu/bits/utmpx.h: Likewise.
43608         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43609         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43610         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43611         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43612         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43613         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43614         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43615         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43616         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43617         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43618         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43619         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43620         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43622         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43623         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43624         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43625         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43626         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43627         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43628         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43629         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43630         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43631         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43632         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43634         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43635         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43636         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43637         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43638         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43639         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43640         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43641         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43642         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43643         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43644         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43645         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43646         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43647         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43648         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43649         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43651 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43653         [BZ #16245]
43654         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43655         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43657 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43659         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43661         Likewise.
43663 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43666         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43667         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43668         (__fesetround): Remove define.
43669         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43670         rounding and exceptions handling.
43671         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43672         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43673         (__fe_nomask_env): Likewise.
43674         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43675         __fegetround instead of fegetround.
43676         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43677         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43679 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43681         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43682         it's there.
43684         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43686 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43688         [BZ #11157]
43689         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43690         (encrypt_r): Likewise.
43691         * malloc/obstack.h (obstack_free): Likewise.
43692         * posix/unistd.h (encrypt): Likewise.
43694 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43696         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43697         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43698         DL_CALL_DT_FINI() that call the functions directly.
43699         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43700         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43701         * elf/dl-fini.c: Likewise.
43703 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43705         * malloc/hooks.c (memalign_check): Add alignment rounding.
43706         * malloc/malloc.c (_mid_memalign): New function.
43707         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43708         Implement by calling _mid_memalign.
43709         * manual/probes.texi (Memory Allocation Probes): Remove
43710         memory_valloc_retry and memory_pvalloc_retry.
43712 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43714         * locale/programs/locarchive.c (open_archive): Add const
43715         qualifier to ARCHIVEFNAME and copy default fname to
43716         DEFAULT_FNAME.
43718         [BZ #15601]
43719         * libio/tst-widetext.input: Rename Oriya to Odia.
43720         * locale/iso-639.def: Likewise.
43722         * manual/probes.texi (Mathematical Function Probes): Add
43723         documentation for sin, cos, asin and acos probes.
43724         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43725         (__sin32): Add slowasin probe.
43726         (__cos32): Add slowacos probe.
43727         (__mpsin): Add slowsin probe.
43728         (__mpcos): Add slowcos probe.
43730 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43732         [BZ #15483]
43733         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43734         thread-local __sim_exceptions_thread and global
43735         __sim_exceptions_global.
43736         (__sim_disabled_exceptions): Change to thread-local
43737         __sim_disabled_exceptions_thread and global
43738         __sim_disabled_exceptions_global.
43739         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43740         and global __sim_round_mode_global.
43741         (__simulate_exceptions): Use thread-local floating-point state and
43742         set global state from it as needed.
43743         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43744         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43745         __sim_round_mode_thread.
43746         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43747         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43748         and global __sim_exceptions_global.
43749         (__sim_disabled_exceptions): Change to thread-local
43750         __sim_disabled_exceptions_thread and global
43751         __sim_disabled_exceptions_global.
43752         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43753         and global __sim_round_mode_global.
43754         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43755         (SIM_SET_GLOBAL): Likewise.
43756         * sysdeps/powerpc/soft-fp/sfp-machine.h
43757         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43758         __sim_round_mode_thread.
43759         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43760         __sim_disabled_exceptions_thread.
43761         (__sim_exceptions): Change to __sim_exceptions_thread.
43762         (__sim_disabled_exceptions): Change to
43763         __sim_disabled_exceptions_thread.
43764         (__sim_round_mode): Change to __sim_round_mode_thread.
43765         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43766         thread-local floating-point state and set global state from it as
43767         needed.
43768         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43769         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43770         (__sim_disabled_exceptions): Remove extern declaration.
43771         (feenableexcept): Use thread-local floating-point state and set
43772         global state from it as needed.
43773         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43774         extern declaration.
43775         (__sim_disabled_exceptions): Likewise.
43776         (__sim_round_mode): Likewise.
43777         (__fegetenv): Use thread-local floating-point state.
43778         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43779         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43780         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43781         floating-point state and set global state from it as needed.
43782         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43783         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43784         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43785         Likewise.
43786         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43787         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43788         Likewise.
43789         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43790         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43791         Use __sim_round_mode_thread.
43792         * math/test-fenv-tls.c: New file.
43793         * math/Makefile (tests): Add test-fenv-tls.
43794         ($(objpfx)test-fenv-tls): Depend on
43795         $(common-objpfx)nptl/libpthread.so.
43797 2013-11-19  Andreas Schwab  <schwab@suse.de>
43799         * locale/programs/locale.c (show_info): Decode wordarray elements.
43800         * locale/categories.def (LC_MONETARY): Add element for
43801         _NL_MONETARY_CRNCYSTR.
43802         * locale/C-monetary.c (conversion_rate): New variable.
43803         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43804         element.
43806 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43808         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43809         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43811 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43813         * elf/Makefile (tst-auxv): New test.
43814         * elf/tst-auxv.c: New
43815         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43817 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43819         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43820         (hidden_proto): Caller changed.
43821         (hidden_tls_proto): New macro.
43822         (libc_hidden_tls_proto): Likewise.
43823         (rtld_hidden_tls_proto): Likewise.
43824         (libm_hidden_tls_proto): Likewise.
43825         (libresolv_hidden_tls_proto): Likewise.
43826         (librt_hidden_tls_proto): Likewise.
43827         (libdl_hidden_tls_proto): Likewise.
43828         (libnss_files_hidden_tls_proto): Likewise.
43829         (libnsl_hidden_tls_proto): Likewise.
43830         (libnss_nisplus_hidden_tls_proto): Likewise.
43831         (libutil_hidden_tls_proto): Likewise.
43833 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43835         [BZ #10253]
43836         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43837         (decompose_rpath): Defer expansion to fillin_rpath.
43838         (_dl_init_paths): Pass linkmap to fillin_rpath.
43840 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43842         * benchtests/Makefile: Add strsep.
43843         * benchtests/bench-strsep.c: New file: strsep benchtest.
43844         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43846 2013-11-18  Andreas Schwab  <schwab@suse.de>
43848         * locale/programs/locale.c (show_info) [case byte]: Check for
43849         '\377' instead of '\177'.
43850         * locale/C-monetary.c (not_available): Always use "\377".
43851         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43852         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43853         detect unavailable sign_posn locale elements.
43854         * locale/localeconv.c (__localeconv): For grouping and
43855         mon_grouping handle "\177" and "\377" like no grouping.
43856         (INT_ELEM): New macro.  Use it to set all numeric members.
43857         * locale/programs/ld-monetary.c (monetary_read)
43858         <tok_mon_grouping>: Normalize single -1 to the empty string.
43859         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43860         Likewise.
43862 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43864         [BZ #16055]
43865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43866         when we match (nil).
43867         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43869 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43871         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43872         (NO_TEST_INLINE): Update value.
43873         (ERRNO_UNCHANGED): Likewise.
43874         (ERRNO_EDOM): Likewise.
43875         (ERRNO_ERANGE): Likewise.
43876         (IGNORE_RESULT): Likewise.
43877         (check_float_internal): Check signs of NaN results if
43878         TEST_NAN_SIGN used.
43879         (check_complex): Pass TEST_NAN_SIGN flag through to second
43880         check_float_internal call.
43881         (copysign_test_data): Add tests with quiet NaNs as second
43882         argument.  Use TEST_NAN_SIGN.
43883         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43884         TEST_NAN_SIGN.
43885         (signbit_test_data): Add tests of quiet NaN argument.
43886         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43888         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43889         $ignore_result.
43890         (parse_args): Handle function results specified as IGNORE.
43891         * math/libm-test.inc (IGNORE_RESULT): New macro.
43892         (check_float_internal): Do not check numerical result if flag
43893         IGNORE_RESULT set.
43894         (check_complex): Pass through IGNORE_RESULT to second
43895         check_float_internal call.
43896         (check_int): Do not check numerical result if flag IGNORE_RESULT
43897         set.
43898         (check_long): Likewise.
43899         (check_bool): Likewise.
43900         (check_longlong): Likewise.
43901         (lrint_test_data): Add tests of infinite and NaN arguments.
43902         (lrint_tonearest_test_data): Likewise.
43903         (lrint_towardzero_test_data): Likewise.
43904         (lrint_downward_test_data): Likewise.
43905         (lrint_upward_test_data): Likewise.
43906         (llrint_test_data): Likewise.
43907         (llrint_tonearest_test_data): Likewise.
43908         (llrint_towardzero_test_data): Likewise.
43909         (llrint_downward_test_data): Likewise.
43910         (llrint_upward_test_data): Likewise.
43911         (lround_test_data): Likewise.
43912         (llround_test_data): Likewise.
43914         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43915         (ERRNO_UNCHANGED): Update value.
43916         (ERRNO_EDOM): Likewise.
43917         (ERRNO_ERANGE): Likewise.
43918         (NO_TEST_INLINE_FLOAT): New macro.
43919         (NO_TEST_INLINE_DOUBLE): Likewise.
43920         (enable_test): New function.
43921         (RUN_TEST_f_f): Check enable_test before running test.
43922         (RUN_TEST_2_f): Likewise.
43923         (RUN_TEST_fff_f): Likewise.
43924         (RUN_TEST_c_f): Likewise.
43925         (RUN_TEST_f_f1): Likewise.
43926         (RUN_TEST_fF_f1): Likewise.
43927         (RUN_TEST_fI_f1): Likewise.
43928         (RUN_TEST_ffI_f1): Likewise.
43929         (RUN_TEST_c_c): Likewise.
43930         (RUN_TEST_cc_c): Likewise.
43931         (RUN_TEST_f_i): Likewise.
43932         (RUN_TEST_f_i_tg): Likewise.
43933         (RUN_TEST_ff_i_tg): Likewise.
43934         (RUN_TEST_f_b): Likewise.
43935         (RUN_TEST_f_b_tg): Likewise.
43936         (RUN_TEST_f_l): Likewise.
43937         (RUN_TEST_f_L): Likewise.
43938         (RUN_TEST_fFF_11): Likewise.
43939         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43940         conditionals.
43941         (cosh_test_data): Likewise.
43942         (exp_test_data): Likewise.
43943         (expm1_test_data): Likewise.
43944         (hypot_test_data): Likewise.
43945         (pow_test_data): Likewise.
43946         (sinh_test_data): Likewise.
43947         (tanh_test_data): Likewise.
43948         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43949         flags argument.
43951         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43952         tests with quiet NaN input and output.
43953         (acosh_test_data): Likewise.
43954         (asin_test_data): Likewise.
43955         (asinh_test_data): Likewise.
43956         (atan_test_data): Likewise.
43957         (atanh_test_data): Likewise.
43958         (atan2_test_data): Likewise.
43959         (cbrt_test_data): Likewise.
43960         (cos_test_data): Likewise.
43961         (cosh_test_data): Likewise.
43962         (erf_test_data): Likewise.
43963         (erfc_test_data): Likewise.
43964         (exp_test_data): Likewise.
43965         (exp10_test_data): Likewise.
43966         (exp2_test_data): Likewise.
43967         (expm1_test_data): Likewise.
43968         (hypot_test_data): Likewise.
43969         (j0_test_data): Likewise.
43970         (j1_test_data): Likewise.
43971         (jn_test_data): Likewise.
43972         (lgamma_test_data): Likewise.
43973         (log_test_data): Likewise.
43974         (log10_test_data): Likewise.
43975         (log1p_test_data): Likewise.
43976         (log2_test_data): Likewise.
43977         (pow_test_data): Likewise.
43978         (scalb_test_data): Likewise.
43979         (sin_test_data): Likewise.
43980         (sincos_test_data): Likewise.
43981         (sinh_test_data): Likewise.
43982         (tan_test_data): Likewise.
43983         (tanh_test_data): Likewise.
43984         (tgamma_test_data): Likewise.
43985         (y0_test_data): Likewise.
43986         (y1_test_data): Likewise.
43987         (yn_test_data): Likewise.
43989         [BZ #16167]
43990         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43991         argument being NaN and avoid computations with second argument in
43992         that case.
43993         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43994         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43995         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43997 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43999         * locale/iso-639.def: Add Chitwani Tharu (the).
44001 2013-11-14  Andreas Schwab  <schwab@suse.de>
44003         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44004         word instead of empty string.
44006 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44009         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44011         (__fe_nomask_env): Likewise.
44013 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44015         * benchtests/bench-timing.h: Include time.h.
44017 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44019         [BZ #15997]
44020         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44021         to 3.4.0 for x32.
44022         * sysdeps/unix/sysv/linux/configure: Regenerated.
44024 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44026         [BZ #16151]
44027         * stdlib/strtod_l.c (round_and_return): Do not consider
44028         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44029         exponent one less than half the least subnormal exponent.
44030         * stdlib/test-strtod-round-data: Add more tests.
44031         * stdlib/tst-strtod-round.c (tests): Regenerated.
44033 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44035         [BZ #14143]
44036         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44037         (__fe_mask_env): Likewise.
44038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44039         libm_hidden_proto and add function prototype.
44040         (__fe_mask_env): Add function prototype.
44041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44042         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44044         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44046         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44048 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44050         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44051         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44053 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44055         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44056         of htab_find_slot().
44058 2013-11-11  David S. Miller  <davem@davemloft.net>
44060         [BZ #16150]
44061         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44062         symbol in the non-vis3 case in static builds.
44063         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44064         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44065         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44066         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44068 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44070         [BZ #387]
44071         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44072         it is empty.
44074 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44076         * benchtests/Makefile: Add bench-strtod.
44077         * benchtests/bench-strtod.c: New file: strtod benchtest
44079 2013-11-11  Andreas Schwab  <schwab@suse.de>
44081         [BZ #16153]
44082         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44083         terminating NUL in key length.
44085 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44087         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44088         Add artificial ODP entry for vDSO symbol for PPC64.
44089         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44090         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44092 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44094         [BZ #15374]
44095         * nss/getent.c (services_keys): Recognize services starting with digit.
44097 2013-11-06  David S. Miller  <davem@davemloft.net>
44099         [BZ #15985]
44100         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44101         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44103 2013-11-06  Will Newton  <will.newton@linaro.org>
44105         * manual/memory.texi (Malloc Examples): Remove register
44106         keyword from examples.
44108 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44110         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44112 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44114         [BZ #6981]
44115         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44116         depending on [__GCC_IEC_559 > 0].
44117         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44118         depending on [__GCC_IEC_559_COMPLEX > 0].
44120 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44122         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44123         to iso-639.def.
44125 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44127         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44129 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44131         [BZ #16112]
44132         * malloc/malloc (malloc_info): Do not handle first bin as
44133         special case.
44135 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44137         * locale/iso-639.def: Add Central Nahuatl (nhn).
44139 2013-11-01  Bruno Haible  <bruno@clisp.org>
44141         [BZ #7003]
44142         * manual/math.texi (BSD Random): Specify range upper bound as
44143         in POSIX.
44145 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44147         * locale/iso-639.def: Add Meadow Mari (mhr).
44149 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44151         [BZ #14752], [BZ #15763]
44152         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44153         Validate name.
44154         * rt/tst_shm.c: Add test for escaping directory.
44156 2013-10-31  Andreas Schwab  <schwab@suse.de>
44158         [BZ #15917]
44159         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44160         followed by 'x' as part of digit sequence.
44161         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44163 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44165         [BZ #16037]
44166         * configure.ac: allow GNU Make 4.0 and greater.
44167         * configure: Regenerated.
44169 2013-10-30  Will Newton  <will.newton@linaro.org>
44171         [BZ #16038]
44172         * malloc/hooks.c (memalign_check): Limit alignment to the
44173         maximum representable power of two.
44174         * malloc/malloc.c (__libc_memalign): Likewise.
44175         * malloc/tst-memalign.c (do_test): Add test for very
44176         large alignment values.
44177         * malloc/tst-posix_memalign.c (do_test): Likewise.
44179 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44181         [BZ #11087]
44182         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44183         (munmap_chunk): Likewise.
44184         (mremap_chunk): Likewise.
44186 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44188         [BZ #15799]
44189         * stdlib/div.c (div): Remove obsolete code.
44190         * stdlib/ldiv.c (ldiv): Likewise.
44191         * stdlib/lldiv.c (lldiv): Likewise.
44193 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44195         [BZ #16071]
44196         * nss/nss_files/files-XXX.c (get_contents_ret): New
44197         enumerator.
44198         (get_contents): New function.
44199         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44201 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44203         * configure.in: Moved to ...
44204         * configure.ac: ... here. Change reference to configure.in
44205         to configure.ac.
44206         * sysdeps/arm/preconfigure.ac: ... here.
44207         configure.in to configure.ac.
44208         * sysdeps/gnu/configure.in: Moved to ...
44209         * sysdeps/gnu/configure.ac: ... here.
44210         * sysdeps/i386/configure.in: Moved to ...
44211         * sysdeps/i386/configure.ac: ... here.
44212         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44213         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44214         * sysdeps/mach/configure.in: Moved to ...
44215         * sysdeps/mach/configure.ac: ... here.
44216         * sysdeps/mach/hurd/configure.in: Moved to ...
44217         * sysdeps/mach/hurd/configure.ac: ... here.
44218         * sysdeps/powerpc/configure.in: Moved to ...
44219         * sysdeps/powerpc/configure.ac: ... here.
44220         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44221         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44222         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44223         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44224         * sysdeps/s390/s390-32/configure.in: Moved to ...
44225         * sysdeps/s390/s390-32/configure.ac: ... here.
44226         * sysdeps/s390/s390-64/configure.in: Moved to ...
44227         * sysdeps/s390/s390-64/configure.ac: ... here.
44228         * sysdeps/sh/configure.in: Moved to ...
44229         * sysdeps/sh/configure.ac: ... here.
44230         * sysdeps/sparc/configure.in: Moved to ...
44231         * sysdeps/sparc/configure.ac: ... here.
44232         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44233         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44234         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44235         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44236         * sysdeps/x86_64/configure.in: Moved to ...
44237         * sysdeps/x86_64/configure.ac: ... here.
44238         * sysdeps/x86_64/preconfigure.in: Moved to ...
44239         * sysdeps/x86_64/preconfigure.ac: ... here.
44240         * aclocal.m4: Change reference to configure.in to configure.ac.
44241         * config.h.in: Likewise.
44242         * manual/install.texi: Likewise.
44243         * manual/maint.texi: Likewise.
44244         * Makefile: Likewise.
44245         * malloc/Makefile: Likewise.
44246         * nscd/Makefile: Likewise.
44247         * Makeconfig: Change reference to configure.in and
44248         preconfigure.in to configure.ac and preconfigure.ac
44249         respectively.
44250         * INSTALL: Regenerated.
44251         * configure: Likewise.
44252         * sysdeps/gnu/configure: Likewise.
44253         * sysdeps/i386/configure: Likewise.
44254         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44255         * sysdeps/mach/configure: Likewise.
44256         * sysdeps/mach/hurd/configure: Likewise.
44257         * sysdeps/powerpc/configure: Likewise.
44258         * sysdeps/powerpc/powerpc32/configure: Likewise.
44259         * sysdeps/powerpc/powerpc64/configure: Likewise.
44260         * sysdeps/s390/s390-32/configure: Likewise.
44261         * sysdeps/s390/s390-64/configure: Likewise.
44262         * sysdeps/sh/configure: Likewise.
44263         * sysdeps/sparc/configure: Likewise.
44264         * sysdeps/unix/sysv/linux/configure: Likewise.
44265         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44266         * sysdeps/x86_64/configure: Likewise.
44267         * sysdeps/x86_64/preconfigure: Likewise.
44269 2013-10-29  Andreas Schwab  <schwab@suse.de>
44271         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44273 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44275         * benchtests/pow-inputs: Add new inputs.
44277         * benchtests/exp-inputs: Add new inputs.
44279         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44280         conditional check for return value.
44281         (__cos32): Likewise.
44283 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44285         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44286         to provide a boost for large inputs with word alignment.
44287         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44288         implementation based on optimized PPC64 strcpy.
44289         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44290         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44291         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44292         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44294 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44296         [BZ #2801]
44297         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44299 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44301         [BZ #14876]
44302         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44303         * time/tst-strptime.c (day_tests): Add testcase.
44305 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44307         [BZ #14029]
44308         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44310 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44312         [BZ #16074]
44313         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44314         MAP_FAILED on error.
44316 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44318         [BZ #16072]
44319         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44320         heap for large requests.
44322 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44324         [BZ #9954]
44325         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44326         result if the result has no associated interface.
44327         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44328         interface for all 127.X.Y.Z addresses.
44330 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44332         * locale/iso-639.def: Add Ligurian (lij)
44334 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44336         [BZ #15825]
44337         * sunrpc/rpc_main.c: Document rpcgen -5.
44339 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44341         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44343 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44345         [BZ #10278]
44346         * posix/glob.c: Match only directories when trailing slash is present.
44347         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44348         (main): Add testcase.
44350 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44352         [BZ #15670]
44353         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44355 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44357         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44358         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44359         AUTH_DES and cindex for FIPS 140-2.
44360         (DES Encryption): Add cindex FIPS 46-3.
44362         * locale/locarchive.h (struct locarhandle): Add fname.
44363         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44364         if an optional argument was specified to --list-archive,
44365         otherwise NULL.
44366         * locale/programs/locarchive.c (show_archive_content): Take new
44367         argument fname and pass it via ah.fname to open_archive.
44368         * locale/programs/localedef.h: Update decl.
44369         (open_archive): If AH->fname is non-null, open that file
44370         rather than the default file name, and don't ignore ENOENT.
44371         (create_archive): Set AH.fname to NULL.
44372         (delete_locales_from_archive): Likewise.
44373         (add_locales_to_archive): Likewise.
44374         * locale/programs/locfile.c (write_all_categories): Likewise.
44376 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44377             Aldy Hernandez  <aldyh@redhat.com>
44379         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44380         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44381         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44382         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44383         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44384         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44385         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44386         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44387         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44389         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44390         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44391         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44392         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44393         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44394         Likewise.
44395         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44396         Likewise.
44397         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44398         Likewise.
44399         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44400         Likewise.
44401         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44403         Likewise.
44404         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44405         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44406         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44407         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44408         Likewise.
44409         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44410         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44411         * sysdeps/powerpc/preconfigure: Likewise.
44412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44413         Likewise.
44414         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44415         Replace contents of file by #include of <fenv_libc.h>.
44416         * sysdeps/powerpc/soft-fp/sfp-machine.h
44417         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44418         and <sys/prctl.h>.
44419         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44421         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44422         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44424         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44432         Allow copysignl PLT reference to be missing.
44434 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44435             Joseph Myers  <joseph@codesourcery.com
44437         [BZ #15948]
44438         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44439         single character.
44440         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44442 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44445         * elf/tst-tls1.c: Likewise.
44446         * elf/tst-tls10.h: Likewise.
44447         * elf/tst-tls14.c: Likewise.
44448         * elf/tst-tls2.c: Likewise.
44449         * elf/tst-tls3.c: Likewise.
44450         * elf/tst-tls4.c: Likewise.
44451         * elf/tst-tls5.c: Likewise.
44452         * elf/tst-tls6.c: Likewise.
44453         * elf/tst-tls7.c: Likewise.
44454         * elf/tst-tls8.c: Likewise.
44455         * elf/tst-tls9.c: Likewise.
44456         * elf/tst-tlsmod1.c: Likewise.
44457         * elf/tst-tlsmod13.c: Likewise.
44458         * elf/tst-tlsmod13a.c: Likewise.
44459         * elf/tst-tlsmod14a.c: Likewise.
44460         * elf/tst-tlsmod16a.c: Likewise.
44461         * elf/tst-tlsmod16b.c: Likewise.
44462         * elf/tst-tlsmod2.c: Likewise.
44463         * elf/tst-tlsmod3.c: Likewise.
44464         * elf/tst-tlsmod4.c: Likewise.
44465         * elf/tst-tlsmod5.c: Likewise.
44466         * elf/tst-tlsmod6.c: Likewise.
44468 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44470         [BZ #12486]
44471         * malloc/malloc.c: remove checks for statistics.
44473 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44475         [BZ #15277]
44476         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44477         * inet/tst-network.c: Add testcase.
44479 2013-10-17  Andreas Schwab  <schwab@suse.de>
44481         [BZ #15218]
44482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44483         to determine canonical name.
44485 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44487         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44488         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44490         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44491         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44492         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44493         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44494         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44495         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44496         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44497         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44498         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44500         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44501         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44502         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44504         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44505         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44506         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44507         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44510         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44511         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44512         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44513         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44514         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44515         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44516         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44517         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44519         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44520         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44521         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44522         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44523         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44524         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44525         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44527         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44528         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44529         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44530         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44531         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44533         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44534         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44535         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44536         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44537         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44538         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44539         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44540         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44542         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44543         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44544         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44546 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44548         [BZ #16041]
44549         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44550         make result into a quiet NaN.
44552 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44554         * soft-fp/adddf3.c: Fix horizontal whitespace.
44555         * soft-fp/addsf3.c: Likewise.
44556         * soft-fp/addtf3.c: Likewise.
44557         * soft-fp/divdf3.c: Likewise.
44558         * soft-fp/divsf3.c: Likewise.
44559         * soft-fp/divtf3.c: Likewise.
44560         * soft-fp/double.h: Likewise.
44561         * soft-fp/eqdf2.c: Likewise.
44562         * soft-fp/eqsf2.c: Likewise.
44563         * soft-fp/eqtf2.c: Likewise.
44564         * soft-fp/extenddftf2.c: Likewise.
44565         * soft-fp/extended.h: Likewise.
44566         * soft-fp/extendsfdf2.c: Likewise.
44567         * soft-fp/extendsftf2.c: Likewise.
44568         * soft-fp/extendxftf2.c: Likewise.
44569         * soft-fp/fixdfdi.c: Likewise.
44570         * soft-fp/fixdfsi.c: Likewise.
44571         * soft-fp/fixdfti.c: Likewise.
44572         * soft-fp/fixsfdi.c: Likewise.
44573         * soft-fp/fixsfsi.c: Likewise.
44574         * soft-fp/fixsfti.c: Likewise.
44575         * soft-fp/fixtfdi.c: Likewise.
44576         * soft-fp/fixtfsi.c: Likewise.
44577         * soft-fp/fixtfti.c: Likewise.
44578         * soft-fp/fixunsdfdi.c: Likewise.
44579         * soft-fp/fixunsdfsi.c: Likewise.
44580         * soft-fp/fixunsdfti.c: Likewise.
44581         * soft-fp/fixunssfdi.c: Likewise.
44582         * soft-fp/fixunssfsi.c: Likewise.
44583         * soft-fp/fixunssfti.c: Likewise.
44584         * soft-fp/fixunstfdi.c: Likewise.
44585         * soft-fp/fixunstfsi.c: Likewise.
44586         * soft-fp/fixunstfti.c: Likewise.
44587         * soft-fp/floatdidf.c: Likewise.
44588         * soft-fp/floatdisf.c: Likewise.
44589         * soft-fp/floatditf.c: Likewise.
44590         * soft-fp/floatsidf.c: Likewise.
44591         * soft-fp/floatsisf.c: Likewise.
44592         * soft-fp/floatsitf.c: Likewise.
44593         * soft-fp/floattidf.c: Likewise.
44594         * soft-fp/floattisf.c: Likewise.
44595         * soft-fp/floattitf.c: Likewise.
44596         * soft-fp/floatundidf.c: Likewise.
44597         * soft-fp/floatundisf.c: Likewise.
44598         * soft-fp/floatunditf.c: Likewise.
44599         * soft-fp/floatunsidf.c: Likewise.
44600         * soft-fp/floatunsisf.c: Likewise.
44601         * soft-fp/floatunsitf.c: Likewise.
44602         * soft-fp/floatuntidf.c: Likewise.
44603         * soft-fp/floatuntisf.c: Likewise.
44604         * soft-fp/floatuntitf.c: Likewise.
44605         * soft-fp/fmadf4.c: Likewise.
44606         * soft-fp/fmasf4.c: Likewise.
44607         * soft-fp/fmatf4.c: Likewise.
44608         * soft-fp/gedf2.c: Likewise.
44609         * soft-fp/gesf2.c: Likewise.
44610         * soft-fp/getf2.c: Likewise.
44611         * soft-fp/ledf2.c: Likewise.
44612         * soft-fp/lesf2.c: Likewise.
44613         * soft-fp/letf2.c: Likewise.
44614         * soft-fp/muldf3.c: Likewise.
44615         * soft-fp/mulsf3.c: Likewise.
44616         * soft-fp/multf3.c: Likewise.
44617         * soft-fp/negdf2.c: Likewise.
44618         * soft-fp/negsf2.c: Likewise.
44619         * soft-fp/negtf2.c: Likewise.
44620         * soft-fp/op-1.h: Likewise.
44621         * soft-fp/op-2.h: Likewise.
44622         * soft-fp/op-4.h: Likewise.
44623         * soft-fp/op-8.h: Likewise.
44624         * soft-fp/op-common.h: Likewise.
44625         * soft-fp/quad.h: Likewise.
44626         * soft-fp/single.h: Likewise.
44627         * soft-fp/soft-fp.h: Likewise.
44628         * soft-fp/sqrtdf2.c: Likewise.
44629         * soft-fp/sqrtsf2.c: Likewise.
44630         * soft-fp/sqrttf2.c: Likewise.
44631         * soft-fp/subdf3.c: Likewise.
44632         * soft-fp/subsf3.c: Likewise.
44633         * soft-fp/subtf3.c: Likewise.
44634         * soft-fp/truncdfsf2.c: Likewise.
44635         * soft-fp/trunctfdf2.c: Likewise.
44636         * soft-fp/trunctfsf2.c: Likewise.
44637         * soft-fp/trunctfxf2.c: Likewise.
44638         * soft-fp/unorddf2.c: Likewise.
44639         * soft-fp/unordsf2.c: Likewise.
44640         * soft-fp/unordtf2.c: Likewise.
44642 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44644         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44645         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44647 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44649         * elf/dl-libc.c: Clear initfini list after freeing.
44651 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44653         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44654         * soft-fp/addsf3.c: Likewise.
44655         * soft-fp/addtf3.c: Likewise.
44656         * soft-fp/divdf3.c: Likewise.
44657         * soft-fp/divsf3.c: Likewise.
44658         * soft-fp/divtf3.c: Likewise.
44659         * soft-fp/double.h: Likewise.
44660         * soft-fp/eqdf2.c: Likewise.
44661         * soft-fp/eqsf2.c: Likewise.
44662         * soft-fp/eqtf2.c: Likewise.
44663         * soft-fp/extenddftf2.c: Likewise.
44664         * soft-fp/extended.h: Likewise.
44665         * soft-fp/extendsfdf2.c: Likewise.
44666         * soft-fp/extendsftf2.c: Likewise.
44667         * soft-fp/extendxftf2.c: Likewise.
44668         * soft-fp/fixdfdi.c: Likewise.
44669         * soft-fp/fixdfsi.c: Likewise.
44670         * soft-fp/fixdfti.c: Likewise.
44671         * soft-fp/fixsfdi.c: Likewise.
44672         * soft-fp/fixsfsi.c: Likewise.
44673         * soft-fp/fixsfti.c: Likewise.
44674         * soft-fp/fixtfdi.c: Likewise.
44675         * soft-fp/fixtfsi.c: Likewise.
44676         * soft-fp/fixtfti.c: Likewise.
44677         * soft-fp/fixunsdfdi.c: Likewise.
44678         * soft-fp/fixunsdfsi.c: Likewise.
44679         * soft-fp/fixunsdfti.c: Likewise.
44680         * soft-fp/fixunssfdi.c: Likewise.
44681         * soft-fp/fixunssfsi.c: Likewise.
44682         * soft-fp/fixunssfti.c: Likewise.
44683         * soft-fp/fixunstfdi.c: Likewise.
44684         * soft-fp/fixunstfsi.c: Likewise.
44685         * soft-fp/fixunstfti.c: Likewise.
44686         * soft-fp/floatdidf.c: Likewise.
44687         * soft-fp/floatdisf.c: Likewise.
44688         * soft-fp/floatditf.c: Likewise.
44689         * soft-fp/floatsidf.c: Likewise.
44690         * soft-fp/floatsisf.c: Likewise.
44691         * soft-fp/floatsitf.c: Likewise.
44692         * soft-fp/floattidf.c: Likewise.
44693         * soft-fp/floattisf.c: Likewise.
44694         * soft-fp/floattitf.c: Likewise.
44695         * soft-fp/floatundidf.c: Likewise.
44696         * soft-fp/floatundisf.c: Likewise.
44697         * soft-fp/floatunsidf.c: Likewise.
44698         * soft-fp/floatunsisf.c: Likewise.
44699         * soft-fp/floatuntidf.c: Likewise.
44700         * soft-fp/floatuntisf.c: Likewise.
44701         * soft-fp/floatuntitf.c: Likewise.
44702         * soft-fp/fmadf4.c: Likewise.
44703         * soft-fp/fmasf4.c: Likewise.
44704         * soft-fp/fmatf4.c: Likewise.
44705         * soft-fp/gedf2.c: Likewise.
44706         * soft-fp/gesf2.c: Likewise.
44707         * soft-fp/getf2.c: Likewise.
44708         * soft-fp/ledf2.c: Likewise.
44709         * soft-fp/lesf2.c: Likewise.
44710         * soft-fp/letf2.c: Likewise.
44711         * soft-fp/muldf3.c: Likewise.
44712         * soft-fp/mulsf3.c: Likewise.
44713         * soft-fp/multf3.c: Likewise.
44714         * soft-fp/negdf2.c: Likewise.
44715         * soft-fp/negsf2.c: Likewise.
44716         * soft-fp/negtf2.c: Likewise.
44717         * soft-fp/op-1.h: Likewise.
44718         * soft-fp/op-2.h: Likewise.
44719         * soft-fp/op-4.h: Likewise.
44720         * soft-fp/op-8.h: Likewise.
44721         * soft-fp/op-common.h: Likewise.
44722         * soft-fp/quad.h: Likewise.
44723         * soft-fp/single.h: Likewise.
44724         * soft-fp/soft-fp.h: Likewise.
44725         * soft-fp/sqrtdf2.c: Likewise.
44726         * soft-fp/sqrtsf2.c: Likewise.
44727         * soft-fp/sqrttf2.c: Likewise.
44728         * soft-fp/subdf3.c: Likewise.
44729         * soft-fp/subsf3.c: Likewise.
44730         * soft-fp/subtf3.c: Likewise.
44731         * soft-fp/truncdfsf2.c: Likewise.
44732         * soft-fp/trunctfdf2.c: Likewise.
44733         * soft-fp/trunctfsf2.c: Likewise.
44734         * soft-fp/trunctfxf2.c: Likewise.
44735         * soft-fp/unorddf2.c: Likewise.
44736         * soft-fp/unordsf2.c: Likewise.
44737         * soft-fp/unordtf2.c: Likewise.
44739 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44741         [BZ #15672]
44742         * misc/error.c (error_tail): Fix possible buffer overflow.
44744 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44746         [BZ #13028]
44747         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44748         address.
44750 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44752         [BZ #832]
44753         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44754         testing pipefail option.
44756 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44758         * soft-fp/double.h: Indent preprocessor directives inside #if.
44759         * soft-fp/extended.h: Likewise.
44760         * soft-fp/op-2.h: Likewise.
44761         * soft-fp/op-4.h: Likewise.
44762         * soft-fp/op-common.h: Likewise.
44763         * soft-fp/quad.h: Likewise.
44764         * soft-fp/single.h: Likewise.
44765         * soft-fp/soft-fp.h: Likewise.
44767 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44769         * iconv/iconv_prog.c: Fix typos.
44770         * stdio-common/psiginfo-data.h: Likewise.
44772 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44774         [BZ #15764]
44775         * locale/setlocale.c: Fix typo.
44777 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44779         [BZ #16036]
44780         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44781         signaling NaN arguments.
44782         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44783         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44785         [BZ #14910]
44786         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44787         unordered operands.
44788         * soft-fp/gesf2.c (__gesf2): Likewise.
44789         * soft-fp/getf2.c (__getf2): Likewise.
44790         * soft-fp/ledf2.c (__ledf2): Likewise.
44791         * soft-fp/lesf2.c (__lesf2): Likewise.
44792         * soft-fp/letf2.c (__letf2): Likewise.
44794         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44795         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44796         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44797         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44798         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44799         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44800         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44801         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44802         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44803         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44804         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44805         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44806         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44807         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44808         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44809         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44810         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44811         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44812         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44813         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44814         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44815         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44816         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44817         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44818         * soft-fp/floattidf.c (__floattidf): Likewise.
44819         * soft-fp/floattisf.c (__floattisf): Likewise.
44820         * soft-fp/floattitf.c (__floattitf): Likewise.
44821         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44822         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44823         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44824         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44825         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44826         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44827         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44828         * soft-fp/gesf2.c (__gesf2): Likewise.
44829         * soft-fp/getf2.c (__getf2): Likewise.
44830         * soft-fp/ledf2.c (__ledf2): Likewise.
44831         * soft-fp/lesf2.c (__lesf2): Likewise.
44832         * soft-fp/letf2.c (__letf2): Likewise.
44834         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44835         Undefine and redefine.
44836         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44837         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44838         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44839         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44840         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44841         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44842         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44843         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44844         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44845         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44846         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44847         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44848         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44849         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44850         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44852         [BZ #16032]
44853         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44854         without decrementing exponent if mantissa >= that for the
44855         denominator, not >.
44856         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44857         denominator, not >.  Decrement exponent in < case instead of
44858         incrementing in >= case.
44859         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44860         without decrementing exponent if mantissa >= that for the
44861         denominator, not >.
44863         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44864         computing saturated result for unsigned overflow.
44866 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44867             Jeff Law  <law@redhat.com>
44869         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44870         (atan2Mp): Add systemtap probe marker.
44871         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44872         (__ieee754_log): Add systemtap probe marker.
44873         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44874         (atanMp): Add systemtap probe marker.
44875         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44876         (tanMp): Add systemtap probe marker.
44877         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44878         (__slowexp): Add systemtap probe marker.
44879         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44880         (__slowpow): Add systemtap probe marker.
44881         * manual/probes.texi: Document probes.
44883 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44885         [BZ #15362]
44886         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44887         written.
44888         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44889         written.
44890         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44891         written to buffer but not flushed.
44892         * libio/iofwrite_u.c:  Likewise.
44893         * libio/iopadn.c:  Return bytes returned even if EOF was
44894         encountered.
44895         * libio/iowpadn.c:  Likewise.
44896         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44897         if _IO_padn does not write the whole buffer.
44898         [!COMPILE_WPRINTF] (PAD): Likewise.
44900 2013-10-10  David S. Miller  <davem@davemloft.net>
44902         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44903         directory block.
44905 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44907         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44908         instead of FSF address.
44909         * soft-fp/fixdfti.c: Likewise.
44910         * soft-fp/fixsfti.c: Likewise.
44911         * soft-fp/fixtfti.c: Likewise.
44912         * soft-fp/fixunsdfti.c: Likewise.
44913         * soft-fp/fixunssfti.c: Likewise.
44914         * soft-fp/fixunstfti.c: Likewise.
44915         * soft-fp/floattidf.c: Likewise.
44916         * soft-fp/floattisf.c: Likewise.
44917         * soft-fp/floattitf.c: Likewise.
44918         * soft-fp/floatuntidf.c: Likewise.
44919         * soft-fp/floatuntisf.c: Likewise.
44920         * soft-fp/floatuntitf.c: Likewise.
44921         * soft-fp/trunctfxf2.c: Likewise.
44923         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44924         * soft-fp/fixdfti.c: Likewise.
44925         * soft-fp/fixsfti.c: Likewise.
44926         * soft-fp/fixtfti.c: Likewise.
44927         * soft-fp/fixunsdfti.c: Likewise.
44928         * soft-fp/fixunssfti.c: Likewise.
44929         * soft-fp/fixunstfti.c: Likewise.
44930         * soft-fp/floattidf.c: Likewise.
44931         * soft-fp/floattisf.c: Likewise.
44932         * soft-fp/floattitf.c: Likewise.
44933         * soft-fp/floatuntidf.c: Likewise.
44934         * soft-fp/floatuntisf.c: Likewise.
44935         * soft-fp/floatuntitf.c: Likewise.
44936         * soft-fp/trunctfxf2.c: Likewise.
44938 2013-10-10  David S. Miller  <davem@davemloft.net>
44940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44942 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44944         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44945         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44946         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44947         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44948         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44949         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44950         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44952         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44953         for NaNs before doing comparisons on argument.
44954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44955         Likewise.
44957 2013-10-10  Will Newton  <will.newton@linaro.org>
44959         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44960         passed to _int_memalign does not overflow.
44962 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44964         * scripts/bench.pl: Add include-sources directive.
44965         * benchtests/README: Update documentation.
44967 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44969         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44970         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44971         instead of FP_INIT_ROUNDMODE.
44972         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44973         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44975         [BZ #16034]
44976         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44977         copy class of input value.
44978         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44979         not handle exceptions.
44980         * soft-fp/negsf2.c (__negsf2): Likewise.
44981         * soft-fp/negtf2.c (__negtf2): Likewise.
44982         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44984 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44986         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44987         semicolon.  From Linux kernel.
44989 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44991         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44993 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44995         [BZ #156]
44996         * manual/socket.texi: Added statement about buffer
44997         for gethostbyname2_r.
44999 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45001         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45002         Use .p2align directive instead, throughout.
45003         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45004         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45005         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45008         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45009         * sysdeps/x86_64/strchr.S: Likewise.
45010         * sysdeps/x86_64/strrchr.S: Likewise.
45012 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45016         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45018         * sysdeps/generic/math_private.h (__mpsin1): Remove
45019         declaration.
45020         (__mpcos1): Likewise.
45021         (__mpsin): New argument __range_reduce.
45022         (__mpcos): Likewise.
45023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45024         (slow): Use __mpsin and __mpcos.
45025         (slow1): Likewise.
45026         (slow2): Likewise.
45027         (sloww): Likewise.
45028         (sloww1): Likewise.
45029         (sloww2): Likewise.
45030         (bsloww): Likewise.
45031         (bsloww1): Likewise.
45032         (bsloww2): Likewise.
45033         (cslow2): Likewise.
45034         (csloww): Likewise.
45035         (csloww1): Likewise.
45036         (csloww2): Likewise.
45037         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45038         range_reduce.  Merge in __mpsin1.
45039         (__mpcos): Likewise.
45040         (__mpsin1): Remove.
45041         (__mpcos1): Likewise.
45043 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45045         * locale/loadlocale.c (_nl_intern_locale_data): Use
45046         LOCFILE_ALIGNED_P.
45047         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45048         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45049         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45050         obstack data is appropriately aligned.
45051         (obstack_int32_grow_fast): Likewise.
45052         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45053         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45054         (add_locale_uint32_array): Likewise.
45056 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45058         * benchtests/Makefile: Remove ARGLIST and RET variables.
45059         ($(objpfx)bench-%.c): Pass only function name to the script.
45060         * benchtests/README: Update documentation.
45061         * benchtests/acos-inputs: Add new directives.
45062         * benchtests/acosh-inputs: Likewise.
45063         * benchtests/asin-inputs: Likewise.
45064         * benchtests/asinh-inputs: Likewise.
45065         * benchtests/atan-inputs: Likewise.
45066         * benchtests/atanh-inputs: Likewise.
45067         * benchtests/cos-inputs: Likewise.
45068         * benchtests/cosh-inputs: Likewise.
45069         * benchtests/exp-inputs: Likewise.
45070         * benchtests/log-inputs: Likewise.
45071         * benchtests/pow-inputs: Likewise.
45072         * benchtests/rint-inputs: Likewise.
45073         * benchtests/sin-inputs: Likewise.
45074         * benchtests/sinh-inputs: Likewise.
45075         * benchtests/tan-inputs: Likewise.
45076         * benchtests/tanh-inputs: Likewise.
45077         * scripts/bench.pl: Add support for new directives.
45079 2013-10-07  Alan Modra  <amodra@gmail.com>
45081         * README: Fix careless merge.
45083 2013-10-05  Alan Modra  <amodra@gmail.com>
45085         * NEWS: Mention powerpc64le support and bugs fixed.
45086         * README: Both big-endian and little-endian powerpc64 supported.
45088 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45090         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45091         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45092         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45093         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45095 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45097         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45098         match prototype.
45100 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45102         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45103         Move -mhard-float appending from
45104         ports/sysdeps/powerpc/powerpc32/Makefile.
45105         [$(with-fp) = yes] (ASFLAGS): Likewise.
45106         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45107         * sysdeps/powerpc/nofpu: Move directory from
45108         ports/sysdeps/powerpc/nofpu.
45109         * sysdeps/powerpc/soft-fp: Move directory from
45110         ports/sysdeps/powerpc/soft-fp.
45111         * sysdeps/powerpc/powerpc32/405: Move directory from
45112         ports/sysdeps/powerpc/powerpc32/405.
45113         * sysdeps/powerpc/powerpc32/440: Move directory from
45114         ports/sysdeps/powerpc/powerpc32/440.
45115         * sysdeps/powerpc/powerpc32/464: Move directory from
45116         ports/sysdeps/powerpc/powerpc32/464.
45117         * sysdeps/powerpc/powerpc32/476: Move directory from
45118         ports/sysdeps/powerpc/powerpc32/476.
45119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45120         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45122         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45124         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45126         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45128         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45129         * README: Update for powerpc-*-linux-gnu software floating point
45130         support in libc.
45132         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45133         case to powerpc/powerpc32*.
45134         * sysdeps/unix/sysv/linux/configure: Regenerated.
45136         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45137         (_FPU_MASK_OM): Define as 0x04.
45138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45140         0x00c10080.
45141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45142         0x0000003c.
45143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45146         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45147         getcontext_e500.
45148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45149         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45150         setcontext_e500.
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45152         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45153         and setcontext_e500.
45155 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45157         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45159 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45161         * manual/threads.texi (Default Thread Attributes): Fix typo.
45163 2013-10-04  Will Newton  <will.newton@linaro.org>
45165         * malloc/Makefile: Add tst-memalign.
45166         * malloc/tst-memalign.c: New file.
45168         * malloc/tst-posix_memalign.c: Add comments.
45169         (do_test): Add comments and call free on all potentially
45170         allocated pointers. Add space after cast.
45172         * malloc/tst-pvalloc.c: Add comments.
45173         (do_test): Add comments and call free on all potentially
45174         allocated pointers. Remove duplicate check for NULL pointer.
45175         Add space after cast.
45177         * malloc/tst-valloc.c: Add comments.
45178         (do_test): Add comments and call free on all potentially
45179         allocated pointers. Remove duplicate check for NULL pointer.
45180         Add space after cast.
45182 2013-10-04  Alan Modra  <amodra@gmail.com>
45184         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45185         Use stdint types in rather than __attribute__((mode())).
45186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45188 2013-10-04  Alan Modra  <amodra@gmail.com>
45190         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45191         Correct handling of unaligned relocs for little-endian.
45192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45194 2013-10-04  Alan Modra  <amodra@gmail.com>
45196         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45197         * configure: Regenerate.
45198         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45199         * shlib-versions: Likewise.
45201 2013-10-04  Alan Modra  <amodra@gmail.com>
45203         * string/tester.c (test_memrchr): Increment reported test cycle.
45205 2013-10-04  Alan Modra  <amodra@gmail.com>
45207         * string/test-memcpy.c (do_one_test): When reporting errors, print
45208         string address and don't overrun end of string.
45210 2013-10-04  Alan Modra  <amodra@gmail.com>
45212         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45213         insrdi.  Make better use of reg selection to speed exit slightly.
45214         Schedule entry path a little better.  Remove useless "are we done"
45215         checks on entry to main loop.  Handle wrapping around zero address.
45216         Correct main loop count.  Handle single left-over word from main
45217         loop inline rather than by using loop_small.  Remove extra word
45218         case in loop_small caused by wrong loop count.  Add little-endian
45219         support.
45220         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45222         cache hint.
45223         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45224         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45225         support.  Avoid rlwimi.
45226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45228 2013-10-04  Alan Modra  <amodra@gmail.com>
45230         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45231         insrdi.  Formatting.
45232         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45233         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45234         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45235         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45236         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45237         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45239 2013-10-04  Alan Modra  <amodra@gmail.com>
45241         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45242         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45243         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45244         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45245         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45246         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45247         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45248         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45249         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45250         use of regs.  Use power7 mtocrf.  Tidy function tails.
45252 2013-10-04  Alan Modra  <amodra@gmail.com>
45254         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45255         Formatting.  Consistently use rXXX register defines or rN defines.
45256         Use early exit labels that avoid restoring unused non-volatile regs.
45257         Make cr field use more consistent with rWORDn compares.  Rename
45258         regs used as shift registers for unaligned loop, using rN defines
45259         for short lifetime/multiple use regs.
45260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45261         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45262         addi 1,1,64 to pop stack frame.  Simplify return value code.
45263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45265 2013-10-04  Alan Modra  <amodra@gmail.com>
45267         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45268         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45269         rather than rlwimi.
45270         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45271         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45272         little-endian support.  Correct typos.
45273         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45274         rather than rlwimi.
45275         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45276         in loop and entry code to keep "and." results.
45277         (strchr): Add little-endian support.  Comment.  Move cntlzd
45278         earlier in tail.
45279         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45281 2013-10-04  Alan Modra  <amodra@gmail.com>
45283         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45284         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45285         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45286         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45288 2013-10-04  Alan Modra  <amodra@gmail.com>
45290         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45291         (rTMP): Define as r11.
45292         (strcmp): Add little-endian support.  Optimise tail.
45293         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45294         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45295         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45296         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45297         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45301 2013-10-04  Alan Modra  <amodra@gmail.com>
45303         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45304         little-endian support.  Remove unnecessary "are we done" tests.
45305         Handle "s" wrapping around zero and extremely large "size".
45306         Correct main loop count.  Handle single left-over word from main
45307         loop inline rather than by using small_loop.  Correct comments.
45308         Delete "zero" tail, use "end_max" instead.
45309         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45311 2013-10-04  Alan Modra  <amodra@gmail.com>
45313         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45314         support.  Don't branch over align.
45315         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45316         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45317         support.  Rearrange tmp reg use to suit.  Comment.
45318         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45320 2013-10-04  Alan Modra  <amodra@gmail.com>
45322         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45324 2013-10-04  Alan Modra  <amodra@gmail.com>
45326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45327         conditional form of branch and link when obtaining pc.
45328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45330 2013-10-04  Alan Modra  <amodra@gmail.com>
45332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45333         HIWORD/LOWORD.
45334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45337 2013-10-04  Alan Modra  <amodra@gmail.com>
45339         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45340         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45341         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45342         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45343         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45344         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45345         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45346         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45347         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45348         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45350 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45351             Alistair Popple <alistair@ozlabs.au.ibm.com>
45352             Alan Modra <amodra@gmail.com>
45354         [BZ #15723]
45355         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45356         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45357         _dl_hwcap access for little-endian.
45358         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45359         destroy vmx regs when saving unaligned.
45360         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45362         destroy vmx regs when saving unaligned.
45364 2013-10-04  Alan Modra  <amodra@gmail.com>
45366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45367         Don't use a union to pack hi/low value.
45369 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45371         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45372         for little-endian.
45373         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45374         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45375         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45376         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45377         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45379 2013-10-04  Alan Modra  <amodra@gmail.com>
45381         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45382         constants to usual value for .cst8 section, and remove redundant
45383         high address load.
45384         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45385         constant for 0x1p52.  Load little-endian words of double from
45386         correct stack offsets.
45388 2013-10-04  Alan Modra  <amodra@gmail.com>
45390         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45391         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45392         words of double from correct stack offsets.
45393         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45394         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45395         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45396         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45397         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45399         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45400         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45401         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45405         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45406         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45407         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45408         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45409         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45411 2013-10-04  Alan Modra  <amodra@gmail.com>
45413         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45414         64-bit int/double union.
45415         (_FPU_SETCW): Likewise.
45416         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45417         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45419 2013-10-04  Alan Modra  <amodra@gmail.com>
45421         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45422         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45424 2013-10-04  Alan Modra  <amodra@gmail.com>
45426         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45427         use vector int constants.
45428         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45430 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45432         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45433         array with long long.
45434         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45435         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45436         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45437         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45438         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45439         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45440         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45441         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45442         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45443         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45444         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45445         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45446         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45448 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45450         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45451         (__signbit): Likewise.  Correct for little-endian.
45452         (__signbitl): Call __signbit.
45453         (lrint): Correct for little-endian.
45454         (lrintf): Call lrint.
45456 2013-10-04  Alan Modra  <amodra@gmail.com>
45458         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45459         union 32-bit int array member with 64-bit int array.
45460         (t515, tm256): Double rather than long double.
45461         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45463 2013-10-04  Alan Modra  <amodra@gmail.com>
45465         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45466         Delete.
45467         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45469         version of math_ldbl.h.
45471 2013-10-04  Alan Modra  <amodra@gmail.com>
45473         [BZ #15734], [BZ #15735]
45474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45475         all uses of ieee875 long double macros and unions.  Simplify test
45476         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45477         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45478         normalize after ldbl_extract_mantissa, and don't add hidden bit
45479         already handled.  Don't treat low word of ieee854 mantissa like
45480         low word of IBM long double and mask off bit when testing for
45481         zero.
45482         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45483         all uses of ieee875 long double macros and unions.  Simplify tests
45484         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45485         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45486         two1022, instead use their values.  Recognise that tests for large
45487         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45488         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45489         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45490         test for 0.0L and nan.  Correct negation.
45491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45492         ieee875 long double macros and unions.  Correct output for large
45493         magnitude x.  Correct absolute value calculation.
45494         (__erfcl): Likewise.
45495         * math/libm-test.inc: Add tests for errors discovered in IBM long
45496         double versions of fmodl, remainderl, erfl and erfcl.
45498 2013-10-04  Alan Modra  <amodra@gmail.com>
45500         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45501         all uses of ieee854 long double macros and unions.  Simplify tests
45502         for long doubles that are fully specified by the high double.
45503         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45504         Likewise.
45505         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45506         Remove dead code too.
45507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45508         (__ieee754_ynl): Likewise.
45509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45511         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45512         Remove dead code too.
45513         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45514         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45515         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45516         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45517         Simplify.
45518         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45519         Simplify.
45520         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45521         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45523         Comment on variable precision.
45524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45525         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45526         Likewise.
45527         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45528         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45529         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45530         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45531         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45533 2013-10-04  Alan Modra  <amodra@gmail.com>
45535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45536         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45537         all uses of ieee854 long double macros and unions.
45538         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45539         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45540         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45541         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45542         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45543         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45544         Likewise.
45545         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45546         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45547         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45548         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45550         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45551         Simplify sign and nan test too.
45552         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45553         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45554         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45555         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45556         Likewise.
45557         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45558         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45559         Likewise.
45560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45561         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45562         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45563         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45564         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45565         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45567 2013-10-04  Alan Modra  <amodra@gmail.com>
45569         * stdio-common/printf_size.c (__printf_size): Don't use
45570         union ieee854_long_double in fpnum union.
45571         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45572         signbit macro to retrieve sign from long double.
45573         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45574         retrieve sign from long double.
45575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45576         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45577         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45578         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45579         * math/test-misc.c (main): Don't use union ieee854_long_double.
45581 2013-10-04  Alan Modra  <amodra@gmail.com>
45583         [BZ #15680]
45584         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45585         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45586         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45587         calculation.  Remove unnecessary test for denormal exponent.
45588         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45589         Correct handling of denormals.  Avoid undefined shift behaviour.
45590         Correct normalisation of low mantissa when low double is denormal.
45591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45592         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45593         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45594         Correct normalisation of low mantissa.  Test for overflow of high
45595         mantissa and normalise.
45596         (ldbl_nearbyint): Use more readable constant for two52.
45597         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45598         (__mpn_construct_long_double): Fix test for overflow of high
45599         mantissa and correct normalisation.  Avoid undefined shift.
45601 2013-10-04  Alan Modra  <amodra@gmail.com>
45603         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45604         (union ibm_extended_long_double): Define as an array of ieee754_double.
45605         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45606         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45607         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45608         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45610         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45612         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45614         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45615         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45617 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45619         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45620         page size instead of calling getpagesize.
45622         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45623         (LOCFILE_ALIGN_MASK): Likewise.
45624         (LOCFILE_ALIGN_UP): Likewise.
45625         (LOCFILE_ALIGNED_P): Likewise.
45626         * locale/programs/ld-collate.c (collate_output): Use the new
45627         macros instead of __alignof__ (int32_t).
45628         * locale/weight.h (findidx): Likewise.
45630 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45632         [BZ #431]
45633         * manual/string.texi: Fix strncat and wcsncat.
45635 2013-10-03  Brooks Moses  <bmoses@google.com>
45637         [BZ #15915]
45638         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45639         * Makerules: ...here, and adjust associated comments.
45641 2013-10-02  Will Newton  <will.newton@linaro.org>
45643         * malloc/Makefile: Add tst-pvalloc.
45644         * malloc/tst-pvalloc.c: New file.
45646 2013-10-02  Will Newton  <will.newton@linaro.org>
45648         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45649         improve test coverage.
45651 2013-10-02  Will Newton  <will.newton@linaro.org>
45653         * malloc/Makefile: Add tst-posix_memalign.
45654         * malloc/tst-posix_memalign.c: New file.
45656 2013-10-01  Eric Blake  <eblake@redhat.com>
45658         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45659         Use __THROWNL rather than __THROW on static functions.
45661 2013-09-30  Petr Machata  <pmachata@redhat.com>
45663         * elf/elf.h (R_AARCH64_ABS16): New macro.
45664         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45665         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45666         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45667         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45668         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45669         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45670         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45671         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45672         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45673         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45674         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45675         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45676         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45677         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45678         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45679         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45680         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45681         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45682         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45683         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45684         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45685         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45686         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45687         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45688         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45689         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45690         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45691         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45692         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45693         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45694         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45695         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45696         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45697         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45698         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45699         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45700         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45701         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45702         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45703         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45704         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45705         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45706         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45707         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45708         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45709         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45710         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45711         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45712         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45713         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45714         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45715         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45716         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45717         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45718         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45719         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45720         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45721         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45722         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45723         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45724         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45725         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45726         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45727         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45728         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45729         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45730         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45731         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45732         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45733         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45734         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45735         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45736         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45737         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45738         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45739         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45740         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45741         (R_AARCH64_TLSDESC_LDR): Likewise.
45742         (R_AARCH64_TLSDESC_ADD): Likewise.
45743         (R_AARCH64_TLSDESC_CALL): Likewise.
45745 2013-09-30  Andreas Schwab  <schwab@suse.de>
45747         [BZ #15048]
45748         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45749         the nss database lookup.
45750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45753 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45755         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45757 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45760         ${Bash-specific parameter/pattern/string} parameter expansion.
45761         * sysdeps/unix/make-syscalls.sh: Likewise.
45763 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45765         * sysdeps/sh/stackguard-macros.h: New file.
45767 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45771         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45772         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45773         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45774         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45776 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45778         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45779         Fix thread ID register.
45781 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45783         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45784         [POSIX || UNIX98]: Require rather than permitting all symbols from
45785         <time.h>.
45786         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45787         element of struct sched_param.
45788         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45789         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45790         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45791         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45792         constant.
45794 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45796         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45797         argument calculation.
45799 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45801         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45802         Expect macro.
45803         [POSIX] (pthread_attr_t): Do not require type.
45804         [POSIX] (pthread_cond_t): Likewise.
45805         [POSIX] (pthread_condattr_t): Likewise.
45806         [POSIX] (pthread_key_t): Likewise.
45807         [POSIX] (pthread_mutex_t): Likewise.
45808         [POSIX] (pthread_mutexattr_t): Likewise.
45809         [POSIX] (pthread_once_t): Likewise.
45810         [POSIX] (pthread_t): Likewise.
45811         [POSIX-based standards] (pthread_atfork): Expect function.
45813 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45814             Richard Sandiford  <richard@codesourcery.com>
45816         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45817         (swap_endianness_p): New extern variable.
45818         (set_big_endian): New inline function.
45819         (maybe_swap_uint32): Likewise.
45820         (maybe_swap_uint32_array): Likewise.
45821         (maybe_swap_uint32_obstack): Likewise.
45822         * locale/programs/locfile.c: Include <stdbool.h>.
45823         (swap_endianness_p): New variable.
45824         (add_locale_uint32): Call maybe_swap_uint32.
45825         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45826         (write_locale_data): Call maybe_swap_uint32_array.
45827         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45828         maybe_swap_uint32.
45829         (obstack_int32_grow_fast): Likewise.
45830         (output_weightwc): Call maybe_swap_uint32_obstack.
45831         (collate_output): Likewise.
45832         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45833         (OPT_LITTLE_ENDIAN): Likewise.
45834         (options): Add --little-endian and --big-endian options.
45835         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45836         * locale/programs/locarchive.c: Include "locfile.h".
45837         (GET): New macro.
45838         (SET): Likewise.
45839         (INC): Likewise.
45840         (create_archive): Use the new macros to access fields of
45841         structures directly mapped from or written to locale archives.
45842         (oldlocrecentcmp): Likewise.
45843         (enlarge_archive): Likewise.
45844         (insert_name): Likewise.
45845         (add_alias): Likewise.
45846         (add_locale): Likewise.
45847         (delete_locales_from_archive): Likewise.
45848         (show_archive_content): Likewise.
45849         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45850         locale data.
45852 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45854         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45855         http://www.gnu.org/doc/freemanuals.texi.
45856         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45858 2013-09-24  Will Newton  <will.newton@linaro.org>
45860         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45861         macro.
45863 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45865         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45866         unsigned char.
45868 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45870         * manual/threads.texi (POSIX Threads): Fix a typo.
45872 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45874         [BZ #14547]
45875         * string/tst-strcoll-overflow.c: New test case.
45876         * string/Makefile (xtests): Add tst-strcoll-overflow.
45877         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45878         cache if string sizes may cause integer overflow.
45880         [BZ #14547]
45881         * string/strcoll_l.c (coll_seq): New members rule, idx,
45882         save_idx and back_us.
45883         (get_next_seq_nocache): New function.
45884         (do_compare_nocache): New function.
45885         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45886         when malloc fails.
45888 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45890         [BZ #15754]
45891         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45892         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45893         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45895         [BZ #15754]
45896         * elf/Makefile (tests): Add tst-ptrguard1.
45897         (tests-static): Add tst-ptrguard1-static.
45898         (tst-ptrguard1-ARGS): Define.
45899         (tst-ptrguard1-static-ARGS): Define.
45900         * elf/tst-ptrguard1.c: New file.
45901         * elf/tst-ptrguard1-static.c: New file.
45902         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45903         * sysdeps/i386/stackguard-macros.h: Likewise.
45904         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45905         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45906         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45907         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45908         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45909         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45911 2013-09-23  Hector Marco  <hecmargi@upv.es>
45912             Ismael Ripoll  <iripoll@disca.upv.es>
45913             Carlos O'Donell  <carlos@redhat.com>
45915         [BZ #15754]
45916         * sysdeps/generic/stackguard-macros.h: Define
45917         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45918         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45919         Define __pointer_chk_guard_local.
45920         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45921         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45923 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45925         [BZ #15859]
45926         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45928 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45930         * include/string.h (__ffs): Declare as hidden.
45931         * string/ffs.c (__ffs): Define as hidden.
45932         * sysdeps/i386/ffs.c (__ffs): Likewise.
45933         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45934         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45935         * sysdeps/s390/ffs.c (__ffs): Likewise.
45936         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45938 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45940         * NEWS: Mention malloc probes.
45942         * malloc/arena.c (new_heap): New memory_heap_new probe.
45943         (grow_heap): New memory_heap_more probe.
45944         (shrink_heap): New memory_heap_less probe.
45945         (heap_trim): New memory_heap_free probe.
45946         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45947         (systrim): New memory_sbrk_less probe.
45948         * manual/probes.texi: Document them.
45950         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45951         * manual/probes.texi: Document it.
45953         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45954         (__libc_realloc): Add memory_realloc_retry probe.
45955         (__libc_memalign): Add memory_memalign_retry probe.
45956         (__libc_valloc): Add memory_valloc_retry probe.
45957         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45958         (__libc_calloc): Add memory_calloc_retry probe.
45959         * manual/probes.texi: Document them.
45961         * malloc/arena.c (get_free_list): Add probe
45962         memory_arena_reuse_free_list.
45963         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45964         and memory_arena_reuse.
45965         (arena_get2) [!PER_THREAD]: Likewise.
45966         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45967         memory_arena_reuse_realloc.
45968         * manual/probes.texi: Document them.
45970         * malloc/malloc.c (__libc_free): Add
45971         memory_mallopt_free_dyn_thresholds probe.
45972         (__libc_mallopt): Add multiple memory_mallopt probes.
45973         * manual/probes.texi: Document them.
45975         * malloc/malloc.c: Include stap-probe.h.
45976         (__libc_mallopt): Add memory_mallopt probe.
45977         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45978         * manual/probes.texi: New.
45979         * manual/Makefile (chapters): Add probes.
45980         * manual/threads.texi: Set next node.
45982 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45984         [BZ #15963, #13985]
45985         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45986         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45987         Add `Chinese' to `nan' entry name.
45989 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45991         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45992         (POLYNOMIAL): Likewise.
45993         (TAYLOR_SINCOS): Likewise.
45994         (TAYLOR_SLOW): Likewise.
45995         (__sin): Use TAYLOR_SINCOS.
45996         (__cos): Likewise.
45997         (slow): Use TAYLOR_SLOW.
45998         (sloww): Likewise.
45999         (bsloww): Likewise.
46000         (csloww): Likewise.
46002 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46004         * stdlib/strtod_l.c: Fix buffer overrun.
46006 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46008         * benchtests/Makefile (bench): Add sincos.
46009         * benchtests/bench-sincos.c: New file.
46011         * math/libm-test.inc (cos_test_data): New test inputs.
46012         (sin_test_data): Likewise.
46014         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46015         macro.
46016         (__sin): Use it.
46017         (__cos): Likewise.
46018         (slow1): Likewise.
46019         (slow2): Likewise.
46020         (sloww1): Likewise.
46021         (sloww2): Likewise.
46022         (bsloww1): Likewise.
46023         (bsloww2): Likewise.
46024         (cslow2): Likewise.
46025         (csloww1): Likewise.
46026         (csloww2): Likewise.
46028         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46029         function.
46030         (__sin): Use it.
46031         (__cos): Likewise.
46033         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46034         gotos.
46035         (__cos): Likewise.
46037 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46039         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46040         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46041         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46042         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46043         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46044         * elf/cache.c (print_entry): Handle the new cache flags.
46046 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46047             Aldy Hernandez  <aldyh@redhat.com>
46049         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46050         Change condition to [_SOFT_FLOAT].
46051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46063         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46066         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46067         declaration.
46069 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46071         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46072         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46073         (__longjmp): Use LOAD_GP to load saved GPRs.
46074         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46075         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46076         (__sigsetjmp): Use SAVE_GP to save GPRs.
46078         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46079         Do not append -msoft-float.
46080         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46082 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46084         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46086 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46088         [BZ #15966]
46089         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46090         (_FPU_GETCW): Use initial "__" on variable and field names but not
46091         on macro parameter name.
46092         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46093         parentheses around reference to macro parameter.
46095 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46097         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46098         prototype.
46099         (ctype_startup): Use uint32_t in cast and sizeof for
46100         ctype->charnames.
46102 2013-09-11  Jia Liu  <proljc@gmail.com>
46104         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46105         __daddr_t_defined.
46106         [__FreeBSD__]: Likewise.
46108 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46111         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46112         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46113         (strchr): Remove __strchr_sse42 ifunc selection.
46114         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46115         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46117 2013-09-11  Will Newton  <will.newton@linaro.org>
46119         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46120         parameter to RES. Remove hardcoded 1000 value.
46121         * benchtests/bench-skeleton.c (main): Pass RES parameter
46122         to TIMING_INIT and multiply result by 1000.
46124 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46128 2013-09-11  Andreas Schwab  <schwab@suse.de>
46130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46131         if not defined.
46132         (O_TMPFILE) [__USE_GNU]: Define.
46133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46134         Define.
46136 2013-09-11  Will Newton  <will.newton@linaro.org>
46138         [BZ #15857]
46139         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46140         does not overflow.
46142 2013-09-11  Will Newton  <will.newton@linaro.org>
46144         [BZ #15856]
46145         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46146         does not overflow.
46148 2013-09-11  Will Newton  <will.newton@linaro.org>
46150         [BZ #15855]
46151         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46152         does not overflow.
46154 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46156         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46158         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46159         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46160         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46162 2013-09-10  Allan McRae  <allan@archlinux.org>
46164         [BZ #15748]
46165         * manual/arith.texi (Parsing of Floats): Clarify
46166         cross-reference.
46168         [BZ #15849]
46169         * manual/install.texi (Running make install): Mention
46170         --enable-pt-chown.
46171         * INSTALL: Regenerated.
46173 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46175         * csu/init-first.c (_init): Remove the !SHARED condition around
46176         FPU control word initialization.
46177         * elf/dl-support.c (_dl_fpu_control): New variable.
46178         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46179         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46180         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46181         * math/test-fpucw-static.c: New file.
46182         * math/test-fpucw-ieee.c: New file.
46183         * math/test-fpucw-ieee-static.c: New file.
46184         * math/Makefile (tests): Add `test-fpucw-ieee' and
46185         `$(tests-static)'.
46186         (tests-static): New variable.
46187         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46188         dependency to...
46189         [($(build-shared),yes)]
46190         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46191         ... this.
46192         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46193         New dependency.
46195 2013-09-09  Allan McRae  <allan@archlinux.org>
46197         [BZ #15939]
46198         * manual/string.texi (Collation Functions): Fix typo in
46199         strcoll example.
46200         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46202         [BZ #15893]
46203         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46205         [BZ #15892]
46206         * libio/memstream.c (open_memstream): Fix memory leak.
46207         * libio/wmemstream.c (open_wmemstream): Likewise.
46209         [BZ #15895]
46210         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46212 2013-09-09  Will Newton  <will.newton@linaro.org>
46214         * malloc/Makefile: Add tst-realloc to tests.
46215         * malloc/tst-realloc.c: New file.
46217 2013-09-09  Allan McRae  <allan@archlinux.org>
46219         [BZ #15844]
46220         * COPYING: Update from GNU website to fix FSF address.
46221         * COPYING.LIB: Likewise.
46223 2013-09-06  David S. Miller  <davem@davemloft.net>
46225         * po/zh_TW.po: Update Chinese (traditional) translation from
46226         translation project.
46228 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46229             Joseph Myers  <joseph@codesourcery.com>
46231         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46232         "localeinfo.h".
46233         (obstack_chunk_alloc): New macro.
46234         (obstack_chunk_free): Likewise.
46235         (record_offset): New function.
46236         (init_locale_data): Likewise.
46237         (align_locale_data): Likewise.
46238         (add_locale_empty): Likewise.
46239         (add_locale_raw_data): Likewise.
46240         (add_locale_raw_obstack): Likewise.
46241         (add_locale_string): Likewise.
46242         (add_locale_wstring): Likewise.
46243         (add_locale_uint32): Likewise.
46244         (add_locale_uint32_array): Likewise.
46245         (add_locale_char): Likewise.
46246         (start_locale_structure): Likewise.
46247         (end_locale_structure): Likewise.
46248         (start_locale_prelude): Likewise.
46249         (end_locale_prelude): Likewise.
46250         (write_locale_data): Take locale_file structure rather than an
46251         iovec.
46252         * locale/programs/locfile.h: Include "obstack.h".
46253         (struct locale_file): Change to store locale file contents instead
46254         of header.
46255         (init_locale_data): New prototype.
46256         (align_locale_data): Likewise.
46257         (add_locale_empty): Likewise.
46258         (add_locale_raw_data): Likewise.
46259         (add_locale_raw_obstack): Likewise.
46260         (add_locale_string): Likewise.
46261         (add_locale_wstring): Likewise.
46262         (add_locale_uint32): Likewise.
46263         (add_locale_uint32_array): Likewise.
46264         (add_locale_char): Likewise.
46265         (start_locale_structure): Likewise.
46266         (end_locale_structure): Likewise.
46267         (start_locale_prelude): Likewise.
46268         (end_locale_prelude): Likewise.
46269         (write_locale_data): Update prototype.
46270         * locale/programs/3level.h (struct TABLE): Remove result field.
46271         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46272         Use new locale_file interface.
46273         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46274         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46275         * locale/programs/ld-address.c (address_output): Use new
46276         locale_file interface.
46277         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46278         NO_ADD_LOCALE.
46279         (collate_finish): Don't call collseq_table_finalize.
46280         (collate_output): Use new locale_file interface.
46281         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46282         in file.
46283         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46284         (TABLE): Move defines earlier in file.
46285         (ELEMENT): Likewise.
46286         (DEFAULT): Likewise.
46287         (wctrans_table_add): Move macro and inline function earlier in
46288         file.
46289         (struct wctype_table): Move type earlier in file.
46290         (add_locale_wctype_table): New static prototype.
46291         (struct locale_ctype_t): Use logical types instead of struct iovec
46292         pointers for members.
46293         (ctype_output): Use new locale_file interface.
46294         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46295         new locale_file interface.
46296         (allocate_arrays): Update for use of new locale_file interface.
46297         * locale/programs/ld-identification.c (identification_output): Use
46298         new locale_file interface.
46299         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46300         * locale/programs/ld-messages.c (messages_output): Likewise.
46301         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46302         * locale/programs/ld-name.c (name_output): Likewise.
46303         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46304         * locale/programs/ld-paper.c (paper_output): Likewise.
46305         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46306         * locale/programs/ld-time.c (time_output): Likewise.
46308 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46310         * benchtests/Makefile: Add memrchr benchmark.
46311         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46312         benchmark as memrchr.
46313         * benchtests/bench-memrchr-ifunc.c: New file.
46314         * benchtests/bench-memrchr.c: New file.
46316 2013-09-06   Will Newton  <will.newton@linaro.org>
46318         * benchtests/Makefile (string-bench): Add memcpy.
46320 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46321             Cong Wang  <amwang@redhat.com>
46323         [BZ #15850]
46324         * sysdeps/unix/sysv/linux/bits/in.h
46325         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46326         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46327         before __USE_KERNEL_IPV6_DEFS uses.
46328         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46329         IPPROTO_BEETPH.
46330         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46331         sockaddr_in6, or ipv6_mreq.
46333 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46335         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46336         memory access for final bytes in some large inputs.
46337         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46339 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46341         * string/test-memrchr.c: New file.
46342         * string/test-memrchr-ifunc.c: New file.
46343         * string/Makefile: Add new memrchr testcase.
46345 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46347         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46348         fanotify_init returns EPERM.
46350 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46352         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46353         errors.
46354         (top level): Treat second token from macro or constant entries for
46355         allowed headers as allowed.
46356         * include/complex.h: Condition internal declarations on
46357         [!_ISOMAC].
46358         * include/fenv.h: Condition include of <stdbool.h> and internal
46359         declarations on [!_ISOMAC].
46361 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46363         [BZ #15923]
46364         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46366 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46368         * configure.in (--enable-versioning): Remove configure option.
46369         (libc_cv_asm_symver_directive): Remove configure test.
46370         (libc_cv_ld_version_script_option): Likewise.
46371         (VERSIONING): Remove variable and AC_SUBST.
46372         (DO_VERSIONING): Remove AC_DEFINE.
46373         * configure: Regenerated.
46374         * config.h.in (DO_VERSIONING): Remove macro.
46375         * Makerules [$(versioning) = yes]: Change conditionals to
46376         [$(build-shared) = yes].
46377         * config.make.in (versioning): Remove variable.
46378         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46379         [$(build-shared) = yes].
46380         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46381         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46382         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46383         [$(build-shared) = yes].
46384         * extra-lib.mk [$(versioning) = yes]: Likewise.
46385         * hurd/Makefile [$(versioning) = yes]: Likewise.
46386         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46387         [SHARED].
46388         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46389         [SHARED].
46390         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46391         [SHARED && !NO_HIDDEN].
46392         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46393         [SHARED].
46394         [SHARED && DO_VERSIONING]: Likewise..
46395         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46396         [$(build-shared) = yes].
46397         * manual/install.texi (--disable-versioning): Remove
46398         documentation.
46399         * INSTALL: Regenerated.
46400         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46401         to [SHARED].
46402         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46403         [$(build-shared) = yes].
46404         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46405         * sysdeps/i386/i686/multiarch/strstr-c.c
46406         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46407         [SHARED && !NO_HIDDEN].
46408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46409         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46410         * sysdeps/powerpc/powerpc32/dl-machine.c
46411         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46412         * sysdeps/powerpc/powerpc32/sysdep.h
46413         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46414         to [SHARED && PIC && !NO_HIDDEN].
46415         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46416         conditional to [SHARED].
46418 2013-09-04   Will Newton  <will.newton@linaro.org>
46420         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46421         * benchtests/bench-string.h: Include bench-timing.h instead
46422         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46423         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46424         call to HP_TIMING_DIFF_INIT.
46425         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46426         instead of hp-timing.h macros.
46427         * benchtests/bench-memchr.c: Likewise.
46428         * benchtests/bench-memcmp.c: Likewise.
46429         * benchtests/bench-memcpy.c: Likewise.
46430         * benchtests/bench-memmem.c: Likewise.
46431         * benchtests/bench-memmove.c: Likewise.
46432         * benchtests/bench-memset.c: Likewise.
46433         * benchtests/bench-rawmemchr.c: Likewise.
46434         * benchtests/bench-strcasecmp.c: Likewise.
46435         * benchtests/bench-strcasestr.c: Likewise.
46436         * benchtests/bench-strcat.c: Likewise.
46437         * benchtests/bench-strchr.c: Likewise.
46438         * benchtests/bench-strcmp.c: Likewise.
46439         * benchtests/bench-strcpy.c: Likewise.
46440         * benchtests/bench-strcpy_chk.c: Likewise.
46441         * benchtests/bench-strlen.c: Likewise.
46442         * benchtests/bench-strncasecmp.c: Likewise.
46443         * benchtests/bench-strncat.c: Likewise.
46444         * benchtests/bench-strncmp.c: Likewise.
46445         * benchtests/bench-strncpy.c: Likewise.
46446         * benchtests/bench-strnlen.c: Likewise.
46447         * benchtests/bench-strpbrk.c: Likewise.
46448         * benchtests/bench-strrchr.c: Likewise.
46449         * benchtests/bench-strspn.c: Likewise.
46450         * benchtests/bench-strstr.c: Likewise.
46452 2013-09-04  Will Newton  <will.newton@linaro.org>
46454         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46456 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46458         [BZ #15427]
46459         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46460         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46461         * math/libm-test.inc (lgamma_test_data): Add more tests.
46462         * sysdeps/i386/fpu/libm-test-ulps: Update.
46463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46465 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46467         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46469         Add ifunc.
46470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46471         Add strcmp-sse2-unaligned
46472         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46474 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46476         * Versions.def (libc): Add GLIBC_2.19.
46478 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46480         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46481         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46483 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46485         [BZ #14155]
46486         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46487         intermediate calculations in recurrence.
46488         (__ieee754_ynf): Likewise.
46489         * math/libm-test.inc (jn_test_data): Do not allow spurious
46490         underflow exception.  Add more tests.
46491         (yn_test_data): Add more tests.
46492         * sysdeps/i386/fpu/libm-test-ulps: Update.
46493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46495 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46499 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46501         * csu/init-first.c: Fix then/than typos.
46502         * locale/programs/ld-collate.c: Likewise.
46503         * locale/programs/linereader.h: Likewise.
46504         * manual/charset.texi: Likewise.
46505         * manual/filesys.texi: Likewise.
46506         * manual/stdio.texi: Likewise.
46507         * manual/string.texi: Likewise.
46508         * stdlib/fmtmsg.c: Likewise.
46509         * sysdeps/i386/stpncpy.S: Likewise.
46510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46511         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46512         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46513         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46515 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46517         * elf/dl-open.c: Fix typos.
46518         * iconvdata/gbbig5.c: Likewise.
46519         * iconvdata/iso-2022-jp.c: Likewise.
46520         * iconv/gconv_int.h: Likewise.
46521         * iconv/loop.c: Likewise.
46522         * nis/rpcsvc/nis.h: Likewise.
46523         * resolv/ns_name.c: Likewise.
46524         * stdio-common/vfscanf.c: Likewise.
46525         * streams/stropts.h: Likewise.
46526         * sunrpc/rpc_thread.c: Likewise.
46527         * sysdeps/i386/strpbrk.S: Likewise.
46528         * sysdeps/ieee754/k_standard.c: Likewise.
46529         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46531         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46532         * sysdeps/mach/hurd/profil.c: Likewise.
46533         * sysdeps/s390/dl-procinfo.h: Likewise.
46534         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46535         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46536         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46537         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46540 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46542         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46545 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46547         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46548         aix specific files.
46549         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46550         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46551         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46552         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46553         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46554         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46555         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46556         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46558 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46559             Roland McGrath  <roland@hack.frob.com>
46561         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46562         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46564 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46566         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46567         __executable_start symbol instead of _start.
46569 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46571         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46572         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46573         Move macros to...
46574         * sysdeps/gnu/ldsodefs.h: ... this new file.
46576         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46577         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46578         instead of ELFOSABI_LINUX.
46580         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46581         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46582         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46583         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46584         Likewise.
46585         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46586         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46587         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46588         Likewise.
46589         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46590         (ibm_extended_long_double): Add ieee_nan member.
46591         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46592         (do_test): New function.
46594         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46595         TEST_TRUNC.
46596         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46597         functions, renamed from truncdfsf_test, trunctfsf_test,
46598         trunctfdf_test.
46599         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46600         functions.
46601         (do_test): Run all these.
46603 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46605         * argp/argp-help.c: Fix typos.
46606         * argp/argp-parse.c: Likewise.
46607         * debug/backtracesyms.c: Likewise.
46608         * elf/elf.h: Likewise.
46609         * malloc/malloc.c: Likewise.
46610         * nis/nis_print.c: Likewise.
46611         * resolv/res_comp.c: Likewise.
46612         * stdlib/stdlib.h: Likewise.
46613         * sunrpc/clnt_tcp.c: Likewise.
46614         * sunrpc/clnt_udp.c: Likewise.
46615         * sunrpc/clnt_unix.c: Likewise.
46616         * sysdeps/unix/bsd/ptsname.c: Likewise.
46617         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46618         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46620         Likewise.
46621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46622         Likewise.
46623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46624         Likewise.
46625         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46627 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46629         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46632 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46634         [BZ #15897]
46635         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46636         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46637         ($(objpfx)bug-dl-leaf): New rule.
46638         ($(objpfx)bug-dl-leaf.so): Likewise.
46639         ($(objpfx)bug-dl-leaf.out): Likewise.
46640         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46641         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46642         * dlfcn/bug-dl-leaf.c: New test.
46643         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46644         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46645         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46646         (dlclose): Likewise.
46647         (dlmopen): Likewise.
46649 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46651         * include/netdb.h [!_ISOMAC]:
46652         Don't include <tls.h>.
46653         (h_errno, __libc_h_errno): Move declaration and macros out of
46654         [_LIBC_REENTRANT].
46656         * include/resolv.h [_RESOLV_H_]:
46657         Don't include <tls.h>.
46658         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46659         * resolv/res_libc.c: Don't include <tls.h>.
46660         (_res): Use __attribute__ ((nocommon)) in place of
46661         __attribute__ ((section (".bss"))).
46663         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46664         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46666         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46668         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46669         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46671         * resolv/res_mkquery.c: Include <sys/time.h>.
46673         * inet/ifreq.c: Moved to ...
46674         * sysdeps/unix/ifreq.c: ... here.
46675         * inet/ifreq.c: New file, true stub version.
46677         * socket/sa_len.c: New file.
46678         * socket/Makefile (aux): Add it.
46679         * sysdeps/unix/sysv/linux/Makefile
46680         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46681         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46682         and #include <socket/sa_len.c>.
46683         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46684         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46686         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46687         * bits/socket.h: ... here.
46689         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46690         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46691         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46693 2013-08-27  Andreas Schwab  <schwab@suse.de>
46695         [BZ #15736]
46696         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46697         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46698         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46699         * string/test-strcasecmp.c (test_main): Run tests in several
46700         locales.
46701         * string/test-strncasecmp.c (test_main): Likewise.
46703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46704         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46705         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46707         (__strncasecmp_ssse3) [PIC]: Likewise.
46709 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46711         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46713         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46714         instead of explicitly declaring xdecrypt.
46715         * nis/nss_nis/nis-publickey.c: Likewise.
46717 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46719         [BZ #15890]
46720         * nscd/aicache.c: Include res_hconf.h.
46721         (addhstaiX): Initialize res_hconf.
46723 2013-08-26  Andreas Schwab  <schwab@suse.de>
46725         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46726         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46728 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46730         * nscd/aicache.c (addhstaiX): Fix indentation.
46732 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46734         * configure.ac: Quote $build_pt_chown test.
46735         * configure: Regenerated.
46737 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46739         [BZ #15532]
46740         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46741         * math/s_cexpf.c (__cexpf): Likewise.
46742         * math/s_cexpl.c (__cexpl): Likewise.
46743         * math/libm-test.inc (cexp_test_data): Correct expected return
46744         value for NaN + i0.  Add another test.
46746 2013-08-22  David S. Miller  <davem@davemloft.net>
46748         * po/ca.po: Update Catalan translation from translation project.
46749         * po/uk.po: Add Ukrainian translations from translation project.
46751 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46753         [BZ #15797]
46754         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46755         is infinite, not alongside NaN test.
46756         * math/s_fdimf.c (__fdimf): Likewise.
46757         * math/s_fdiml.c (__fdiml): Likewise.
46758         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46759         errno is unchanged.
46761 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46763         * argp/argp-help.c: Fix typos.
46764         * crypt/speeds.c: Likewise.
46765         * csu/check_fds.c: Likewise.
46766         * elf/dl-load.c: Likewise.
46767         * elf/dl-open.c: Likewise.
46768         * elf/reldep3.c: Likewise.
46769         * elf/reldep.c: Likewise.
46770         * elf/sprof.c: Likewise.
46771         * iconv/iconv_charmap.c: Likewise.
46772         * iconv/skeleton.c: Likewise.
46773         * iconv/strtab.c: Likewise.
46774         * io/lockf64.c: Likewise.
46775         * libio/libioP.h: Likewise.
46776         * resolv/gai_notify.c: Likewise.
46777         * resolv/ns_name.c: Likewise.
46778         * resolv/ns_samedomain.c: Likewise.
46779         * resolv/res_send.c: Likewise.
46780         * stdlib/random.c: Likewise.
46781         * sunrpc/rpc/xdr.h: Likewise.
46782         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46783         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46786         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46789         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46790         * sysdeps/mach/hurd/check_fds.c: Likewise.
46791         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46792         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46794         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46795         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46796         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46797         * sysdeps/pthread/aio_notify.c: Likewise.
46798         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46799         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46800         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46802         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46804 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46806         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46807         version if bit_Slow_SSE4_2 is set.
46808         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46809         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46811 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46813         [BZ #15867]
46814         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46815         trampoline stack frame information.
46816         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46818         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46819         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46820         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46821         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46822         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46823         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46824         sa_flags value.
46825         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46826         interrupting a syscall and set with option SA_SIGINFO.
46828 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46830         [BZ #15531]
46831         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46832         argument is infinite.
46833         * math/s_cprojf.c (__cprojf): Likewise.
46834         * math/s_cprojl.c (__cprojl): Likewise.
46835         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46836         * math/libm-test.inc (cproj_test_data): Add more tests.
46838         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46840         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46841         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46842         size.  Use __ffs to determine corresponding shift.
46844 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46845             Roland McGrath  <roland@hack.frob.com>
46847         * Makefile (INSTALL): Remove trailing blank lines from output of
46848         makeinfo.
46850 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46852         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46853         Align 32 bit compat elf_greg to 8 bytes.
46855 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46857         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46859 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46861         * string/strcoll_l.c (coll_seq): New structure.
46862         (get_next_seq_cached): New function.
46863         (get_next_seq): New function.
46864         (do_compare): New function.
46865         (STRCOLL): Use GNU style definition.  Simplify implementation
46866         by using get_next_seq, get_next_seq_cached and do_compare.
46868 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46870         [BZ #14699]
46871         CVE-2013-4237
46872         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46873         member.
46874         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46875         member.
46876         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46877         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46878         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46879         conditional.
46880         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46881         GETDENTS_64BIT_ALIGNED.
46882         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46883         * manual/filesys.texi (Reading/Closing Directory): Document
46884         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46885         strongly.
46886         * manual/conf.texi (Limits for Files): Add portability note to
46887         NAME_MAX, PATH_MAX.
46888         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46890 2013-08-13  Andreas Schwab  <schwab@suse.de>
46892         [BZ #15749]
46893         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46894         of fabs.
46895         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46896         LDBL_MAX_EXP >= 16384]: Add tests for it.
46898 2013-08-12  David S. Miller  <davem@davemloft.net>
46900         * version.h (RELEASE): Set to "development".
46901         (VERSION): Set to "2.18.90".
46902         * NEWS: Add 2.19 section.
46904 2013-08-03  David S. Miller  <davem@davemloft.net>
46906         * po/ko.po: Update Korean translation from translation project.
46908 2013-08-01  David S. Miller  <davem@davemloft.net>
46910         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46911         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46912         Bilka.
46914 2013-07-30  David S. Miller  <davem@davemloft.net>
46916         * po/fr.po: Update French translation from translation project.
46918 2013-07-28  David S. Miller  <davem@davemloft.net>
46920         * po/cs.po: Update Czech translation from translation project.
46922         * po/sv.po: Update Swedish translation from translation project.
46924 2013-07-27  David S. Miller  <davem@davemloft.net>
46926         * po/eo.po: Update Esperanto translation from translation project.
46928         * po/vi.po: Update Vietnamese translation from translation project.
46930         * po/de.po: Update German translation from translation project.
46932 2013-07-26  David S. Miller  <davem@davemloft.net>
46934         * po/bg.po: Update Bulgarian translation from translation project.
46936         * po/nl.po: Update Dutch translation from translation project.
46937         * po/pl.po: Update Polish translation from translation project.
46938         * po/ru.po: Update Russian translation from translation project.
46940 2013-07-24  David S. Miller  <davem@davemloft.net>
46942         * po/libc.pot: Update.
46944 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46946         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46947         variable page size.
46948         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46949         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46950         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46952 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46954         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46956 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46957             Andreas Schwab  <schwab@suse.de>
46958             Roland McGrath  <roland@hack.frob.com>
46959             Joseph Myers  <joseph@codesourcery.com>
46960             Carlos O'Donell  <carlos@redhat.com>
46962         [BZ #15755]
46963         * config.h.in: Define HAVE_PT_CHOWN.
46964         * config.make.in (build-pt-chown): New variable.
46965         * configure.in (--enable-pt_chown): New configure option.
46966         * configure: Regenerate.
46967         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46968         build-pt-chown is enabled.
46969         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46970         pt_chown to fix pty ownership.
46971         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46972         CLOSE_ALL_FDS.
46973         * manual/install.texi (Configuring and compiling): Mention
46974         --enable-pt_chown. Add @findex for grantpt.
46975         * INSTALL: Regenerate.
46977 2013-07-20  David S. Miller  <davem@davemloft.net>
46979         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46980         difference between 32-bit and 64-bit.
46982 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46984         [BZ #15711]
46985         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46986         Avoid system header dependency with -ffreestanding.
46987         ($(objpfx)bits/syscall%d): Likewise.
46989 2013-07-13  David S. Miller  <davem@davemloft.net>
46991         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46992         underflows from atanl/atan2l due to bug 15319.
46993         (casinh_test_data): Likewise.
46995 2013-07-07  David S. Miller  <davem@davemloft.net>
46997         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46999 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47001         * sysdeps/i386/fpu/libm-test-ulps: Update.
47002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47004 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47006         * configure.in (--enable-lock-elision): Fix message text.
47007         * INSTALL: Regenerate.
47008         * configure: Regenerate.
47010 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47014 2013-07-03  Andreas Jaeger  <aj@suse.de>
47016         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47017         define.
47018         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47019         (ptrace_peeksiginfo_args): Add.
47020         (__ptrace_peeksiginfo_flags): Add.
47021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47023         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47025 2013-07-03  Allan McRae  <allan@archlinux.org>
47027         * sysdeps/i386/fpu/libm-test-ulps: Update.
47029 2013-07-02  David S. Miller  <davem@davemloft.net>
47031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47033 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47037 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47039         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47042 2013-07-02  Andi Kleen <ak@linux.intel.com>
47044         * config.h.in (ENABLE_LOCK_ELISION): Add.
47045         * configure.in (--enable-lock-elision): Add option.
47046         * manual/install.texi: Document --enable lock elision.
47047         * configure: Regenerate
47048         * INSTALL: Regenerate.
47050 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47052         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47053         SSE4.2 strcasecmp for libc.a.
47054         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47056 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47058         [BZ #13304]
47059         * soft-fp/op-common.h (_FP_FMA): New macro.
47060         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47061         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47062         (_FP_MUL_MEAT_1_imm): ... here.
47063         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47064         (_FP_MUL_MEAT_1_wide): ... here.
47065         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47066         (_FP_MUL_MEAT_1_hard): ... here.
47067         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47068         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47069         (_FP_MUL_MEAT_2_wide): ... here.
47070         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47071         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47072         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47073         (_FP_MUL_MEAT_2_gmp): ... here.
47074         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47075         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47076         (_FP_MUL_MEAT_4_wide): ... here.
47077         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47078         (_FP_MUL_MEAT_4_gmp): ... here.
47079         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47080         (_FP_WFRACBITS_DW_S): Likewise.
47081         (_FP_WFRACXBITS_DW_S): Likewise.
47082         (_FP_HIGHBIT_DW_S): Likewise.
47083         (FP_FMA_S): Likewise.
47084         (_FP_FRAC_HIGH_DW_S): Likewise.
47085         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47086         (_FP_WFRACBITS_DW_D): Likewise.
47087         (_FP_WFRACXBITS_DW_D): Likewise.
47088         (_FP_HIGHBIT_DW_D): Likewise.
47089         (FP_FMA_D): Likewise.
47090         (_FP_FRAC_HIGH_DW_D): Likewise.
47091         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47092         (_FP_WFRACBITS_DW_E): Likewise.
47093         (_FP_WFRACXBITS_DW_E): Likewise.
47094         (_FP_HIGHBIT_DW_E): Likewise.
47095         (FP_FMA_E): Likewise.
47096         (_FP_FRAC_HIGH_DW_E): Likewise.
47097         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47098         (_FP_WFRACBITS_DW_Q): Likewise.
47099         (_FP_WFRACXBITS_DW_Q): Likewise.
47100         (_FP_HIGHBIT_DW_Q): Likewise.
47101         (FP_FMA_Q): Likewise.
47102         (_FP_FRAC_HIGH_DW_Q): Likewise.
47103         * soft-fp/fmasf4.c: New file.
47104         * soft-fp/fmadf4.c: Likewise.
47105         * soft-fp/fmatf4.c: Likewise.
47107 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47110         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47111         Silvermont.
47112         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47113         macro.
47114         (index_Slow_SSE4_2): Likewise.
47115         (index_Prefer_PMINUB_for_stringop): Likewise.
47116         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47117         bit_Slow_SSE4_2 is set.
47118         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47121 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47123         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47124         rtld_global._dl_hwcap2.
47125         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47126         POWER8.
47127         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47128         POWER8 feature descriptions defined in _dl_hwcap2.
47129         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47130         string handling for POWER8 feature bits.
47131         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47132         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47133         _dl_powerpc_cap_flags.
47134         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47135         * sysdeps/powerpc/rtld-global-offsets.sym
47136         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47137         _dl_hwcap2 in the rtld_global_ro structure.
47139 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47141         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47142         hardware capabilities in support of AT_HWCAP2.
47143         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47144         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47145         GLRO(dl_hwcap2).
47146         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47147         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47148         explicitly the unknown a_type display mechanism is used.
47149         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47150         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47151         struct member.
47152         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47153         to macro prototype for AT_HWCAP2 support.
47154         * sysdeps/i386/dl-procinfo.h: Likewise.
47155         * sysdeps/s390/dl-procinfo.h: Likewise.
47156         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47157         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47158         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47159         return -1 for unknown a_type display fallback.
47160         * sysdeps/sparc/dl-procinfo.h: Likewise.
47161         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47162         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47164 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47166         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47167         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47169 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47171         [BZ #12492]
47172         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47173         mprotect making __stack_prot writable.
47175 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47176             Joseph Myers  <joseph@codesourcery.com>
47178         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47179         as being properly aligned.
47181 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47183         * dlfcn/modstatic5.c: New file.
47184         * dlfcn/tststatic5.c: New file.
47185         * dlfcn/Makefile (tests): Add tststatic5.
47186         (tests-static): Likewise.
47187         (modules-names): Add modstatic5.
47188         (tststatic5-ENV): New variable.
47189         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47191         [BZ #15022]
47192         * elf/dl-support.c (_dl_main_map): New variable.
47193         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47194         (_dl_nns, _dl_load_adds): Set to 1.
47195         (_dl_initial_searchlist): Refer to _dl_main_map.
47196         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47197         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47198         call to _dl_get_origin.
47199         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47200         around call_map.
47201         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47202         * dlfcn/modstatic3.c: New file.
47203         * dlfcn/tststatic3.c: New file.
47204         * dlfcn/tststatic4.c: New file.
47205         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47206         (tests-static): Likewise.
47207         (modules-names): Add modstatic3.
47208         (tststatic3-ENV, tststatic4-ENV): New variables.
47209         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47210         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47212 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47214         * configure.in (CC): Require GCC version 4.4 or later.
47215         * configure: Regenerated.
47216         * manual/install.texi (Tools for Compilation): Update GCC version
47217         requirement.
47218         * INSTALL: Regenerated.
47220 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47222         [BZ #15674]
47223         * string/test-memcmp.c (check2): New.
47224         (main): Call check2.
47226         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47228 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47230         [BZ #15022]
47231         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47232         over to...
47233         (dl_open_worker) [!SHARED]: ... here.
47235 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47237         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47239 2013-06-25  Richard Henderson  <rth@redhat.com>
47241         * locale/programs/locarchive.c: Include <libc-internal.h>
47243 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47245         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47246         trailing whitespace removed.
47248 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47250         [BZ #10283]
47251         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47252         * locale/programs/locarchive.c: Include libc-mmap.h.
47253         (prepare_address_space): Take two new outputs (the mmap base and len).
47254         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47255         values.
47256         (create_archive): Declare new mmap base and len values for
47257         prepare_address_space, and store the result in ah.
47258         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47259         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47260         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47261         Declare new mmap base and len values for
47262         prepare_address_space, and store the result in new_ah.
47263         (open_archive): Declare new mmap base and len values for
47264         prepare_address_space, and store the result in ah.
47265         (close_archive): If ah->mmap_base is not NULL, use that and
47266         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47267         * sysdeps/generic/libc-mmap.h: New file.
47269 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47271         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47272         (ALIGN_UP): Likewise.
47273         (PTR_ALIGN_DOWN): Likewise.
47274         (PTR_ALIGN_UP): Likewise.
47276 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47279         entry mapped to PPC_PLATFORM_POWER8.
47280         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47281         POWER8.
47282         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47283         (_dl_string_platform): Add case for exporting platform position for
47284         POWER8.
47285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47286         search path to sysdeps/powerpc/powerpc32/power8 directory.
47287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47288         search path to sysdeps/powerpc/powerpc64/power8 directory.
47289         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47290         power7 directories.
47291         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47292         power7 directories.
47294 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47296         * INSTALL: Regenerate.
47298         * nscd/connections.c (nscd_init): Fix comment.
47300 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47302         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47304         [BZ #15667]
47305         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47306         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47308 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47310         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47311         DL_DST_REQ_STATIC.
47312         (DL_DST_REQ_STATIC): Remove macro.
47314 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47316         [BZ #7006]
47317         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47318         with a shift of 0 bits.
47320 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47322         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47323         $(tststatic-ENV).
47325 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47327         [BZ #15655]
47328         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47330 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47332         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47333         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47334         accepts -fno-tree-loop-distribute-patterns.
47335         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47336         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47337         recursive call.
47338         * string/memset.c (memset): Likewise.
47339         * string/test-memmove.c (simple_memmove): Disable loop transformation
47340         to library calls.
47341         * string/test-memset.c (simple_memset): Likewise.
47342         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47343         * benchtests/bench-memset.c (simple_memset): Likewise.
47344         * configure: Regenerated.
47346 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47348         * math/test-misc.c (main): Ignore fesetround failure when failures
47349         of subsequent rounding tests would be ignored.
47351         [BZ #15654]
47352         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47353         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47354         * math/fegetenv.c (__fegetenv): Return 0.
47355         * math/fegetexcept.c (fegetexcept): Return 0.
47356         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47357         FE_TONEAREST.
47358         * math/feholdexcpt.c (feholdexcept): Return 0.
47359         * math/fesetenv.c (__fesetenv): Return 0.
47360         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47361         argument FE_TONEAREST.
47362         * math/feupdateenv.c (__feupdateenv): Return 0.
47363         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47365 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47367         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47368         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47369         ($(objpfx)rtld-%.os rules): Use them.
47371 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47373         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47374         fields.
47376 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47378         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47379         length of target pattern, then descending length of dependency pattern.
47380         * configure.in (AWK): Require gawk 3.1.2 or newer.
47381         * manual/install.texi (Tools for Compilation): Say that we do.
47382         * configure: Regenerated.
47384         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47385         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47386         * scripts/sysd-rules.awk: ... this new script.
47387         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47388         than a glob-style pattern.
47390 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47392         * math/test-misc.c (main): Do not treat incorrectly rounded
47393         conversions as failure unless ROUNDING_TESTS passes.
47395 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47397         [BZ #15631]
47398         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47399         restore exception state around main square root computation, then
47400         check for inexactness explicitly.
47402         * math/libm-test.inc (fma_test_data): Add another test.
47404 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47406         * manual/threads.texi (Non-POSIX Extensions): New document
47407         node.  Document pthread_getattr_default_np and
47408         pthread_setattr_default_np.
47410         * Versions.def (libpthread): Add GLIBC_2.18.
47411         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47413         Likewise.
47414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47415         Likewise.
47416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47417         Likewise.
47418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47419         Likewise.
47420         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47421         Likewise.
47422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47423         Likewise.
47424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47425         Likewise.
47426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47427         Likewise.
47428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47429         Likewise.
47431 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47434         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47436 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47437             H.J. Lu  <hjl.tools@gmail.com>
47439         [BZ #15627]
47440         * sysdeps/x86_64/rtld-memset.c: Remove file.
47441         * sysdeps/x86_64/rtld-memset.S: New file.
47443 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47445         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47446         (test_in_one_mode): Take arguments for whether the rounding mode
47447         is supported for each floating-point type.
47448         (do_test): Pass new arguments to test_in_one_mode using
47449         ROUNDING_TESTS.
47451 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47453         * posix/tst-waitid.c (do_test): Distinguish different instances of
47454         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47455         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47456         before entering the kernel for waitpid.
47458 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47460         * NEWS: Fix note on clock function precision.  Text by Roland
47461         McGrath.
47463 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47465         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47466         it into place only when and if the sanity check passes.
47468 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47470         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47471         output for whether conversion result is exact.  Take argument
47472         indicating whether type is IBM long double.
47473         (round_for_all): Change need_exact field to ibm_ld.
47474         * stdlib/tst-strtod-round.c (struct exactness): New type.
47475         (struct test): Change bool ld_ok field to struct exactness exact.
47476         (TEST): Update all definitions for change to field.
47477         (tests): Regenerate array contents.
47478         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47479         field value.  Check for IBM long double here.
47480         (do_test): Update calls to test_in_one_mode.
47482 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47484         [BZ #12515]
47485         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47486         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47488 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47490         [BZ #15605]
47491         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47492         generated by the compiler on loop optimizations.
47493         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47494         general definitions.
47496 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47498         * math/bug-nextafter.c: Include <math-tests.h>.
47499         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47500         the relevant type.
47501         * math/bug-nexttoward.c: Include <math-tests.h>.
47502         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47503         the relevant type.
47504         * math/test-misc.c: Include <math-tests.h>.
47505         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47506         the relevant type.
47508 2013-06-12  Andreas Jaeger  <aj@suse.de>
47510         * po/ia.po: Update Interlingua translation from translation
47511         project.
47513 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47515         * include/fenv.h: Include stdbool.h.
47516         (struct rm_ctx): New structure.
47517         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47518         Define macro.
47519         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47520         (SET_RESTORE_ROUNDF): Likewise.
47521         (SET_RESTORE_ROUNDL): Likewise.
47522         (SET_RESTORE_ROUND_NOEX): Likewise.
47523         (SET_RESTORE_ROUND_NOEXF): Likewise.
47524         (SET_RESTORE_ROUND_NOEXL): Likewise.
47525         (SET_RESTORE_ROUND_53BIT): Likewise.
47526         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47527         (libc_feresetround_noexf_ctx): Likewise.
47528         (libc_feresetround_noexl_ctx): Likewise.
47529         (libc_feholdsetround_53bit_ctx): Likewise.
47530         (libc_feresetround_53bit_ctx): Likewise.
47531         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47532         (libc_feholdexcept_setround_sse_ctx): New function.
47533         (libc_fesetenv_sse_ctx): Likewise.
47534         (libc_feupdateenv_sse_ctx): Likewise.
47535         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47536         (libc_feholdexcept_setround_387_ctx): Likewise.
47537         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47538         (libc_feholdsetround_387_prec_ctx): Likewise.
47539         (libc_feholdsetround_387_ctx): Likewise.
47540         (libc_feholdsetround_387_53bit_ctx): Likewise.
47541         (libc_feholdsetround_sse_ctx): Likewise.
47542         (libc_feresetround_sse_ctx): Likewise.
47543         (libc_feresetround_387_ctx): Likewise.
47544         (libc_feupdateenv_387_ctx): Likewise.
47545         (libc_feholdexcept_setroundf_ctx): Define macro.
47546         (libc_fesetenvf_ctx): Likewise.
47547         (libc_feupdateenvf_ctx): Likewise.
47548         (libc_feholdsetroundf_ctx): Likewise.
47549         (libc_feresetroundf_ctx): Likewise.
47550         (libc_feholdexcept_setround_ctx): Likewise.
47551         (libc_fesetenv_ctx): Likewise.
47552         (libc_feupdateenv_ctx): Likewise.
47553         (libc_feholdsetround_ctx): Likewise.
47554         (libc_feresetround_ctx): Likewise.
47555         (libc_feholdexcept_setroundl_ctx): Likewise.
47556         (libc_feupdateenvl_ctx): Likewise.
47557         (libc_feholdsetroundl_ctx): Likewise.
47558         (libc_feresetroundl_ctx): Likewise.
47559         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47560         (libc_feresetround_53bit_ctx): Likewise.
47562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47564         * locale/iso-639.def: Convert to UTF-8.
47566 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47568         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47569         (EXCEPTION_TESTS_double): Likewise.
47570         (EXCEPTION_TESTS_long_double): Likewise.
47571         (EXCEPTION_TESTS): Likewise.
47572         * math/libm-test.inc (test_exceptions): Only test exceptions if
47573         EXCEPTION_TESTS (FLOAT).
47575 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47577         * benchtests/Makefile (string-bench): Add strcpy_chk and
47578         stpcpy_chk.
47579         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47580         * benchtests/bench-stpcpy_chk.c: New file.
47581         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47582         * benchtests/bench-strcpy_chk.c: New file.
47583         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47584         code.
47585         (do_test): Likewise.
47587 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47590         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47591         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47592         with tabs where appropriate.
47593         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47594         dl-procinfo.h.
47595         [PPC_PLATFORM_PPC440]: Likewise.
47596         [PPC_PLATFORM_PPC464]: Likewise.
47597         [PPC_PLATFORM_PPC476]: Likewise.
47598         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47599         ppc464, and ppc476 platform strings merging from ports/
47600         dl-procinfo.h.
47602 2013-06-11  Andreas Schwab  <schwab@suse.de>
47604         [BZ #14991]
47605         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47606         (from_ucs4_idx): Regenerate.
47607         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47608         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47609         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47610         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47611         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47612         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47613         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47614         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47615         from FROM_LOOP and TO_LOOP specific macros.
47616         (BODY): Handle combining characters.
47617         * iconvdata/BIG5HKSCS.irreversible: Update.
47618         * iconvdata/BIG5HKSCS.precomposed: New file.
47619         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47620         characters.
47621         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47623 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47625         * include/sys/time.h: Fix indentation and add copyright header.
47627         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47628         (do_test): Likewise.
47629         * string/test-memchr.c (do_one_test): Likewise.
47630         (do_test): Likewise.
47631         * string/test-memcmp.c (do_one_test): Likewise.
47632         (do_test): Likewise.
47633         * string/test-memcpy.c (do_one_test): Likewise.
47634         (do_test): Likewise.
47635         * string/test-memmem.c (do_one_test): Likewise.
47636         (do_test): Likewise.
47637         (do_random_tests): Likewise.
47638         * string/test-memmove.c (do_one_test): Likewise.
47639         (do_test): Likewise.
47640         * string/test-memset.c (do_one_test): Likewise.
47641         (do_test): Likewise.
47642         * string/test-rawmemchr.c (do_one_test): Likewise.
47643         (do_test): Likewise.
47644         * string/test-strcasecmp.c (do_one_test): Likewise.
47645         (do_test): Likewise.
47646         * string/test-strcasestr.c (do_one_test): Likewise.
47647         (do_test): Likewise.
47648         * string/test-strcat.c (do_one_test): Likewise.
47649         (do_test): Likewise.
47650         * string/test-strchr.c (do_one_test): Likewise.
47651         (do_test): Likewise.
47652         * string/test-strcmp.c (do_one_test): Likewise.
47653         (do_test): Likewise.
47654         * string/test-strcpy.c (do_one_test): Likewise.
47655         (do_test): Likewise.
47656         * string/test-string.h: Likewise.
47657         (test_init): Likewise.
47658         * string/test-strlen.c (do_one_test): Likewise.
47659         (do_test): Likewise.
47660         * string/test-strncasecmp.c (do_one_test): Likewise.
47661         (do_test): Likewise.
47662         * string/test-strncat.c (do_one_test): Likewise.
47663         (do_test): Likewise.
47664         * string/test-strncmp.c (do_one_test): Likewise.
47665         (do_test_limit): Likewise.
47666         (do_test): Likewise.
47667         * string/test-strncpy.c (do_one_test): Likewise.
47668         (do_test): Likewise.
47669         * string/test-strnlen.c (do_one_test): Likewise.
47670         (do_test): Likewise.
47671         * string/test-strpbrk.c (do_one_test): Likewise.
47672         (do_test): Likewise.
47673         * string/test-strrchr.c (do_one_test): Likewise.
47674         (do_test): Likewise.
47675         * string/test-strspn.c (do_one_test): Likewise.
47676         (do_test): Likewise.
47677         * string/test-strstr.c (do_one_test): Likewise.
47678         (do_test): Likewise.
47680         * benchtests/Makefile (string-bench): Add string benchmarks.
47681         * benchtests/bench-bcopy-ifunc.c: New file.
47682         * benchtests/bench-bcopy.c: New file.
47683         * benchtests/bench-bzero-ifunc.c: New file.
47684         * benchtests/bench-bzero.c: New file.
47685         * benchtests/bench-memccpy-ifunc.c: New file.
47686         * benchtests/bench-memccpy.c: New file.
47687         * benchtests/bench-memchr-ifunc.c: New file.
47688         * benchtests/bench-memchr.c: New file.
47689         * benchtests/bench-memcmp-ifunc.c: New file.
47690         * benchtests/bench-memcmp.c: New file.
47691         * benchtests/bench-memmem-ifunc.c: New file.
47692         * benchtests/bench-memmem.c: New file.
47693         * benchtests/bench-memmove-ifunc.c: New file.
47694         * benchtests/bench-memmove.c: New file.
47695         * benchtests/bench-mempcpy-ifunc.c: New file.
47696         * benchtests/bench-mempcpy.c: New file.
47697         * benchtests/bench-memset-ifunc.c: New file.
47698         * benchtests/bench-memset.c: New file.
47699         * benchtests/bench-rawmemchr-ifunc.c: New file.
47700         * benchtests/bench-rawmemchr.c: New file.
47701         * benchtests/bench-stpcpy-ifunc.c: New file.
47702         * benchtests/bench-stpcpy.c: New file.
47703         * benchtests/bench-stpncpy-ifunc.c: New file.
47704         * benchtests/bench-stpncpy.c: New file.
47705         * benchtests/bench-strcasecmp-ifunc.c: New file.
47706         * benchtests/bench-strcasecmp.c: New file.
47707         * benchtests/bench-strcasestr-ifunc.c: New file.
47708         * benchtests/bench-strcasestr.c: New file.
47709         * benchtests/bench-strcat-ifunc.c: New file.
47710         * benchtests/bench-strcat.c: New file.
47711         * benchtests/bench-strchr-ifunc.c: New file.
47712         * benchtests/bench-strchr.c: New file.
47713         * benchtests/bench-strchrnul-ifunc.c: New file.
47714         * benchtests/bench-strchrnul.c: New file.
47715         * benchtests/bench-strcmp-ifunc.c: New file.
47716         * benchtests/bench-strcmp.c: New file.
47717         * benchtests/bench-strcpy-ifunc.c: New file.
47718         * benchtests/bench-strcpy.c: New file.
47719         * benchtests/bench-strcspn-ifunc.c: New file.
47720         * benchtests/bench-strcspn.c: New file.
47721         * benchtests/bench-strlen-ifunc.c: New file.
47722         * benchtests/bench-strlen.c: New file.
47723         * benchtests/bench-strncasecmp-ifunc.c: New file.
47724         * benchtests/bench-strncasecmp.c: New file.
47725         * benchtests/bench-strncat-ifunc.c: New file.
47726         * benchtests/bench-strncat.c: New file.
47727         * benchtests/bench-strncmp-ifunc.c: New file.
47728         * benchtests/bench-strncmp.c: New file.
47729         * benchtests/bench-strncpy-ifunc.c: New file.
47730         * benchtests/bench-strncpy.c: New file.
47731         * benchtests/bench-strnlen-ifunc.c: New file.
47732         * benchtests/bench-strnlen.c: New file.
47733         * benchtests/bench-strpbrk-ifunc.c: New file.
47734         * benchtests/bench-strpbrk.c: New file.
47735         * benchtests/bench-strrchr-ifunc.c: New file.
47736         * benchtests/bench-strrchr.c: New file.
47737         * benchtests/bench-strspn-ifunc.c: New file.
47738         * benchtests/bench-strspn.c: New file.
47739         * benchtests/bench-strstr-ifunc.c: New file.
47740         * benchtests/bench-strstr.c: New file.
47742         * benchtests/Makefile: Disable parallel execution of targets.
47743         (string-bench): Add memcpy.
47744         (benchset): New variable to store a list of benchmark sets.
47745         (bench-func): Renamed from bench.
47746         (bench-set): New target.
47747         (bench): Depend on bench-func and bench-set.
47748         * benchtests/README: Add section on benchmark sets.
47749         * benchtests/bench-memcpy-ifunc.c: New file.
47750         * benchtests/bench-memcpy.c: New file.
47751         * benchtests/bench-string.h: New file.
47753 2013-06-11  Andreas Schwab  <schwab@suse.de>
47755         [BZ #15577]
47756         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47757         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47758         values in the triple.
47759         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47760         terminator in the group key.
47762 2013-06-11  Andreas Jaeger  <aj@suse.de>
47764         * po/zh_TW.po: Update Chinese (traditional) translation from
47765         translation project.
47767 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47769         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47770         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47771         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47773         (clock_getcpuclockid): Likewise.
47774         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47775         Add weak_alias and libc_hidden_def.
47776         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47777         * rt/clock_gettime.c (clock_gettime): Rename to
47778         __clock_gettime.  Add weak_alias and libc_hidden_def.
47779         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47780         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47781         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47782         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47783         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47784         Likewise.
47785         * rt/clock_settime.c (clock_settime): Rename to
47786         __clock_settime.  Add weak_alias and libc_hidden_def.
47787         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47789 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47791         * mach/err_boot.sub: Remove trailing whitespace.
47792         * mach/err_ipc.sub: Likewise.
47793         * mach/err_mach.sub: Likewise.
47795         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47796         (ROUNDING_TESTS_double): Likewise.
47797         (ROUNDING_TESTS_long_double): Likewise.
47798         (ROUNDING_TESTS): Likewise.
47799         * math/libm-test.inc: Include <math-tests.h>.
47800         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47801         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47802         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47803         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47805 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47807         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47808         of assigning.
47810 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47812         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47813         otherwise empty TRANS lines.
47814         * sysdeps/gnu/errlist.c: Regenerated.
47816         * catgets/gencat.c (error_print): Use (void) in function
47817         definition.
47818         * crypt/crypt_util.c (__init_des): Likewise.
47819         * crypt/speeds.c (Stop): Likewise.
47820         (main): Likewise.
47821         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47822         * inet/ruserpass.c (token): Likewise.
47823         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47824         * intl/localealias.c (extend_alias_table): Likewise.
47825         * intl/plural-exp.c (init_germanic_plural): Likewise.
47826         * libio/fcloseall.c (__fcloseall): Likewise.
47827         * libio/genops.c (_IO_flush_all): Likewise.
47828         (_IO_flush_all_linebuffered): Likewise.
47829         (_IO_cleanup): Likewise.
47830         (_IO_iter_begin): Likewise.
47831         (_IO_iter_end): Likewise.
47832         (_IO_list_lock): Likewise.
47833         (_IO_list_unlock): Likewise.
47834         (_IO_list_resetlock): Likewise.
47835         * libio/getchar.c (getchar): Likewise.
47836         * libio/getchar_u.c (getchar_unlocked): Likewise.
47837         * libio/getwchar.c (getwchar): Likewise.
47838         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47839         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47840         * login/getpt.c (__getpt): Likewise.
47841         * login/tst-utmp.c (main): Likewise.
47842         * malloc/hooks.c (__malloc_check_init): Likewise.
47843         * malloc/malloc.c (__malloc_stats): Likewise.
47844         * malloc/mtrace.c (tr_break): Likewise.
47845         (mtrace): Likewise.
47846         (muntrace): Likewise.
47847         * misc/fstab.c (endfsent): Likewise.
47848         * misc/getclktck.c (__getclktck): Likewise.
47849         * misc/getdtsz.c (__getdtablesize): Likewise.
47850         * misc/gethostid.c (gethostid): Likewise.
47851         * misc/getpagesize.c (__getpagesize): Likewise.
47852         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47853         (__get_nprocs): Likewise.
47854         (__get_phys_pages): Likewise.
47855         (__get_avphys_pages): Likewise.
47856         * misc/getttyent.c (getttyent): Likewise.
47857         (setttyent): Likewise.
47858         (endttyent): Likewise.
47859         * misc/getusershell.c (getusershell): Likewise.
47860         (endusershell): Likewise.
47861         (setusershell): Likewise.
47862         (initshells): Likewise.
47863         * misc/hsearch.c (__hdestroy): Likewise.
47864         * misc/sync.c (sync): Likewise.
47865         * misc/syslog.c (closelog_internal): Likewise.
47866         (closelog): Likewise.
47867         * misc/ttyslot.c (ttyslot): Likewise.
47868         * misc/vhangup.c (vhangup): Likewise.
47869         * posix/fork.c (__fork): Likewise.
47870         * posix/getegid.c (__getegid): Likewise.
47871         * posix/geteuid.c (__geteuid): Likewise.
47872         * posix/getgid.c (__getgid): Likewise.
47873         * posix/getpid.c (__getpid): Likewise.
47874         * posix/getppid.c (__getppid): Likewise.
47875         * posix/getuid.c (__getuid): Likewise.
47876         * posix/pause.c (pause): Likewise.
47877         * posix/setpgrp.c (setpgrp): Likewise.
47878         * posix/setsid.c (__setsid): Likewise.
47879         * posix/test-vfork.c (noop): Likewise.
47880         * resolv/gethnamaddr.c (_endhtent): Likewise.
47881         (_gethtent): Likewise.
47882         (ht_endhostent): Likewise.
47883         (gethostent): Likewise.
47884         (dns_service): Likewise.
47885         * stdlib/drand48.c (drand48): Likewise.
47886         * stdlib/lrand48.c (lrand48): Likewise.
47887         * stdlib/mrand48.c (mrand48): Likewise.
47888         * stdlib/rand.c (rand): Likewise.
47889         * stdlib/random.c (__random): Likewise.
47890         * stdlib/setenv.c (clearenv): Likewise.
47891         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47892         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47893         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47894         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47895         (__get_nprocs): Likewise.
47896         (__get_phys_pages): Likewise.
47897         (__get_avphys_pages): Likewise.
47898         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47899         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47900         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47901         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47902         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47903         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47904         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47905         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47906         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47907         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47908         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47909         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47910         * sysdeps/posix/clock.c (clock): Likewise.
47911         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47912         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47913         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47914         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47915         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47917         (__get_nprocs_conf): Likewise.
47918         (__get_phys_pages): Likewise.
47919         (__get_avphys_pages): Likewise.
47920         * time/clock.c (clock): Likewise.
47921         * time/tzset.c (__tzname_max): Likewise.
47923 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47925         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47926         (__bswap_32): Do not use "register".
47927         * crypt/crypt.c (_ufc_doit_r): Likewise.
47928         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47929         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47930         * gmon/gmon.c (__monstartup): Likewise.
47931         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47932         * hurd/hurdmalloc.c (more_memory): Likewise.
47933         (malloc): Likewise.
47934         (free): Likewise.
47935         (realloc): Likewise.
47936         (malloc_fork_prepare): Likewise.
47937         (malloc_fork_parent): Likewise.
47938         (malloc_fork_child): Likewise.
47939         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47940         (_svcauth_des): Likewise.
47941         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47942         * inet/inet_net.c (inet_network): Likewise.
47943         * inet/inet_netof.c (inet_netof): Likewise.
47944         * inet/rcmd.c (__validuser2_sa): Likewise.
47945         * io/fts.c (fts_open): Likewise.
47946         (fts_load): Likewise.
47947         (fts_close): Likewise.
47948         (fts_read): Likewise.
47949         (fts_children): Likewise.
47950         (fts_build): Likewise.
47951         (fts_stat): Likewise.
47952         (fts_sort): Likewise.
47953         (fts_alloc): Likewise.
47954         (fts_lfree): Likewise.
47955         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47956         (_IO_file_xsgetn): Likewise.
47957         (_IO_file_xsgetn_mmap): Likewise.
47958         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47959         (_IO_cookie_write): Likewise.
47960         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47961         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47962         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47963         * malloc/obstack.c (_obstack_begin): Likewise.
47964         (_obstack_begin_1): Likewise.
47965         (_obstack_newchunk): Likewise.
47966         (_obstack_allocated_p): Likewise.
47967         (obstack_free): Likewise.
47968         (_obstack_memory_used): Likewise.
47969         * misc/getttyent.c (getttynam): Likewise.
47970         (getttyent): Likewise.
47971         (skip): Likewise.
47972         (value): Likewise.
47973         * misc/getusershell.c (initshells): Likewise.
47974         * misc/syslog.c (__vsyslog_chk): Likewise.
47975         * misc/ttyslot.c (ttyslot): Likewise.
47976         * nis/nis_hash.c (__nis_hash): Likewise.
47977         * posix/fnmatch_loop.c (FCT): Likewise.
47978         * posix/getconf.c (print_all): Likewise.
47979         (main): Likewise.
47980         * posix/getopt.c (exchange): Likewise.
47981         * posix/glob.c (globfree): Likewise.
47982         (prefix_array): Likewise.
47983         (__glob_pattern_type): Likewise.
47984         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47985         (NS_GET32): Likewise.
47986         (NS_PUT16): Likewise.
47987         (NS_PUT32): Likewise.
47988         * resolv/gethnamaddr.c (getanswer): Likewise.
47989         (gethostbyname2): Likewise.
47990         (gethostbyaddr): Likewise.
47991         (_gethtent): Likewise.
47992         (_gethtbyname2): Likewise.
47993         (_gethtbyaddr): Likewise.
47994         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47995         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47996         * resolv/res_init.c (__res_vinit): Likewise.
47997         (net_mask): Likewise.
47998         * resolv/res_mkquery.c (outchar): Likewise.
47999         (PRINT): Likewise.
48000         * stdio-common/printf_fp.c (outchar): Likewise.
48001         (PRINT): Likewise.
48002         * stdio-common/printf_fphex.c (outchar): Likewise.
48003         (PRINT): Likewise.
48004         * stdio-common/printf_size.c (outchar): Likewise.
48005         (PRINT): Likewise.
48006         * stdio-common/test_rdwr.c (main): Likewise.
48007         * stdio-common/tfformat.c (matches): Likewise.
48008         * stdio-common/vfprintf.c (outchar): Likewise.
48009         (printf_unknown): Likewise.
48010         (buffered_vfprintf): Likewise.
48011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48012         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48013         (ReadFile): Likewise.
48014         * stdlib/qsort.c (SWAP): Likewise.
48015         (_quicksort): Likewise.
48016         * stdlib/setenv.c (__add_to_environ): Likewise.
48017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48018         * stdlib/strtol_l.c (__strtol_l): Likewise.
48019         * stdlib/tst-strtod.c (main): Likewise.
48020         * stdlib/tst-strtol.c (main): Likewise.
48021         * stdlib/tst-strtoll.c (main): Likewise.
48022         * string/bits/string2.h (__strcmp_cc): Likewise.
48023         (__strcmp_cg): Likewise.
48024         (__strcspn_c1): Likewise.
48025         (__strcspn_c2): Likewise.
48026         (__strcspn_c3): Likewise.
48027         (__strspn_c1): Likewise.
48028         (__strspn_c2): Likewise.
48029         (__strspn_c3): Likewise.
48030         (__strsep_1c): Likewise.
48031         (__strsep_2c): Likewise.
48032         (__strsep_3c): Likewise.
48033         * string/memccpy.c (__memccpy): Likewise.
48034         * string/stpcpy.c (__stpcpy): Likewise.
48035         * string/strcmp.c (strcmp): Likewise.
48036         * string/strrchr.c (strrchr): Likewise.
48037         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48038         Likewise.
48039         * sysdeps/mach/hurd/getcwd.c
48040         (_hurd_canonicalize_directory_name_internal): Likewise.
48041         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48042         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48043         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48044         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48045         Likewise, in both definitions.
48046         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48047         definitions.
48048         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48049         64] (__bswap_64): Likewise.
48050         * time/test_time.c (main): Likewise.
48051         * time/tzfile.c (__tzfile_read): Likewise.
48052         (__tzfile_compute): Likewise.
48053         * time/tzset.c (__tzset_parse_tz): Likewise.
48054         (tzset_internal): Likewise.
48055         (compute_change): Likewise.
48056         * wcsmbs/wcscat.c (__wcscat): Likewise.
48057         * wcsmbs/wcschr.c (wcschr): Likewise.
48058         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48059         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48060         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48061         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48062         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48063         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48064         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48065         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48066         * wcsmbs/wmemset.c (wmemset): Likewise.
48068 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48070         * scripts/config.guess: Update to version 2013-05-16.
48071         * scripts/config.sub: Update to version 2013-04-24.
48072         * scripts/install-sh: Update to version 2011-11-20.07.
48073         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48074         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48076 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48078         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48079         * elf/sln.c: Likewise.
48080         * hurd/hurd/ioctl.h: Likewise.
48081         * hurd/hurdmalloc.c: Likewise.
48082         * hurd/xattr.c: Likewise.
48083         * include/shlib-compat.h: Likewise.
48084         * inet/ruserpass.c: Likewise.
48085         * libio/iofgets_u.c: Likewise.
48086         * libio/iofgetws_u.c: Likewise.
48087         * locale/programs/ld-identification.c: Likewise.
48088         * locale/programs/ld-time.c: Likewise.
48089         * mach/msg-destroy.c: Likewise.
48090         * nss/nss_files/files-netgrp.c: Likewise.
48091         * resolv/res_data.c: Likewise.
48092         * soft-fp/op-1.h: Likewise.
48093         * soft-fp/op-2.h: Likewise.
48094         * soft-fp/op-4.h: Likewise.
48095         * soft-fp/op-common.h: Likewise.
48096         * stdio-common/printf_fphex.c: Likewise.
48097         * stdlib/strtod_l.c: Likewise.
48098         * sunrpc/rpc/clnt.h: Likewise.
48099         * sysdeps/generic/framestate.c: Likewise.
48100         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48101         * sysdeps/i386/bsd-setjmp.S: Likewise.
48102         * sysdeps/i386/__longjmp.S: Likewise.
48103         * sysdeps/i386/setjmp.S: Likewise.
48104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48105         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48107         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48109         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48112         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48113         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48114         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48115         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48117         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48118         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48119         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48120         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48121         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48122         * sysdeps/ieee754/support.c: Likewise.
48123         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48124         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48125         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48126         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48127         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48128         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48129         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48130         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48131         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48132         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48133         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48134         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48135         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48136         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48137         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48138         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48139         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48142 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48144         * posix/transbug.c: Remove executable mode.
48146 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48148         * crypt/speeds.c: Remove trailing whitespace.
48149         * dlfcn/default.c: Likewise.
48150         * elf/ifuncdep2.c: Likewise.
48151         * elf/ifuncmain1.c: Likewise.
48152         * elf/ifuncmain1vis.c: Likewise.
48153         * elf/testobj.h: Likewise.
48154         * elf/tst-stackguard1.c: Likewise.
48155         * gmon/sys/gmon.h: Likewise.
48156         * hurd/hurdmsg.c: Likewise.
48157         * hurd/new-fd.c: Likewise.
48158         * hurd/ports-get.c: Likewise.
48159         * iconvdata/ibm1008_420.c: Likewise.
48160         * inet/tst-getni1.c: Likewise.
48161         * inet/tst-getni2.c: Likewise.
48162         * libio/ioungetc.c: Likewise.
48163         * libio/wfiledoalloc.c: Likewise.
48164         * manual/libm-err-tab.pl: Likewise.
48165         * math/w_dremf.c: Likewise.
48166         * misc/ftruncate.c: Likewise.
48167         * posix/bug-glob2.c: Likewise.
48168         * posix/tst-pcre.c: Likewise.
48169         * posix/wait4.c: Likewise.
48170         * resolv/README: Likewise.
48171         * resolv/res_debug.h: Likewise.
48172         * resolv/tst-inet_ntop.c: Likewise.
48173         * setjmp/bug269-setjmp.c: Likewise.
48174         * soft-fp/extended.h: Likewise.
48175         * soft-fp/op-1.h: Likewise.
48176         * soft-fp/op-2.h: Likewise.
48177         * soft-fp/op-4.h: Likewise.
48178         * soft-fp/op-8.h: Likewise.
48179         * soft-fp/testit.c: Likewise.
48180         * stdio-common/bug16.c: Likewise.
48181         * stdlib/random.c: Likewise.
48182         * sunrpc/rpcsvc/rquota.x: Likewise.
48183         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48184         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48186         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48187         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48188         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48189         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48190         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48191         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48192         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48193         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48194         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48195         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48196         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48197         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48198         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48199         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48200         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48201         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48202         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48203         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48204         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48205         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48206         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48207         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48208         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48211         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48212         * sysdeps/ieee754/s_lib_version.c: Likewise.
48213         * sysdeps/mach/hurd/check_fds.c: Likewise.
48214         * sysdeps/mach/hurd/getsockname.c: Likewise.
48215         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48216         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48217         * sysdeps/powerpc/bits/link.h: Likewise.
48218         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48219         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48220         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48221         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48222         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48223         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48224         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48225         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48226         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48227         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48228         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48229         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48230         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48231         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48232         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48233         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48234         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48235         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48239         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48240         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48241         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48242         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48243         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48244         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48245         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48246         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48248         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48250         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48252         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48253         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48254         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48255         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48256         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48257         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48258         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48259         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48260         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48261         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48262         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48263         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48264         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48265         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48266         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48267         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48270         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48271         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48272         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48273         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48274         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48275         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48276         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48277         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48278         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48279         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48280         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48282         * sysdeps/powerpc/sysdep.h: Likewise.
48283         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48284         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48285         * sysdeps/sh/dl-trampoline.S: Likewise.
48286         * sysdeps/sh/memset.S: Likewise.
48287         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48288         * sysdeps/sh/strlen.S: Likewise.
48289         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48290         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48291         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48292         * sysdeps/sparc/sparc32/rem.S: Likewise.
48293         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48294         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48295         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48296         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48297         * sysdeps/sparc/sparc32/urem.S: Likewise.
48298         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48299         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48300         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48301         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48303         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48304         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48305         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48306         * sysdeps/unix/bsd/times.c: Likewise.
48307         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48308         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48312         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48314         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48316         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48317         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48318         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48319         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48320         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48321         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48322         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48323         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48324         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48325         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48326         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48327         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48328         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48329         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48330         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48331         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48332         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48333         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48334         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48335         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48336         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48337         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48338         * sysdeps/x86_64/strcspn.S: Likewise.
48340 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48342         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48343         generated file.  Regenerate properly from gen-translit.pl.
48344         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48345         locale/C-translit.h.
48347 2013-06-05  Andreas Schwab  <schwab@suse.de>
48349         [BZ #15100]
48350         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48351         week as 6 instead of -1.
48352         * time/tst-strptime.c (day_tests): Add test case.
48354 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48356         * sysdeps/generic/math_private.h
48357         (libc_feholdexcept_setround_53bit): Replace with
48358         libc_feholdsetround_53bit.
48359         (libc_feupdateenv_53bit): Replace with
48360         libc_feresetround_53bit.
48361         (SET_RESTORE_ROUND_53BIT): Adjust.
48363 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48365         * string/test-strchrnul.c: Add copyright header.
48367         * posix/tst-getaddrinfo4.c: Increase test timeout.
48369 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48371         [BZ #15536]
48372         * math/libm-test.inc (MAX_EXP): Remove
48373         (MIN_EXP): Define.
48374         (ulp): Use MIN_EXP - MANT_DIG.
48375         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48377 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48379         * po/be.po: Revert last change.
48380         * po/zh_CN.po: Likewise.
48381         * po/header.pot: Likewise.
48383 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48385         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48386         link-libc-deps to empty as target-specific variable.
48387         * Makerules (link-libc-args): New variable.
48388         (libc-for-link): Likewise.
48389         (link-libc-deps): Likewise.
48390         (lib%.so): Depend on $(link-libc-deps).  Link with
48391         $(link-libc-args).
48392         (build-module): Link with $(link-libc-args).
48393         (build-module-asneeded): Likewise.
48394         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48395         list of objects.
48396         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48397         target-specific variable.
48398         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48399         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48400         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48401         libc.
48402         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48403         libc and ld.so.
48404         ($(objpfx)libpcprofile.so): Likewise.
48405         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48406         libc_nonshared.a.
48407         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48408         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48409         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48410         $(link-libc-deps).
48411         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48412         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48413         * login/Makefile ($(objpfx)libutil.so): Likewise.
48414         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48415         * math/Makefile ($(objpfx)libm.so): Likewise.
48416         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48417         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48418         variable instead of depending directly on libc.
48419         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48420         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48421         $(link-libc-deps).
48422         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48423         libc.
48424         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48425         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48426         ($(objpfx)libanl.so): Likewise.
48427         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48428         ld.so.
48429         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48430         $(link-libc-deps).
48431         * sysdeps/i386/fpu/Makefile: Remove file.
48432         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48433         ($(objpfx)libm.so): Remove dependency on ld.so.
48435 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48437         [BZ # 15553]
48438         * nis/yp_xdr.c (XDRMAXNAME): Define.
48439         (XDRMAXRECORD): Define.
48440         (xdr_domainname): Use XDRMAXNAME.
48441         (xdr_mapname): Likewise.
48442         (xdr_peername): Likewise.
48443         (xdr_keydat): Use XDRMAXRECORD.
48444         (xdr_valdat): Likewise.
48446 2013-05-30  Jeff Law  <law@redhat.com>
48448         [BZ #14256]
48449         * manual/errno.texi (ESTALE): Update to account for more than
48450         just NFS file systems.
48451         * sysdeps/gnu/errlist.c: Regenerated.
48453 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48455         [BZ #15465]
48456         * elf/Makefile (tests): Add tst-null-argv.
48457         (modules-names):  Add tst-null-argv-lib.
48458         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48459         (tst-null-argv-ENV): Set environment for tst-null-argv.
48460         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48461         (RTLD_PROGNAME): New macro.
48462         * elf/tst-null-argv.c: New test case.
48463         * elf/tst-null-argv-lib.c: Library for test case.
48464         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48465         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48466         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48467         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48468         * elf/dl-init.c (call_init): Likewise.
48469         (_dl_init): Likewise.
48470         * elf/dl-load.c (print_search_path): Likewise.
48471         (_dl_map_object): Likewise.
48472         * elf/dl-lookup.c (do_lookup_x): Likewise.
48473         (add_dependency): Likewise.
48474         (_dl_lookup_symbol_x): Likewise.
48475         (_dl_debug_bindings): Likewise.
48476         * elf/dl-open.c (_dl_show_scope): Likewise.
48477         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48478         * elf/dl-version.c (match_symbol): Likewise.
48479         (_dl_check_map_versions): Likewise.
48480         * elf/rtld.c (dl_main): Likewise.
48481         (print_unresolved): Use RTLD_PROGNAME.
48482         (print_missing_version): Likewise.
48483         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48484         (elf_machine_rela): Likewise.
48485         * sysdeps/powerpc/powerpc32/dl-machine.c
48486         (__process_machine_rela): Likewise.
48487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48488         Likewise.
48489         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48490         Likewise.
48491         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48492         Likewise.
48493         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48495         Likewise.
48496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48497         Likewise.
48498         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48500 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48502         * po/be.po: Add descriptive title.
48503         * po/zh_CN.po: Likewise.
48504         * po/header.pot: Likewise.
48506 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48508         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48509         error message.
48510         (enlarge_archive): Likewise.
48512 2013-05-28  Ben North  <ben@redfrontdoor.org>
48514         * manual/arith.texi (frexp): It is the magnitude of the return
48515         value which lies in [0.5, 1), not the return value itself.
48517 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48521 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48523         * stdio-common/bug26.c (main): Correct fscanf template.
48525         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48526         declare _dl_skip_args.
48528         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48529         Don't declare.
48531         * manual/platform.texi: Add missing @end deftypefun.
48533 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48535         [BZ #15529]
48536         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48537         bit of mantissa of 2^16382.
48538         * math/libm-test.inc (hypot_test_data): Add more tests.
48540         * math/libm-test.inc: Add drem and pow10 to list of tested
48541         functions.
48542         (pow10_test): New function.
48543         (drem_test): Likewise.
48544         (drem_test_tonearest): Likewise.
48545         (drem_test_towardzero): Likewise.
48546         (drem_test_downward): Likewise.
48547         (drem_test_upward): Likewise.
48548         (main): Call the new functions.
48550         * math/libm-test.inc (finite_test_data): Remove.
48551         (finite_test): Run tests from isfinite_test_data.
48552         (gamma_test_data): Remove.
48553         (gamma_test): Run tests from lgamma_test_data.
48554         * sysdeps/i386/fpu/libm-test-ulps: Update.
48555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48557 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48559         * manual/platform.texi: Add PowerPC PPR function set documentation.
48560         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48561         implementation.
48563 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48565         * math/libm-test.inc (MAX_EXP): Define.
48566         (ULPDIFF): Define.
48567         (ulp): New function.
48568         (check_float_internal): Use ULPDIFF.
48569         (cpow_test): Disable failing test.
48570         (check_ulp): Test ulp() implemetnation.
48571         (main): Call check_ulp before starting tests.
48573 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48575         * math/gen-libm-test.pl (generate_testfile): Do not handle
48576         START_DATA and END_DATA.
48577         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48578         END_DATA.
48579         (acos_tonearest_test_data): Likewise.
48580         (acos_towardzero_test_data): Likewise.
48581         (acos_downward_test_data): Likewise.
48582         (acos_upward_test_data): Likewise.
48583         (acosh_test_data): Likewise.
48584         (asin_test_data): Likewise.
48585         (asin_tonearest_test_data): Likewise.
48586         (asin_towardzero_test_data): Likewise.
48587         (asin_downward_test_data): Likewise.
48588         (asin_upward_test_data): Likewise.
48589         (asinh_test_data): Likewise.
48590         (atan_test_data): Likewise.
48591         (atanh_test_data): Likewise.
48592         (atan2_test_data): Likewise.
48593         (cabs_test_data): Likewise.
48594         (cacos_test_data): Likewise.
48595         (cacosh_test_data): Likewise.
48596         (carg_test_data): Likewise.
48597         (casin_test_data): Likewise.
48598         (casinh_test_data): Likewise.
48599         (catan_test_data): Likewise.
48600         (catanh_test_data): Likewise.
48601         (cbrt_test_data): Likewise.
48602         (ccos_test_data): Likewise.
48603         (ccosh_test_data): Likewise.
48604         (ceil_test_data): Likewise.
48605         (cexp_test_data): Likewise.
48606         (cimag_test_data): Likewise.
48607         (clog_test_data): Likewise.
48608         (clog10_test_data): Likewise.
48609         (conj_test_data): Likewise.
48610         (copysign_test_data): Likewise.
48611         (cos_test_data): Likewise.
48612         (cos_tonearest_test_data): Likewise.
48613         (cos_towardzero_test_data): Likewise.
48614         (cos_downward_test_data): Likewise.
48615         (cos_upward_test_data): Likewise.
48616         (cosh_test_data): Likewise.
48617         (cosh_tonearest_test_data): Likewise.
48618         (cosh_towardzero_test_data): Likewise.
48619         (cosh_downward_test_data): Likewise.
48620         (cosh_upward_test_data): Likewise.
48621         (cpow_test_data): Likewise.
48622         (cproj_test_data): Likewise.
48623         (creal_test_data): Likewise.
48624         (csin_test_data): Likewise.
48625         (csinh_test_data): Likewise.
48626         (csqrt_test_data): Likewise.
48627         (ctan_test_data): Likewise.
48628         (ctan_tonearest_test_data): Likewise.
48629         (ctan_towardzero_test_data): Likewise.
48630         (ctan_downward_test_data): Likewise.
48631         (ctan_upward_test_data): Likewise.
48632         (ctanh_test_data): Likewise.
48633         (ctanh_tonearest_test_data): Likewise.
48634         (ctanh_towardzero_test_data): Likewise.
48635         (ctanh_downward_test_data): Likewise.
48636         (ctanh_upward_test_data): Likewise.
48637         (erf_test_data): Likewise.
48638         (erfc_test_data): Likewise.
48639         (exp_test_data): Likewise.
48640         (exp_tonearest_test_data): Likewise.
48641         (exp_towardzero_test_data): Likewise.
48642         (exp_downward_test_data): Likewise.
48643         (exp_upward_test_data): Likewise.
48644         (exp10_test_data): Likewise.
48645         (exp2_test_data): Likewise.
48646         (expm1_test_data): Likewise.
48647         (fabs_test_data): Likewise.
48648         (fdim_test_data): Likewise.
48649         (finite_test_data): Likewise.
48650         (floor_test_data): Likewise.
48651         (fma_test_data): Likewise.
48652         (fma_towardzero_test_data): Likewise.
48653         (fma_downward_test_data): Likewise.
48654         (fma_upward_test_data): Likewise.
48655         (fmax_test_data): Likewise.
48656         (fmin_test_data): Likewise.
48657         (fmod_test_data): Likewise.
48658         (fpclassify_test_data): Likewise.
48659         (frexp_test_data): Likewise.
48660         (gamma_test_data): Likewise.
48661         (hypot_test_data): Likewise.
48662         (ilogb_test_data): Likewise.
48663         (isfinite_test_data): Likewise.
48664         (isgreater_test_data): Likewise.
48665         (isgreaterequal_test_data): Likewise.
48666         (isinf_test_data): Likewise.
48667         (isless_test_data): Likewise.
48668         (islessequal_test_data): Likewise.
48669         (islessgreater_test_data): Likewise.
48670         (isnan_test_data): Likewise.
48671         (isnormal_test_data): Likewise.
48672         (issignaling_test_data): Likewise.
48673         (isunordered_test_data): Likewise.
48674         (j0_test_data): Likewise.
48675         (j1_test_data): Likewise.
48676         (jn_test_data): Likewise.
48677         (ldexp_test_data): Likewise.
48678         (lgamma_test_data): Likewise.
48679         (lrint_test_data): Likewise.
48680         (lrint_tonearest_test_data): Likewise.
48681         (lrint_towardzero_test_data): Likewise.
48682         (lrint_downward_test_data): Likewise.
48683         (lrint_upward_test_data): Likewise.
48684         (llrint_test_data): Likewise.
48685         (llrint_tonearest_test_data): Likewise.
48686         (llrint_towardzero_test_data): Likewise.
48687         (llrint_downward_test_data): Likewise.
48688         (llrint_upward_test_data): Likewise.
48689         (log_test_data): Likewise.
48690         (log10_test_data): Likewise.
48691         (log1p_test_data): Likewise.
48692         (log2_test_data): Likewise.
48693         (logb_test_data): Likewise.
48694         (logb_downward_test_data): Likewise.
48695         (lround_test_data): Likewise.
48696         (llround_test_data): Likewise.
48697         (modf_test_data): Likewise.
48698         (nearbyint_test_data): Likewise.
48699         (nextafter_test_data): Likewise.
48700         (nexttoward_test_data): Likewise.
48701         (pow_test_data): Likewise.
48702         (pow_tonearest_test_data): Likewise.
48703         (pow_towardzero_test_data): Likewise.
48704         (pow_downward_test_data): Likewise.
48705         (pow_upward_test_data): Likewise.
48706         (remainder_test_data): Likewise.
48707         (remainder_tonearest_test_data): Likewise.
48708         (remainder_towardzero_test_data): Likewise.
48709         (remainder_downward_test_data): Likewise.
48710         (remainder_upward_test_data): Likewise.
48711         (remquo_test_data): Likewise.
48712         (rint_test_data): Likewise.
48713         (rint_tonearest_test_data): Likewise.
48714         (rint_towardzero_test_data): Likewise.
48715         (rint_downward_test_data): Likewise.
48716         (rint_upward_test_data): Likewise.
48717         (round_test_data): Likewise.
48718         (scalb_test_data): Likewise.
48719         (scalbn_test_data): Likewise.
48720         (scalbln_test_data): Likewise.
48721         (signbit_test_data): Likewise.
48722         (sin_test_data): Likewise.
48723         (sin_tonearest_test_data): Likewise.
48724         (sin_towardzero_test_data): Likewise.
48725         (sin_downward_test_data): Likewise.
48726         (sin_upward_test_data): Likewise.
48727         (sincos_test_data): Likewise.
48728         (sinh_test_data): Likewise.
48729         (sinh_tonearest_test_data): Likewise.
48730         (sinh_towardzero_test_data): Likewise.
48731         (sinh_downward_test_data): Likewise.
48732         (sinh_upward_test_data): Likewise.
48733         (sqrt_test_data): Likewise.
48734         (tan_test_data): Likewise.
48735         (tan_tonearest_test_data): Likewise.
48736         (tan_towardzero_test_data): Likewise.
48737         (tan_downward_test_data): Likewise.
48738         (tan_upward_test_data): Likewise.
48739         (tanh_test_data): Likewise.
48740         (tgamma_test_data): Likewise.
48741         (trunc_test_data): Likewise.
48742         (y0_test_data): Likewise.
48743         (y1_test_data): Likewise.
48744         (yn_test_data): Likewise.
48745         (significand_test_data): Likewise.
48747         * math/gen-libm-test.pl (@functions): Remove variable.
48748         (generate_testfile): Don't handle START and END lines.
48749         * math/libm-test.inc (START): New macro.
48750         (END): Likewise.
48751         (END_COMPLEX): Likewise.
48752         (acos_test): Use END macro without arguments.
48753         (acos_test_tonearest): Likewise.
48754         (acos_test_towardzero): Likewise.
48755         (acos_test_downward): Likewise.
48756         (acos_test_upward): Likewise.
48757         (acosh_test): Likewise.
48758         (asin_test): Likewise.
48759         (asin_test_tonearest): Likewise.
48760         (asin_test_towardzero): Likewise.
48761         (asin_test_downward): Likewise.
48762         (asin_test_upward): Likewise.
48763         (asinh_test): Likewise.
48764         (atan_test): Likewise.
48765         (atanh_test): Likewise.
48766         (atan2_test): Likewise.
48767         (cabs_test): Likewise.
48768         (cacos_test): Use END_COMPLEX macro without arguments.
48769         (cacosh_test): Likewise.
48770         (carg_test): Use END macro without arguments.
48771         (casin_test): Use END_COMPLEX macro without arguments.
48772         (casinh_test): Likewise.
48773         (catan_test): Likewise.
48774         (catanh_test): Likewise.
48775         (cbrt_test): Use END macro without arguments.
48776         (ccos_test): Use END_COMPLEX macro without arguments.
48777         (ccosh_test): Likewise.
48778         (ceil_test): Use END macro without arguments.
48779         (cexp_test): Use END_COMPLEX macro without arguments.
48780         (cimag_test): Use END macro without arguments.
48781         (clog_test): Use END_COMPLEX macro without arguments.
48782         (clog10_test): Likewise.
48783         (conj_test): Likewise.
48784         (copysign_test): Use END macro without arguments.
48785         (cos_test): Likewise.
48786         (cos_test_tonearest): Likewise.
48787         (cos_test_towardzero): Likewise.
48788         (cos_test_downward): Likewise.
48789         (cos_test_upward): Likewise.
48790         (cosh_test): Likewise.
48791         (cosh_test_tonearest): Likewise.
48792         (cosh_test_towardzero): Likewise.
48793         (cosh_test_downward): Likewise.
48794         (cosh_test_upward): Likewise.
48795         (cpow_test): Use END_COMPLEX macro without arguments.
48796         (cproj_test): Likewise.
48797         (creal_test): Use END macro without arguments.
48798         (csin_test): Use END_COMPLEX macro without arguments.
48799         (csinh_test): Likewise.
48800         (csqrt_test): Likewise.
48801         (ctan_test): Likewise.
48802         (ctan_test_tonearest): Likewise.
48803         (ctan_test_towardzero): Likewise.
48804         (ctan_test_downward): Likewise.
48805         (ctan_test_upward): Likewise.
48806         (ctanh_test): Likewise.
48807         (ctanh_test_tonearest): Likewise.
48808         (ctanh_test_towardzero): Likewise.
48809         (ctanh_test_downward): Likewise.
48810         (ctanh_test_upward): Likewise.
48811         (erf_test): Use END macro without arguments.
48812         (erfc_test): Likewise.
48813         (exp_test): Likewise.
48814         (exp_test_tonearest): Likewise.
48815         (exp_test_towardzero): Likewise.
48816         (exp_test_downward): Likewise.
48817         (exp_test_upward): Likewise.
48818         (exp10_test): Likewise.
48819         (exp2_test): Likewise.
48820         (expm1_test): Likewise.
48821         (fabs_test): Likewise.
48822         (fdim_test): Likewise.
48823         (finite_test): Likewise.
48824         (floor_test): Likewise.
48825         (fma_test): Likewise.
48826         (fma_test_towardzero): Likewise.
48827         (fma_test_downward): Likewise.
48828         (fma_test_upward): Likewise.
48829         (fmax_test): Likewise.
48830         (fmin_test): Likewise.
48831         (fmod_test): Likewise.
48832         (fpclassify_test): Likewise.
48833         (frexp_test): Likewise.
48834         (gamma_test): Likewise.
48835         (hypot_test): Likewise.
48836         (ilogb_test): Likewise.
48837         (isfinite_test): Likewise.
48838         (isgreater_test): Likewise.
48839         (isgreaterequal_test): Likewise.
48840         (isinf_test): Likewise.
48841         (isless_test): Likewise.
48842         (islessequal_test): Likewise.
48843         (islessgreater_test): Likewise.
48844         (isnan_test): Likewise.
48845         (isnormal_test): Likewise.
48846         (issignaling_test): Likewise.
48847         (isunordered_test): Likewise.
48848         (j0_test): Likewise.
48849         (j1_test): Likewise.
48850         (jn_test): Likewise.
48851         (ldexp_test): Likewise.
48852         (lgamma_test): Likewise.
48853         (lrint_test): Likewise.
48854         (lrint_test_tonearest): Likewise.
48855         (lrint_test_towardzero): Likewise.
48856         (lrint_test_downward): Likewise.
48857         (lrint_test_upward): Likewise.
48858         (llrint_test): Likewise.
48859         (llrint_test_tonearest): Likewise.
48860         (llrint_test_towardzero): Likewise.
48861         (llrint_test_downward): Likewise.
48862         (llrint_test_upward): Likewise.
48863         (log_test): Likewise.
48864         (log10_test): Likewise.
48865         (log1p_test): Likewise.
48866         (log2_test): Likewise.
48867         (logb_test): Likewise.
48868         (logb_test_downward): Likewise.
48869         (lround_test): Likewise.
48870         (llround_test): Likewise.
48871         (modf_test): Likewise.
48872         (nearbyint_test): Likewise.
48873         (nextafter_test): Likewise.
48874         (nexttoward_test): Likewise.
48875         (pow_test): Likewise.
48876         (pow_test_tonearest): Likewise.
48877         (pow_test_towardzero): Likewise.
48878         (pow_test_downward): Likewise.
48879         (pow_test_upward): Likewise.
48880         (remainder_test): Likewise.
48881         (remainder_test_tonearest): Likewise.
48882         (remainder_test_towardzero): Likewise.
48883         (remainder_test_downward): Likewise.
48884         (remainder_test_upward): Likewise.
48885         (remquo_test): Likewise.
48886         (rint_test): Likewise.
48887         (rint_test_tonearest): Likewise.
48888         (rint_test_towardzero): Likewise.
48889         (rint_test_downward): Likewise.
48890         (rint_test_upward): Likewise.
48891         (round_test): Likewise.
48892         (scalb_test): Likewise.
48893         (scalbn_test): Likewise.
48894         (scalbln_test): Likewise.
48895         (signbit_test): Likewise.
48896         (sin_test): Likewise.
48897         (sin_test_tonearest): Likewise.
48898         (sin_test_towardzero): Likewise.
48899         (sin_test_downward): Likewise.
48900         (sin_test_upward): Likewise.
48901         (sincos_test): Likewise.
48902         (sinh_test): Likewise.
48903         (sinh_test_tonearest): Likewise.
48904         (sinh_test_towardzero): Likewise.
48905         (sinh_test_downward): Likewise.
48906         (sinh_test_upward): Likewise.
48907         (sqrt_test): Likewise.
48908         (tan_test): Likewise.
48909         (tan_test_tonearest): Likewise.
48910         (tan_test_towardzero): Likewise.
48911         (tan_test_downward): Likewise.
48912         (tan_test_upward): Likewise.
48913         (tanh_test): Likewise.
48914         (tgamma_test): Likewise.
48915         (trunc_test): Likewise.
48916         (y0_test): Likewise.
48917         (y1_test): Likewise.
48918         (yn_test): Likewise.
48919         (significand_test): Likewise.
48921 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48923         [BZ #15381]
48924         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48926 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48928         [BZ #14894]
48929         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48930         __ppc_mdoio and __ppc_mdoom.
48931         * manual/platform.texi: Document new functions __ppc_yield,
48932         __ppc_mdoio and __ppc_mdoom.
48934 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48936         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48937         (main): Mention "tls" pseudo-hwcap is legacy.
48938         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48940 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48942         * math/gen-libm-test.pl (parse_args): Output only string of
48943         arguments as text for test name, not full call or descriptions of
48944         tests for extra outputs.
48945         (generate_testfile): Do not pass function name to parse_args.
48946         Generate this_func variable from START.
48947         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48948         field to arg_str.
48949         (struct test_ff_f_data): Likewise.
48950         (test_ff_f_data_nexttoward): Likewise.
48951         (struct test_fi_f_data): Likewise.
48952         (struct test_fl_f_data): Likewise.
48953         (struct test_if_f_data): Likewise.
48954         (struct test_fff_f_data): Likewise.
48955         (struct test_c_f_data): Likewise.
48956         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48957         (struct test_fF_f1_data): Likewise.
48958         (struct test_ffI_f1_data): Likewise.
48959         (struct test_c_c_data): Rename test_name field to arg_str.
48960         (struct test_cc_c_data): Likewise.
48961         (struct test_f_i_data): Likewise.
48962         (struct test_ff_i_data): Likewise.
48963         (struct test_f_l_data): Likewise.
48964         (struct test_f_L_data): Likewise.
48965         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48966         and extra2_name.
48967         (COMMON_TEST_SETUP): New macro.
48968         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48969         (COMMON_TEST_CLEANUP): Likewise.
48970         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48971         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48972         macros.
48973         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48974         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48975         macros.
48976         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48977         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48978         cleanup macros.
48979         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48980         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48981         macros.
48982         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48983         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48984         macros.
48985         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48986         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48987         cleanup macros.
48988         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48989         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48990         cleanup macros.
48991         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48992         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48993         cleanup macros.
48994         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48995         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48996         macros.
48997         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48998         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48999         macros.
49000         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49001         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49002         macros.
49003         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49004         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49005         cleanup macros.
49006         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49007         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49008         cleanup macros.
49009         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49010         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49011         macros.
49012         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49013         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49014         cleanup macros.
49015         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49016         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49017         macros.
49018         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49019         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49020         macros.
49021         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49022         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49023         cleanup macros.
49024         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49026 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49028         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49029         to _sifields.sigfault.
49030         (si_addr_lsb): Define new macro.
49031         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49035 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49037         [BZ #15441]
49038         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49039         returns -1.
49040         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49041         null return -1.
49042         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49043         loading the domain.
49045 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49047         * math/gen-libm-test.pl (parse_args): Do not include expected
49048         result in test name.
49049         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49050         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49051         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49052         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49053         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49056 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49058         * benchtests/Makefile: Sort function entries.
49060         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49061         tanh, asinh, acosh, atanh.
49062         * benchtests/acos-inputs: New file.
49063         * benchtests/acosh-inputs: New file.
49064         * benchtests/asin-inputs: New file.
49065         * benchtests/asinh-inputs: New file.
49066         * benchtests/atanh-inputs: New file.
49067         * benchtests/cosh-inputs: New file.
49068         * benchtests/log-inputs: New file.
49069         * benchtests/sinh-inputs: New file.
49070         * benchtests/tanh-inputs: New file.
49072 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49074         [BZ #15339]
49075         * posix/tst-getaddrinfo4.c: New test.
49076         * posix/Makefile (tests): Add it.
49078 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49080         [BZ #15339]
49081         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49082         when no services were used.
49083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49084         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49086 2013-05-21  Andreas Schwab  <schwab@suse.de>
49088         [BZ #15014]
49089         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49090         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49091         successful.
49092         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49093         redundant variable declarations and reallocation of buffer when
49094         parsing as IPv6 address.  Always set NSS status when called from
49095         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49096         buffer too small.  Correct computation of needed size.
49097         * nss/Makefile (tests): Add test-digits-dots.
49098         * nss/test-digits-dots.c: New test.
49100 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49102         * benchtests/Makefile: Remove instructions for adding
49103         benchmark tests.
49104         * benchtests/README: New file to explain how to execute and
49105         enhance the benchmark tests.
49107 2013-05-21  Andreas Schwab  <schwab@suse.de>
49109         [BZ #15493]
49110         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49111         * setjmp/tst-sigsetjmp.c: New test.
49113 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49115         * sysdeps/x86_64/memset.S (memset): New implementation.
49116         (__bzero): Likewise.
49117         (__memset_tail): New function.
49119 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49121         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49122         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49123         __memcpy_sse2_unaligned ifunc selection.
49124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49125         Add memcpy-sse2-unaligned.S.
49126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49127         Add: __memcpy_sse2_unaligned.
49129 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49131         [BZ #15490]
49132         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49133         math_force_eval before restoring floating-point envrionment.
49134         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49136         Likewise.
49137         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49138         <math_private.h>.
49139         (__nearbyintl): Use math_force_eval before restoring
49140         floating-point environment.
49141         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49143         * math/gen-libm-test.pl (special_functions): Remove.
49144         (parse_args): Don't handle TEST_extra.  Handle functions with no
49145         return value.
49146         * math/libm-test.inc (struct test_sincos_data): Replace with
49147         struct test_fFF_11_data.
49148         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49149         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49150         (sincos_test_data): Change element type to struct
49151         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49152         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49153         RUN_TEST_LOOP_sincos.
49154         * math/README.libm-test: Don't mention special handling of
49155         individual functions.
49156         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49158         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49159         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49160         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49163         * math/gen-libm-test.pl (get_variable): Remove function.
49164         (parse_args): Don't show pointer parameters to call in test
49165         names.  Use "extra output N" in test names for extra outputs
49166         rather than naming variables.
49168 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49170         [BZ #15488]
49171         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49172         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49173         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49174         double tests.
49175         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49176         disable.
49177         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49178         check_long_double.
49180         * math/gen-libm-test.pl (@tests): Remove variable.
49181         ($count): Likewise.
49182         (new_test): Remove function.
49183         (show_exceptions): New function.
49184         (special_functions): Use show_exceptions instead of new_test.
49185         (parse_args): Likewise.
49186         (generate_testfile): Pass only function name in generated call to
49187         print_max_error or print_complex_max_error.
49188         (get_ulps): Do not handle complex tests specially.
49189         (output_test): Rename to ...
49190         (get_all_ulps_for_test): ... this.  Return a string rather than
49191         printing to a file.  Require ulps to be present.
49192         (output_ulps): Generate arrays rather than #defines.
49193         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49194         (struct ulp_data): New type.
49195         (BUILD_COMPLEX_ULP): Remove macro.
49196         (compare_ulp_data): New function.
49197         (find_ulps): Likewise.
49198         (find_test_ulps): Likewise.
49199         (find_function_ulps): Likewise.
49200         (find_complex_function_ulps): Likewise.
49201         (print_max_error): Determine allowed ulps using
49202         find_function_ulps.
49203         (print_complex_max_error): Determine allowed ulps using
49204         find_complex_function_ulps.
49205         (check_float_internal): Determine max ulps using find_test_ulps.
49206         (check_float): Do not take max_ulp parameter.  Update call to
49207         check_float_internal.
49208         (check_complex): Likewise.
49209         (check_int): Do not take max_ulp parameter.
49210         (check_long): Likewise.
49211         (check_bool): Likewise.
49212         (check_longlong): Likewise.
49213         (struct test_f_f_data): Remove max_ulp field.
49214         (struct test_ff_f_data): Likewise.
49215         (struct test_ff_f_data_nexttoward): Likewise.
49216         (struct test_fi_f_data): Likewise.
49217         (struct test_fl_f_data): Likewise.
49218         (struct test_if_f_data): Likewise.
49219         (struct test_fff_f_data): Likewise.
49220         (struct test_c_f_data): Likewise.
49221         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49222         (struct test_fF_f1_data): Likewise.
49223         (struct test_ffI_f1_data): Likewise.
49224         (struct test_c_c_data): Remove max_ulp field.
49225         (struct test_cc_c_data): Likewise.
49226         (struct test_f_i_data): Likewise.
49227         (struct test_ff_i_data): Likewise.
49228         (struct test_f_l_data): Likewise.
49229         (struct test_f_L_data): Likewise.
49230         (struct test_sincos_data): Likewise.
49231         (RUN_TEST_f_f): Do not handle ulps.
49232         (RUN_TEST_LOOP_f_f): Likewise.
49233         (RUN_TEST_2_f): Likewise.
49234         (RUN_TEST_LOOP_2_f): Likewise.
49235         (RUN_TEST_fff_f): Likewise.
49236         (RUN_TEST_LOOP_fff_f): Likewise.
49237         (RUN_TEST_c_f): Likewise.
49238         (RUN_TEST_LOOP_c_f): Likewise.
49239         (RUN_TEST_f_f1): Likewise.
49240         (RUN_TEST_LOOP_f_f1): Likewise.
49241         (RUN_TEST_fF_f1): Likewise.
49242         (RUN_TEST_LOOP_fF_f1): Likewise.
49243         (RUN_TEST_fI_f1): Likewise.
49244         (RUN_TEST_LOOP_fI_f1): Likewise.
49245         (RUN_TEST_ffI_f1): Likewise.
49246         (RUN_TEST_LOOP_ffI_f1): Likewise.
49247         (RUN_TEST_c_c): Likewise.
49248         (RUN_TEST_LOOP_c_c): Likewise.
49249         (RUN_TEST_cc_c): Likewise.
49250         (RUN_TEST_LOOP_cc_c): Likewise.
49251         (RUN_TEST_f_i): Likewise.
49252         (RUN_TEST_LOOP_f_i): Likewise.
49253         (RUN_TEST_f_i_tg): Likewise.
49254         (RUN_TEST_LOOP_f_i_tg): Likewise.
49255         (RUN_TEST_ff_i_tg): Likewise.
49256         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49257         (RUN_TEST_f_b): Likewise.
49258         (RUN_TEST_LOOP_f_b): Likewise.
49259         (RUN_TEST_f_b_tg): Likewise.
49260         (RUN_TEST_LOOP_f_b_tg): Likewise.
49261         (RUN_TEST_f_l): Likewise.
49262         (RUN_TEST_LOOP_f_l): Likewise.
49263         (RUN_TEST_f_L): Likewise.
49264         (RUN_TEST_LOOP_f_L): Likewise.
49265         (RUN_TEST_sincos): Likewise.
49266         (RUN_TEST_LOOP_sincos): Likewise.
49268 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49270         [BZ #15480]
49271         [BZ #15485]
49272         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49273         main case of finite arguments, set rounding mode to FE_TONEAREST
49274         and discard exceptions.
49275         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49276         exceptions.
49277         (remainder_tonearest_test_data): New variable.
49278         (remainder_test_tonearest): New function.
49279         (remainder_towardzero_test_data): New variable.
49280         (remainder_test_towardzero): New function.
49281         (remainder_downward_test_data): New variable.
49282         (remainder_test_downward): New function.
49283         (remainder_upward_test_data): New variable.
49284         (remainder_test_upward): New function.
49285         (main): Call the new test functions.
49287         * math/libm-test.inc (struct test_f_f1_data): Remove field
49288         extra_init.
49289         (struct test_fF_f1_data): Likewise.
49290         (struct test_ffI_f1_data): Likewise.
49291         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49292         based on value of EXTRA_EXPECTED.
49293         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49294         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49295         EXTRA_VAR based on value of EXTRA_EXPECTED.
49296         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49297         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49298         EXTRA_VAR based on value of EXTRA_EXPECTED.
49299         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49300         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49301         EXTRA_VAR based on value of EXTRA_EXPECTED.
49302         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49303         * math/gen-libm-test.pl (parse_args): Don't output initializers
49304         for extra output values.
49306         * math/libm-test.inc (check_int): Expect result to be exactly
49307         equal to expected value and do not handle ulps.
49308         (check_long): Likewise.
49309         (check_longlong): Likewise.
49311         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49312         exceptions.
49313         (cimag_test_data): Likewise.
49314         (conj_test_data): Likewise.
49315         (copysign_test_data): Likewise.
49316         (cproj_test_data): Likewise.
49317         (creal_test_data): Likewise.
49318         (fabs_test_data): Likewise.
49319         (fdim_test_data): Likewise.
49320         (finite_test_data): Likewise.
49321         (floor_test_data): Likewise.
49322         (fmax_test_data): Likewise.
49323         (fmin_test_data): Likewise.
49324         (fmod_test_data): Likewise.
49325         (fpclassify_test_data): Likewise.
49326         (frexp_test_data): Likewise.
49327         (ilogb_test_data): Likewise.
49328         (isfinite_test_data): Likewise.
49329         (isgreater_test_data): Likewise.
49330         (isgreaterequal_test_data): Likewise.
49331         (isinf_test_data): Likewise.
49332         (isless_test_data): Likewise.
49333         (islessequal_test_data): Likewise.
49334         (islessgreater_test_data): Likewise.
49335         (isnan_test_data): Likewise.
49336         (isnormal_test_data): Likewise.
49337         (issignaling_test_data): Likewise.
49338         (isunordered_test_data): Likewise.
49339         (ldexp_test_data): Likewise.
49340         (lrint_test_data): Likewise.
49341         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49342         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49343         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49344         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49345         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49346         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49347         test input.
49348         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49349         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49350         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49351         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49352         that test input.
49353         (lrint_downward_test_data): Test for "inexact" exceptions.
49354         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49355         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49356         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49357         test input.
49358         (lrint_upward_test_data): Test for "inexact" exceptions.
49359         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49360         test input.
49361         (llrint_test_data): Test for "inexact" exceptions.
49362         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49363         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49364         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49365         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49366         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49367         (llrint_downward_test_data): Test for "inexact" exceptions.
49368         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49369         (llrint_upward_test_data): Test for "inexact" exceptions.
49370         (logb_test_data): Likewise.
49371         (logb_downward_test_data): Likewise.
49372         (nextafter_test_data): Likewise.
49373         (nexttoward_test_data): Likewise.
49374         (remainder_test_data): Likewise.
49375         (remquo_test_data): Likewise.
49376         (scalbn_test_data): Likewise.
49377         (scalbln_test_data): Likewise.
49378         (signbit_test_data): Likewise.
49379         (sqrt_test_data): Likewise.
49380         (significand_test_data): Likewise.
49382 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49384         [BZ #15424]
49385         * benchtests/bench-modf.c (struct args): Mark arg0 as
49386         volatile.
49387         * scripts/bench.pl: Mark members of struct args as volatile.
49389 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49391         [BZ # 15497]
49392         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49393         negative infinity on POWER6 or lower.
49394         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49396 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49398         [BZ #15442]
49399         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49400         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49401         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49402         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49403         (_FP_SETQNAN): New macro.
49404         (_FP_SETQNAN_SEMIRAW): Likewise.
49405         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49406         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49407         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49408         (FP_EXTEND): Use _FP_FRAC_SNANP.
49409         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49410         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49411         into account.
49412         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49413         New macro.
49414         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49415         Likewise.
49417 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49419         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49420         with DIVIDE_BY_ZERO_EXCEPTION.
49421         (gamma_test_data): Likewise.
49422         (lgamma_test_data): Likewise.
49423         (log_test_data): Likewise.
49424         (log10_test_data): Likewise.
49425         (log2_test_data): Likewise.
49426         (tgamma_test_data): Likewise.
49428         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49429         (acos_test_tonearest): Likewise.
49430         (acos_test_towardzero): Likewise.
49431         (acos_test_downward): Likewise.
49432         (acos_test_upward): Likewise.
49433         (acosh_test): Likewise.
49434         (asin_test): Likewise.
49435         (asin_test_tonearest): Likewise.
49436         (asin_test_towardzero): Likewise.
49437         (asin_test_downward): Likewise.
49438         (asin_test_upward): Likewise.
49439         (asinh_test): Likewise.
49440         (atan_test): Likewise.
49441         (atanh_test): Likewise.
49442         (atan2_test): Likewise.
49443         (cabs_test): Likewise.
49444         (cacos_test): Likewise.
49445         (cacosh_test): Likewise.
49446         (casin_test): Likewise.
49447         (casinh_test): Likewise.
49448         (catan_test): Likewise.
49449         (catanh_test): Likewise.
49450         (cbrt_test): Likewise.
49451         (ccos_test): Likewise.
49452         (ccosh_test): Likewise.
49453         (cexp_test): Likewise.
49454         (clog_test): Likewise.
49455         (clog10_test): Likewise.
49456         (cos_test): Likewise.
49457         (cos_test_tonearest): Likewise.
49458         (cos_test_towardzero): Likewise.
49459         (cos_test_downward): Likewise.
49460         (cos_test_upward): Likewise.
49461         (cosh_test): Likewise.
49462         (cosh_test_tonearest): Likewise.
49463         (cosh_test_towardzero): Likewise.
49464         (cosh_test_downward): Likewise.
49465         (cosh_test_upward): Likewise.
49466         (cpow_test): Likewise.
49467         (csin_test): Likewise.
49468         (csinh_test): Likewise.
49469         (csqrt_test): Likewise.
49470         (ctan_test): Likewise.
49471         (ctan_test_tonearest): Likewise.
49472         (ctan_test_towardzero): Likewise.
49473         (ctan_test_downward): Likewise.
49474         (ctan_test_upward): Likewise.
49475         (ctanh_test): Likewise.
49476         (ctanh_test_tonearest): Likewise.
49477         (ctanh_test_towardzero): Likewise.
49478         (ctanh_test_downward): Likewise.
49479         (ctanh_test_upward): Likewise.
49480         (erf_test): Likewise.
49481         (erfc_test): Likewise.
49482         (exp_test): Likewise.
49483         (exp_test_tonearest): Likewise.
49484         (exp_test_towardzero): Likewise.
49485         (exp_test_downward): Likewise.
49486         (exp_test_upward): Likewise.
49487         (exp10_test): Likewise.
49488         (exp2_test): Likewise.
49489         (expm1_test): Likewise.
49490         (fmod_test): Likewise.
49491         (gamma_test): Likewise.
49492         (hypot_test): Likewise.
49493         (j0_test): Likewise.
49494         (j1_test): Likewise.
49495         (jn_test): Likewise.
49496         (lgamma_test): Likewise.
49497         (log_test): Likewise.
49498         (log10_test): Likewise.
49499         (log1p_test): Likewise.
49500         (log2_test): Likewise.
49501         (logb_test_downward): Likewise.
49502         (pow_test): Likewise.
49503         (pow_test_tonearest): Likewise.
49504         (pow_test_towardzero): Likewise.
49505         (pow_test_downward): Likewise.
49506         (pow_test_upward): Likewise.
49507         (remainder_test): Likewise.
49508         (remquo_test): Likewise.
49509         (sin_test): Likewise.
49510         (sin_test_tonearest): Likewise.
49511         (sin_test_towardzero): Likewise.
49512         (sin_test_downward): Likewise.
49513         (sin_test_upward): Likewise.
49514         (sincos_test): Likewise.
49515         (sinh_test): Likewise.
49516         (sinh_test_tonearest): Likewise.
49517         (sinh_test_towardzero): Likewise.
49518         (sinh_test_downward): Likewise.
49519         (sinh_test_upward): Likewise.
49520         (sqrt_test): Likewise.
49521         (tan_test): Likewise.
49522         (tan_test_tonearest): Likewise.
49523         (tan_test_towardzero): Likewise.
49524         (tan_test_downward): Likewise.
49525         (tan_test_upward): Likewise.
49526         (tanh_test): Likewise.
49527         (tgamma_test): Likewise.
49528         (y0_test): Likewise.
49529         (y1_test): Likewise.
49530         (yn_test): Likewise.
49532         * math/gen-libm-test.pl (adjust_arg): Remove function.
49533         (special_function): Remove argument $in_func.  Only handle
49534         generating output for tables of tests, not inside functions.
49535         (parse_args): Likewise.
49536         (generate_testfile): Remove variable $in_func.  Update call to
49537         parse_args.
49538         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49539         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49540         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49541         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49542         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49543         (MAX_VALUE_INIT): Rename macro to max_value.
49544         (MIN_VALUE_INIT): Rename macro to min_value.
49545         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49546         (plus_zero): Remove variable.
49547         (minus_zero): Likewise.
49548         (plus_infty): Likewise.
49549         (minus_infty): Likewise.
49550         (qnan_value): Likewise.
49551         (max_value): Likewise.
49552         (min_value): Likewise.
49553         (min_subnorm_value): Likewise.
49555 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49557         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49558         uint64_t or uint32_t usage.
49559         * crypt/sha256-block.c: Likewise.
49560         * crypt/sha256-crypt.c: Likewise.
49561         * crypt/sha256.c: Likewise.
49562         * crypt/sha512-block.c: Likewise.
49563         * crypt/sha512-crypt.c: Likewise.
49564         * crypt/sha512.c: Likewise.
49565         * debug/backtrace-tst.c: Likewise.
49566         * debug/pcprofiledump.c: Likewise.
49567         * elf/cache.c: Likewise.
49568         * elf/dl-cache.c: Likewise.
49569         * elf/dl-misc.c: Likewise.
49570         * elf/dl-profile.c: Likewise.
49571         * elf/dl-support.c: Likewise.
49572         * elf/ldconfig.c: Likewise.
49573         * elf/sprof.c: Likewise.
49574         * iconv/dummy-repertoire.c: Likewise.
49575         * iconv/iconv_charmap.c: Likewise.
49576         * iconv/skeleton.c: Likewise.
49577         * iconvdata/8bit-generic.c: Likewise.
49578         * iconvdata/cp737.h: Likewise.
49579         * iconvdata/cp775.h: Likewise.
49580         * iconvdata/ibm1008.h: Likewise.
49581         * iconvdata/ibm1025.h: Likewise.
49582         * iconvdata/ibm1046.h: Likewise.
49583         * iconvdata/ibm1097.h: Likewise.
49584         * iconvdata/ibm1112.h: Likewise.
49585         * iconvdata/ibm1122.h: Likewise.
49586         * iconvdata/ibm1123.h: Likewise.
49587         * iconvdata/ibm1124.h: Likewise.
49588         * iconvdata/ibm1129.h: Likewise.
49589         * iconvdata/ibm1130.h: Likewise.
49590         * iconvdata/ibm1132.h: Likewise.
49591         * iconvdata/ibm1133.h: Likewise.
49592         * iconvdata/ibm1137.h: Likewise.
49593         * iconvdata/ibm1140.h: Likewise.
49594         * iconvdata/ibm1141.h: Likewise.
49595         * iconvdata/ibm1142.h: Likewise.
49596         * iconvdata/ibm1143.h: Likewise.
49597         * iconvdata/ibm1144.h: Likewise.
49598         * iconvdata/ibm1145.h: Likewise.
49599         * iconvdata/ibm1146.h: Likewise.
49600         * iconvdata/ibm1147.h: Likewise.
49601         * iconvdata/ibm1148.h: Likewise.
49602         * iconvdata/ibm1149.h: Likewise.
49603         * iconvdata/ibm1153.h: Likewise.
49604         * iconvdata/ibm1154.h: Likewise.
49605         * iconvdata/ibm1155.h: Likewise.
49606         * iconvdata/ibm1156.h: Likewise.
49607         * iconvdata/ibm1157.h: Likewise.
49608         * iconvdata/ibm1158.h: Likewise.
49609         * iconvdata/ibm1160.h: Likewise.
49610         * iconvdata/ibm1161.h: Likewise.
49611         * iconvdata/ibm1162.h: Likewise.
49612         * iconvdata/ibm1163.h: Likewise.
49613         * iconvdata/ibm1164.h: Likewise.
49614         * iconvdata/ibm1166.h: Likewise.
49615         * iconvdata/ibm1167.h: Likewise.
49616         * iconvdata/ibm12712.h: Likewise.
49617         * iconvdata/ibm1390.h: Likewise.
49618         * iconvdata/ibm1399.h: Likewise.
49619         * iconvdata/ibm16804.h: Likewise.
49620         * iconvdata/ibm4517.h: Likewise.
49621         * iconvdata/ibm4899.h: Likewise.
49622         * iconvdata/ibm4909.h: Likewise.
49623         * iconvdata/ibm4971.h: Likewise.
49624         * iconvdata/ibm5347.h: Likewise.
49625         * iconvdata/ibm803.h: Likewise.
49626         * iconvdata/ibm856.h: Likewise.
49627         * iconvdata/ibm901.h: Likewise.
49628         * iconvdata/ibm902.h: Likewise.
49629         * iconvdata/ibm9030.h: Likewise.
49630         * iconvdata/ibm9066.h: Likewise.
49631         * iconvdata/ibm921.h: Likewise.
49632         * iconvdata/ibm922.h: Likewise.
49633         * iconvdata/ibm9448.h: Likewise.
49634         * iconvdata/isiri-3342.h: Likewise.
49635         * iconvdata/jis0201.h: Likewise.
49636         * include/link.h: Likewise.
49637         * include/netdb.h: Likewise.
49638         * inet/check_native.c: Likewise.
49639         * inet/check_pf.c: Likewise.
49640         * inet/getipv4sourcefilter.c: Likewise.
49641         * inet/getnameinfo.c: Likewise.
49642         * inet/getsourcefilter.c: Likewise.
49643         * inet/htonl.c: Likewise.
49644         * inet/setipv4sourcefilter.c: Likewise.
49645         * inet/setsourcefilter.c: Likewise.
49646         * inet/test-inet6_opt.c: Likewise.
49647         * inet/tst-network.c: Likewise.
49648         * locale/C-collate.c: Likewise.
49649         * locale/C-ctype.c: Likewise.
49650         * locale/C-time.c: Likewise.
49651         * locale/C-translit.h: Likewise.
49652         * locale/loadarchive.c: Likewise.
49653         * locale/programs/3level.h: Likewise.
49654         * locale/programs/charmap.c: Likewise.
49655         * locale/programs/charmap.h: Likewise.
49656         * locale/programs/ld-address.c: Likewise.
49657         * locale/programs/ld-collate.c: Likewise.
49658         * locale/programs/ld-ctype.c: Likewise.
49659         * locale/programs/ld-identification.c: Likewise.
49660         * locale/programs/ld-measurement.c: Likewise.
49661         * locale/programs/ld-messages.c: Likewise.
49662         * locale/programs/ld-monetary.c: Likewise.
49663         * locale/programs/ld-name.c: Likewise.
49664         * locale/programs/ld-numeric.c: Likewise.
49665         * locale/programs/ld-paper.c: Likewise.
49666         * locale/programs/ld-telephone.c: Likewise.
49667         * locale/programs/ld-time.c: Likewise.
49668         * locale/programs/linereader.c: Likewise.
49669         * locale/programs/locale.c: Likewise.
49670         * locale/programs/locarchive.c: Likewise.
49671         * locale/programs/locfile.h: Likewise.
49672         * locale/programs/repertoire.c: Likewise.
49673         * locale/programs/simple-hash.c: Likewise.
49674         * locale/programs/simple-hash.h: Likewise.
49675         * malloc/memusage.c: Likewise.
49676         * malloc/memusagestat.c: Likewise.
49677         * nis/nis_defaults.c: Likewise.
49678         * nis/nis_hash.c: Likewise.
49679         * nis/nis_print.c: Likewise.
49680         * nis/nis_xdr.c: Likewise.
49681         * nscd/connections.c: Likewise.
49682         * nscd/hstcache.c: Likewise.
49683         * nscd/nscd_gethst_r.c: Likewise.
49684         * nscd/nscd_getserv_r.c: Likewise.
49685         * nscd/nscd_helper.c: Likewise.
49686         * nscd/servicescache.c: Likewise.
49687         * nss/makedb.c: Likewise.
49688         * nss/nss_db/db-XXX.c: Likewise.
49689         * nss/nss_db/db-initgroups.c: Likewise.
49690         * nss/nss_db/db-netgrp.c: Likewise.
49691         * nss/nss_files/files-network.c: Likewise.
49692         * nss/nss_files/files-parse.c: Likewise.
49693         * posix/bug-regex5.c: Likewise.
49694         * posix/fnmatch_loop.c: Likewise.
49695         * posix/regcomp.c: Likewise.
49696         * posix/regexec.c: Likewise.
49697         * posix/tst-rfc3484-2.c: Likewise.
49698         * posix/tst-rfc3484-3.c: Likewise.
49699         * posix/tst-rfc3484.c: Likewise.
49700         * resolv/nss_dns/dns-canon.c: Likewise.
49701         * resolv/nss_dns/dns-network.c: Likewise.
49702         * resolv/res_init.c: Likewise.
49703         * resolv/res_mkquery.c: Likewise.
49704         * resolv/tst-aton.c: Likewise.
49705         * stdlib/cxa_atexit.c: Likewise.
49706         * stdlib/cxa_finalize.c: Likewise.
49707         * stdlib/gen-fpioconst.c: Likewise.
49708         * stdlib/strtol_l.c: Likewise.
49709         * string/tst-endian.c: Likewise.
49710         * sunrpc/auth_des.c: Likewise.
49711         * sunrpc/clnt_udp.c: Likewise.
49712         * sunrpc/rtime.c: Likewise.
49713         * sunrpc/svcauth_des.c: Likewise.
49714         * sunrpc/xdr.c: Likewise.
49715         * sunrpc/xdr_intXX_t.c: Likewise.
49716         * sunrpc/xdr_rec.c: Likewise.
49717         * sysdeps/generic/ldconfig.h: Likewise.
49718         * sysdeps/generic/ldsodefs.h: Likewise.
49719         * sysdeps/generic/memusage.h: Likewise.
49720         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49721         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49722         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49723         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49724         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49726         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49727         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49728         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49730         * sysdeps/posix/getaddrinfo.c: Likewise.
49731         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49732         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49733         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49734         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49735         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49736         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49737         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49738         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49739         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49740         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49741         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49742         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49743         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49744         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49745         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49746         * sysdeps/x86_64/dl-tls.h: Likewise.
49747         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49748         * time/alt_digit.c: Likewise.
49749         * time/era.c: Likewise.
49750         * wcsmbs/tst-c16c32-1.c: Likewise.
49752 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49754         * math/libm-test.inc (struct test_sincos_data): New type.
49755         (RUN_TEST_LOOP_sincos): New macro.
49756         (sincos_test_data): New variable.
49757         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49759 2013-05-16  Richard Henderson  <rth@redhat.com>
49761         * math/atest-exp2.c (LIMB64): New macro.
49762         (CONSTSZ): New macro.
49763         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49764         (hexdig): Move ...
49765         (print_mpn_fp): ... to function scope.
49766         (read_mpn_hex): Remove.
49767         (get_log2): Remove.
49768         (exp2_mpn): Use mp_log2.
49769         (main): Use mp_exp1.
49771 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49773         * math/libm-test.inc: Remove comment about not testing "inexact"
49774         exceptions.
49775         (INEXACT_EXCEPTION): New macro.
49776         (NO_INEXACT_EXCEPTION): Likewise.
49777         (INVALID_EXCEPTION_OK): Update value.
49778         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49779         (OVERFLOW_EXCEPTION_OK): Likewise.
49780         (UNDERFLOW_EXCEPTION_OK): Likewise.
49781         (IGNORE_ZERO_INF_SIGN): Likewise.
49782         (ERRNO_UNCHANGED): Likewise.
49783         (ERRNO_EDOM): Likewise.
49784         (ERRNO_ERANGE): Likewise.
49785         (test_exceptions): Handle testing "inexact" exceptions.
49786         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49787         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49788         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49789         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49790         INEXACT_EXCEPTION.
49791         (rint_towardzero_test_data): Likewise.
49792         (rint_downward_test_data): Likewise.
49793         (rint_upward_test_data): Likewise.
49795         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49796         with OVERFLOW_EXCEPTION.
49797         (exp10_test_data): Likewise.
49798         (exp2_test_data): Likewise.
49799         (expm1_test_data): Likewise.
49800         (lgamma_test_data): Likewise.
49801         (pow_test_data): Likewise.
49802         (tgamma_test_data): Likewise.
49803         (yn_test_data): Remove duplicate test of overflow.
49805         * math/libm-test.inc (struct test_cc_c_data): New type.
49806         (RUN_TEST_LOOP_cc_c): New macro.
49807         (cpow_test_data): New variable.
49808         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49810         * math/libm-test.inc (struct test_f_L_data): New type.
49811         (RUN_TEST_LOOP_f_L): New macro.
49812         (llrint_test_data): New variable.
49813         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49814         (llrint_tonearest_test_data): New variable.
49815         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49816         (llrint_towardzero_test_data): New variable.
49817         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49818         (llrint_downward_test_data): New variable.
49819         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49820         (llrint_upward_test_data): New variable.
49821         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49822         (llround_test_data): New variable.
49823         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49825 2013-05-13  Peter Collingbourne  <pcc@google.com>
49827         * math/atest-exp2.c (get_log2): Remove const attribute.
49829 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49831         * math/libm-test.inc (struct test_f_l_data): New type.
49832         (RUN_TEST_LOOP_f_l): New macro.
49833         (lrint_test_data): New variable.
49834         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49835         (lrint_tonearest_test_data): New variable.
49836         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49837         (lrint_towardzero_test_data): New variable.
49838         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49839         (lrint_downward_test_data): New variable.
49840         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49841         (lrint_upward_test_data): New variable.
49842         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49843         (lround_test_data): New variable.
49844         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49846 2013-05-15  Peter Collingbourne  <pcc@google.com>
49848         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49849         (EXTRACT_WORDS64) Use where appropriate.
49850         (INSERT_WORDS64) Likewise.
49852         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49853         constraints with x constraints.
49854         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49856         * malloc/obstack.c (_obstack_compat): Add initializer.
49858 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49860         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49861         si_trapno and add si_addr_lsb to _sifields.sigfault.
49862         (si_trapno): Remove macro.
49863         (si_addr_lsb): Define new macro.
49864         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49866 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49868         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49869         instead of TEST_f_l.
49870         (llrint_test_tonearest): Likewise.
49871         (llrint_test_towardzero): Likewise.
49872         (llrint_test_downward): Likewise.
49873         (llrint_test_upward): Likewise.
49874         (llround_test): Likewise.
49876         * math/libm-test.inc (struct test_f_i_data): Add comment.
49877         (RUN_TEST_LOOP_f_b): New macro.
49878         (RUN_TEST_LOOP_f_b_tg): Likewise.
49879         (finite_test_data): New variable.
49880         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49881         (isfinite_test_data): New variable.
49882         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49883         (isinf_test_data): New variable.
49884         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49885         (isnan_test_data): New variable.
49886         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49887         (isnormal_test_data): New variable.
49888         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49889         (issignaling_test_data): New variable.
49890         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49891         (signbit_test_data): New variable.
49892         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49894         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49895         with INVALID_EXCEPTION.
49896         (acosh_test_data): Likewise.
49897         (asin_test_data): Likewise.
49898         (atanh_test_data): Likewise.
49899         (fmod_test_data): Likewise.
49900         (log_test_data): Likewise.
49901         (log10_test_data): Likewise.
49902         (log2_test_data): Likewise.
49903         (pow_test_data): Likewise.
49904         (sqrt_test_data): Likewise.
49905         (y0_test_data): Likewise.
49906         (y1_test_data): Likewise.
49907         (yn_test_data): Likewise.
49909         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49910         function contents.
49912         * math/libm-test.inc (struct test_ff_i_data): New type.
49913         (RUN_TEST_LOOP_ff_i_tg): New macro.
49914         (isgreater_test_data): New variable.
49915         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49916         (isgreaterequal_test_data): New variable.
49917         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49918         (isless_test_data): New variable.
49919         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49920         (islessequal_test_data): New variable.
49921         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49922         (islessgreater_test_data): New variable.
49923         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49924         (isunordered_test_data): New variable.
49925         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49927 2013-05-14  David S. Miller  <davem@davemloft.net>
49929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49931 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49933         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49935         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49936         extra_test to int.
49937         (struct test_f_i_data): Change type of max_ulp to int.
49939         * math/libm-test.inc (test_ffI_f1_data): New type.
49940         (RUN_TEST_LOOP_ffI_f1): New macro.
49941         (remquo_test_data): New variable.
49942         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49944         * setjmp/tst-setjmp-fp.c: New file.
49945         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49946         (link-libm): New variable.
49947         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49949         * math/libm-test.inc (struct test_f_i_data): New type.
49950         (RUN_TEST_LOOP_f_i): New macro.
49951         (RUN_TEST_LOOP_f_i_tg): Likewise.
49952         (fpclassify_test_data): New variable.
49953         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49954         (ilogb_test_data): New variable.
49955         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49957         * math/libm-test.inc (scalbln_test): Correct function name in END
49958         call.
49960         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49961         (RUN_TEST_LOOP_fI_f1): New macro.
49962         (frexp_test_data): New variable.
49963         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49965         * math/libm-test.inc (struct test_fF_f1_data): New type.
49966         (RUN_TEST_LOOP_fF_f1): New macro.
49967         (modf_test_data): New variable.
49968         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49970         * math/libm-test.inc (struct test_f_f1_data): New type.
49971         (RUN_TEST_LOOP_f_f1): New macro.
49972         (gamma_test_data): New variable.
49973         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49974         (lgamma_test_data): New variable.
49975         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49977 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49979         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49980         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49981         (main): Comment "tls" pseudo-hwcap.
49983 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49985         * math/libm-test.inc (struct test_fl_f_data): New type.
49986         (RUN_TEST_LOOP_fl_f): New variable.
49987         (scalbln_test_data): New variable.
49988         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49990         * math/libm-test.inc (struct test_fi_f_data): New type.
49991         (RUN_TEST_LOOP_fi_f): New macro.
49992         (ldexp_test_data): New variable.
49993         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49994         (scalbn_test_data): New variable.
49995         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49997         * math/libm-test.inc (struct test_c_f_data): New type.
49998         (RUN_TEST_LOOP_c_f): New macro.
49999         (cabs_test_data): New variable.
50000         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50001         (carg_test_data): New variable.
50002         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50003         (cimag_test_data): New variable.
50004         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50005         (creal_test_data): New variable.
50006         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50008         * math/libm-test.inc (struct test_if_f_data): New type.
50009         (RUN_TEST_LOOP_if_f): New macro.
50010         (jn_test_data): New variable.
50011         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50012         (yn_test_data): New variable.
50013         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50015         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50017 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50019         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50020         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50022 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50024         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50025         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50026         (bench-deps): Add bench-timing.h.
50027         * benchtests-bench-skeleton.c: Include bench-timing.h.
50028         (main): Use TIMING_* macros instead of clock_gettime.
50029         * benchtests/bench-timing.h: New file.
50031         [BZ #14582]
50032         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50033         Renamed from _LIB_VERSION.
50034         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50036 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50038         * math/libm-test.inc (struct test_fff_f_data): New type.
50039         (RUN_TEST_LOOP_fff_f): New macro.
50040         (fma_test_data): New variable.
50041         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50042         (fma_towardzero_test_data): New variable.
50043         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50044         (fma_downward_test_data): New variable.
50045         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50046         (fma_upward_test_data): New variable.
50047         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50049         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50050         (struct test_c_c_data): New type.
50051         (RUN_TEST_LOOP_c_c): New macro.
50052         (cacos_test_data): New variable.
50053         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50054         (cacosh_test_data): New variable.
50055         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50056         (casin_test_data): New variable.
50057         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50058         (casinh_test_data): New variable.
50059         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50060         (catan_test_data): New variable.
50061         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50062         (catanh_test_data): New variable.
50063         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50064         (ccos_test_data): New variable.
50065         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50066         (ccosh_test_data): New variable.
50067         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50068         (cexp_test_data): New variable.
50069         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50070         (clog_test_data): New variable.
50071         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50072         (clog10_test_data): New variable.
50073         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50074         (conj_test_data): New variable.
50075         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50076         (cproj_test_data): New variable.
50077         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50078         (csin_test_data): New variable.
50079         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50080         (csinh_test_data): New variable.
50081         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50082         (csqrt_test_data): New variable.
50083         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50084         (ctan_test_data): New variable.
50085         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50086         (ctan_tonearest_test_data): New variable.
50087         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50088         (ctan_towardzero_test_data): New variable.
50089         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50090         (ctan_downward_test_data): New variable.
50091         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50092         (ctan_upward_test_data): New variable.
50093         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50094         (ctanh_test_data): New variable.
50095         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50096         (ctanh_tonearest_test_data): New variable.
50097         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50098         (ctanh_towardzero_test_data): New variable.
50099         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50100         (ctanh_downward_test_data): New variable.
50101         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50102         (ctanh_upward_test_data): New variable.
50103         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50104         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50105         of BUILD_COMPLEX.
50107         * math/libm-test.inc (struct test_ff_f_data): New type.
50108         (struct test_ff_f_data_nexttoward): Likewise.
50109         (RUN_TEST_LOOP_2_f): New macro.
50110         (RUN_TEST_LOOP_ff_f): Likewise.
50111         (atan2_test_data): New variable.
50112         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50113         (copysign_test_data): New variable.
50114         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50115         (fdim_test_data): New variable.
50116         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50117         (fmax_test_data): New variable.
50118         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50119         (fmin_test_data): New variable.
50120         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50121         (fmod_test_data): New variable.
50122         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50123         (hypot_test_data): New variable.
50124         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50125         (nextafter_test_data): New variable.
50126         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50127         (nexttoward_test_data): New variable.
50128         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50129         (pow_test_data): New variable.
50130         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50131         (pow_tonearest_test_data): New variable.
50132         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50133         (pow_towardzero_test_data): New variable.
50134         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50135         (pow_downward_test_data): New variable.
50136         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50137         (pow_upward_test_data): New variable.
50138         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50139         (remainder_test_data): New variable.
50140         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50141         (scalb_test_data): New variable.
50142         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50143         * sysdeps/i386/fpu/libm-test-ulps: Update.
50145 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50147         * math/libm-test.inc (fma_test): Use max_value instead of local
50148         variable fltmax.
50149         (nextafter_test): Likewise.
50151         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50152         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50153         (acos_downward_test_data): New variable.
50154         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50155         (acos_upward_test_data): New variable.
50156         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50157         (acosh_test_data): New variable.
50158         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50159         (asin_test_data): New variable.
50160         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50161         (asin_tonearest_test_data): New variable.
50162         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50163         (asin_towardzero_test_data): New variable.
50164         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50165         (asin_downward_test_data): New variable.
50166         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50167         (asin_upward_test_data): New variable.
50168         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50169         (asinh_test_data): New variable.
50170         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50171         (atan_test_data): New variable.
50172         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50173         (atanh_test_data): New variable.
50174         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50175         (cbrt_test_data): New variable.
50176         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50177         (ceil_test_data): New variable.
50178         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50179         (cos_test_data): New variable.
50180         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50181         (cos_tonearest_test_data): New variable.
50182         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50183         (cos_towardzero_test_data): New variable.
50184         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50185         (cos_downward_test_data): New variable.
50186         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50187         (cos_upward_test_data): New variable.
50188         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50189         (cosh_test_data): New variable.
50190         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50191         (cosh_tonearest_test_data): New variable.
50192         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50193         (cosh_towardzero_test_data): New variable.
50194         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50195         (cosh_downward_test_data): New variable.
50196         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50197         (cosh_upward_test_data): New variable.
50198         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50199         (erf_test_data): New variable.
50200         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50201         (erfc_test_data): New variable.
50202         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50203         (exp_test_data): New variable.
50204         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50205         (exp_tonearest_test_data): New variable.
50206         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50207         (exp_towardzero_test_data): New variable.
50208         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50209         (exp_downward_test_data): New variable.
50210         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50211         (exp_upward_test_data): New variable.
50212         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50213         (exp10_test_data): New variable.
50214         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50215         (exp2_test_data): New variable.
50216         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50217         (expm1_test_data): New variable.
50218         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50219         (fabs_test_data): New variable.
50220         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50221         (floor_test_data): New variable.
50222         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50223         (j0_test_data): New variable.
50224         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50225         (j1_test_data): New variable.
50226         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50227         (log_test_data): New variable.
50228         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50229         (log10_test_data): New variable.
50230         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50231         (log1p_test_data): New variable.
50232         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50233         (log2_test_data): New variable.
50234         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50235         (logb_test_data): New variable.
50236         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50237         (logb_downward_test_data): New variable.
50238         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50239         (nearbyint_test_data): New variable.
50240         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50241         (rint_test_data): New variable.
50242         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50243         (rint_tonearest_test_data): New variable.
50244         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50245         (rint_towardzero_test_data): New variable.
50246         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50247         (rint_downward_test_data): New variable.
50248         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50249         (rint_upward_test_data): New variable.
50250         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50251         (round_test_data): New variable.
50252         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50253         (sin_test_data): New variable.
50254         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50255         (sin_tonearest_test_data): New variable.
50256         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50257         (sin_towardzero_test_data): New variable.
50258         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50259         (sin_downward_test_data): New variable.
50260         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50261         (sin_upward_test_data): New variable.
50262         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50263         (sinh_test_data): New variable.
50264         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50265         (sinh_tonearest_test_data): New variable.
50266         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50267         (sinh_towardzero_test_data): New variable.
50268         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50269         (sinh_downward_test_data): New variable.
50270         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50271         (sinh_upward_test_data): New variable.
50272         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50273         (sqrt_test_data): New variable.
50274         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50275         (tan_test_data): New variable.
50276         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50277         (tan_tonearest_test_data): New variable.
50278         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50279         (tan_towardzero_test_data): New variable.
50280         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50281         (tan_downward_test_data): New variable.
50282         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50283         (tan_upward_test_data): New variable.
50284         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50285         (tanh_test_data): New variable.
50286         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50287         (tgamma_test_data): New variable.
50288         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50289         (trunc_test_data): New variable.
50290         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50291         (y0_test_data): New variable.
50292         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50293         (y1_test_data): New variable.
50294         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50295         (significand_test_data): New variable.
50296         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50298 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50300         [BZ #12387]
50301         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50303 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50305         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50307 2013-05-10  Andreas Jaeger  <aj@suse.de>
50309         [BZ #15448]
50310         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50311         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50313 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50315         * math/gen-libm-test.pl (adjust_arg): New function.
50316         (special_functions): Handle generating output in both functions
50317         and arrays.
50318         (parse_args): Likewise.
50319         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50320         $in_func argument to parse_args.
50321         * math/libm-test.inc (struct test_f_f_data): New type.
50322         (IF_ROUND_INIT_): New macro.
50323         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50324         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50325         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50326         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50327         (ROUND_RESTORE_): Likewise.
50328         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50329         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50330         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50331         (ROUND_RESTORE_FE_UPWARD): Likewise.
50332         (RUN_TEST_LOOP_f_f): New macro.
50333         (acos_test_data): New variable.
50334         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50335         (acos_tonearest_test_data): New variable.
50336         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50338 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50340         * benchtests/bench-skeleton.c (startup): Fix coding style.
50342 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50344         [BZ #6809]
50345         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50346         negative infinity argument.
50347         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50348         negative infinity argument.
50349         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50350         negative infinity argument.
50351         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50352         domain errors.
50354 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50356         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50357         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50358         * iconv/iconv_prog.c (main): Likewise.
50359         * locale/programs/charmap-dir.c (charmap_readdir)
50360         (fopen_uncompressed): Likewise.
50361         * locale/programs/locfile.c (siblings_uncached)
50362         (write_locale_data): Use lstat64 instead of lstat.
50363         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50364         stat.
50366 2013-05-10  Andreas Jaeger  <aj@suse.de>
50368         [BZ #15395]
50369         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50370         localization.
50371         Include <locale.h>.
50373 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50375         * elf/dl-close.c (_dl_close_worker): Add comments.
50377 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50379         [BZ #15359]
50380         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50381         high part of pi/2.
50382         (__ieee754_rem_pio2l): Update comments.
50384         [BZ #15429]
50385         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50386         high part of pi/2.
50387         (__ieee754_rem_pio2l): Update comments.
50389         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50390         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50392         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50393         M_PI_4l.
50395         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50396         (M_PI_34_LOG10El): Likewise.
50397         (M_PI2_LOG10El): Likewise.
50398         (M_PI4_LOG10El): Likewise.
50399         (M_PI_LOG10El): Likewise.
50401 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50405 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50407         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50408         (MINUS_ZERO_INIT): Likewise.
50409         (PLUS_INFTY_INIT): Likewise.
50410         (MINUS_INFTY_INIT): Likewise.
50411         (QNAN_VALUE_INIT): Likewise.
50412         (MAX_VALUE_INIT): Likewise.
50413         (MIN_VALUE_INIT): Likewise.
50414         (MIN_SUBNORM_VALUE_INIT): Likewise.
50415         (plus_zero): Initialize with PLUS_ZERO_INIT.
50416         (minus_zero): Initialize with MINUS_ZERO_INIT.
50417         (plus_infty): Initialize with PLUS_INFTY_INIT.
50418         (minus_infty): Initialize with MINUS_INFTY_INIT.
50419         (qnan_value): Initialize with QNAN_VALUE_INIT.
50420         (max_value): Initialize with MAX_VALUE_INIT.
50421         (min_value): Initialize with MIN_VALUE_INIT.
50422         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50424         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50425         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50426         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50427         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50429         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50430         (RUN_TEST_2_f): Likewise.
50431         (RUN_TEST_ff_f): Likewise.
50432         (RUN_TEST_fi_f): Likewise.
50433         (RUN_TEST_fl_f): Likewise.
50434         (RUN_TEST_fff_f): Likewise.
50435         (RUN_TEST_c_f): Likewise.
50436         (RUN_TEST_f_f1): Likewise.
50437         (RUN_TEST_fF_f1): Likewise.
50438         (RUN_TEST_fI_f1): Likewise.
50439         (RUN_TEST_ffI_f1): Likewise.
50440         (RUN_TEST_c_c): Likewise.
50441         (RUN_TEST_cc_c): Likewise.
50442         (RUN_TEST_f_i): Likewise.
50443         (RUN_TEST_f_i_tg): Likewise.
50444         (RUN_TEST_ff_i_tg): Likewise.
50445         (RUN_TEST_f_b): Likewise.
50446         (RUN_TEST_f_b_tg): Likewise.
50447         (RUN_TEST_f_l): Likewise.
50448         (RUN_TEST_f_L): Likewise.
50449         (RUN_TEST_sincos): Likewise.
50450         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50451         whether to show exceptions.  Do not include ");\n" in return
50452         value.
50453         (special_functions): Output call to RUN_TEST_sincos instead of
50454         check_float calls.  Update calls to new_test.
50455         (parse_args): Output call to single RUN_TEST_* macro instead of
50456         check_* calls and other assignments.  Update calls to new_test.
50458         [BZ #2546]
50459         [BZ #2560]
50460         [BZ #5159]
50461         [BZ #15426]
50462         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50463         input to result for tgamma overflow.
50464         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50465         (gamma_coeff): New variable.
50466         (NCOEFF): New macro.
50467         (gamma_positive): New function.
50468         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50469         underflow here.  Use gamma_positive instead of exp (lgamma) for
50470         other arguments.
50471         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50472         (gamma_coeff): New variable.
50473         (NCOEFF): New macro.
50474         (gammaf_positive): New function.
50475         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50476         underflow here.  Use gamma_positive instead of exp (lgamma) for
50477         other arguments.
50478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50479         (gamma_coeff): New variable.
50480         (NCOEFF): New macro.
50481         (gammal_positive): New function.
50482         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50483         underflow here.  Use gamma_positive instead of exp (lgamma) for
50484         other arguments.
50485         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50486         (gamma_coeff): New variable.
50487         (NCOEFF): New macro.
50488         (gammal_positive): New function.
50489         (__ieee754_gammal_r): Handle positive infinity, overflow and
50490         underflow here.  Handle NaN the same as positive infinity.  Remove
50491         check x < 0xffffffff for negative integers.  Use gamma_positive
50492         instead of exp (lgamma) for other arguments.
50493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50494         (gamma_coeff): New variable.
50495         (NCOEFF): New macro.
50496         (gammal_positive): New function.
50497         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50498         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50499         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50500         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50501         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50502         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50503         * sysdeps/generic/math_private.h (__gamma_productf): New
50504         prototype.
50505         (__gamma_product): Likewise.
50506         (__gamma_productl): Likewise.
50507         * math/Makefile (libm-calls): Add gamma_product.
50508         * math/libm-test.inc (tgamma_test): Add more tests.
50509         * sysdeps/i386/fpu/libm-test-ulps: Update.
50510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50512 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50514         * benchtests/bench-skeleton.c (main): Preheat CPU.
50516 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50518         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50520 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50522         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50523         and _dl_skip_args_internal.
50525 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50527         * manual/message.texi (Message Translation): Talk about users.
50528         Message to key mapping impacts design.
50530 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50532         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50534         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50536         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50537         * sysdeps/wordsize-64/glob64.c: ... here.
50539         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50540         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50541         New macros.
50543         * debug/getlogin_r_chk.c: Moved to ...
50544         * login/getlogin_r_chk.c: ... here.
50545         * debug/Makefile (routines): Move getlogin_r_chk to ...
50546         * login/Makefile (routines): ... here.
50547         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50548         * login/Versions (libc: GLIBC_2.4): ... here.
50550         * io/poll.c (__poll): Renamed from poll.
50551         Add libc_hidden_def.
50552         (poll): Define as weak alias.
50554         * debug/ptsname_r_chk.c: Moved to ...
50555         * login/ptsname_r_chk.c: ... here.
50556         * debug/Makefile (routines): Move ptsname_r_chk to ...
50557         * login/Makefile (routines): ... here.
50558         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50559         * login/Versions (libc: GLIBC_2.4): ... here.
50561         * posix/getlogin.c: Moved to ...
50562         * login/getlogin.c: ... here.
50563         * posix/getlogin_r.c: Moved to ...
50564         * login/getlogin_r.c: ... here.
50565         * posix/getlogin_r.c: Moved to ...
50566         * login/getlogin_r.c: ... here.
50567         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50568         * login/Makefile (routines): ... here.
50569         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50570         * login/Versions (libc: GLIBC_2.0): ... here.
50572         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50573         (setrlimit): Define as weak alias.
50575         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50576         Call __ names for open, ftruncate, and close.
50577         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50578         (truncate): Define as weak alias.
50580 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50582         * math/gen-libm-test.pl (parse_args): Initialize x before each
50583         test of frexp, modf and remquo.
50585         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50586         test signgam value.
50588 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50590         [BZ #15418]
50591         [BZ #15419]
50592         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50593         internal tests.
50594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50596 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50598         * elf/dl-writev.h: New file.
50599         * elf/dl-misc.c: Include it.
50600         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50601         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50603 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50605         * math/libm-test.inc (noXFails): Remove variable.
50606         (noXPasses): Likewise.
50607         (BUILD_COMPLEX_INT): Remove macro.
50608         (print_screen): Remove xfail argument.
50609         (print_screen_max_error): Likewise.
50610         (update_stats): Likewise.
50611         (print_max_error): Likewise.  Update calls to other affected
50612         functions.
50613         (print_complex_max_error): Likewise.
50614         (test_single_exception): Update calls to print_screen.
50615         (test_single_errno): Likewise.
50616         (check_float_internal): Remove xfail argument.  Update calls to
50617         other affected functions.
50618         (check_float): Likewise.
50619         (check_complex): Likewise.
50620         (check_int): Likewise.
50621         (check_long): Likewise.
50622         (check_bool): Likewise.
50623         (check_longlong): Likewise.
50624         (main): Don't print noXFails and noXPasses.
50625         * math/gen-libm-test.pl (top level): Don't mention expected
50626         failure handling in comment.
50627         (new_test): Don't handle expected failures.
50628         (parse_args): Don't mention expected failure handling in comment.
50629         (generate_testfile): Don't handle expected failures.
50630         (parse_ulps): Likewise.
50631         (print_ulps_file): Likewise.
50632         (get_failure): Remove function.
50633         (output_test): Don't handle expected failures.
50634         * make/README.libm-test: Don't mention expected failure handling.
50636         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50637         (minus_zero): Likewise.
50638         (plus_infty): Likewise.
50639         (minus_infty): Likewise.
50640         (qnan_value): Likewise.
50641         (max_value): Likewise.
50642         (min_value): Likewise.
50643         (min_subnorm_value): Likewise.
50644         (initialize): Do not initialize those variables dynamically.
50646 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50648         * io/open.c (__open_2): Moved to ...
50649         * io/open_2.c: ... this new file.
50650         * io/open64.c (__open64_2): Moved to ...
50651         * io/open64_2.c: ... this new file.
50652         * io/openat.c (__openat_2): Moved to ...
50653         * io/openat_2.c: ... this new file.
50654         * io/openat64.c (__openat64_2): Moved to ...
50655         * io/openat64_2.c: ... this new file.
50656         * io/Makefile (routines): Add them.
50657         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50658         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50659         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50660         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50661         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50662         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50663         (__openat64): Add hidden_ver.
50664         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50665         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50667         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50668         Separately conditionalize setting of GLRO(dl_sysinfo) so
50669         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50670         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50672 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50674         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50675         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50676         definition.
50677         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50678         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50679         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50680         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50681         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50683 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50685         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50686         test signgam value.
50688         * math/libm-test.inc (hypot_test): Do not use
50689         IGNORE_ZERO_INF_SIGN.
50691 2013-05-03  Andreas Jaeger  <aj@suse.de>
50693         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50694         Linux 3.9.
50695         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50696         (PF_MAX): Adjust for VSOCK change.
50698 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50702 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50704         [BZ #15264]
50705         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50706         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50707         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50709 2013-05-02  David S. Miller  <davem@davemloft.net>
50711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50713 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50715         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50717 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50719         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50721 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50723         [BZ #14952]
50724         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50725         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50726         Use __attribute__ ((__gnu_inline__)).
50727         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50728         Don't use __attribute__ ((__gnu_inline__)).
50730 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50732         [BZ #15423]
50733         * math/s_catan.c (__catan): Handle small real or imaginary part of
50734         input specially to avoid spurious underflow.
50735         * math/s_catanf.c (__catanf): Likewise.
50736         * math/s_catanh.c (__catanh): Likewise.
50737         * math/s_catanhf.c (__catanhf): Likewise.
50738         * math/s_catanhl.c (__catanhl): Likewise.
50739         * math/s_catanl.c (__catanl): Likewise.
50740         * math/libm-test.inc (catan_test): Add more tests.
50741         (catanh_test): Likewise.
50742         * sysdeps/i386/fpu/libm-test-ulps: Update.
50743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50745 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50749 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50751         [BZ #15416]
50752         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50753         accurately for denominator in atan2.
50754         * math/s_catanf.c (__catanf): Likewise.
50755         * math/s_catanh.c (__catanh): Likewise.
50756         * math/s_catanhf.c (__catanhf): Likewise.
50757         * math/s_catanhl.c (__catanhl): Likewise.
50758         * math/s_catanl.c (__catanl): Likewise.
50759         * math/libm-test.inc (catan_test): Add more tests.
50760         (catanh_test): Likewise.
50761         * sysdeps/i386/fpu/libm-test-ulps: Update.
50762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50764 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50768         * benchtests/Makefile (bench): Remove slow benchmarks.
50769         * benchtests/atan-inputs: Add slow benchmark inputs.
50770         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50771         (BENCH_FUNC): Accept variant offset.
50772         (VARIANT): Define.
50773         * benchtests/bench-skeleton.c (main): Run benchmark for each
50774         variant.
50775         * benchtests/cos-inputs: Add slow benchmark inputs.
50776         * benchtests/exp-inputs: Likewise.
50777         * benchtests/pow-inputs: Likewise.
50778         * benchtests/sin-inputs: Likewise.
50779         * benchtests/slowatan-inputs: Remove.
50780         * benchtests/slowatan.c: Remove.
50781         * benchtests/slowcos-inputs: Remove.
50782         * benchtests/slowcos.c: Remove.
50783         * benchtests/slowexp-inputs: Remove.
50784         * benchtests/slowexp.c: Remove.
50785         * benchtests/slowpow-inputs: Remove.
50786         * benchtests/slowpow.c: Remove.
50787         * benchtests/slowsin-inputs: Remove.
50788         * benchtests/slowsin.c: Remove.
50789         * benchtests/slowtan-inputs: Remove.
50790         * benchtests/slowtan.c: Remove.
50791         * benchtests/tan-inputs: Add slow benchmark inputs.
50792         * scripts/bench.pl: Parse comments and directives.
50794         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50795         in CPPFLAGS.
50796         ($(objpfx)bench-%.c): Remove *-ITER.
50797         * benchtests/bench-modf.c: Remove definition of ITER.
50798         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50799         (main): Loop for DURATION seconds instead of fixed number of
50800         iterations.
50801         * scripts/bench.pl: Don't expect iterations in parameters.
50803 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50805         * io/fchdir.c (__fchdir): Renamed from fchdir.
50806         (fchdir): Define as weak alias.
50808 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50810         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50811         (ERRNO_EDOM): Likewise.
50812         (ERRNO_ERANGE): Likewise.
50813         (noErrnoTests): New variable.
50814         (init_max_error): Set errno to 0.
50815         (test_single_errno): New function.
50816         (test_errno): Likewise.
50817         (check_float_internal): Call test_errno.  Set errno to 0.
50818         (check_complex): Refer to errno tests in comment.
50819         (check_int): Call test_errno.  Set errno to 0.
50820         (check_long): Likewise.
50821         (check_bool): Likewise.
50822         (check_longlong): Likewise.
50823         (cos_test): Use ERRNO_* flags for errno tests instead of
50824         check_int.
50825         (expm1_test): Likewise.
50826         (fmod_test): Likewise.
50827         (ilogb_test): Likewise.
50828         (lgamma_test): Likewise.
50829         (pow_test): Likewise.
50830         (remainder_test): Likewise.
50831         (sin_test): Likewise.
50832         (tan_test): Likewise.
50833         (yn_test): Likewise.
50834         (initialize): Set errno to 0.
50835         (main): Print number of errno tests.
50836         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50838 2013-04-29  Andreas Jaeger  <aj@suse.de>
50840         [BZ #15084]
50841         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50842         and RES_USEVC.
50844         [BZ #15085]
50845         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50846         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50847         unimplemented.
50849         [BZ #15380]
50850         * stdlib/random.c (__initstate): Return NULL if
50851         __initstate fails.
50853         [BZ #15086]
50854         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50855         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50856         RES_SNGLKUPREOP.
50858 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50862 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50864         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50865         of individual tests.
50866         (casin_test): Likewise.
50867         (casinh_test): Likewise.
50869 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50871         [BZ #15409]
50872         * math/s_catan.c (__catan): Handle arguments with large real or
50873         imaginary part separately without squaring.
50874         * math/s_catanf.c (__catanf): Likewise.
50875         * math/s_catanh.c (__catanh): Likewise.
50876         * math/s_catanhf.c (__catanhf): Likewise.
50877         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50878         and redefine.
50879         (__catanhl): Handle arguments with large real or imaginary part
50880         separately without squaring.
50881         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50882         and redefine.
50883         (__catanl): Handle arguments with large real or imaginary part
50884         separately without squaring.
50885         * math/libm-test.inc (catan_test): Add more tests.
50886         (catanh_test): Likewise.
50887         * sysdeps/i386/fpu/libm-test-ulps: Update.
50888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50890 2013-04-27  Andreas Jaeger  <aj@suse.de>
50892         [BZ #15007]
50893         * stdlib/stdlib.h: Update guards for qecvt.
50894         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50895         <stdlib.h>.
50897 2013-04-27  Allan McRae  <allan@archlinux.org>
50899         * sysdeps/i386/fpu/libm-test-ulps: Update.
50901 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50903         [BZ #15406]
50904         * math/s_catan.c: Include <float.h>.
50905         (__catan): Ensure underflow exception occurs for underflowed
50906         result.
50907         * math/s_catanf.c: Include <float.h>.
50908         (__catanf): Ensure underflow exception occurs for underflowed
50909         result.
50910         * math/s_catanh.c: Include <float.h>.
50911         (__catanh): Ensure underflow exception occurs for underflowed
50912         result.
50913         * math/s_catanhf.c: Include <float.h>.
50914         (__catanhf): Ensure underflow exception occurs for underflowed
50915         result.
50916         * math/s_catanhl.c: Include <float.h>.
50917         (__catanhl): Ensure underflow exception occurs for underflowed
50918         result.
50919         * math/s_catanl.c: Include <float.h>.
50920         (__catanl): Ensure underflow exception occurs for underflowed
50921         result.
50922         * math/libm-test.inc (catan_test): Add more tests.
50923         (catanh_test): Likewise.
50925         [BZ #15405]
50926         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50927         underflowed result.
50928         * math/s_ccoshf.c (__ccoshf): Likewise.
50929         * math/s_ccoshl.c (__ccoshl): Likewise.
50930         * math/s_csin.c (__csin): Likewise.
50931         * math/s_csinf.c (__csinf): Likewise.
50932         * math/s_csinh.c (__csinh): Likewise.
50933         * math/s_csinhf.c (__csinhf): Likewise.
50934         * math/s_csinhl.c (__csinhl): Likewise.
50935         * math/s_csinl.c (__csinl): Likewise.
50936         * math/libm-test.inc (ccos_test): Add more tests.
50937         (ccosh_test): Likewise.
50938         (csin_test): Likewise.
50939         (csinh_test): Likewise.
50941 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50943         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50944         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50945         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50946         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50947         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50948         powerpc/power5+/fpu folders.
50949         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50952 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50956 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50958         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50959         additions to variable.
50960         [$(config-machine) = x86_64] (modules-names): Likewise.
50961         ($(objpfx)tst-audit3): Remove dependency.
50962         ($(objpfx)tst-audit3.out): Likewise.
50963         ($(objpfx)tst-audit4): Likewise.
50964         ($(objpfx)tst-audit4.out): Likewise.
50965         ($(objpfx)tst-audit5): Likewise.
50966         ($(objpfx)tst-audit5.out): Likewise.
50967         ($(objpfx)tst-audit6): Likewise.
50968         ($(objpfx)tst-audit6.out): Likewise.
50969         ($(objpfx)tst-audit7): Likewise.
50970         ($(objpfx)tst-audit7.out): Likewise.
50971         (tst-audit3-ENV): Remove variable.
50972         (tst-audit4-ENV): Likewise.
50973         (tst-audit5-ENV): Likewise.
50974         (tst-audit6-ENV): Likewise.
50975         (tst-audit7-ENV): Likewise.
50976         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50977         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50978         addition to variable.
50979         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50980         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50981         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50984         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50985         tst-audit3, tst-audit4 and tst-audit5.
50986         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50987         tst-audit6 and tst-audit7.
50988         [$(subdir) = elf] (modules-names): Add audit modules for those
50989         tests.
50990         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50991         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50992         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50993         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50994         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50995         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50996         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50997         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50998         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50999         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51000         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51001         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51002         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51003         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51004         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51005         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51006         Likewise.
51007         [$(subdir) = elf && $(config-cflags-avx) = yes]
51008         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51009         [$(subdir) = elf && $(config-cflags-avx) = yes]
51010         (CFLAGS-tst-auditmod4a.c): Likewise.
51011         [$(subdir) = elf && $(config-cflags-avx) = yes]
51012         (CFLAGS-tst-auditmod4b.c): Likewise.
51013         [$(subdir) = elf && $(config-cflags-avx) = yes]
51014         (CFLAGS-tst-auditmod6b.c): Likewise.
51015         [$(subdir) = elf && $(config-cflags-avx) = yes]
51016         (CFLAGS-tst-auditmod6c.c): Likewise.
51017         [$(subdir) = elf && $(config-cflags-avx) = yes]
51018         (CFLAGS-tst-auditmod7b.c): Likewise.
51019         * elf/tst-audit3.c: Move to ...
51020         * sysdeps/x86_64/tst-audit3.c: ... here.
51021         * elf/tst-audit4.c: Move to ...
51022         * sysdeps/x86_64/tst-audit4.c: ... here.
51023         * elf/tst-audit5.c: Move to ...
51024         * sysdeps/x86_64/tst-audit5.c: ... here.
51025         * elf/tst-audit6.c: Move to ...
51026         * sysdeps/x86_64/tst-audit6.c: ... here.
51027         * elf/tst-audit7.c: Move to ...
51028         * sysdeps/x86_64/tst-audit7.c: ... here.
51029         * elf/tst-auditmod3a.c: Move to ...
51030         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51031         * elf/tst-auditmod3b.c: Move to ...
51032         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51033         * elf/tst-auditmod4a.c: Move to ...
51034         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51035         * elf/tst-auditmod4b.c: Move to ...
51036         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51037         * elf/tst-auditmod5a.c: Move to ...
51038         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51039         * elf/tst-auditmod5b.c: Move to ...
51040         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51041         * elf/tst-auditmod6a.c: Move to ...
51042         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51043         * elf/tst-auditmod6b.c: Move to ...
51044         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51045         * elf/tst-auditmod6c.c: Move to ...
51046         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51047         * elf/tst-auditmod7a.c: Move to ...
51048         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51049         * elf/tst-auditmod7b.c: Move to ...
51050         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51052 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51054         [BZ #15366]
51055         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51056         define unconditionally.
51057         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51058         define unconditionally.
51059         (INT8_C, INT16_C, etc.): Likewise.
51061 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51063         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51064         __ehdr_start with hidden visibility.
51066         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51068 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51070         * math/libm-test.inc (cos_test): Use accurate hex constants.
51071         (sincost_test): Likewise.
51073 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51075         * math/libm-test.inc (catan_test): Add more tests.
51076         (catanh_test): Likewise.
51078         * math/s_catanf.c (__catanf): Use suffixed floating-point
51079         constants.
51080         * math/s_catanhf.c (__catanhf): Likewise.
51081         * math/s_catanhl.c (__catanhl): Likewise.
51082         * math/s_catanl.c (__catanl): Likewise.
51084         [BZ #15394]
51085         * math/s_catan.c (__catan): Calculate imaginary part of result
51086         with log1p not log unless computing log of number close to 0.
51087         * math/s_catanf.c (__catanf): Likewise.
51088         * math/s_catanl.c (__catanl): Likewise.
51089         * math/s_catanh.c (__catanh): Calculate real part of result with
51090         log1p not log unless computing log of number close to 0.
51091         * math/s_catanhf.c (__catanhf): Likewise.
51092         * math/s_catanhl.c (__catanhl): Likewise.
51093         * math/libm-test.inc (catan_test): Add more tests.
51094         (catanh_test): Likewise.
51095         * sysdeps/i386/fpu/libm-test-ulps: Update.
51096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51098 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51100         * benchtests/Makefile: Mention files in which fast and slow
51101         paths of math functions are implemented.
51103 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51105         * sysdeps/posix/timespec_get.c: New file.
51107 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51109         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51110         POWER.
51111         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51112         for POWER.
51113         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51114         powerpc/power5/fpu folders.
51115         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51116         * benchtests/Makefile: Add modf testcase.
51117         * benchtests/bench-modf.c: New file: Benchmark test for mo
51119 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51121         [BZ #14888]
51122         * time/Makefile (tests): Add tst-strptime-whitespace.
51123         * time/strptime_l.c (get_number): Use ISSPACE.
51124         (__strptime_internal): Likewise.
51125         * time/tst-strptime-whitespace.c: New test case.
51127 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51129         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51130         member.
51131         (_nss_files_init): Set it here.
51133 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51135         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51136         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51137         unsigned.
51139 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51141         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51143 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51145         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51146         size just once.
51148 2013-04-21  David S. Miller  <davem@davemloft.net>
51150         * po/ru.po: Update Russion translation from translation project.
51152 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51154         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51155         and setfsgid.
51157 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51159         * configure.in: Remove i386 configure warning. Remove i386 case.
51160         * configure: Regenerate.
51161         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51162         Add example to error message.
51163         * sysdeps/i386/configure: Regenerate.
51165 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51167         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51168         slowtan.
51169         * benchtests/cos-inputs: New file.
51170         * benchtests/slowcos-inputs: New file.
51171         * benchtests/slowcos.c: New file.
51172         * benchtests/slowtan-inputs: New file.
51173         * benchtests/slowtan.c: New file.
51174         * benchtests/tan-inputs: New file.
51176 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51178         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51179         considered kosher.
51181 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51183         * benchtests/Makefile: Include cppflags-iterator.mk to add
51184         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51186         * Makefile.in (bench-clean): New target.
51187         * benchtests/Makefile (bench-clean): Likewise.
51189 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51191         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51193 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51195         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51197 2013-04-15  Andreas Schwab  <schwab@suse.de>
51199         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51201         * nscd/pwdcache.c (cache_addpw): Likewise.
51202         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51203         more than recsize.
51205 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51207         * benchtests/Makefile (bench): Write all output to
51208         bench-out.tmp together.
51210 2013-04-15  Andreas Schwab  <schwab@suse.de>
51212         * nscd/nscd.c (main): Don't fork again after closing files.
51214 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51216         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51218         * benchtests/Rules (bench-deps): Collect dependencies into a
51219         single variable.  Add Makefile to dependencies.
51220         ($(objpfx)bench-%.c): Depend on bench-deps.
51222 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51223             Xavier Roche  <roche+kml2@exalead.com>
51225         [BZ #15361]
51226         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51227         just that it's a file descriptor.
51228         * manual/llio.texi (Synchronizing AIO Operations): Update description
51229         for EBADF error from aio_fsync.
51231 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51233         * Rules (bench): Move target definition...
51234         * benchtests/Makefile: ... here.
51236 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51238         * math/libm-test.inc (cos_test): Fix PI/2 test.
51239         (sincos_test): Likewise.
51240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51241         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51243 2013-04-11  Andreas Schwab  <schwab@suse.de>
51245         [BZ #13988]
51246         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51247         accept exponent character only when digits were seen.
51248         * stdio-common/Makefile (tests): Add bug26.
51249         * stdio-common/bug26.c: New file.
51251         [BZ #14293]
51252         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51253         non-freeable.
51255 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51257         * Makeconfig (rtld-prefix): Define built linker prefix.
51258         * Rules (run-bench): Use it.
51259         * math/Makefile (run-regen-ulps): Likewise.
51261         * Rules (bench): Remove eval.
51263 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51264             Roland McGrath  <roland@hack.frob.com>
51265             Ondrej Bilka  <neleai@seznam.cz>
51267         [BZ #15346]
51268         * time/getdate.c: Include ctype.h and alloca.h.
51269         (__getdate_r): Trim leading and trailing spaces of input.
51270         * time/tst-getdate.c (tests): Add tests with leading and
51271         trailing spaces.
51273 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51275         [BZ #14280]
51276         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51277         when computing value.
51279 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51281         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51282         Use testrun.sh to run libm tests.
51284         [BZ #15309]
51285         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51287 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51289         [BZ #15264]
51290         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51294         * Makefile.in (regen-ulps): New target.
51295         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51296         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51297         [ifneq (no,$(PERL)] (regen-ulps): New target.
51298         [ifeq (no,$(PERL)] (regen-ulps): New target.
51299         * math/libm-test.inc (ulps_file_name): Define.
51300         (output_dir): New variable.
51301         (options): Add "output-dir" option.
51302         (parse_opt): Handle 'o' case.
51303         (main): If output_dir is non-NULL use it as a prefix
51304         otherwise use "".
51305         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51307 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51309         [BZ #10060, #10062]
51310         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51311         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51312         fail configure if __sync_val_compare_and_swap is not inlined.
51313         * sysdeps/i386/configure: Regenerate.
51314         * configure.in: Build for i686 when configured for i386.
51315         * configure: Regenerate.
51316         * README: Remove i386 reference.
51318 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51320         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51323 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51325         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51326         (lmsnanval): New variables.
51327         (F): Add conversion tests.
51328         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51329         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51331         * stdio-common/tstdiomisc.c (F): Properly collect individual
51332         tests' results.
51334         [BZ #14686, #15336]
51335         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51336         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51337         Instead, use input NaN values or generate a qNaN by arithmetic
51338         operation.  Also fix bugs to comply with the standard.
51339         * math/libm-test.inc (remainder_test): Add more tests.
51341         [BZ #15335, #15342]
51342         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51344         input NaN values or generate a qNaN by arithmetic operation.
51346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51347         unreachable code.
51349         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51350         definitions.
51352 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51354         [BZ #14478]
51355         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51356         underflowed result.
51357         * math/s_cexpf.c (__cexpf): Likewise.
51358         * math/s_cexpl.c (__cexpl): Likewise.
51359         * math/libm-test.inc (cexp_test): Add more tests.
51361 2013-04-03  Andreas Schwab  <schwab@suse.de>
51363         [BZ #15330]
51364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51365         order arrays from heap if bigger than alloca cutoff.
51367 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51369         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51370         (SNAN_TESTS_double): Refer to GCC PR56831.
51371         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51372         GCC PR56828.
51374 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51376         * Rules (bench): Move bench.out after the run is complete.
51378         * Rules (bench): Echo currently running benchmark.
51380         * benchtests/Makefile (bench): Add atan and slowatan.
51381         * benchtests/atan-inputs: New file.
51382         * benchtests/slowatan-inputs: New file.
51383         * benchtests/slowatan.c: New file.
51385         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51387         its value.
51389         [BZ #15305]
51390         * sysdeps/unix/sysv/linux/kernel-features.h
51391         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51392         __ASSUME_XFS_RESTRICTED_CHOWN.
51393         * sysdeps/unix/sysv/linux/pathconf.c
51394         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51395         Save and restore errno.
51397 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51399         [BZ #15327]
51400         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51401         arguments using __kernel_casinh.
51402         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51403         arguments using __kernel_casinhf.
51404         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51405         arguments using __kernel_casinhl.
51406         * math/libm-test.inc (cacosh_test): Add more tests.
51407         * sysdeps/i386/fpu/libm-test-ulps: Update.
51408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51410 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51412         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51415         * bench/Makefile (bench): Add sin and slowsin.
51416         * benchtests/sin-inputs: New file.
51417         * benchtests/slowsin-inputs: New file.
51418         * benchtests/slowsin.c: New file.
51420         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51421         (bench): Add slowexp and slowpow.
51422         (exp-ITER): Increase iterations.
51423         (pow-ITER): Likewise.
51424         * benchtests/exp-inputs: Change input.
51425         * benchtests/pow-inputs: Likewise.
51426         * benchtests/slowexp-inputs: New file.
51427         * benchtests/slowexp.c: New file.
51428         * benchtests/slowpow-inputs: New file.
51429         * benchtests/slowpow.c: New file.
51431 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51433         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51434         instructions.
51435         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51436         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51437         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51438         * benchtests/Makefile: Add rint benchtest.
51439         * benchtests/rint-inputs: Input for rint benchtest.
51441 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51443         * Versions.def (libm): Add GLIBC_2.18.
51444         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51445         hidden libm prototypes.
51446         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51447         * math/Makefile (libm-calls): Add s_issignaling.
51448         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51449         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51450         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51451         declaration.
51452         * math/math.h [__USE_GNU] (issignaling): New macro.
51453         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51454         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51456         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51457         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51458         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51459         * manual/arith.texi (issignaling): New section.
51460         * manual/libm-err-tab.pl (@all_functions): Update comment.
51461         * math/gen-libm-test.pl (parse_args): Apply special handling for
51462         issignaling.
51463         * math/libm-test.inc (print_float, issignaling_test): New
51464         functions.
51465         (check_float_internal): Add issignaling checks.
51466         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51467         default definition.
51468         * sysdeps/powerpc/math-tests.h: New file.
51469         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51470         tests.
51471         * math/test-snan.c (TEST_FUNC): Likewise.
51473 2013-03-30  David S. Miller  <davem@davemloft.net>
51475         * po/de.po: Update from translation team.
51477 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51479         [BZ #10357]
51480         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51481         imaginary part less than 1.0 and real part less than 0.5
51482         specially.
51483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51485         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51486         (cacos_test): Add more tests.
51487         (casin_test): Likewise.
51488         (casinh_test): Likewise.
51489         * sysdeps/i386/fpu/libm-test-ulps: Update.
51490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51492 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51494         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51495         ONE with its value.
51497         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51498         (__pow_mp): Replace ONE and MONE with their values.
51499         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51501         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51502         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51503         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51504         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51506         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51508         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51509         (__pow_mp): Replace ZERO and MZERO with their values.
51510         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51512         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51514         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51515         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51516         (__sqr): Likewise.
51518         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51520         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51522 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51524         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51525         Declare with __attribute__ ((weak)).
51526         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51527         Call __call_tls_dtors only if it's not NULL.
51529 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51531         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51532         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51533         magic __ehdr_start linker symbol if it's defined.
51534         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51535         them up here if it was already done.
51537         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51538         (_dl_aux_init): Use const in cast when setting it.
51539         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51540         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51541         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51543         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51544         Declare them here.
51545         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51546         * csu/libc-tls.c: Nor here.
51547         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51549         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51550         (__libc_message): Never call vsyslog.
51552 2013-03-28  Alan Modra  <amodra@gmail.com>
51554         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51555         Define as empty.
51556         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51557         Likewise.
51559 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51561         [BZ #15214]
51562         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51563         underflow.
51564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51566 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51568         [BZ #15304]
51569         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51570         Don't add gid passed as argument.
51572         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51574 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51576         [BZ #15307]
51577         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51578         imaginary part between 1.0 and 1.5 and real part less than 0.5
51579         specially.
51580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51582         * math/libm-test.inc (cacos_test): Add more tests.
51583         (casin_test): Likewise.
51584         (casinh_test): Likewise.
51585         * sysdeps/i386/fpu/libm-test-ulps: Update.
51586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51588 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51590         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51591         constants.
51592         (norm): Likewise.
51593         (denorm): Likewise.
51594         (__dbl_mp): Likewise.
51595         (add_magnitudes): Likewise.
51596         (sub_magnitudes): Likewise.
51597         (__add): Likewise.
51598         (__sub): Likewise.
51599         (__mul): Likewise.
51600         (__sqr): Likewise.
51601         (__inv): Likewise.
51602         (__dvd): Likewise.
51604         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51605         commented code.
51606         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51607         (__dubcos): Likewise.
51608         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51609         (__ieee754_acos): Likewise.
51610         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51611         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51612         (__exp1): Likewise.
51613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51615         (log1): Likewise.
51616         (my_log2): Likewise.
51617         (checkint): Likewise.
51618         * sysdeps/ieee754/dbl-64/e_remainder.c
51619         (__ieee754_remainder): Likewise.
51620         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51622         (bsloww): Likewise.
51623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51625         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51626         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51627         MANTISSA_STORE_T to store computations on mantissa.  Use
51628         macros for rounding and division.
51629         (denorm): Likewise.
51630         (__dbl_mp): Likewise.
51631         (add_magnitudes): Likewise.
51632         (sub_magnitudes): Likewise.
51633         (__mul): Likewise.
51634         (__sqr): Likewise.
51635         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51636         powers of two in terms of TWOPOW macro.
51637         (mp_no): Make type of mantissa as MANTISSA_T.
51638         [!RADIXI]: Define RADIXI.
51639         [!TWO52]: Define TWO52.
51640         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51642 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51644         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51645         llroundl symbol when building for PPC32.
51647 2013-03-24  Mark H Weaver  <mhw@netris.org>
51649         * manual/arith.texi (Normalization Functions): Fix prototypes for
51650         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51652 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51654         [BZ #13889]
51655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51656         high value to check if expl overflow.
51657         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51658         to check for underflow and overflow.
51659         * math/libm-test.inc: Add exp test.
51661 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51663         [BZ #11120]
51664         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51665         with NOT_IN_libc.
51667 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51669         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51670         symbol.
51672 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51674         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51675         wrap blocks consisting of several statements.
51677         * sysdeps/generic/math-tests.h: New file.
51678         * sysdeps/i386/fpu/math-tests.h: Likewise.
51679         * math/test-snan.c: Include it.
51680         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51682 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51684         [BZ #15285]
51685         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51686         (__ieee754_j0l): Do not improve calculations using cos of twice
51687         input for inputs above LDBL_MAX / 2.0L.
51688         (__ieee754_y0l): Likewise.
51689         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51690         (__ieee754_j1l): Do not improve calculations using cos of twice
51691         input for inputs above LDBL_MAX / 2.0L.
51692         (__ieee754_y1l): Likewise.
51693         * math/libm-test.inc (j0_test): Add another test.
51694         (j1_test): Likewise.
51695         (y0_test): Likewise.
51696         (y1_test): Likewise.
51697         * sysdeps/i386/fpu/libm-test-ulps: Update.
51699 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51701         * Rules ($(objpfx)bench-%.c): Include code from a C source
51702         file.
51704 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51706         [BZ #15287]
51707         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51708         imaginary part 1.0 and real part less than 0.5 specially.
51709         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51710         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51711         * math/libm-test.inc (cacos_test): Add more tests.
51712         (casin_test): Likewise.
51713         (casinh_test): Likewise.
51714         * sysdeps/i386/fpu/libm-test-ulps: Update.
51715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51717 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51719         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51720         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51722 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51724         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51725         * config.make.in (config-cflags-sse4): Remove variable.
51726         (config-cflags-avx): Likewise.
51727         (config-cflags-sse2avx): Likewise.
51728         (config-cflags-novzeroupper): Likewise.
51729         (config-asflags-i686): Likewise.
51730         (have-mfma4): Likewise.
51731         (have-as-vis3): Likewise.
51732         (MIG): Likewise.
51733         * configure.in (MIG): Do not AC_SUBST.
51734         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51735         (libc_cv_cc_sse4): Do not AC_SUBST.
51736         (libc_cv_cc_avx): Likewise.
51737         (libc_cv_cc_sse2avx): Likewise.
51738         (libc_cv_cc_novzeroupper): Likewise.
51739         (libc_cv_cc_fma4): Likewise.
51740         (libc_cv_as_i686): Likewise.
51741         (libc_cv_sparc_as_vis3): Likewise.
51742         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51743         LIBC_CONFIG_VAR.
51744         (config-asflags-i686): Likewise.
51745         (config-cflags-avx): Likewise.
51746         (config-cflags-sse2avx): Likewise.
51747         (have-mfma4): Likewise.
51748         (config-cflags-novzeroupper): Likewise.
51749         * sysdeps/mach/configure.in (MIG): Likewise.
51750         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51751         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51752         LIBC_CONFIG_VAR.
51753         (config-cflags-avx): Likewise.
51754         (config-cflags-sse2avx): Likewise.
51755         (have-mfma4): Likewise.
51756         (config-cflags-novzeroupper): Likewise.
51757         * configure: Regenerated.
51758         * sysdeps/i386/configure: Likewise.
51759         * sysdeps/mach/configure: Likewise.
51760         * sysdeps/sparc/configure: Likewise.
51761         * sysdeps/x86_64/configure: Likewise.
51763 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51765         [BZ #14812]
51766         * locale/programs/localedef.c (options): Put N_ translation marker
51767         on argument names, not just descriptions.
51769 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51771         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51773 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51775         [BZ #14176]
51776         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51778 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51780         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51781         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51782         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51783         [!BEFORE_ABORT] (before_abort): New function.
51784         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51785         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51786         (writev_for_fatal): New function.
51787         (WRITEV_FOR_FATAL): New macro; call that.
51788         (backtrace_and_maps): New function.
51789         (BEFORE_ABORT): New macro; call that.
51790         (struct str_list): Type removed.
51791         (__libc_message, __libc_fatal): Functions removed.
51792         Include <sysdeps/posix/libc_fatal.c> instead.
51794 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51796         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51797         constants.
51798         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51799         double constants.
51801 2013-03-19  Andreas Schwab  <schwab@suse.de>
51803         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51804         * sysdeps/gnu/configure: Regenerate.
51806         * configure.in: Substitute libc_cv_rtlddir.
51807         * configure: Regenerate.
51808         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51809         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51810         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51811         * elf/Makefile (install-others, CFLAGS-interp.c)
51812         (ldso_install, common-ldd-rewrite): Likewise.
51813         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51814         $(inst_slibdir)/$(rtld-installed-name).
51815         * scripts/rellns-sh: Add -p option.
51816         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51817         for source.
51819 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51821         * manual/nptl.texi: Renamed to ...
51822         * manual/threads.texi: ... this.
51823         * manual/Makefile (chapters): Update.
51825 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51827         [BZ #14812]
51828         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51829         on argument names, not just descriptions.
51830         * malloc/memusagestat.c (options): Likewise.
51831         * nss/getent.c (options): Likewise.
51833 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51835         [BZ #14812]
51836         * iconv/iconv_prog.c (options): Put N_ translation marker
51837         on argument names, not just descriptions.
51838         * iconv/iconvconfig.c (options): Likewise.
51840 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51842         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51843         implementation which is faster on all x86_64 architectures.
51844         Tested on AMD, Intel Nehalem, SNB, IVB.
51845         * sysdeps/x86_64/strnlen.S: Likewise.
51847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51848         Remove all multiarch strlen and strnlen versions.
51849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51850         Remove strlen and strnlen related parts.
51852         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51853         Inline strlen part.
51854         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51856         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51857         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51858         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51859         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51860         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51861         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51863 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51865         * manual/memory.texi (Malloc Tunable Parameters):
51866         Sort parameters alphabetically. Add comments for missing entries.
51868 2013-03-17  David S. Miller  <davem@davemloft.net>
51870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51872 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51874         [BZ #15283]
51875         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51876         for arguments at most half maximum finite value.
51877         * math/libm-test.inc (j0_test): Add more tests.
51878         (j1_test): Likewise.
51879         (y0_test): Likewise.
51880         (y1_test): Likewise.
51881         * sysdeps/i386/fpu/libm-test-ulps: Update.
51882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51884         [BZ #14155]
51885         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51886         1 / x and functions P and Q for arguments above 0x1p256L.
51887         (__ieee754_y0l): Likewise.
51888         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51889         (__ieee754_y1l): Likewise.
51890         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51891         (j1_test): Likewise.
51892         (y0_test): Likewise.
51893         (y1_test): Likewise.
51895 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51897         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51898         variable.
51900 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51902         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51903         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51904         zero since it's initialized to EXEC_PAGESIZE.
51906         * sysdeps/unix/sysv/linux/ldsodefs.h
51907         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51908         * sysdeps/generic/ldsodefs.h: ... here.
51910 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51912         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51914         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51915         math/test-snan.c.
51916         * math/test-snan.c: Renamed from
51917         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51918         * math/Makefile (tests): Add test-snan.
51919         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51920         test-powerpc-snan.
51922         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51923         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51924         functions.
51925         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51926         __builtin_nan family of functions.
51927         * math/libm-test.inc (initialize): Initialize qnan_value with
51928         __builtin_nan family of functions.
51929         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51930         Remove variables.
51931         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51932         Remove functions.
51933         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51934         storage class.  Initialize qNaN_var and sNaN_var with
51935         __builtin_nan and __builtin_nans families of functions,
51936         respectively.
51938         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51939         (sqrt_test): Remove duplicate test with qNaN input.
51940         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51941         (round_test, signbit_test, significand_test): Note missing +/-Inf
51942         as well as qNaN tests.
51944         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51945         qNaN_var.  Fix a few strings, too.
51946         * math/libm-test.inc (nan_value): Rename to qnan_value.
51947         * math/gen-libm-test.pl (%beautify): Adjust to that.
51948         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51949         * math/test-misc.c (main): Likewise.
51950         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51951         to __qnan_bytes, and __qnan_union, respectively.
51952         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51953         Likewise.
51954         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51955         and lqnanval, respectively.
51956         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51957         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51958         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51959         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51961         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51962         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51963         doubles.
51965         * math/test-misc.c (main): Fix copy'n'pastos.
51966         * misc/tst-efgcvt.c (special): Likewise.
51968         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51969         Remove declarations.
51971 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51973         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51974         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51975         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51976         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51978 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51980         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51981         macro to return vdso values correctly in IFUNC implementations.
51982         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51983         Optimization by using IFUNC.
51985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51986             Richard Henderson  <rth@redhat.com>
51987             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51989         * Makefile.in (bench): New target.
51990         * NEWS: Mention the benchmark framework.
51991         * Rules (bench): Likewise.
51992         (binaries-bench): Generate binaries for functions to
51993         benchmark.
51994         * benchtests/Makefile: New makefile for benchmark tests.
51995         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51996         programs.
51997         * benchtests/exp-inputs: New input file for EXP function.
51998         * benchtests/pow-inputs: New input file for POW function.
51999         * scripts/bench.pl: New script to generate source files for
52000         benchmark programs.
52002 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52004         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52006         computations on mantissa.  Use macros for rounding and
52007         division.
52008         (denorm): Likewise.
52009         (__dbl_mp): Likewise.
52010         (add_magnitudes): Likewise.
52011         (sub_magnitudes): Likewise.
52012         (__mul): Likewise.
52013         (__sqr): Likewise.
52014         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52015         powers of two in terms of TWOPOW macro.
52016         (mp_no): Make type of mantissa as MANTISSA_T.
52017         [!RADIXI]: Define RADIXI.
52018         [!TWO52]: Define TWO52.
52019         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52021         * manual/nptl.texi (cindex): Modify threads to pthreads.
52023 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52025         * sysdeps/x86_64/preconfigure: Regenerated.
52027 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52029         [BZ #14155]
52030         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52031         0x1p28 and above.
52032         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52033         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52034         0x1p28 and above.
52035         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52036         * math/libm-test.inc (j0_test): Do not allow one spurious
52037         underflow exception.
52038         (y1_test): Likewise.
52040 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52042         * manual/Makefile (chapters): Add nptl.
52043         * manual/debug.texi (Debugging Support): Add link to Threads
52044         chapter.
52045         * manual/nptl.texi: New file.
52047         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52049 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52051         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52052         for non-NULL pointer before the memory validity test. Pointed
52053         out by Holger Brunck <holger.brunck@keymile.com>.
52055 2013-03-13  Andreas Schwab  <schwab@suse.de>
52057         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52058         instead of .os.
52060 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52062         * timezone/zic.c: Update from tzcode 2013b.
52064 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52066         * manual/install.texi (Configuring and compiling):
52067         Mention i686 and i586.
52068         * INSTALL: Regenerate.
52070 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52072         * sysdeps/init_array/elf-init.c: New file.
52073         * csu/elf-init.c
52074         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52075         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52077         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52078         __gmon_start__ as global, but as static with a .preinit_array pointer.
52079         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52080         * sysdeps/init_array/crti.S: New file, empty except for comments.
52081         * sysdeps/init_array/crtn.S: Likewise.
52083 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52085         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52086         definining bcopy.
52087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52088         Remove Prefer_SSE_for_memop.
52089         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52090         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52091         HAS_PREFER_SSE_FOR_MEMOP.
52092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52093         memset-x86-64.
52094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52095         Remove bzero, memset ifunc support.
52096         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52097         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52098         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52099         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52101 2013-03-11  Andreas Schwab  <schwab@suse.de>
52103         [BZ #15234]
52104         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52105         by SHLIB_COMPAT.
52106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52107         (GLIBC_2.16): Remove pthread_atfork.
52109 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52111         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52112         (ptestcases.h): Likewise.
52114 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52116         * Makeconfig ($(common-objpfx)config.status): Depend on
52117         sysdeps/*/preconfigure{,.in} too.
52119 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52121         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52122         (__free_hook): Use void * instead of __malloc_ptr_t.
52123         (__malloc_hook): Likewise.
52124         (__realloc_hook): Likewise.
52125         (__memalign_hook): Likewise.
52126         (__after_morecore_hook): Likewise.
52127         * malloc/arena.c (save_malloc_hook): Likewise.
52128         (save_free_hook): Likewise.
52129         * malloc/hooks.c (malloc_hook_ini): Likewise.
52130         (realloc_hook_ini): Likewise.
52131         (memalign_hook_ini): Likewise.
52132         * malloc/malloc.c (malloc_hook_ini): Likewise.
52133         (realloc_hook_ini): Likewise.
52134         (memalign_hook_ini): Likewise.
52135         (__free_hook): Likewise.
52136         (__malloc_hook): Likewise.
52137         (__realloc_hook): Likewise.
52138         (__memalign_hook): Likewise.
52139         (__libc_malloc): Likewise.
52140         (__libc_free): Likewise.
52141         (__libc_realloc): Likewise.
52142         (__libc_memalign): Likewise.
52143         (__libc_valloc): Likewise.
52144         (__libc_pvalloc): Likewise.
52145         (__libc_calloc): Likewise.
52146         (__posix_memalign): Likewise.
52147         * malloc/morecore.c (__sbrk): Likewise.
52148         (__default_morecore): Likewise.
52150         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52152         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52153         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52154         __malloc_ptrdiff_t.
52156         * malloc/malloc.h (__malloc_size_t): Remove macro.
52157         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52158         __malloc_size_t.
52159         (old_memalign_hook): Likewise.
52160         (old_realloc_hook): Likewise.
52161         (struct hdr): Likewise.
52162         (flood): Likewise.
52163         (mallochook): Likewise.
52164         (memalignhook): Likewise.
52165         (reallochook): Likewise.
52166         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52167         (tr_old_realloc_hook): Likewise.
52168         (tr_old_memalign_hook): Likewise.
52169         (tr_mallochook): Likewise.
52170         (tr_reallochook): Likewise.
52171         (tr_memalignhook): Likewise.
52173 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52176         default_ldbl_pack and using as default implementation.
52177         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52178         implementation.
52179         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52180         redundant definition.
52181         (ldbl_insert_mantissa): Likewise.
52182         (ldbl_canonicalize): Likewise.
52183         (ldbl_nearbyint): Likewise.
52184         (ldbl_pack): Rename to ldbl_pack_ppc.
52185         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52186         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52187         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52189 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52192         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52193         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52194         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52196         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52197         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52198         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52200 2013-03-07  Andreas Jaeger  <aj@suse.de>
52202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52203         bits/mman-linux.h.
52205 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52207         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52208         Include mpa.h and declare __MPEXP.
52209         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52211         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52212         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52214         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52215         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52217         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52218         (__slowpow): Use long double EXPL and LOGL functions to
52219         compute POW.
52220         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52221         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52222         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52223         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52224         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52225         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52228         intermediate variable to calculate exponent.
52229         (__sqr): Likewise.
52230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52231         Likewise.
52232         (__sqr): Likewise.
52234         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52235         [!NO__SQR]: Define __sqr.
52236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52237         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52238         sysdeps/ieee754/dbl-64/mpa.c.
52239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52241         [BZ #12723]
52242         * posix/Makefile (tests): Add tst-pathconf.
52243         * posix/tst-pathconf.c: New test case.
52244         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52245         _PC_PIPE_BUF.
52246         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52248 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52250         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52252 2013-03-06  Andreas Jaeger  <aj@suse.de>
52254         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52255         definition via __MAP_ANONYMOUS.
52257         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52258         it's not part of Linux headers.
52260         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52261         (MAP_HUGE_MASK): Define.
52263         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52264         Define.
52265         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52267         Define.
52268         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52269         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52270         Define.
52271         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52272         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52273         Define.
52274         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52276         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52277         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52278         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52279         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52280         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52281         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52283         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52284         Handle f2fs.
52286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52287         Handle f2fs and efivarfs.
52289         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52290         f2fs.
52292         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52293         (EFIVARFS_MAGIC): Add.
52294         (F2FS_LINK_MAX): Add.
52296 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52298         * stdio-common/vfprintf.c: Replace __builtin_expect with
52299         __glibc_unlikely.
52301 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52303         [BZ #13550]
52304         * sysdeps/generic/bp-sym.h: Remove file.
52305         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52306         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52307         <bp-sym.h> and <bp-asm.h>.
52308         (__longjmp): Don't use BP_SYM.
52309         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52310         and <bp-asm.h>.
52311         (memcpy): Don't use BP_SYM.
52312         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52313         <bp-sym.h> and <bp-asm.h>.
52314         (memcpy): Don't use BP_SYM.
52315         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52316         <bp-asm.h>.
52317         (memcpy): Don't use BP_SYM.
52318         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52319         <bp-asm.h>.
52320         (memset): Don't use BP_SYM.
52321         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52322         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52323         (__bzero): Don't use BP_SYM.
52324         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52325         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52327         <bp-sym.h> and <bp-asm.h>.
52328         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52329         pointers.
52330         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52331         <bp-sym.h> and <bp-asm.h>.
52332         (memcpy): Don't use BP_SYM.
52333         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52334         <bp-sym.h> and <bp-asm.h>.
52335         (memset): Don't use BP_SYM.
52336         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52337         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52338         (__bzero): Don't use BP_SYM.
52339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52341         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52342         <bp-sym.h> and <bp-asm.h>.
52343         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52344         pointers.
52345         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52346         <bp-sym.h> and <bp-asm.h>.
52347         (memcpy): Don't use BP_SYM.
52348         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52349         <bp-sym.h> and <bp-asm.h>.
52350         (memset): Don't use BP_SYM.
52351         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52352         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52353         (__bzero): Don't use BP_SYM.
52354         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52355         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52357         <bp-sym.h> and <bp-asm.h>.
52358         (__memchr): Don't use BP_SYM.
52359         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52360         <bp-sym.h> and <bp-asm.h>.
52361         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52362         pointers.
52363         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52364         <bp-sym.h> and <bp-asm.h>.
52365         (memcpy): Don't use BP_SYM.
52366         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52367         <bp-sym.h> and <bp-asm.h>.
52368         (__mempcpy): Don't use BP_SYM.
52369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52370         <bp-sym.h> and <bp-asm.h>.
52371         (__memrchr): Don't use BP_SYM.
52372         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52373         <bp-sym.h> and <bp-asm.h>.
52374         (memset): Don't use BP_SYM.
52375         (__bzero): Likewise.
52376         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52377         <bp-sym.h> and <bp-asm.h>.
52378         (__rawmemchr): Don't use BP_SYM.
52379         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52380         <bp-sym.h> and <bp-asm.h>.
52381         (__STRCMP): Don't use BP_SYM.
52382         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52383         <bp-sym.h> and <bp-asm.h>.
52384         (strchr): Don't use BP_SYM.
52385         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52386         <bp-sym.h> and <bp-asm.h>.
52387         (__strchrnul): Don't use BP_SYM.
52388         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52389         <bp-sym.h> and <bp-asm.h>.
52390         (strlen): Don't use BP_SYM.
52391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52392         <bp-sym.h> and <bp-asm.h>.
52393         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52394         pointers.
52395         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52396         <bp-sym.h> and <bp-asm.h>.
52397         (__strnlen): Don't use BP_SYM.
52398         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52399         <bp-sym.h> and <bp-asm.h>.
52400         (__GI__setjmp): Don't use BP_SYM.
52401         (_setjmp): Likewise.
52402         (__sigsetjmp): Likewise.
52403         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52404         (L(start_addresses)): Don't use BP_SYM.
52405         (_start): Likewise.
52406         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52407         <bp-asm.h>.
52408         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52409         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52410         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52411         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52412         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52413         <bp-asm.h>.
52414         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52415         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52416         about bounded pointers.
52417         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52418         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52419         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52420         <bp-asm.h>.
52421         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52422         about bounded pointers.  Remove GKM FIXME comments.
52423         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52424         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52425         <bp-asm.h>.
52426         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52427         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52428         Remove GKM FIXME comments.
52429         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52430         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52431         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52432         <bp-asm.h>.
52433         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52434         about bounded pointers.  Remove GKM FIXME comment.
52435         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52436         and <bp-asm.h>.
52437         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52438         pointers.
52439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52440         <bp-sym.h> and <bp-asm.h>.
52441         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52443         <bp-sym.h> and <bp-asm.h>.
52444         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52445         comment.
52447 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52449         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52450         call free(NULL).
52452 2013-03-05  David S. Miller  <davem@davemloft.net>
52454         * po/es.po: Update from translation team.
52456 2013-03-05  Andreas Jaeger  <aj@suse.de>
52458         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52459         <bits/mman-linux.h>.
52460         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52461         is fine.
52462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52463         <bits/mman-linux.h> to end of file.
52464         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52465         is fine.
52466         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52467         <bits/mman-linux.h> to end of file.
52468         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52469         is fine.
52470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52471         <bits/mman-linux.h> to end of file.
52473         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52474         (MCL_CURRENT, MCL_FUTURE): Define here.
52476 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52478         [BZ #15232]
52479         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52480         attribute_hidden.
52481         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52483 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52485         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52486         fourth parameter needed for rt_sigprocmask syscall.
52487         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52488         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52489         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52490         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52491         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52492         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52494 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52496         [BZ #13550]
52497         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52498         comment about bounded pointers.
52499         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52500         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52502 2013-03-04  Andreas Jaeger  <aj@suse.de>
52504         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52505         common definitions.
52507         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52508         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52509         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52510         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52511         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52512         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52514 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52516         [BZ #15055]
52517         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52518         __ieee754_sqrl instead of __sqrl.
52520 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52522         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52523         * sysdeps/powerpc/fpu_control.h: ... here.
52524         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52525         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52526         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52527         * sysdeps/powerpc/bits/mathinline.h: ... here.
52529 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52531         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52532         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52533         to just [NEED_DL_SYSINFO_DSO].
52534         * elf/dl-support.c: Likewise.
52535         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52536         * elf/rtld.c (dl_main): Likewise.
52537         * elf/setup-vdso.h (setup_vdso): Likewise.
52538         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52539         * sysdeps/unix/sysv/linux/dl-sysdep.c
52540         (_dl_discover_osversion): Likewise.
52542 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52544         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52545         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52547 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52549         * NEWS: Mention libm performance improvements and non-x86 PI
52550         futex support.
52552         * csu/libc-start.c (__pthread_initialize_minimal): Change
52553         function arguments.
52554         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52556 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52558         [BZ #13550]
52559         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52560         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52561         <bp-sym.h> and <bp-asm.h>.
52562         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52563         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52564         and <bp-asm.h>.
52565         (memcpy): Don't use BP_SYM.
52566         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52567         <bp-asm.h>.
52568         (__mpn_add_n): Don't use BP_SYM.
52569         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52570         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52571         and <bp-asm.h>.
52572         (__mpn_addmul_1): Don't use BP_SYM.
52573         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52574         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52575         <bp-sym.h>.
52576         (_setjmp): Don't use BP_SYM.
52577         (__novmx_setjmp): Likewise.
52578         (__GI__setjmp): Likewise.
52579         (__vmx_setjmp): Likewise.
52580         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52581         <bp-sym.h>.
52582         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52583         (__bzero): Don't use BP_SYM.
52584         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52585         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52586         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52587         <bp-sym.h> and <bp-asm.h>.
52588         (memcpy): Don't use BP_SYM.
52589         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52590         <bp-sym.h> and <bp-asm.h>.
52591         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52593         <bp-sym.h> and <bp-asm.h>.
52594         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52595         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52596         <bp-asm.h>.
52597         (__mpn_lshift): Don't use BP_SYM.
52598         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52599         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52600         <bp-asm.h>.
52601         (memset): Don't use BP_SYM.
52602         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52603         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52604         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52605         <bp-asm.h>.
52606         (__mpn_mul_1): Don't use BP_SYM.
52607         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52609         <bp-sym.h> and <bp-asm.h>.
52610         (memcmp): Don't use BP_SYM.
52611         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52612         <bp-sym.h> and <bp-asm.h>.
52613         (memcpy): Don't use BP_SYM.
52614         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52615         <bp-sym.h> and <bp-asm.h>.
52616         (memset): Don't use BP_SYM.
52617         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52618         <bp-sym.h> and <bp-asm.h>.
52619         (strncmp): Don't use BP_SYM.
52620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52621         <bp-sym.h> and <bp-asm.h>.
52622         (memcpy): Don't use BP_SYM.
52623         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52624         <bp-sym.h> and <bp-asm.h>.
52625         (memset): Don't use BP_SYM.
52626         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52627         <bp-sym.h> and <bp-asm.h>.
52628         (__memchr): Don't use BP_SYM.
52629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52630         <bp-sym.h> and <bp-asm.h>.
52631         (memcmp): Don't use BP_SYM.
52632         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52633         <bp-sym.h> and <bp-asm.h>.
52634         (memcpy): Don't use BP_SYM.
52635         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52636         <bp-sym.h> and <bp-asm.h>.
52637         (__mempcpy): Don't use BP_SYM.
52638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52639         <bp-sym.h> and <bp-asm.h>.
52640         (__memrchr): Don't use BP_SYM.
52641         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52642         <bp-sym.h> and <bp-asm.h>.
52643         (memset): Don't use BP_SYM.
52644         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52645         <bp-sym.h> and <bp-asm.h>.
52646         (__rawmemchr): Don't use BP_SYM.
52647         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52648         <bp-sym.h> and <bp-asm.h>.
52649         (__STRCMP): Don't use BP_SYM.
52650         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52651         <bp-sym.h> and <bp-asm.h>.
52652         (strchr): Don't use BP_SYM.
52653         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52654         <bp-sym.h> and <bp-asm.h>.
52655         (__strchrnul): Don't use BP_SYM.
52656         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52657         <bp-sym.h> and <bp-asm.h>.
52658         (strlen): Don't use BP_SYM.
52659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52660         <bp-sym.h> and <bp-asm.h>.
52661         (strncmp): Don't use BP_SYM.
52662         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52663         <bp-sym.h> and <bp-asm.h>.
52664         (__strnlen): Don't use BP_SYM.
52665         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52666         <bp-asm.h>.
52667         (__mpn_rshift): Don't use BP_SYM.
52668         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52669         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52670         <bp-sym.h> and <bp-asm.h>.
52671         (__sigsetjmp): Don't use BP_SYM.
52672         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52673         (L(start_addresses)): Don't use BP_SYM.
52674         (_start): Likewise.
52675         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52676         <bp-asm.h>.
52677         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52678         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52679         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52680         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52681         <bp-asm.h>.
52682         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52683         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52684         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52685         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52686         <bp-asm.h>.
52687         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52688         comments.
52689         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52690         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52691         <bp-asm.h>.
52692         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52693         FIXME comments.
52694         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52695         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52696         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52697         <bp-asm.h>.
52698         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52699         comment.
52700         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52701         and <bp-asm.h>.
52702         (strncmp): Don't use BP_SYM,
52703         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52704         <bp-asm.h>.
52705         (__mpn_sub_n): Don't use BP_SYM.
52706         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52707         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52708         and <bp-asm.h>.
52709         (__mpn_submul_1): Don't use BP_SYM.
52710         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52712         <bp-sym.h> and <bp-asm.h>.
52713         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52715         <bp-sym.h> and <bp-asm.h>.
52716         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52717         comment.
52719 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52722         Use ZK to minimize writes to Z.
52723         (sub_magnitudes): Simplify code a bit.
52724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52725         Use ZK to minimize writes to Z.
52726         (sub_magnitudes): Simplify code a bit.
52728 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52730         * csu/gmon-start.c: Add special exception to license text.
52732 2013-02-27  Richard Henderson  <rth@redhat.com>
52734         * scripts/config.guess: Update from config.git.
52735         * scripts/config.sub: Likewise.
52737 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52741         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52743         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52745         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52747         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52749 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52751         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52752         [$(build-shared = yes].
52754 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52756         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52757         (__mul): Reduce iterations for calculating mantissa.
52759         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52760         MPTWO.
52761         (__mpranred): Likewise.
52763         [BZ #15160]
52764         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52765         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52767 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52769         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52770         Define __attribute__.
52772 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52774         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52775         unused.
52776         * posix/regex_internal.h (__attribute): Remove.
52777         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52778         (re_string_context_at): Likewise.
52779         (bitset_not): Use __attribute__ and mark function as possibly
52780         unused.
52781         (bitset_merge): Likewise.
52782         (bitset_mask): Likewise.
52783         (re_string_char_size_at): Likewise.
52784         (re_string_wchar_at): Likewise.
52785         (re_string_elem_size_at): Likewise.
52787 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52789         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52790         code.
52791         (cc32): Likewise.
52793         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52794         (__acr): Likewise.
52795         (__cpy): Likewise.
52796         (norm): Likewise.
52797         (denorm): Likewise.
52798         (__dbl_mp): Likewise.
52799         (add_magnitudes): Likewise.
52800         (sub_magnitudes): Likewise.
52801         (__mul): Likewise.
52802         (__inv): Likewise.
52804         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52805         style.
52807         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52808         style.
52810         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52811         code.
52813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52814         up changes with default code.
52815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52816         Likewise.
52818 2013-02-24  Allan McRae  <allan@archlinux.org>
52820         * manual/socket.texi (The Internet Namespace): Order menu items
52821         to match that in the file.
52823         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52824         node listing of the info page menu.
52826 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52828         [BZ #13550]
52829         * sysdeps/i386/bp-asm.h: Remove file.
52830         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52831         (PARMS): Do not use macros from bp-asm.h.
52832         (S1): Likewise.
52833         (S2): Likewise.
52834         (SIZE): Likewise.
52835         (__mpn_add_n): Do not use BP_SYM
52836         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52837         "bp-asm.h".
52838         (PARMS): Do not use macros from bp-asm.h.
52839         (S1): Likewise.
52840         (SIZE): Likewise.
52841         (__mpn_addmul_1): Do not use BP_SYM
52842         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52843         "bp-asm.h".
52844         (PARMS): Do not use macros from bp-asm.h.
52845         (SIGMSK): Likewise.
52846         (_setjmp): Likewise.  Do not use BP_SYM.
52847         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52848         "bp-asm.h".
52849         (PARMS): Do not use macros from bp-asm.h.
52850         (SIGMSK): Likewise.
52851         (setjmp): Likewise.  Do not use BP_SYM.
52852         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52853         "bp-asm.h".
52854         (PARMS): Do not use macros from bp-asm.h.
52855         (__frexp): Do not use BP_SYM.
52856         (frexp): Likewise.
52857         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52858         "bp-asm.h".
52859         (PARMS): Do not use macros from bp-asm.h.
52860         (__frexpf): Do not use BP_SYM.
52861         (frexpf): Likewise.
52862         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52863         "bp-asm.h".
52864         (PARMS): Do not use macros from bp-asm.h.
52865         (__frexpl): Do not use BP_SYM.
52866         (frexpl): Likewise.
52867         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52868         "bp-asm.h".
52869         (PARMS): Do not use macros from bp-asm.h.
52870         (__remquo): Do not use BP_SYM.
52871         (remquo): Likewise.
52872         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52873         "bp-asm.h".
52874         (PARMS): Do not use macros from bp-asm.h.
52875         (__remquof): Do not use BP_SYM.
52876         (remquof): Likewise.
52877         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52878         "bp-asm.h".
52879         (PARMS): Do not use macros from bp-asm.h.
52880         (__remquol): Do not use BP_SYM.
52881         (remquol): Likewise.
52882         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52883         "bp-asm.h".
52884         (PARMS): Do not use macros from bp-asm.h.
52885         (DEST): Likewise.
52886         (SRC): Likewise.
52887         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52888         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52889         "bp-asm.h".
52890         (PARMS): Do not use macros from bp-asm.h.
52891         (strlen): Do not use BP_SYM.
52892         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52893         "bp-asm.h".
52894         (PARMS): Do not use macros from bp-asm.h.
52895         (S1): Likewise.
52896         (S2): Likewise.
52897         (SIZE): Likewise.
52898         (__mpn_add_n): Do not use BP_SYM.
52899         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52900         "bp-asm.h".
52901         (PARMS): Do not use macros from bp-asm.h.
52902         (S1): Likewise.
52903         (SIZE): Likewise.
52904         (__mpn_addmul_1): Do not use BP_SYM.
52905         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52906         weak_alias.
52907         (bzero): Likewise.
52908         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52909         "bp-asm.h".
52910         (PARMS): Do not use macros from bp-asm.h.
52911         (S): Likewise.
52912         (SIZE): Likewise.
52913         (__mpn_lshift): Do not use BP_SYM.
52914         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52915         "bp-asm.h".
52916         (PARMS): Do not use macros from bp-asm.h.
52917         (DEST): Likewise.
52918         (SRC): Likewise.
52919         (LEN): Likewise.
52920         (memcpy): Likewise.  Do not use BP_SYM.
52921         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52922         libc_hidden_def and weak_alias.
52923         (mempcpy): Do not use BP_SYM in weak_alias.
52924         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52925         "bp-asm.h".
52926         (PARMS): Do not use macros from bp-asm.h.
52927         (DEST): Likewise.
52928         (LEN): Likewise.
52929         [!BZERO_P] (CHR): Likewise.
52930         (memset): Likewise.  Do not use BP_SYM.
52931         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52932         "bp-asm.h".
52933         (PARMS): Do not use macros from bp-asm.h.
52934         (S1): Likewise.
52935         (SIZE): Likewise.
52936         (__mpn_mul_1): Do not use BP_SYM.
52937         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52938         "bp-asm.h".
52939         (PARMS): Do not use macros from bp-asm.h.
52940         (S): Likewise.
52941         (SIZE): Likewise.
52942         (__mpn_rshift): Do not use BP_SYM.
52943         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52944         "bp-asm.h".
52945         (PARMS): Do not use macros from bp-asm.h.
52946         (STR): Likewise.
52947         (CHR): Likewise.
52948         (strchr): Likewise.  Do not use BP_SYM.
52949         (index): Do not use BP_SYM in weak_alias.
52950         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52951         "bp-asm.h".
52952         (PARMS): Do not use macros from bp-asm.h.
52953         (DEST): Likewise.
52954         (SRC): Likewise.
52955         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52956         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52957         "bp-asm.h".
52958         (PARMS): Do not use macros from bp-asm.h.
52959         (strlen): Do not use BP_SYM.
52960         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52961         "bp-asm.h".
52962         (PARMS): Do not use macros from bp-asm.h.
52963         (S1): Likewise.
52964         (S2): Likewise.
52965         (SIZE): Likewise.
52966         (__mpn_sub_n): Do not use BP_SYM.
52967         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52968         "bp-asm.h".
52969         (PARMS): Do not use macros from bp-asm.h.
52970         (S1): Likewise.
52971         (SIZE): Likewise.
52972         (__mpn_submul_1): Do not use BP_SYM.
52973         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52974         "bp-asm.h".
52975         (PARMS): Do not use macros from bp-asm.h.
52976         (S1): Likewise.
52977         (S2): Likewise.
52978         (SIZE): Likewise.
52979         (__mpn_add_n): Do not use BP_SYM.
52980         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52981         weak_alias.
52982         (bzero): Likewise.
52983         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52984         "bp-asm.h".
52985         (PARMS): Do not use macros from bp-asm.h.
52986         (BLK2): Likewise.
52987         (LEN): Likewise.
52988         (memcmp): Do not use BP_SYM.
52989         (bcmp): Do not use BP_SYM in weak_alias.
52990         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52991         "bp-asm.h".
52992         (PARMS): Do not use macros from bp-asm.h.
52993         (DEST): Likewise.
52994         (SRC): Likewise.
52995         (LEN): Likewise.
52996         (memcpy): Likewise.  Do not use BP_SYM.
52997         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52998         "bp-asm.h".
52999         (PARMS): Do not use macros from bp-asm.h.
53000         (DEST): Likewise.
53001         (SRC): Likewise.
53002         (LEN): Likewise.
53003         (memmove): Likewise.  Do not use BP_SYM.
53004         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53005         "bp-asm.h".
53006         (PARMS): Do not use macros from bp-asm.h.
53007         (DEST): Likewise.
53008         (SRC): Likewise.
53009         (LEN): Likewise.
53010         (__mempcpy): Likewise.  Do not use BP_SYM.
53011         (mempcpy): Do not use BP_SYM in weak_alias.
53012         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53013         "bp-asm.h".
53014         (PARMS): Do not use macros from bp-asm.h.
53015         (DEST): Likewise.
53016         (LEN): Likewise.
53017         [!BZERO_P] (CHR): Likewise.
53018         (memset): Likewise.  Do not use BP_SYM.
53019         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53020         "bp-asm.h".
53021         (PARMS): Do not use macros from bp-asm.h.
53022         (STR2): Likewise.
53023         (strcmp): Do not use BP_SYM.
53024         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53025         "bp-asm.h".
53026         (PARMS): Do not use macros from bp-asm.h.
53027         (STR): Likewise.
53028         (DELIM): Likewise.
53029         [USE_AS_STRTOK_R] (SAVE): Likewise.
53030         (FUNCTION): Likewise.  Do not use BP_SYM.
53031         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53032         aliases.
53033         (strtok_r): Likewise.
53034         (__GI___strtok_r): Likewise.
53035         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53036         (PARMS): Do not use macros from bp-asm.h.
53037         (S): Likewise.
53038         (SIZE): Likewise.
53039         (__mpn_lshift): Do not use BP_SYM.
53040         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53041         (PARMS): Do not use macros from bp-asm.h.
53042         (STR): Likewise.
53043         (CHR): Likewise.
53044         (__memchr): Do not use BP_SYM.
53045         (memchr): Do not use BP_SYM in weak_alias.
53046         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53047         (PARMS): Do not use macros from bp-asm.h.
53048         (BLK2): Likewise.
53049         (LEN): Likewise.
53050         (memcmp): Do not use BP_SYM.
53051         (bcmp): Do not use BP_SYM in weak_alias.
53052         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53053         (PARMS): Do not use macros from bp-asm.h.
53054         (S1): Likewise.
53055         (SIZE): Likewise.
53056         (__mpn_mul_1): Do not use BP_SYM.
53057         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53058         "bp-asm.h".
53059         (PARMS): Do not use macros from bp-asm.h.
53060         (STR): Likewise.
53061         (CHR): Likewise.
53062         (__rawmemchr): Do not use BP_SYM.
53063         (rawmemchr): Do not use BP_SYM in weak_alias.
53064         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53065         (PARMS): Do not use macros from bp-asm.h.
53066         (S): Likewise.
53067         (SIZE): Likewise.
53068         (__mpn_rshift): Do not use BP_SYM.
53069         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53070         (PARMS): Do not use macros from bp-asm.h.
53071         (SIGMSK): Likewise.
53072         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53073         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53074         (_start): Do not use BP_SYM.
53075         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53076         (PARMS): Do not use macros from bp-asm.h.
53077         (DEST): Likewise.
53078         (SRC): Likewise.
53079         (__stpcpy): Likewise.  Do not use BP_SYM.
53080         (stpcpy): Do not use BP_SYM in weak_alias.
53081         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53082         "bp-asm.h".
53083         (PARMS): Do not use macros from bp-asm.h.
53084         (DEST): Likewise.
53085         (SRC): Likewise.
53086         (LEN): Likewise.
53087         (__stpncpy): Likewise.  Do not use BP_SYM.
53088         (stpncpy): Do not use BP_SYM in weak_alias.
53089         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53090         (PARMS): Do not use macros from bp-asm.h.
53091         (STR): Likewise.
53092         (CHR): Likewise.
53093         (strchr): Likewise.  Do not use BP_SYM.
53094         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53095         "bp-asm.h".
53096         (PARMS): Do not use macros from bp-asm.h.
53097         (STR): Likewise.
53098         (CHR): Likewise.
53099         (__strchrnul): Likewise.  Do not use BP_SYM.
53100         (strchrnul): Do not use BP_SYM in weak_alias.
53101         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53102         "bp-asm.h".
53103         (PARMS): Do not use macros from bp-asm.h.
53104         (STOP): Likewise.
53105         (strcspn): Do not use BP_SYM.
53106         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53107         "bp-asm.h".
53108         (PARMS): Do not use macros from bp-asm.h.
53109         (STR): Likewise.
53110         (STOP): Likewise.
53111         (strpbrk): Likewise.  Do not use BP_SYM.
53112         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53113         "bp-asm.h".
53114         (PARMS): Do not use macros from bp-asm.h.
53115         (STR): Likewise.
53116         (CHR): Likewise.
53117         (strrchr): Likewise.  Do not use BP_SYM.
53118         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53119         (PARMS): Do not use macros from bp-asm.h.
53120         (SKIP): Likewise.
53121         (strspn): Do not use BP_SYM.
53122         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53123         (PARMS): Do not use macros from bp-asm.h.
53124         (STR): Likewise.
53125         (DELIM): Likewise.
53126         (SAVE): Likewise.
53127         (FUNCTION): Likewise.  Do not use BP_SYM.
53128         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53129         aliases.
53130         (strtok_r): Likewise.
53131         (__GI___strtok_r): Likewise.
53132         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53133         (PARMS): Do not use macros from bp-asm.h.
53134         (S1): Likewise.
53135         (S2): Likewise.
53136         (SIZE): Likewise.
53137         (__mpn_sub_n): Do not use BP_SYM.
53138         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53139         "bp-asm.h".
53140         (PARMS): Do not use macros from bp-asm.h.
53141         (S1): Likewise.
53142         (SIZE): Likewise.
53143         (__mpn_submul_1): Do not use BP_SYM.
53144         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53145         <bp-sym.h>.
53146         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53147         and <bp-asm.h>.
53148         (PARMS): Do not use macros from bp-asm.h.
53149         (FLAGS): Likewise.
53150         (PTID): Likewise.
53151         (TLS): Likewise.
53152         (CTID): Likewise.
53153         (__clone): Do not use BP_SYM.
53154         (clone): Do not use BP_SYM in weak_alias.
53155         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53156         and <bp-asm.h>.
53157         (PARMS): Do not use macros from bp-asm.h.
53158         (LEN): Likewise.
53159         (__mmap64): Do not use BP_SYM.
53160         (mmap64): Do not use BP_SYM in weak_alias.
53161         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53162         <bp-sym.h> and <bp-asm.h>.
53163         (PARMS): Do not use macros from bp-asm.h.
53164         (__posix_fadvise64_l64): Do not use BP_SYM.
53165         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53166         (PARMS): Do not use macros from bp-asm.h.
53167         (NSOPS): Likewise.
53168         (semtimedop): Do not use BP_SYM.
53169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53170         and <bp-asm.h>.
53172 2013-02-21  Allan McRae  <allan@archlinux.org>
53174         * manual/message.texi (Charset conversion in gettext):
53175         Move @end statement to beginning of line.
53177 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53180         static.
53181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53182         Likewise.
53184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53185         (denorm): Likewise.
53186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53189 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53191         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53192         tail-call to the resolved function if pltexit isn't needed.
53194 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53197         or Y being zero as being unlikely.
53198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53199         Likewise.
53201 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53203         * manual/nss.texi (System Databases and Name Service Switch):
53204         Remove frobnicate @pxref.
53206 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53208         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53209         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53211 2013-02-20  Petr Machata  <pmachata@redhat.com>
53213         * elf/elf.h (R_ARM_TARGET1): New macro.
53214         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53215         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53216         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53217         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53218         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53219         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53220         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53221         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53222         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53223         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53224         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53225         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53226         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53227         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53228         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53229         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53230         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53231         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53232         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53233         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53234         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53235         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53236         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53237         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53238         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53239         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53240         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53241         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53242         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53243         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53244         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53245         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53246         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53247         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53248         (R_ARM_THM_GOT_BREL12): Likewise.
53249         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53250         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53251         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53252         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53253         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53254         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53255         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53256         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53257         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53259 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53261         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53262         __attribute_used__ to __attribute__ ((unused)).
53264 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53266         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53267         powerpc mpa.c.
53268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53269         comment formatting.
53270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53272 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53274         [BZ #13550]
53275         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53276         Remove macro.
53277         (ENTER): Remove both macro definitions.
53278         (LEAVE): Likewise.
53279         (CHECK_BOUNDS_LOW): Likewise.
53280         (CHECK_BOUNDS_HIGH): Likewise.
53281         (CHECK_BOUNDS_BOTH): Likewise.
53282         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53283         (RETURN_BOUNDED_POINTER): Likewise.
53284         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53285         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53286         (POP_ERRNO_LOCATION_RETURN): Likewise.
53287         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53288         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53289         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53290         macros.
53291         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53292         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53293         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53294         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53295         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53296         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53297         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53298         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53299         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53300         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53301         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53302         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53303         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53304         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53305         removed macros.
53306         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53307         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53308         macros.
53309         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53310         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53311         * sysdeps/i386/i586/memset.S (memset): Likewise.
53312         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53313         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53314         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53315         macros.
53316         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53317         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53318         Change uses of L(2) to L(out).
53319         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53320         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53321         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53323         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53324         removed macros.
53325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53326         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53327         macros.
53328         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53329         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53330         (RETURN): Do not use macro LEAVE.
53331         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53332         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53333         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53334         * sysdeps/i386/i686/memset.S (memset): Likewise.
53335         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53336         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53337         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53338         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53339         Likewise.
53340         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53341         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53342         L(1_2) and L(1_3) into L(1).
53343         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53344         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53345         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53346         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53347         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53348         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53349         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53350         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53351         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53352         macros.
53353         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53354         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53355         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53356         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53357         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53358         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53359         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53360         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53361         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53362         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53363         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53364         * sysdeps/i386/strspn.S (strspn): Likewise.
53365         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53366         conditional code.
53367         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53368         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53369         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53370         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53371         L(1_3) into L(1_1).
53372         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53373         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53374         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53375         macros.
53376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53378 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53380         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53381         macro.
53383 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53385         * math/atest-exp.c (exp_mpn): Remove ROUND.
53386         * math/atest-exp2.c (exp_mpn): Likewise.
53387         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53389         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53390         * stdlib/tst-tls-atexit-lib.c: Likewise.
53391         * stdlib/tst-tls-atexit.c: Likewise.
53393 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53395         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53396         and __attribute_alloc_size__.
53398 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53400         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53401         __attribute_alloc_size__.
53402         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53403         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53405 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53407         * include/programs/xmalloc.h: New file.
53408         * catgets/gencat.c: Include it.
53409         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53410         * elf/pldd.c: Likewise.
53411         * iconv/iconv_charmap.c: Likewise.
53412         * iconv/iconvconfig.c: Likewise.
53413         * iconv/strtab.c: Likewise.
53414         * locale/programs/locale.c: Likewise.
53415         * locale/programs/localedef.h: Likewise.
53416         * locale/programs/simple-hash.c: Likewise.
53417         * nscd/nscd.h: Likewise.
53418         * nss/makedb.c: Likewise.
53419         * sysdeps/generic/ldconfig.h: Likewise.
53421 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53423         * Versions.def: Add GLIBC_2.18.
53424         * include/link.h (struct link_map): New member l_tls_dtor_count.
53425         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53426         (__call_tls_dtors): Likewise.
53427         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53428         __cxa_thread_atexit_impl.
53429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53430         Likewise.
53431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53432         Likewise.
53433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53434         Likewise.
53435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53436         Likewise.
53437         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53439         Likewise.
53440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53441         Likewise.
53442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53444         Likewise.
53445         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53446         (tests): Add test case tst-tls-atexit.
53447         (modules-names): Add shared library for tst-tls-atexit.
53448         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53449         (GLIBC_PRIVATE): Add __call_tls_dtors.
53450         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53451         for libstdc++.
53452         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53453         * stdlib/tst-tls-atexit.c: New test case.
53454         * stdlib/tst-tls-atexit-lib.c: New test case.
53456         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53458         * elf/Versions (ld): Add _dl_find_dso_for_object.
53459         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53460         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53461         (dl_open_worker): Use _dl_find_dso_for_object.
53462         * elf/dl-sym.c (do_sym): Likewise.
53463         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53465 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53467         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53468         Syntactic changes only.
53469         (_dl_runtime_profile): Do a tail-call to the resolved function.
53471 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53473         [BZ #13550]
53474         * sysdeps/x86_64/bp-asm.h: Remove file.
53475         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53476         <bp-sym.h> and <bp-asm.h>.
53477         (__clone): Do not use BP_SYM.
53478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53479         <bp-sym.h> and <bp-asm.h>.
53480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53481         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53482         "bp-asm.h".
53483         (_setjmp): Do not use BP_SYM.
53484         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53485         "bp-asm.h".
53486         (setjmp): Do not use BP_SYM.
53487         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53488         libc_hidden_def.
53489         (mempcpy): Do not use BP_SYM in weak_alias.
53490         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53491         "bp-asm.h".
53492         (strchr): Do not use BP_SYM.
53493         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53494         "bp-asm.h".
53495         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53496         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53497         (_start): Do not use BP_SYM.
53498         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53499         "bp-asm.h".
53500         (strcat): Do not use BP_SYM.
53501         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53502         "bp-asm.h".
53503         (STRCMP): Do not use BP_SYM.
53504         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53505         "bp-asm.h".
53506         (STRCPY): Do not use BP_SYM.
53507         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53508         "bp-asm.h".
53509         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53510         "bp-asm.h".
53511         (FUNCTION): Do not use BP_SYM.
53512         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53513         weak_alias.
53514         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53516 2013-02-17  Andreas Jaeger  <aj@suse.de>
53518         * time/Versions: Sort entries.
53519         * string/Versions: Likewise.
53520         * resolv/Versions: Likewise.
53521         * posix/Versions: Likewise.
53522         * iconv/Versions: Likewise.
53523         * elf/Versions: Likewise.
53524         * wcsmbs/Versions: Likewise.
53526 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53528         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53529         loop termination condition.
53531         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53532         variable to calculate EZ.
53533         (__sqr): Likewise.
53535         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53536         the lower precision input.
53538 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53540         [BZ #13550]
53541         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53542         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53543         (run-via-rtld-prefix): Do not handle %-bp tests.
53544         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53545         (all-object-suffixes): Remove .ob.
53546         (bppfx): Remove variable.
53547         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53548         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53549         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53550         [$(build-bounded) = yes] (libtype.ob): Likewise.
53551         * Makerules (elide-routines.ob): Remove variable.
53552         (do-tests-clean): Do not handle *-bp.out.
53553         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53554         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53555         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53556         (tests): Do not include $(tests-bp.out).
53557         (xtests): Do not include $(xtests-bp.out).
53558         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53559         [$(build-bounded) = yes] ($(addprefix
53560         $(objpfx),$(binaries-bounded))): Remove rule.
53561         ($(objpfx)%-bp.out): Remove rule.
53562         * config.make.in (build-bounded): Remove variable.
53563         * crypt/Makefile [$(build-bounded) = yes]
53564         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53565         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53566         append to variable.
53567         [$(build-bounded) = yes] (install-lib): Likewise.
53568         [$(build-bounded) = yes] (generated): Likewise.
53569         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53570         Remove rule.
53571         * intl/Makefile [$(build-bounded) = yes]
53572         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53573         * math/Makefile [$(build-bounded) = yes]
53574         ($(tests:%=$(objpfx)%-bp): Likewise.
53575         * misc/Makefile [$(build-bounded) = yes]
53576         ($(objpfx)tst-tsearch-bp): Likewise.
53577         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53578         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53579         Remove dependency.
53580         * string/Makefile (o-objects.ob): Remove variable.
53581         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53582         (CFLAGS-.ob): Remove variable.
53583         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53584         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53585         both definitions of variable.
53586         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53587         (ASFLAGS-.ob): Remove variable.
53589 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53591         [BZ #13550]
53592         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53593         Remove __BOUNDED_POINTERS__ from condition.
53594         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53595         * string/bits/string2.h [!__NO_STRING_INLINES &&
53596         !__BOUNDED_POINTERS__]: Likewise.
53597         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53598         Likewise.
53599         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53600         Remove conditional code.
53601         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53602         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53603         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53604         condition.
53606         [BZ #13550]
53607         * csu/libc-start.c: Do not include <bp-sym.h>.
53608         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53609         * elf/dl-open.c: Do not include <bp-sym.h>.
53610         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53611         * math/fegetenv.c: Do not include <bp-sym.h>.
53612         (fegetenv): Do not use BP_SYM in versioned symbols.
53613         * nptl/sysdeps/pthread/bits/libc-lockP.h
53614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53615         <bp-sym.h>.
53616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53617         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53619         (__pthread_mutex_destroy): Likewise.
53620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53621         (__pthread_mutex_lock): Likewise.
53622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53623         (__pthread_mutex_trylock): Likewise.
53624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53625         (__pthread_mutex_unlock): Likewise.
53626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53627         (__pthread_mutexattr_init): Likewise.
53628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53629         (__pthread_mutexattr_destroy): Likewise.
53630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53631         (__pthread_mutexattr_settype): Likewise.
53632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53633         (__pthread_rwlock_init): Likewise.
53634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53635         (__pthread_rwlock_destroy): Likewise.
53636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53637         (__pthread_rwlock_rdlock): Likewise.
53638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53639         (__pthread_rwlock_tryrdlock): Likewise.
53640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53641         (__pthread_rwlock_wrlock): Likewise.
53642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53643         (__pthread_rwlock_trywrlock): Likewise.
53644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53645         (__pthread_rwlock_unlock): Likewise.
53646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53647         (__pthread_key_create): Likewise.
53648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53649         (__pthread_setspecific): Likewise.
53650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53651         (__pthread_getspecific): Likewise.
53652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53653         Likewise.
53654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53655         (_pthread_cleanup_push_defer): Likewise.
53656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53657         (_pthread_cleanup_pop_restore): Likewise.
53658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53659         (pthread_setcancelstate): Likewise.
53660         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53661         <bp-sym.h>.
53662         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53663         (memchr): Do not use BP_SYM in weak_alias.
53664         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53665         (fegetenv): Do not use BP_SYM in versioned symbols.
53666         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53667         (fesetenv): Do not use BP_SYM in versioned symbols.
53668         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53669         (feupdateenv): Do not use BP_SYM in versioned symbols.
53670         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53671         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53672         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53673         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53674         (open64): Do not use BP_SYM in weak_alias.
53675         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53676         (fegetenv): Do not use BP_SYM in versioned symbols.
53677         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53678         (fesetenv): Do not use BP_SYM in versioned symbols.
53679         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53680         (feupdateenv): Do not use BP_SYM in versioned symbols.
53681         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53682         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53683         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53684         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53685         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53686         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53688         <bp-sym.h>.
53689         (__libc_start_main): Do not use BP_SYM.
53691 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53694         redundant return line.
53695         (norm): Likewise.
53696         (denorm): Likewise.
53697         (dbl_mp): Likewise.
53698         (sub_magnitudes): Likewise.
53699         (__add): Likewise.
53700         (__sub): Likewise.
53701         (__mul): Likewise.
53702         (__inv): Likewise.
53703         (__dvd): Likewise.
53704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53705         (norm): Likewise.
53706         (denorm): Likewise.
53707         (dbl_mp): Likewise.
53708         (sub_magnitudes): Likewise.
53709         (__add): Likewise.
53710         (__sub): Likewise.
53711         (__mul): Likewise.
53712         (__inv): Likewise.
53713         (__dvd): Likewise.
53715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53716         instead of __mul.
53717         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53718         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53719         (cc32): Likewise.
53721         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53722         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53724         of __mul for squares.
53725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53726         function
53727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53728         Likewise.
53729         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53730         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53732 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53734         [BZ #13550]
53735         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53736         code.
53737         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53738         prototype or function definition.  Rename ubp_* variables and
53739         parameters.  Remove argv definitions conditional on
53740         [__BOUNDED_POINTERS__].
53741         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53742         * elf/dl-runtime.c (_dl_fixup): Likewise.
53743         * include/set-hooks.h (RUN_HOOK): Likewise.
53744         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53745         definition.
53746         * string/strcpy.c (strcpy): Do not use __unbounded.
53747         * sysdeps/generic/frame.h (struct layout): Likewise.
53748         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53749         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53750         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53751         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53752         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53753         (__backtrace): Likewise.
53754         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53755         use __ptrvalue.
53756         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53757         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53758         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53759         Likewise.
53760         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53761         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53762         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53763         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53764         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53765         Do not use __unbounded.
53766         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53767         Rename __unboundedrlimits parameter to rlimits in prototype.
53768         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53769         Do not use __unbounded.
53770         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53771         not use __ptrvalue.
53772         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53773         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53774         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53775         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53776         __ptrvalue or __unbounded.
53777         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53778         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53779         use __unbounded.
53780         (__new_msgctl): Do not use __ptrvalue.
53781         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53782         __unbounded.
53783         (__libc_msgrcv): Do not use __ptrvalue.
53784         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53785         startup_info): Do not use __unbounded.
53786         (__libc_start_main): Likewise.  Rename ubp_* variables and
53787         parameters.  Remove argv definitions conditional on
53788         [__BOUNDED_POINTERS__].
53789         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53790         __ptrvalue.
53791         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53792         use __unbounded.
53793         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53794         or __ptrvalue.
53795         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53796         use __unbounded.
53797         (__new_shmctl): Do not use __ptrvalue.
53798         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53799         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53800         Likewise.
53801         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53802         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53803         (__libc_sigaction): Likewise.
53804         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53805         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53806         Likewise.
53807         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53809 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53811         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53813         * string/mempcpy.c: Implement by calling memcpy.
53815 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53820         evaluation.
53822         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53823         values in the mantissa.
53825         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53826         minimize writes to Z.
53827         (sub_magnitudes): Simplify code a bit.
53829 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53831         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53832         from the message.  The linker prefixes all warnings with that already.
53834 2013-02-12  Andreas Schwab  <schwab@suse.de>
53836         [BZ #15078]
53837         * posix/regexec.c (extend_buffers): Add parameter min_len.
53838         (check_matching): Pass minimum needed length.
53839         (clean_state_log_if_needed): Likewise.
53840         (get_subexp): Likewise.
53841         * posix/Makefile (tests): Add bug-regex34.
53842         (bug-regex34-ENV): Define.
53843         * posix/bug-regex34.c: New file.
53845         [BZ #11561]
53846         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53847         elements compare against the byte sequence of it, not its name.
53848         * posix/Makefile (tests): Add bug-regex35.
53849         (bug-regex35-ENV): Define.
53850         * posix/bug-regex35.c: New file.
53852 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53854         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53855         comment.
53856         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53857         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53858         (CHECK_EOL): Add undef.
53860 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53862         * bits/stdlib-bsearch.h: New file.
53863         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53864         * stdlib/stdlib.h: Likewise.
53866 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53868         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53869         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53870         declaration.
53871         * manual/search.texi (Array Search Function): Add missing const in
53872         lfind prototype.
53873         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53874         declaration to use rlim_t.
53875         (Basic Scheduling Functions): Remove erroneous const from
53876         sched_getparam prototype.  Remove erroneous * from
53877         sched_get_priority_max and sched_get_priority_min prototypes.
53878         (Resource Usage): Fix summary @comment on vtimes to refer to
53879         sys/vtimes.h rather than vtimes.h.
53880         Add missing *s in vtimes prototype.
53881         (Limits on Resources): Fix ulimit prototype to return long int.
53882         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53883         prototypes to use long int rather than double.
53884         (BSD Random): Fix initstate and setstate to use char *, not void *.
53885         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53886         prototype to make second argument 'struct aiocb64 *const[]'.
53887         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53888         (Status of AIO Operations): Remove erroneous const in aio_return and
53889         aio_return64 prototypes.
53890         (Synchronizing I/O): Fix sync prototype to return void.
53891         * manual/startup.texi (Suboptions): Remove an erroneous const in
53892         getsubopt prototype.
53893         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53894         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53895         use size_t rather than int.
53896         (Scanning All Users): Likewise for getpwent_r.
53897         (Setting Groups): Add missing const to setgroups prototype.
53898         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53899         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53900         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53901         'const void *' rather than 'const char *'.
53902         (Host Address Functions): Likewise for inet_ntop.
53903         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53904         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53905         ssize_t for return value.
53906         (Sending Data): Likewise for send, sendto, sendmsg.
53907         (Socket Option Functions): Add a missing const in setsockopt prototype.
53908         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53909         use wchar_t for the argument.
53910         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53911         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53912         take no arguments.
53913         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53914         double/float/long double for second argument.
53915         Fix return types of significand, significandf, significandl.
53916         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53917         argument in fchmod prototype.
53918         (File Owner): Use uid_t and gid_t in fchown prototype.
53919         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53920         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53921         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53922         use 'const struct dirent **' as argument types to CMP function pointer
53923         argument.
53924         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53925         (File Times): Fix summary magic @comment for struct utimbuf and utime
53926         to refer to utime.h, not time.h.
53927         * manual/string.texi (Argz Functions): Add missing const in
53928         argz_extract and argz_next prototypes.
53929         (Finding Tokens in a String): Likewise for basename.
53930         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53931         (Copying and Concatenation): Fix typo in wmemmove prototype.
53932         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53933         (Signal Stack): Remove erroneous const in sigstack prototype.
53934         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53935         prototype.
53936         (Simple Calendar Time): Likewise for stime.
53937         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53938         prototype.
53939         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53940         say sys/sysctl.h instead.
53941         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53942         and vsyslog prototypes.
53944 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53946         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53947         Remove.
53949 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53951         * misc/sys/mman.h: Fix typo in mremap comment.
53953 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53955         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53956         the '\0' terminator.
53958 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53960         [BZ #13550]
53961         * debug/segfault.c: Don't include <bp-checks.h>.
53962         * sysdeps/generic/bp-checks.h: Remove file.
53963         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53964         (__GETDENTS): Don't use CHECK_N.
53965         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53966         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53967         (__getgroups): Don't use CHECK_N.
53968         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53969         (setgroups): Don't use CHECK_N.
53970         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53971         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53972         (__libc_msgrcv): Don't use CHECK_N.
53973         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53974         (__libc_msgsnd): Don't use CHECK_N.
53975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53976         <bp-checks.h>.
53977         (__libc_pread): Don't use CHECK_N.
53978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53979         include <bp-checks.h>.
53980         (__libc_pread64): Don't use CHECK_N.
53981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53982         include <bp-checks.h>.
53983         (__libc_pwrite): Don't use CHECK_N.
53984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53985         include <bp-checks.h>.
53986         (__libc_pwrite64): Don't use CHECK_N.
53987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53988         <bp-checks.h>.
53989         (__libc_pread): Don't use CHECK_N.
53990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53991         include <bp-checks.h>.
53992         (__libc_pread64): Don't use CHECK_N.
53993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53994         include <bp-checks.h>.
53995         (__libc_pwrite): Don't use CHECK_N.
53996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53997         include <bp-checks.h>.
53998         (__libc_pwrite64): Don't use CHECK_N.
53999         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54000         (do_pread): Don't use CHECK_N.
54001         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54002         (do_pread64): Don't use CHECK_N.
54003         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54004         (do_pwrite): Don't use CHECK_N.
54005         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54006         (do_pwrite64): Don't use CHECK_N.
54007         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54008         (__libc_readv): Don't use CHECK_N.
54009         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54010         (semop): Don't use CHECK_N.
54011         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54012         <bp-checks.h>.
54013         (semtimedop): Don't use CHECK_N.
54014         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54015         (__libc_pread): Don't use CHECK_N.
54016         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54017         <bp-checks.h>.
54018         (__libc_pread64): Don't use CHECK_N.
54019         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54020         <bp-checks.h>.
54021         (__libc_pwrite): Don't use CHECK_N.
54022         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54023         <bp-checks.h>.
54024         (__libc_pwrite64): Don't use CHECK_N.
54025         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54026         <bp-checks.h>.
54027         (__libc_msgrcv): Don't use CHECK_N.
54028         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54029         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54030         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54031         (__libc_writev): Don't use CHECK_N.
54033 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54035         * string/strcpy.c: Removed unused variable.
54037         * Makeconfig (+sysdep-includes): Define with := rather than =.
54038         Use an existing include/ subdir of each sysdeps dir before it.
54040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54042         * nscd/connection.c (register_traced_file): Comment function.
54043         [HAVE_INOTIFY] (union __inev): Define.
54044         [HAVE_INOTIFY] (inotify_check_files): New function.
54045         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54046         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54047         clear_db_cache.
54048         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54050 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54052         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54053         loaded if not already and that a failure is permanent.
54055 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54057         [BZ #15006]
54058         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54059         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54061 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54063         [BZ #13550]
54064         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54065         (CHECK_1_NULL_OK): Likewise.
54066         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54067         (__fxstat): Do not use CHECK_1.
54068         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54069         <bp-checks.h>.
54070         (___fxstat64): Do not use CHECK_1.
54071         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54072         <bp-checks.h>.
54073         (__fxstatat): Do not use CHECK_1.
54074         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54075         <bp-checks.h>.
54076         (__fxstatat64): Do not use CHECK_1.
54077         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54078         <bp-checks.h>.
54079         (__fxstat): Do not use CHECK_1.
54080         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54081         <bp-checks.h>.
54082         (__fxstatat): Do not use CHECK_1.
54083         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54084         <bp-checks.h>.
54085         (__getresgid): Do not use CHECK_1.
54086         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54087         <bp-checks.h>.
54088         (__getresuid): Do not use CHECK_1.
54089         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54090         <bp-checks.h>.
54091         (__lxstat): Do not use CHECK_1.
54092         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54093         <bp-checks.h>.
54094         (__old_msgctl): Do not use CHECK_1.
54095         (__new_msgctl): Likewise.
54096         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54097         <bp-checks.h>.
54098         (__new_setrlimit): Do not use CHECK_1.
54099         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54100         <bp-checks.h>.
54101         (__old_shmctl): Do not use CHECK_1.
54102         (__new_shmctl): Likewise.
54103         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54104         <bp-checks.h>.
54105         (__xstat): Do not use CHECK_1.
54106         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54107         (__lxstat): Do not use CHECK_1.
54108         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54109         <bp-checks.h>.
54110         (___lxstat64): Do not use CHECK_1.
54111         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54112         (__old_msgctl): Do not use CHECK_1.
54113         (__new_msgctl): Likewise.
54114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54115         <bp-checks.h>.
54116         (__gettimeofday): Do not use CHECK_1.
54117         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54118         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54119         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54120         <bp-checks.h>.
54121         (__gettimeofday): Do not use CHECK_1.
54122         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54123         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54124         (__new_shmctl): Do not use CHECK_1.
54125         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54126         <bp-checks.h>.
54127         (do_sigtimedwait): Do not use CHECK_1.
54128         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54129         <bp-checks.h>.
54130         (do_sigwaitinfo): Do not use CHECK_1.
54131         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54132         <bp-checks.h>.
54133         (msgctl): Do not use CHECK_1.
54134         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54135         <bp-checks.h>.
54136         (shmctl): Do not use CHECK_1.
54137         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54138         (ustat): Do not use CHECK_1.
54139         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54140         <bp-checks.h>.
54141         (__fxstat): Do not use CHECK_1.
54142         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54143         <bp-checks.h>.
54144         (__fxstatat): Do not use CHECK_1.
54145         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54146         <bp-checks.h>.
54147         (__lxstat): Do not use CHECK_1.
54148         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54149         <bp-checks.h>.
54150         (__xstat): Do not use CHECK_1.
54151         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54152         (__xstat): Do not use CHECK_1.
54153         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54154         (___xstat64): Do not use CHECK_1.
54156         [BZ #13550]
54157         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54158         definitions.
54159         (CHECK_BOUNDS_HIGH): Likewise.
54160         * string/strcpy.c: Do not include <bp-checks.h>.
54161         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54163 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54165         * nscd/nscd-client.h (__nscd_drop_map_ref):
54166         Add __attribute__ ((unused)).
54167         * nis/nss-nisplus.h (niserr2nss): Likewise.
54169         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54170         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54172         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54173         Remove inline keyword.
54174         * include/rounding-mode.h (round_away): Likewise.
54175         * libio/wfileops.c (adjust_wide_data): Likewise.
54176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54177         (__m128i_strloadu_tolower): Likewise.
54178         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54179         (__m128i_strloadu_tolower): Likewise.
54180         * time/mktime.c (ydhms_diff): Likewise.
54181         * locale/elem-hash.h (elem_hash): Likewise.
54182         * locale/setlocale.c (setdata): Likewise.
54183         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54184         (re_string_wchar_at): Likewise.
54185         (bitset_not, bitset_merge, bitset_mask): Likewise.
54186         [!(__GNUC__ > 3)] (inline): Remove macro.
54187         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54188         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54189         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54190         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54191         * string/memcmp.c (memcmp_bytes): Likewise.
54192         * locale/programs/locarchive.c (compute_hashval): Likewise.
54193         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54194         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54195         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54196         * nss/getent.c (print_rpc, print_protocols): Likewise.
54197         (print_passwd, print_group, print_aliases): Likewise.
54198         * nis/nss-nisplus.h (niserr2nss): Likewise.
54199         * nscd/connections.c (restart_p): Likewise.
54200         Change return type to bool.
54202 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54204         * Makeconfig (all-Depend-files): Add existing
54205         $(sorted-subdirs:=/Depend) files.
54206         (all-subdirs): Remove nss.
54207         * sysdeps/unix/inet/Subdirs: Add it here instead.
54208         * hesiod/Depend: New file.
54210         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54211         instead of calling alloca.
54213         * io/lseek.c (__lseek): Rename to __libc_lseek.
54214         Define __lseek as an alias.
54216         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54218 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54220         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54221         else clause and remove check for non-standard endianness.
54223 2013-02-04  David S. Miller  <davem@davemloft.net>
54225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54227 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54229         [BZ #13550]
54230         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54231         (__ubp_memchr): Remove prototype.
54232         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54233         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54234         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54235         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54236         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54237         Remove alias.
54238         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54239         (__ubp_memchr): Likewise.
54240         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54241         (__ubp_memchr): Likewise.
54242         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54243         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54244         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54245         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54246         CHECK_STRING.
54247         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54248         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54249         (__getcwd): Do not use CHECK_STRING.
54250         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54251         <bp-checks.h>.
54252         (__real_chown): Do not use CHECK_STRING.
54253         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54254         <bp-checks.h>.
54255         (fchownat): Do not use CHECK_STRING.
54256         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54257         CHECK_STRING.
54258         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54259         <bp-checks.h>.
54260         (__lchown): Do not use CHECK_STRING.
54261         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54262         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54263         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54264         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54266         include <bp-checks.h>.
54267         (truncate64): Do not use CHECK_STRING.
54268         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54269         <bp-checks.h>.
54270         (__real_chown): Do not use CHECK_STRING.
54271         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54272         <bp-checks.h>.
54273         (__lchown): Do not use CHECK_STRING.
54274         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54275         <bp-checks.h>.
54276         (__chown): Do not use CHECK_STRING.
54277         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54278         <bp-checks.h>.
54279         (truncate64): Do not use CHECK_STRING.
54280         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54281         Likewise.
54282         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54283         (__xmknod): Do not use CHECK_STRING.
54284         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54285         <bp-checks.h>.
54286         (__xmknodat): Do not use CHECK_STRING.
54287         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54288         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54290 2013-02-04  Andreas Schwab  <schwab@suse.de>
54292         [BZ #14142]
54293         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54294         * include/netdb.h: Likewise for h_errno.
54295         * elf/tst-stackguard1.c: Include <tls.h>.
54297 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54299         * elf/link.h (struct link_map): Extend the l_addr comment.
54300         * include/link.h (struct link_map): Likewise.
54302 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54304         [BZ #13550]
54305         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54306         (BOUNDED_1): Remove macro.
54307         * debug/backtrace.c: Don't include <bp-checks.h>.
54308         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54309         (__backtrace): Likewise.
54310         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54311         <bp-checks.h>.
54312         (__backtrace): Don't use BOUNDED_1.
54313         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54314         <bp-checks.h>.
54315         (__backtrace): Don't use BOUNDED_1.
54316         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54317         (__backtrace): Don't use BOUNDED_1.
54318         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54319         (shmat): Don't use BOUNDED_N.
54321 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54323         [BZ #13550]
54324         * sysdeps/generic/bp-start.h: Remove file.
54325         * csu/libc-start.c: Don't include <bp-start.h>.
54326         (LIBC_START_MAIN): Set up __environ directly instead of using
54327         INIT_ARGV_and_ENVIRON.
54328         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54329         <bp-start.h>.
54331         [BZ #13550]
54332         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54333         definitions.
54334         (CHECK_FCNTL): Likewise.
54335         (CHECK_N_PAGES): Likewise.
54337         [BZ #13550]
54338         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54339         definitions.
54340         (CHECK_SIGSET_NULL_OK): Likewise.
54341         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54342         <bp-checks.h>.
54343         (sigpending): Don't use CHECK_SIGSET.
54344         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54345         <bp-checks.h>.
54346         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54347         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54348         <bp-checks.h>.
54349         (do_sigsuspend): Don't use CHECK_SIGSET.
54350         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54351         use CHECK_SIGSET.
54352         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54353         (do_sigwait): Don't use CHECK_SIGSET.
54354         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54355         use CHECK_SIGSET.
54356         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54357         include <bp-checks.h>.
54358         (sigpending): Don't use CHECK_SIGSET.
54359         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54360         include <bp-checks.h>.
54361         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54362         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54363         <bp-checks.h>.
54364         (sigpending): Don't use CHECK_SIGSET.
54365         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54366         <bp-checks.h>.
54367         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54369         [BZ #13550]
54370         * sysdeps/generic/bp-semctl.h: Remove file.
54371         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54372         <bp-checks.h> and <bp-semctl.h>.
54373         (__old_semctl): Don't use CHECK_SEMCTL.
54374         (__new_semctl): Likewise.
54375         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54376         and <bp-semctl.h>.
54377         (__old_semctl): Don't use CHECK_SEMCTL.
54378         (__new_semctl): Likewise.
54379         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54380         <bp-checks.h> and <bp-semctl.h>.
54381         (__old_semctl): Don't use CHECK_SEMCTL.
54382         (__new_semctl): Likewise.
54383         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54384         <bp-checks.h> and <bp-semctl.h>.
54385         (semctl): Don't use CHECK_SEMCTL.
54387         [BZ #13550]
54388         * Makerules (elide-bp-thunks): Remove variable.
54389         (elide-routines.oS): Don't use $(elide-bp-thunks).
54390         (elide-routines.os): Likewise.
54391         (elide-routines.o): Likewise.
54392         (elide-routines.op): Likewise.
54393         (elide-routines.og): Likewise.
54394         (objects): Don't use $(bp-thunks).
54395         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54396         include.
54397         (common-generated): Do not add s-proto-bp.d.
54398         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54399         (int): Likewise.
54400         (typ): Likewise.
54401         Do not generate makefile rules for bounded-pointer thunks.
54402         * sysdeps/generic/bp-thunks.h: Remove file.
54403         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54404         * sysdeps/unix/s-proto-bp.S: Likewise.
54406         [BZ #15062]
54407         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54408         parts of result separately when argument is not close to line from
54409         -i to i and one part of argument is small.
54410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54412         * math/libm-test.inc (cacos_test): Add more tests.
54413         (casin_test): Likewise.
54414         (casinh_test): Likewise.
54415         * sysdeps/i386/fpu/libm-test-ulps: Update.
54416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54418 2013-01-31  David S. Miller  <davem@davemloft.net>
54420         * po/de.po: Update from translation team.
54422 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54424         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54426 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54428         * configure.in (_AC_PROG_CC_C89): New definition.
54429         * configure: Regenerate.
54431         * configure.in (AC_PROG_CPP): New definition.
54432         * configure: Regenerate.
54434 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54436         * debug/tst-backtrace.h: New file.
54437         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54438         (ret): Remove variable.
54439         (x): Likewise.
54440         (FAIL): Remove macro.
54441         (NO_INLINE): Likewise.
54442         (fn1): Use match function instead of strstr.
54443         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54444         (ret): Remove variable.
54445         (x): Likewise.
54446         (FAIL): Remove macro.
54447         (NO_INLINE): Likewise.
54448         (fn): Use match function instead of strstr.
54449         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54450         (ret): Remove variable.
54451         (x): Likewise.
54452         (FAIL): Remove macro.
54453         (NO_INLINE): Likewise.
54454         (handle_signal): Use match function instead of strstr.
54455         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54456         (ret): Remove variable.
54457         (x): Likewise.
54458         (FAIL): Remove macro.
54459         (NO_INLINE): Likewise.
54460         (handle_signal): Use match function instead of strstr.
54462 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54464         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54466 2013-01-23  David S. Miller  <davem@davemloft.net>
54468         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54469         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54470         argument of CAS if possible.
54471         * sysdeps/sparc/sparc64/bits/atomic.h
54472         (__arch_compare_and_exchange_val_32_acq): Likewise.
54473         (__arch_compare_and_exchange_val_64_acq): Likewise.
54475 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54477         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54478         * sysdeps/posix/ulimit.c: ... this.
54479         Include <limits.h>.
54480         * sysdeps/unix/bsd/ulimit.c: Remove file.
54482 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54484         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54485         (LDFLAGS-tst-array5): Likewise.
54487 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54489         [BZ #15036]
54490         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54491         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54492         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54493         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54495 2013-01-21  David S. Miller  <davem@davemloft.net>
54497         * sysdeps/sparc/backtrace.c: New file.
54498         * sysdeps/sparc/sparc32/backtrace.h: New file.
54499         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54500         * sysdeps/sparc/sparc64/backtrace.h: New file.
54501         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54502         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54503         -funwind-tables.
54505 2013-01-21  Andreas Schwab  <schwab@suse.de>
54507         [BZ #15020]
54508         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54509         closed its stdout.
54511 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54514         "mpa2.h".
54515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54517 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54518             Mark Mitchell  <mark@codesourcery.com>
54519             Tom de Vries  <tom@codesourcery.com>
54520             Paul Pluzhnikov  <ppluzhnikov@google.com>
54522         * debug/tst-backtrace2.c: New file.
54523         * debug/tst-backtrace3.c: Likewise.
54524         * debug/tst-backtrace4.c: Likewise.
54525         * debug/tst-backtrace5.c: Likewise.
54526         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54527         (CFLAGS-tst-backtrace3.c): Likewise.
54528         (CFLAGS-tst-backtrace4.c): Likewise.
54529         (CFLAGS-tst-backtrace5.c): Likewise.
54530         (LDFLAGS-tst-backtrace2): Likewise.
54531         (LDFLAGS-tst-backtrace3): Likewise.
54532         (LDFLAGS-tst-backtrace4): Likewise.
54533         (LDFLAGS-tst-backtrace5): Likewise.
54534         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54535         tst-backtrace4 and tst-backtrace5.
54537 2013-01-18  Anton Blanchard  <anton@samba.org>
54538             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54540         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54541         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54542         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54543         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54545         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54546         "+r" and remove output regs list as redundant.  Add explicit inline
54547         asm to specify register of return val to work around compiler codegen
54548         bug.  Remove (int) cast on return value.  Add return type parameter to
54549         use in macro so that this macro does not truncate return value for
54550         64-bit values.
54551         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54552         pass to INTERNAL_VSYSCALL_NCS.
54553         (INLINE_VSYSCALL): Add 'long int' as return type to
54554         INTERNAL_VSYSCALL_NCS macro invocation.
54555         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54556         INTERNAL_VSYSCALL_NCS macro invocation.
54557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54559 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54561         [BZ #14496]
54562         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54563         Fix application of SIMD FP exception mask.
54565         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54566         mp_no from a power of two.
54567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54568         __mpexp_twomm1.  Use __pow_mp.
54570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54571         multiplication.
54573 2013-01-17  David S. Miller  <davem@davemloft.net>
54575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54579         [BZ #15023]
54580         * include/complex.h: Condition contents on [!_COMPLEX_H].
54581         (__kernel_casinhf): New prototype.
54582         (__kernel_casinh): Likewise.
54583         (__kernel_casinhl): Likewise.
54584         * math/Makefile (libm_calls): Add k_casinh.
54585         * math/k_casinh.c: New file.
54586         * math/k_casinhf.c: Likewise.
54587         * math/k_casinhl.c: Likewise.
54588         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54589         finite nonzero arguments.
54590         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54591         finite nonzero arguments.
54592         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54593         finite nonzero arguments.
54594         * math/s_casinh.c: Do not include <float.h>.
54595         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54596         * math/s_casinhf.c: Do not include <float.h>.
54597         (__casinhf): Move code for finite nonzero arguments to
54598         k_casinhf.c.
54599         * math/s_casinhl.c: Do not include <float.h>.
54600         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54601         redefine.
54602         (__casinhl): Move code for finite nonzero arguments to
54603         k_casinhl.c.
54604         * math/libm-test.inc (cacos_test): Add more tests.
54605         * sysdeps/i386/fpu/libm-test-ulps: Update.
54606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54608 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54610         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54611         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54612         [!HAVE_MREMAP]: Remove [defined linux] case.
54613         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54615 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54617         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54619 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54621         * elf/elf.h (R_386_SIZE32): New relocation.
54622         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54623         R_386_SIZE32.
54624         (elf_machine_rela): Likewise.
54625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54626         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54628 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54630         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54631         (FP_FAST_FMA): Do not define.
54632         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54633         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54634         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54635         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54636         !_SOFT_FLOAT]: Likewise.
54637         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54638         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54639         value.
54640         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54641         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54642         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54643         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54644         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54645         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54646         file.
54648 2013-01-16  Andreas Schwab  <schwab@suse.de>
54650         [BZ #14327]
54651         * include/stdlib.h (__mktemp): Add declaration.
54652         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54653         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54655 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54658         definitions.
54659         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54660         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54661         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54662         definitions here.
54663         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54664         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54665         definitions.
54666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54667         and ONE.
54668         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54669         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54670         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54671         definitions.
54672         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54673         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54674         definitions.
54675         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54677         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54679 2013-01-15  David S. Miller  <davem@davemloft.net>
54681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54682         trunc{,f} to libm-sysdep_routes.
54683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54685         file.
54686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54688         file.
54689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54690         file.
54691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54693         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54694         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54695         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54696         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54697         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54698         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54701         nearbyint{,f} to libm-sysdep_routes.
54702         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54704         New file.
54705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54706         file.
54707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54708         New file.
54709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54710         file.
54711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54713         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54714         file.
54715         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54716         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54717         file.
54718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54719         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54720         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54722         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54723         libc_feholdexcept and libc_fesetenv.
54725 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54727         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54729 2013-01-14  David S. Miller  <davem@davemloft.net>
54731         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54732         (SPARC_ASM_VIS2_IFUNC): Likewise.
54733         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54735         use of 'siam' instruction.
54736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54737         Likewise.
54738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54739         Likewise.
54740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54741         Likewise.
54742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54747         file.
54748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54749         file.
54750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54751         file.
54752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54753         file.
54754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54759         new VIS2 routines.
54760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54763         Likewise.
54764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54769         routines to libm-sysdep_routines.
54770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54773         fdim/fdimf to libm-sysdep_routines.
54774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54775         file.
54776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54778         file.
54779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54782         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54783         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54784         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54785         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54787 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54790         to optimize copies.
54792         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54797         local variable MPTWO.
54798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54799         Likewise.
54801 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54803         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54804         GLOB_NOESCAPE.
54806 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54808         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54810 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54812         * manual/pattern.texi (glob_t): Document gl_flags.
54813         (glob64_t): Likewise.
54815 2013-01-11  David S. Miller  <davem@davemloft.net>
54817         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54818         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54819         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54820         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54821         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54822         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54823         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54824         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54825         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54826         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54827         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54828         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54829         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54831         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54832         sparc V9 rather than using V8 code.
54833         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54834         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54836         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54837         Move to...
54838         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54839         Here.
54841 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54843         [BZ #14941]
54844         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54845         not in the main loop.
54846         * configure: Regenerated.
54848 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54850         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54851         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54852         to just #else.
54853         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54854         [!__GLIBC_HAVE_LONG_LONG] case.
54855         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54856         condition to just #else.
54857         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54858         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54859         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54860         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54861         unconditional.
54862         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54863         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54864         #elif condition to just #else.
54865         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54866         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54867         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54868         #elif condition to just #else.
54870 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54872         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54873         (EF_MIPS_ARCH_64): Fix value.
54874         (EF_MIPS_ARCH_32R2): New.
54875         (EF_MIPS_ARCH_64R2): New.
54877 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54879         * Makeconfig (+link-pie-before-libc): New.
54880         (+link-pie-after-libc): Likewise.
54881         (+link-pie-tests): Likewise.
54882         (+link-pie): Rewritten.
54883         (link-before-libc): Remove $(config-LDFLAGS).
54884         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54885         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54886         (config-LDFLAGS): Renamed to ...
54887         (rtld-LDFLAGS): This.
54888         (rtld-tests-LDFLAGS): New macro.
54889         (link-libc-rpath-link): Likewise.
54890         (link-libc-tests-rpath-link): Likewise.
54891         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54892         (link-libc): Prepand $(link-libc-rpath-link).
54893         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54894         (test-program-prefix): New macro.
54895         (test-via-rtld-prefix): Likewise.
54896         (test-program-cmd): Likewise.
54897         (host-test-program-cmd): Likewise.
54898         * Makefile ($(common-objpfx)testrun.sh): Replace
54899         $(run-program-prefix) with $(test-program-prefix).
54900         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54901         $(rtld-LDFLAGS).
54902         ($(common-objpfx)shlib.lds): Likewise.
54903         (build-module-helper): Likewise.
54904         ($(common-objpfx)format.lds): Likewise.
54905         * Rules (binaries-pie-tests): New.
54906         (binaries-pie-notests): Likewise.
54907         (binaries-pie): Rewritten.
54908         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54909         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54910         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54911         (make-test-out): Replace $(host-built-program-cmd) with
54912         $(host-test-program-cmd).
54913         * config.make.in (build-hardcoded-path-in-tests): New variable.
54914         * configure.in (--enable-hardcoded-path-in-tests): New configure
54915         option.
54916         (hardcoded_path_in_tests): New AC_SUBST.
54917         * configure: Regenerated.
54918         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54919         $(built-program-cmd) with $(test-program-cmd).
54920         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54921         (test_program_cmd): This.
54922         * elf/Makefile ($(objpfx)order.out): Run test with
54923         $(test-program-prefix).
54924         ($(objpfx)order2.out): Likewise.
54925         ($(objpfx)tst-initorder.out): Likewise.
54926         ($(objpfx)tst-initorder2.out): Likewise.
54927         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54928         $(test-program-cmd).
54929         ($(objpfx)tst-array1-static.out): Likewise.
54930         ($(objpfx)tst-array2.out): Likewise.
54931         ($(objpfx)tst-array3.out): Likewise.
54932         ($(objpfx)tst-array4.out): Likewise.
54933         ($(objpfx)tst-array5.out): Likewise.
54934         ($(objpfx)tst-array5-static.out): Likewise.
54935         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54936         $(test-program-cmd).
54937         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54938         $(run-program-prefix) with $(test-program-prefix).
54939         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54940         (test_program_prefix): This.
54941         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54942         $(run-program-prefix) with $(test-program-prefix).
54943         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54944         (test_program_prefix): This.
54945         * iconvdata/tst-tables.sh: Likewise.
54946         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54947         $(run-program-prefix) with $(test-program-prefix).
54948         ($(objpfx)tst-translit.out): Likewise.
54949         ($(objpfx)tst-gettext2.out): Likewise.
54950         ($(objpfx)tst-gettext4.out): Likewise.
54951         ($(objpfx)tst-gettext6.out): Likewise.
54952         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54953         (test_program_prefix): This.
54954         * intl/tst-gettext2.sh: Likewise.
54955         * intl/tst-gettext4.sh  Likewise.
54956         * intl/tst-gettext6.sh: Likewise.
54957         * intl/tst-translit.sh: Likewise.
54958         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54959         with $(test-program-cmd).
54960         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54961         $(run-program-prefix) with $(test-program-prefix).
54962         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54963         (test_program_prefix): This.
54964         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54965         $(run-program-prefix) with $(test-program-prefix).
54966         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54967         (test_program_prefix): This.
54968         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54969         * posix/Makefile ($(objpfx)globtest.out): Replace
54970         $(run-via-rtld-prefix) and $(test-wrapper) with
54971         $(test-program-prefix) and $(test-via-rtld-prefix).
54972         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54973         $(test-program-prefix).
54974         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54975         $(host-test-program-cmd).
54976         (tst-spawn-ARGS): Likewise.
54977         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54978         $(test-program-prefix).
54979         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54980         (test_via_rtld_prefix): This.
54981         (test_wrapper): Renamed to ...
54982         (test_program_prefix): This.
54983         (run_program_prefix): Replaced by test_program_prefix.
54984         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54985         (test_program_prefix): This.
54986         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54987         with $(host-test-program-cmd).
54988         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54989         $(run-program-prefix) with $(test-program-prefix).
54990         ($(objpfx)tst-printf.out): Likewise.
54991         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54992         $(test-program-cmd).
54993         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54994         (test_program_prefix): This.
54995         * stdio-common/tst-unbputc.sh: Likewise.
54996         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54997         $(run-program-prefix) with $(test-program-prefix).
54998         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54999         (test_program_prefix): This.
55000         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55001         $(built-program-cmd) with $(test-program-cmd).
55003 2013-01-11  Andreas Jaeger  <aj@suse.de>
55005         [BZ #15003]
55006         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55007         value. Sync with Linux 3.7.
55009 2013-01-10  David S. Miller  <davem@davemloft.net>
55011         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55012         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55013         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55015 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55017         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55018         never set.
55019         * configure: Regenerated.
55021 2013-01-10  David S. Miller  <davem@davemloft.net>
55023         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55024         sparc V9 rather than using V8 code.
55025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55028 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55030         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55031         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55032         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55033         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55034         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55035         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55036         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55037         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55038         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55039         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55040         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55041         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55042         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55043         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55044         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55045         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55046         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55047         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55048         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55049         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55050         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55051         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55052         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55053         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55054         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55055         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55056         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55058 2013-01-10  David S. Miller  <davem@davemloft.net>
55060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55062 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55064         * posix/Makefile (tests-static): New variable.
55065         (tests): Add $(tests-static).
55066         (tst-exec-static-ARGS): New variable.
55067         (tst-spawn-static-ARGS): Likewise.
55068         * posix/tst-exec-static.c: New file.
55069         * posix/tst-spawn-static.c: Likewise.
55070         * posix/tst-exec.c: Support run directly.
55071         * posix/tst-spawn.c: Likewise.
55073 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55075         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55076         long.
55077         * math/bits/mathcalls.h (llrint): Likewise.
55078         (llround): Likewise.
55079         * stdlib/stdlib.h (struct drand48_data): Likewise.
55080         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55081         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55082         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55083         Likewise.
55084         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55085         Likewise.
55086         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55087         (elf_greg_t): Likewise.
55088         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55089         (__jmp_buf): Likewise.
55090         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55091         definitions.
55092         (llrint): Likewise, for all definitions.
55093         (llrintl): Likewise.
55095         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55096         Remove [__GNUC__] condition.
55097         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55098         condition to just [__USE_ISOC99].
55099         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55101 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55103         [BZ #14200]
55104         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55105         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55106         defined.
55107         (_POSIX_V6_ILP32_OFF32): Likewise.
55108         (_XBS5_ILP32_OFF32): Likewise.
55109         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55110         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55112 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55114         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55116         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55117         doubles __mpexp_twomm1.  Adjust usage.
55118         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55119         Remove.
55121 2013-01-10  Andreas Schwab  <schwab@suse.de>
55123         [BZ #14964]
55124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55125         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55127 2013-01-09  David S. Miller  <davem@davemloft.net>
55129         [BZ #15003]
55130         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55131         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55132         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55133         (TCP_FASTOPEN): Define.
55134         (tcp_repair_opt): New structure.
55135         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55136         enum values.
55137         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55138         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55139         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55140         (tcp_cookie_transactions): New structure.
55142 2013-01-09  Anton Blanchard  <anton@samba.org>
55144         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55145         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55146         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55147         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55149 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55151         * include/features.h (__USE_ANSI): Remove.
55153 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55155         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55157         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55159 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55161         * sysdeps/s390/fpu/libm-test-ulps: Update.
55163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55165         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55166         (__acr): Likewise.
55167         (__cpy): Likewise.
55168         (norm): Likewise.
55169         (denorm): Likewise.
55170         (__mp_dbl): Likewise.
55171         (__dbl_mp): Likewise.
55172         (add_magnitudes): Likewise.
55173         (sub_magnitudes): Likewise.
55174         (__add): Likewise.
55175         (__sub): Likewise.
55176         (__mul): Likewise.
55177         (__inv): Likewise.
55178         (__dvd): Likewise.
55179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55180         (__acr): Likewise.
55181         (__cpy): Likewise.
55182         (norm): Likewise.
55183         (denorm): Likewise.
55184         (__mp_dbl): Likewise.
55185         (__dbl_mp): Likewise.
55186         (add_magnitudes): Likewise.
55187         (sub_magnitudes): Likewise.
55188         (__add): Likewise.
55189         (__sub): Likewise.
55190         (__mul): Likewise.
55191         (__inv): Likewise.
55192         (__dvd): Likewise.
55193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55194         (__acr): Likewise.
55195         (__cpy): Likewise.
55196         (norm): Likewise.
55197         (denorm): Likewise.
55198         (__mp_dbl): Likewise.
55199         (__dbl_mp): Likewise.
55200         (add_magnitudes): Likewise.
55201         (sub_magnitudes): Likewise.
55202         (__add): Likewise.
55203         (__sub): Likewise.
55204         (__mul): Likewise.
55205         (__inv): Likewise.
55206         (__dvd): Likewise.
55208 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55210         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55211         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55212         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55213         2 && __USE_EXTERN_INLINES]: Likewise.
55215 2013-01-08  Andreas Jaeger  <aj@suse.de>
55217         [BZ# 14985]
55218         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55219         Remove.
55220         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55221         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55223 2013-01-07  Anton Blanchard  <anton@samba.org>
55225         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55226         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55227         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55228         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55229         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55230         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55231         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55232         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55234         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55235         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55236         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55237         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55238         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55239         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55240         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55241         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55242         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55243         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55244         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55245         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55246         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55247         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55248         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55249         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55250         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55251         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55252         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55253         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55254         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55255         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55257         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55258         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55259         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55260         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55261         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55262         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55263         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55264         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55265         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55266         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55267         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55269 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55271         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55272         (__MALLOC_PMT): Likewise.
55273         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55274         [__GNUC__], only on [_LIBC].
55275         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55276         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55277         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55278         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55279         forward declaration.
55280         (realloc_hook_ini): Likewise.
55281         (memalign_hook_ini): Likewise.
55282         (__libc_memalign): Do not use __MALLOC_PMT in variable
55283         declaration.
55284         (__libc_valloc): Likewise.
55285         (__libc_pvalloc): Likewise.
55286         (__libc_calloc): Likewise.
55287         (__posix_memalign): Likewise.
55289         [BZ #14996]
55290         * math/s_casinh.c: Include <float.h>.
55291         (__casinh): Do not do computation with squaring and square root
55292         for large arguments.
55293         * math/s_casinhf.c: Include <float.h>.
55294         (__casinhf): Do not do computation with squaring and square root
55295         for large arguments.
55296         * math/s_casinhl.c: Include <float.h>.
55297         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55298         (__casinhl): Do not do computation with squaring and square root
55299         for large arguments.
55300         * math/libm-test.inc (casin_test): Add more tests.
55301         (casinh_test): Likewise.
55302         * sysdeps/i386/fpu/libm-test-ulps: Update.
55303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55305 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55307         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55308         (__x86_64_raw_data_cache_size): Likewise.
55309         (__x86_64_data_cache_size_half): Likewise.
55310         (__x86_64_raw_data_cache_size_half): Likewise.
55311         (__x86_64_shared_cache_size): Likewise.
55312         (__x86_64_raw_shared_cache_size): Likewise.
55313         (__x86_64_shared_cache_size_half): Likewise.
55314         (__x86_64_raw_shared_cache_size_half): Likewise.
55315         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55316         to ...
55317         (__x86_data_cache_size): This.
55318         (__x86_64_raw_data_cache_size): Renamed to ...
55319         (__x86_raw_data_cache_size): This.
55320         (__x86_64_data_cache_size_half): Renamed to ...
55321         (__x86_data_cache_size_half): This.
55322         (__x86_64_raw_data_cache_size_half): Renamed to ...
55323         (__x86_raw_data_cache_size_half): This.
55324         (__x86_64_shared_cache_size): Renamed to ...
55325         (__x86_shared_cache_size): This.
55326         (__x86_64_raw_shared_cache_size): Renamed to ...
55327         (__x86_raw_shared_cache_size): This.
55328         (__x86_64_shared_cache_size_half): Renamed to ...
55329         (__x86_shared_cache_size_half): This.
55330         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55331         (__x86_raw_shared_cache_size_half): This.
55332         * sysdeps/x86_64/memcpy.S: Updated.
55333         * sysdeps/x86_64/memset.S: Likewise.
55334         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55335         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55338 2013-01-04  David S. Miller  <davem@davemloft.net>
55340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55342 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55344         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55345         1 to avoid redefinition warning.
55346         (__USE_GNU): Don't define.
55347         (init_signaling_nan): Protoize.
55349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55351 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55353         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55355         (__cpymn): Likewise.
55356         (norm): Remove commented code.
55357         (denorm): Likewise.
55358         (__mp_dbl): Likewise.
55359         (__inv): Likewise.
55360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55361         (__cpymn): Likewise.
55362         (norm): Remove commented code.
55363         (denorm): Likewise.
55364         (__mp_dbl): Likewise.
55365         (__inv): Likewise.
55367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55368         mp_no value for 1.0 and 2.0.
55369         (norm): Use RADIXI instead of radixi.d.
55370         (denorm): Likewise.
55371         (__mul): Use 0.0 instead of zero.d.
55372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55373         mp_no value for 1.0 and 2.0.
55374         (norm): Use RADIXI instead of radixi.d.
55375         (denorm): Likewise.
55376         (__mul): Use 0.0 instead of zero.d.
55378 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55380         [BZ #14994]
55381         * math/s_casinh.c (__casinh): Reduce finite argument to first
55382         quadrant then set signs of results at the end.
55383         * math/s_casinhf.c (__casinhf): Likewise.
55384         * math/s_casinhl.c (__casinhl): Likewise.
55385         * math/libm-test.inc (casin_test): Add more tests.
55386         (casinh_test): Likewise.
55387         * sysdeps/i386/fpu/libm-test-ulps: Update.
55388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55390 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55392         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55394         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55396         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55397         declarations.
55398         (denorm): Likewise.
55399         (__mp_dbl): Likewise.
55400         (__inv): Likewise.
55402         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55403         and adjust the header comment.
55405         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55406         variable name from declaration.
55408 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55411         Initialize COMMON_CPUID_INDEX_7 element.
55412         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55413         (CPUID_RTM): Likewise.
55414         (HAS_RTM): Likewise.
55415         (COMMON_CPUID_INDEX_7): New enum.
55417 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55419         [BZ #14981]
55420         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55421         size is zero, record memory as freed.
55423 2013-01-03  Andreas Jaeger  <aj@suse.de>
55425         * po/ia.po: Add new Interlingua translation.
55427 2012-01-03  Allan McRae  <allan@archlinux.org>
55429         * locale/programs/localedef.c: Fix description of '--posix' flag.
55431 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55433         * NEWS: Update dates in second copyright notice.
55434         * README: Update copyright dates in example.
55435         * manual/libc.texinfo: Update copyright dates.
55436         * scripts/test-installation.pl: Update copyright date in --version
55437         output.
55439         * hurd/ctty-input.c: Fix copyright notice formatting.
55440         * hurd/ctty-output.c: Likewise.
55441         * hurd/dtable.c: Likewise.
55442         * hurd/hurd-raise.c: Likewise.
55443         * hurd/hurdprio.c: Likewise.
55444         * hurd/msgportdemux.c: Likewise.
55445         * misc/sys/file.h: Likewise.
55446         * misc/sys/ioctl.h: Likewise.
55447         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55448         * sysdeps/mach/hurd/chdir.c: Likewise.
55449         * sysdeps/mach/hurd/fchdir.c: Likewise.
55450         * sysdeps/mach/hurd/rename.c: Likewise.
55451         * sysdeps/mach/hurd/rmdir.c: Likewise.
55452         * sysdeps/mach/hurd/seekdir.c: Likewise.
55453         * sysdeps/mach/hurd/setsid.c: Likewise.
55454         * sysdeps/posix/wait3.c: Likewise.
55456         * All files with FSF copyright notices: Update copyright dates
55457         using scripts/update-copyrights.
55458         * intl/plural.c: Regenerated.
55459         * locale/programs/charmap-kw.h: Likewise.
55460         * locale/programs/locfile-kw.h: Likewise.
55462 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55464         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55465         four values.
55467         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55468         calculation loop and add branch prediction.
55470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55471         check access beyond bounds of m1np.
55473         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55474         MPTWO.
55475         (__inv): Remove local variable MPTWO to use the global
55476         constant.
55477         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55478         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55479         variable MPTWO.
55480         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55481         MP3HALFS static const.
55483 2013-01-01  David S. Miller  <davem@davemloft.net>
55485         * po/ca.po: Update from translation team.
55487 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55489         * scripts/update-copyrights: New file.
55490         * Makeconfig: Reformat copyright notice.
55491         * ctype/ctype.h: Likewise.
55492         * debug/swprintf_chk.c: Likewise.
55493         * elf/dl-cache.c: Likewise.
55494         * elf/dl-debug.c: Likewise.
55495         * elf/dl-object.c: Likewise.
55496         * grp/initgroups.c: Likewise.
55497         * hurd/Makefile: Likewise.
55498         * hurd/hurd/signal.h: Likewise.
55499         * hurd/hurdfault.c: Likewise.
55500         * hurd/hurdioctl.c: Likewise.
55501         * hurd/hurdlookup.c: Likewise.
55502         * hurd/intr-msg.c: Likewise.
55503         * iconv/gconv_open.c: Likewise.
55504         * libio/swprintf.c: Likewise.
55505         * locale/lc-ctype.c: Likewise.
55506         * locale/nl_langinfo.c: Likewise.
55507         * mach/Machrules: Likewise.
55508         * mach/Makefile: Likewise.
55509         * malloc/obstack.h: Likewise.
55510         * manual/Makefile: Likewise.
55511         * manual/tsort.awk: Likewise.
55512         * misc/bits/stab.def: Likewise.
55513         * nis/nis_print_group_entry.c: Likewise.
55514         * nis/nis_table.c: Likewise.
55515         * nis/nss_compat/compat-pwd.c: Likewise.
55516         * nis/nss_compat/compat-spwd.c: Likewise.
55517         * po/Makefile: Likewise.
55518         * posix/fnmatch.c: Likewise.
55519         * posix/regex.h: Likewise.
55520         * resolv/Makefile: Likewise.
55521         * resolv/nss_dns/dns-network.c: Likewise.
55522         * resolv/res_hconf.c: Likewise.
55523         * scripts/gen-sorted.awk: Likewise.
55524         * soft-fp/soft-fp.h: Likewise.
55525         * stdio-common/printf.h: Likewise.
55526         * stdlib/monetary.h: Likewise.
55527         * stdlib/random.c: Likewise.
55528         * stdlib/random_r.c: Likewise.
55529         * sysdeps/generic/Makefile: Likewise.
55530         * sysdeps/gnu/Makefile: Likewise.
55531         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55532         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55533         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55534         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55535         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55538         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55539         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55540         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55541         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55542         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55543         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55544         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55545         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55546         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55547         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55549         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55550         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55551         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55552         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55553         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55554         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55555         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55556         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55557         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55558         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55559         * sysdeps/mach/hurd/errnos.awk: Likewise.
55560         * sysdeps/mach/hurd/fork.c: Likewise.
55561         * sysdeps/mach/hurd/getcwd.c: Likewise.
55562         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55563         * sysdeps/mach/hurd/mmap.c: Likewise.
55564         * sysdeps/mach/hurd/utimes.c: Likewise.
55565         * sysdeps/mach/hurd/xmknod.c: Likewise.
55566         * sysdeps/posix/profil.c: Likewise.
55567         * sysdeps/posix/readdir_r.c: Likewise.
55568         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55569         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55570         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55571         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55573         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55574         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55575         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55577         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55578         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55579         * sysdeps/pthread/lio_listio.c: Likewise.
55580         * sysdeps/sparc/dl-procinfo.h: Likewise.
55581         * sysdeps/unix/i386/sysdep.S: Likewise.
55582         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55583         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55584         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55585         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55587         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55588         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55589         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55590         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55591         * sysdeps/wordsize-32/divdi3.c: Likewise.
55592         * time/sys/time.h: Likewise.
55593         * wcsmbs/Makefile: Likewise.
55595 2013-01-01  David S. Miller  <davem@davemloft.net>
55597         * po/fr.po: Update from translation team.
55599         * catgets/gencat.c: Update copyright year.
55600         * csu/version.c: Likewise.
55601         * debug/catchsegv.sh: Likewise.
55602         * debug/pcprofiledump.c: Likewise.
55603         * debug/xtrace.sh: Likewise.
55604         * elf/ldconfig.c: Likewise.
55605         * elf/ldd.bash.in: Likewise.
55606         * elf/pldd.c: Likewise.
55607         * elf/sotruss.ksh: Likewise.
55608         * elf/sprof.c: Likewise.
55609         * iconv/iconv_prog.c: Likewise.
55610         * iconv/iconvconfig.c: Likewise.
55611         * locale/programs/locale.c: Likewise.
55612         * locale/programs/localedef.c: Likewise.
55613         * login/programs/pt_chown.c: Likewise.
55614         * malloc/memusage.sh: Likewise.
55615         * malloc/memusagestat.c: Likewise.
55616         * malloc/mtrace.pl: Likewise.
55617         * nscd/nscd.c: Likewise.
55618         * nss/getent.c: Likewise.
55619         * nss/makedb.c: Likewise.
55620         * posix/getconf.c: Likewise.
55622 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55624         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55625         numbers.
55627 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55629         * math/bits/mathcalls.h (modf): Use __nonnull.
55631 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55633         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55634         (split): Use macro CN instead of the bare value.
55635         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55636         could be used.
55637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55638         instead of the bare value.
55639         (power1): Likewise.
55641 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55643         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55644         __ATAN_TWOM.
55645         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55647         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55648         their values.
55649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55650         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55651         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55652         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55654 2012-12-28  Andreas Jaeger  <aj@suse.de>
55656         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55657         values are from Linux 3.7.
55659         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55660         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55662 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55664         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55665         TRUE case.
55667         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55668         (norm): Likewise.
55669         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55670         variables with preprocessor constants.
55671         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55672         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55673         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55675 2012-12-27  Bruno Haible  <bruno@clisp.org>
55677         [BZ #14317]
55678         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55679         only if needed.
55681 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55684         and use variable directly.
55685         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55687         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55688         MPONE.
55689         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55691         variable MPONE.
55692         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55693         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55694         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55695         include directive.  Remove local variable MPONE.
55696         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55698         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55700 2012-12-25  David S. Miller  <davem@davemloft.net>
55702         * version.h (RELEASE): Set to "development".
55703         (VERSION): Set to "2.17.90".
55704         * NEWS: Add 2.18 section.
55706 2012-12-21  David S. Miller  <davem@davemloft.net>
55708         * po/hr.po: Update from translation team.
55710 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55712         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55714 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55716         * NEWS:  Mention new memcpy for MIPS.
55718 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55720         * manual/contrib.texi (Contributors): Spelling correction.
55722 2012-12-15  David S. Miller  <davem@davemloft.net>
55724         * po/ru.po: Update from translation team.
55726 2012-12-13  David S. Miller  <davem@davemloft.net>
55728         * NEWS: Mention IFUNC testsuite enhancements.
55730         * po/pl.po: Update from translation team.
55731         * po/bg.po: Likewise.
55733         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55734         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55736 2012-12-11  David S. Miller  <davem@davemloft.net>
55738         * po/sv.po: Update from translation team.
55740         * po/vi.po: Update from translation team.
55742         * po/cs.po: Update from translation team.
55744         * po/de.po: Update from translation team.
55745         * po/eo.po: Likewise.
55746         * po/nl.po: Likewise.
55748 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55750         [BZ #14246]
55751         * manual/argp.texi (Argp Helper Functions): Move node to follow
55752         Argp Parsing State.
55754         [BZ #14872]
55755         * manual/conf.texi (Limits on File System Capacity): Mention if
55756         terminating null is included in the max size.
55758 2012-12-10  Andreas Jaeger  <aj@suse.de>
55760         * po/cs.po: Update from translation team.
55762 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55764         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55765         void pointer and cast to uintptr_t.
55766         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55767         path.
55768         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55769         * sysdeps/s390/s390-64/memset.S: Likewise.
55771 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55773         [BZ #14833]
55774         * menual/message.texi (Message Translation): Fix typos.
55775         (Helper programs for gettext): Likewise.
55777 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55779         [BZ #14898]
55780         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55781         Change to -1.
55783 2012-12-07  David S. Miller  <davem@davemloft.net>
55785         * po/libc.pot: Update.
55787 2012-12-07  Richard Henderson  <rth@redhat.com>
55789         [BZ #10114]
55790         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55791         normal/normal case to before the switch.
55792         (_FP_DIV): Likewise.
55794 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55795             Mike Frysinger  <vapier@gentoo.org>
55797         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55798         check for __NR_fadvise64_64.
55800 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55802         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55803         0, not just to plain "0" as a statement.
55804         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55805         with cw.
55807 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55809         * NEWS: Use sourceware.org in Bugzilla URL.
55811 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55814         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55816         * stdio-common/tst-put-error.c (do_test): Add newline to the
55817         padded test to ensure flush.
55819 2012-12-05  Jeff Law  <law@redhat.com>
55821         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55823 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55825         * README: Don't refer to ports add-on as distributed separately.
55826         Mention AArch64 in list of systems supported in the ports add-on.
55828         * LICENSES: Add more non-FSF copyright and license notices.
55830         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55831         ((unused)).
55833         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55835         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55836         10000 as width of padded output.
55838 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55840         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55842         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55843         variable LX with __attribute__ ((unused)).
55844         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55845         Likewise.
55846         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55847         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55849         with __attribute__ ((unused)).
55851 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55853         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55855 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55857         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55858         (CFLAGS-nldbl-acos.c): New variable.
55859         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55860         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55861         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55862         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55863         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55864         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55865         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55866         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55867         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55868         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55869         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55870         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55871         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55872         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55873         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55874         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55875         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55876         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55877         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55878         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55879         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55880         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55881         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55882         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55883         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55884         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55885         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55886         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55887         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55888         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55889         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55890         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55891         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55892         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55893         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55894         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55895         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55896         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55897         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55898         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55899         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55900         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55901         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55902         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55903         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55904         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55905         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55906         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55907         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55908         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55909         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55910         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55911         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55912         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55913         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55914         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55915         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55916         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55917         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55918         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55919         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55920         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55921         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55922         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55923         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55924         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55925         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55926         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55927         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55928         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55929         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55930         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55931         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55932         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55933         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55934         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55935         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55936         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55937         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55938         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55939         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55940         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55941         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55942         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55943         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55944         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55945         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55946         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55947         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55948         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55949         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55950         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55951         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55952         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55953         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55954         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55955         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55958         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55960         [BZ #14914]
55961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55962         whole low double instead of just low 47 bits when splitting values
55963         into two parts.
55965 2012-12-03  Allan McRae  <allan@archlinux.org>
55967         * manual/stdio.texi (Predefined Printf Handlers): Remove
55968         @hsep and @vsep usage.
55970 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55972         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55973         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55975 2012-12-03  Jeff Law  <law@redhat.com>
55977         * time/sys/time.h (settimeofday): Do not mark TV argument
55978         as __nonnull.
55980 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55982         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55983         when currently writing and seek to current position when not.
55984         * libio/Makefile (tests): Remove bug-fclose1.
55985         * libio/bug-fclose1.c: Delete.
55987 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55989         * manual/arith.texi (feenableexcept): Fix typo.
55990         (fedisableexcept): Likewise.
55992 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55994         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55995         second, differently-typed declaration, rather than a cast.
55997 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55999         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56000         * include/rpc/svc.h: ... here.
56002 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56004         [BZ #13013]
56005         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56006         depending n and resplen2 to catch cases where answer
56007         equals answerp2.
56009 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56011         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56012         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56014 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56018 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56020         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56022 2012-11-28  Jeff Law  <law@redhat.com>
56024         [BZ #13761]
56025         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56026         dataset_temporary.  Track alloca usage into alloca_used.
56027         If dataset is large allocate and release it via malloc/free.
56029 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56031         [BZ #14197]
56032         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56034 2012-11-28  David S. Miller  <davem@davemloft.net>
56036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56038 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56040         [BZ #14803]
56041         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56042         of pi/2 rounded to nearest to 64 bits.
56043         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56044         nearest to 64 bits.
56045         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56046         bits.
56048 2012-11-28  Jeff Law <law@redhat.com>
56049             Martin Osvald <mosvald@redhat.com>
56051         [BZ #14889]
56052         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56053         * sunrpc/svc.c: Include time.h.
56054         (__svc_accept_failed): New function.
56055         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56056         any reason other than EINTR, call __svc_accept_failed.
56057         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56058         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56060 2012-11-28  Andreas Schwab  <schwab@suse.de>
56062         * scripts/abilist.awk: Also handle indirect functions in .opd
56063         section.
56065 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56067         [BZ #13881]
56068         * sysdeps/x86/fpu/powl_helper.c: New file.
56069         * sysdeps/x86/fpu/Makefile: Likewise.
56070         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56071         (p3): New object.
56072         (__ieee754_powl): Use __powl_helper for finite arguments except
56073         integer exponents below 8.
56074         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56075         (p3): New object.
56076         (__ieee754_powl): Use __powl_helper for finite arguments except
56077         integer exponents below 8.
56078         * math/libm-test.inc (pow_test): Add more tests and enable some
56079         previously disabled tests.
56080         * sysdeps/i386/fpu/libm-test-ulps: Update.
56081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56083 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56084             Carlos O'Donell  <carlos_odonell@mentor.com>
56086         * nss/makedb.c (is_prime): Assert that input is odd and greater
56087         than 4.  Note that fact in a comment too.
56088         (next_prime): Add 4 to input.
56090 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56092         [BZ #11741]
56093         * libio/Makefile (tests): Add test case tst-fwrite-error.
56094         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56095         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56096         * libio/tst-fwrite-error.c: New test case.
56098 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56100         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56101         before casting to void *.
56102         * include/libc-internal.h (__pointer_type): New macro.
56103         (__integer_if_pointer_type_sub): Likewise.
56104         (__integer_if_pointer_type): Likewise.
56105         (cast_to_integer): Likewise.
56106         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56107         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56108         before casting to atomic64_t.
56109         (atomic_exchange_acq): Likewise.
56110         (__arch_exchange_and_add_body): Likewise.
56111         (__arch_add_body): Likewise.
56112         (atomic_add_negative): Likewise.
56113         (atomic_add_zero): Likewise.
56115 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56117         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56118         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56119         (add_fdes): Likewise.
56120         (linear_search_fdes): Likewise.
56121         (binary_search_unencoded_fdes): Likewise.
56123 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56125         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56127 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56129         * configure.in: Autodetect C++ header directories.
56130         * configure: Regenerated.
56132 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56134         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56136 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56140 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56142         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56143         LDBL_MANT_DIG == 106]: Disable some tests.
56144         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56145         Likewise.
56146         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56147         Likewise.
56149         [BZ #14871]
56150         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56151         input for small inputs.  Return +/- pi/2 for large inputs.
56152         * math/libm-test.inc (atan_test): Add more tests.
56154         * sysdeps/generic/unwind-dw2-fde-glibc.c
56155         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56156         __attribute__ ((unused)).
56158         [BZ #14645]
56159         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56160         x * y if x and y are nonzero and z is zero.
56162         [BZ #14811]
56163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56164         nonzero exponents with absolute value below 0x1p-117 to +/-
56165         0x1p-117.
56167         [BZ #14869]
56168         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56169         up arguments below 2**-450, not just those below 2**-500.
56170         * math/libm-test.inc (hypot_test): Add another test.
56172         [BZ #14868]
56173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56174         Return a+b for ratio over 2**120, not 2**60.
56175         * math/libm-test.inc (hypot_test): Add another test.
56177         * math/libm-test.inc (clog_test): Use
56178         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56179         (clog10_test): Likewise.
56181         [BZ #6778]
56182         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56184 2012-11-22  Andreas Schwab  <schwab@suse.de>
56186         * sysdeps/i386/fpu/libm-test-ulps: Update.
56188 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56190         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56191         printf output with newline.
56193 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56195         [BZ #14865]
56196         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56197         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56198         -z nodlopen, -z initfirst and -z execstack support.
56199         * configure: Regenerated.
56201         * elf/elf.h (DF_1_NODIRECT): New macro.
56202         (DF_1_IGNMULDEF): Likewise.
56203         (DF_1_NOKSYMS): Likewise.
56204         (DF_1_NOHDR): Likewise.
56205         (DF_1_EDITED): Likewise.
56206         (DF_1_NORELOC): Likewise.
56207         (DF_1_SYMINTPOSE): Likewise.
56208         (DF_1_GLOBAUDIT): Likewise.
56209         (DF_1_SINGLETON): Likewise.
56210         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56211         DT_1_SUPPORTED_MASK bits.
56212         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56214 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56216         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56218 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56220         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56221         macro.
56223         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56224         (sendmmsg): Move declarations...
56225         * socket/sys/socket.h: ... here.
56226         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56227         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56228         include it from...
56229         * socket/recvmmsg.c: ... this new file.
56230         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56231         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56232         definition of __sendmmsg hidden.
56233         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56234         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56235         Move ENOSYS stub into and include it from...
56236         * socket/sendmmsg.c: ... this new file.
56237         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56238         (sysdep_routines): Move recvmmsg and sendmmsg...
56239         * socket/Makefile (routines): ... here.
56240         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56241         (GLIBC_PRIVATE): Add __sendmmsg.
56242         * include/sys/socket.h (__sendmmsg): Add declarations.
56243         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56244         sendmmsg.
56246 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56248         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56249         variable I1 with __attribute__ ((unused)).
56250         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56252 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56254         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56255         DUMMY variables with __attribute__ ((unused)).
56257         * bits/byteswap.h: Include <bits/types.h>.
56258         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56260 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56262         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56263         string_t.  Do not manually set errno.
56264         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56265         length with __strnlen.  Make sure to both set errno and return it on
56266         failure.
56268 2012-11-19  David S. Miller  <davem@davemloft.net>
56270         With help from Joseph Myers.
56271         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56272         very large arguments properly.
56273         * math/libm-test.inc (atan_test): New tests.
56274         (atan2_test): New tests.
56275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56278 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #14856]
56281         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56282         Define to 3.
56284         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56285         [POSIX] (EADDRNOTAVAIL): Likewise.
56286         [POSIX] (EAFNOSUPPORT): Likewise.
56287         [POSIX] (EALREADY): Likewise.
56288         [POSIX] (ECONNABORTED): Likewise.
56289         [POSIX] (ECONNREFUSED): Likewise.
56290         [POSIX] (ECONNRESET): Likewise.
56291         [POSIX] (EDESTADDRREQ): Likewise.
56292         [POSIX] (EDQUOT): Likewise.
56293         [POSIX] (EHOSTUNREACH): Likewise.
56294         [POSIX] (EIDRM): Likewise.
56295         [POSIX] (EISCONN): Likewise.
56296         [POSIX] (ELOOP): Likewise.
56297         [POSIX] (EMULTIHOP): Likewise.
56298         [POSIX] (ENETDOWN): Likewise.
56299         [POSIX] (ENETUNREACH): Likewise.
56300         [POSIX] (ENOBUFS): Likewise.
56301         [POSIX] (ENODATA): Likewise.
56302         [POSIX] (ENOLINK): Likewise.
56303         [POSIX] (ENOMSG): Likewise.
56304         [POSIX] (ENOPROTOOPT): Likewise.
56305         [POSIX] (ENOSR): Likewise.
56306         [POSIX] (ENOSTR): Likewise.
56307         [POSIX] (ENOTCONN): Likewise.
56308         [POSIX] (ENOTSOCK): Likewise.
56309         [POSIX] (EOPNOTSUPP): Likewise.
56310         [POSIX] (EOVERFLOW): Likewise.
56311         [POSIX] (EPROTO): Likewise.
56312         [POSIX] (EPROTONOSUPPORT): Likewise.
56313         [POSIX] (EPROTOTYPE): Likewise.
56314         [POSIX] (ESTALE): Likewise.
56315         [POSIX] (ETIME): Likewise.
56316         [POSIX] (ETXTBSY): Likewise.
56317         [POSIX] (EWOULDBLOCK): Likewise.
56318         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56319         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56320         [POSIX] (SEEK_CUR): Likewise.
56321         [POSIX] (SEEK_END): Likewise.
56322         [POSIX || UNIX98] (mode_t): Do not require.
56323         [POSIX] (off_t): Likewise.
56324         [POSIX] (pid_t): Likewise.
56325         [POSIX] (sys/stat.h): Do not allow header.
56326         [POSIX] (unistd.h): Likewise.
56327         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56328         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56329         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56330         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56331         require.
56332         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56333         sigevent): Specify elements.
56334         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56335         entry.
56336         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56337         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56339         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56340         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56341         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56342         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56343         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56344         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56345         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56346         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56347         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56348         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56349         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56350         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56351         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56352         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56353         Likewise.
56354         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56355         Likewise.
56356         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56357         Likewise.
56358         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56359         Likewise.
56360         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56361         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56362         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56363         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56364         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56365         Specify lower bound on value.
56366         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56367         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56368         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56369         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56370         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56371         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56372         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56373         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56374         value.
56375         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56376         as optional.
56377         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56378         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56379         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56380         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56381         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56382         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56383         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56384         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56385         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56386         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56387         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56388         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56389         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56390         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56391         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56392         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56393         entry.
56394         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56395         optional.
56396         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56397         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56398         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56399         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56400         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56401         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56402         Likewise.
56403         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56404         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56405         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56406         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56407         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56408         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56409         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56410         as optional.
56411         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56412         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56414         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56415         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56416         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56417         specify as optional.
56418         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56419         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56420         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56421         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56422         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56423         [XPG3] (NL_LANGMAX): Likewise.
56424         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56425         [POSIX || XPG3] (NL_NMAX): Likewise.
56426         [POSIX || XPG3] (NL_SETMAX): Likewise.
56427         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56428         [XPG3] (NZERO): Likewise.
56429         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56430         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56431         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56432         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56433         (REG_ERANGE): Expect.
56434         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56435         optional-constant.
56436         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56437         Use (void) in prototype.
56438         [POSIX] (*_t): Allow.
56439         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56440         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56441         (WRDE_BADVAL): Expect.
56443         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56444         expect.
56445         [XPG3 || XPG4] (O_RSYNC): Likewise.
56446         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56447         Likewise.
56448         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56449         [XPG3 || XPG4] (sigqueue): Likewise.
56450         [XPG3 || XPG4] (sigtimedwait): Likewise.
56451         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56452         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56453         [XPG3 || XPG4] (vsnprintf): Likewise.
56454         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56455         Likewise.
56456         [XPG3 || XPG4] (blksize_t): Likewise.
56457         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56458         Likewise.
56459         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56460         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56461         [XPG3 || XPG4] (struct itimerspec): Likewise.
56462         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56463         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56464         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56465         [XPG3 || XPG4] (clockid_t): Likewise.
56466         [XPG3 || XPG4] (timer_t): Likewise.
56467         [XPG3 || XPG4] (clock_getres): Likewise.
56468         [XPG3 || XPG4] (clock_gettime): Likewise.
56469         [XPG3 || XPG4] (clock_settime): Likewise.
56470         [XPG3 || XPG4] (nanosleep): Likewise.
56471         [XPG3 || XPG4] (timer_create): Likewise.
56472         [XPG3 || XPG4] (timer_delete): Likewise.
56473         [XPG3 || XPG4] (timer_gettime): Likewise.
56474         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56475         [XPG3 || XPG4] (timer_settime): Likewise.
56476         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56477         [XPG3 || XPG4] (getlogin_r): Likewise.
56478         [XPG3 || XPG4] (pread): Likewise.
56479         [XPG3 || XPG4] (pthread_atfork): Likewise.
56480         [XPG3 || XPG4] (pwrite): Likewise.
56482         [BZ #14835]
56483         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56484         <bits/siginfo.h>.
56486 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56488         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56489         finalizing MALLSTREAM.
56491         * sysdeps/mach/hurd/syncfs.c: New file.
56493 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56495         [BZ #14719]
56496         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56497         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56498         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56499         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56500         (_nss_dns_gethostbyname4_r): Likewise.
56501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56502         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56504 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56506         [BZ #13763]
56507         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56509 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56511         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56512         * elf/cache.c (print_entry): Print ",AArch64" for
56513         FLAG_AARCH64_LIB64
56515         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56516         * elf/cache.c (print_entry): Print ",hard-float" for
56517         FLAG_ARM_LIBHF.
56519 2012-11-18  David S. Miller  <davem@davemloft.net>
56521         With help from Joseph Myers.
56522         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56523         cutoff to 2**-13.
56524         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56525         cutoff to 2**-25.
56526         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56527         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56528         small.
56529         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56530         * math/libm-test.inc (y0_test): New tests.
56531         (y1_test): New tests.
56532         * sysdeps/i386/fpu/libm-test-ulps: Update.
56533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56536 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56538         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56539         64-bit targets.
56540         * configure: Regenerated.
56542 2012-11-17  David S. Miller  <davem@davemloft.net>
56544         [BZ #14811]
56545         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56546         nonzero exponents with absolute value below 0x1p-128 to +/-
56547         0x1p-128.
56549 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56551         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56553         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56555         * posix/getconf-speclist.c: New file.
56556         * posix/posix-envs.def: Likewise.
56557         * posix/confstr.c (START_ENV_GROUP): New macro.
56558         (END_ENV_GROUP): Likewise.
56559         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56560         (KNOWN_PRESENT_ENV_STRING): Likewise.
56561         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56562         (UNKNOWN_ENVIRONMENT): Likewise.
56563         (confstr): Include posix-envs.def instead of handling
56564         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56565         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56566         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56567         (END_ENV_GROUP): Likewise.
56568         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56569         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56570         (UNKNOWN_ENVIRONMENT): Likewise.
56571         (__sysconf): Include posix-envs.def instead of handling associated
56572         cases directly here.
56573         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56574         preprocessing getconf-speclist.c rather than running getconf or
56575         generating empty file.
56577 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56579         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56581 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56583         [BZ #14672]
56584         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56586 2012-11-16  David S. Miller  <davem@davemloft.net>
56588         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56589         smaller than LDBL_EPSILON/2.0L, just return xm1.
56591 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56593         * elf/tst-array1.c (init): Set constructor priority to 1000.
56594         (fini): Set destructor priority to 1000.
56595         * elf/tst-array2dep.c: Likewise.
56597 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56599         [BZ #11741]
56600         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56601         (_IO_new_file_xsputn): Also return EOF if none of the input
56602         data was written when overflow failed.
56603         * libio/iopadn.c (_IO_padn): Likewise.
56604         * libio/iowpadn.c (_IO_wpadn): Likewise.
56605         * stdio-common/tst-put-error.c: Add copyright notice.
56606         (do_test): Add case for printing padded string.
56607         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56608         _IO_padn returned error.
56609         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56610         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56611         return EOF.
56613 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56615         * libio/libioP.h: Add comment note that the references to C++
56616         bits are now obsolete.
56618 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56620         * math/libm-test.inc (check_complex): Use asprintf.
56622 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56624         * debug/pcprofiledump.c (print_version): Update copyright year.
56625         * malloc/memusagestat.c (print_version): Likewise.
56627 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56629         [BZ #14831]
56630         * elf/Makefile (tests): Add tst-audit8.
56631         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56632         ($(objpfx)tst-audit8.out): New target.
56633         (tst-audit8-ENV): New variable.
56634         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56635         audit if l_reloc_result is NULL.
56636         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56637         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56638         * elf/tst-audit8.c: New file.
56640 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56642         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56643         * misc/Makefile (CFLAGS-select.c): Define.
56644         * posix/Makefile (CFLAGS-pause.c): Define.
56646 2012-11-13  David S. Miller  <davem@davemloft.net>
56648         * crypt/Makefile: Move test targets after toplevel Rules
56649         inclusion.  Grab any necessary sysdep routines when linking.
56650         * crypt/md5.c (md5_process_block): Remove define, we will always
56651         name it __md5_process_block.
56652         (md5_finish_ctx): Update md5_process_block call.
56653         (md5_stream): Likewise.
56654         (md5_process_bytes): Likewise.
56655         (md5_process_block): Rename to __md5_process_block and move to ...
56656         * crypt/md5-block.c: ... here.
56657         * crypt/sha256.c (sha256_process_block): Move to ...
56658         * crypt/sha256-block.c: ... here.
56659         * crypt/sha512.c (sha512_process_block): Move to ...
56660         * crypt/sha512-block.c: ... here.
56661         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56662         path.
56663         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56664         * sysdeps/sparc/sparc64/multiarch/Makefile
56665         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56666         crypt subdir.
56667         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56668         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56669         multiarch changes.
56670         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56671         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56672         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56673         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56674         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56675         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56676         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56677         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56678         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56679         file.
56680         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56681         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56682         file.
56683         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56685 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56687         * timezone/tzselect.ksh: Update from tzcode git revision
56688         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56689         * timezone/zdump.c: Likewise.
56690         * timezone/zic.c: Likewise.
56691         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56692         in TZVERSION setting, not $(PKGVERSION).
56693         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56694         REPORT_BUGS_TO settings.
56696         [BZ #14838]
56697         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56698         macro.
56700 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56702         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56703         detection to immediately after _FP_ROUND().
56704         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56705         bits are 0.
56707 2012-11-11  David S. Miller  <davem@davemloft.net>
56709         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56710         inttypes.h
56711         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56712         __close rather than their public counterparts.
56714 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56716         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56717         file.
56718         [UNIX98] (sem_timedwait): Do not expect.
56719         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56720         [XPG4 || UNIX98] (sockatmark): Do not expect.
56721         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56722         (clock_getcpuclockid): Do not expect.
56723         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56724         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56725         Do not expect.
56726         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56727         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56728         [UNIX98] (vwscanf): Likewise.
56729         [UNIX98] (vswscanf): Likewise.
56731 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56733         * timezone/version.h: Remove file.
56734         * timezone/README: Do not refer to version.h.
56735         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56736         $(objpfx)version.h.
56737         ($(objpfx)zdump.o): Likewise.
56738         ($(objpfx)version.h): New target.
56740         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56741         2012i.
56742         * timezone/README: Don't mention modification to tzselect.ksh.
56743         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56744         work on unmodified tzselect.ksh.  Substitute version numbers in
56745         tzselect.ksh.
56747         * Makefile (format-me): Remove.
56748         (INSTALL): Adjust indentation.  Use commands directly instead of
56749         using $(format-me).
56751         * aclocal.m4 (ACX_PKGVERSION): New macro.
56752         (ACX_BUGURL): Likewise.
56753         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56754         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56755         (REPORT_BUGS_TO): Likewise.
56756         * configure: Regenerated.
56757         * config.h.in (PKGVERSION): New macro.
56758         (REPORT_BUGS_TO): Likewise.
56759         * config.make.in (PKGVERSION): New variable.
56760         (PKGVERSION_TEXI): Likewise.
56761         (REPORT_BUGS_TO): Likewise.
56762         (REPORT_BUGS_TEXI): Likewise.
56763         * Makefile (format-me): Use -I$(common-objpfx)manual.
56764         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56765         ($(common-objpfx)manual/%): New target.
56766         (manual/%): Remove target.
56767         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56768         (print_version): Use PKGVERSION.
56769         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56770         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56771         and REPORT_BUGS_TO.
56772         ($(objpfx)xtrace): Likewise.
56773         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56774         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56775         (print_version): Use PKGVERSION.
56776         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56777         (do_version): Use PKGVERSION.
56778         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56779         REPORT_BUGS_TO.
56780         (common-ldd-rewrite): Likewise.
56781         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56782         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56783         (print_version): Use PKGVERSION.
56784         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56785         * elf/pldd.c (argp_program_bug_address): Remove variable.
56786         (more_help): New function.
56787         (argp): Use more_help.
56788         (print_version): Use PKGVERSION.
56789         * elf/sln.c (main): Use PKGVERSION.
56790         (usage): Use REPORT_BUGS_TO.
56791         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56792         (top level): Use PKGVERSION.
56793         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56794         (print_version): Use PKGVERSION.
56795         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56796         (print_version): Use PKGVERSION.
56797         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56798         (print_version): Use PKGVERSION.
56799         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56800         (print_version): Use PKGVERSION.
56801         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56802         (print_version): Use PKGVERSION.
56803         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56804         (print_version): Use PKGVERSION.
56805         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56806         and BUGURL.
56807         ($(objpfx)memusage): Likewise.
56808         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56809         (do_version): Use PKGVERSION.
56810         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56811         (print_version): Use PKGVERSION.
56812         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56813         ($PKGVERSION): New variable.
56814         ($REPORT_BUGS_TO): Likewise.
56815         (usage): Use $REPORT_BUGS_TO.
56816         (top level): Use $PKGVERSION.
56817         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56818         ($(objpfx)pkgvers.texi): New rule.
56819         ($(objpfx)stamp-pkgvers): Likewise.
56820         * manual/install.texi: Include pkgvers.texi.
56821         (--with-pkgversion): Document new configure option.
56822         (--with-bugurl): Likewise.
56823         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56824         than necessarily for this particular distribution.  Use
56825         REPORT_BUGS_TO for where to report bugs.
56826         * INSTALL: Regenerated.
56827         * manual/libc.texinfo: Include pkgvers.texi.
56828         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56829         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56830         (print_version): Use PKGVERSION.
56831         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56832         (print_version): Use PKGVERSION.
56833         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56834         (print_version): Use PKGVERSION.
56835         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56836         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56837         macro.
56838         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56839         (print_version): Use PKGVERSION.
56840         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56841         (print_version): Use PKGVERSION.
56842         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56843         and PKGVERSION.
56845         * timezone/checktab.awk: Update from tzcode 2012i.
56846         * timezone/ialloc.c: Likewise.
56847         * timezone/private.h: Likewise.
56848         * timezone/scheck.c: Likewise.
56849         * timezone/tzfile.h: Likewise.
56850         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56851         (TZVERSION): Hardcode tzcode version number.
56852         * timezone/zdump.c: Update from tzcode 2012i.
56853         * timezone/zic.c: Likewise.
56854         * timezone/version.h: New file.
56855         * timezone/README: Describe version.h.  Update upstream location.
56857         [BZ #14824]
56858         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56859         (mktemp): Enable declaration.
56860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56864         Likewise.
56865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56866         Likewise.
56867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56868         Likewise.
56869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56870         Likewise.
56871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56872         Likewise.
56873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56874         Likewise.
56876         [BZ #14821]
56877         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56878         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56879         for copies of such integer values.
56880         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56881         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56883 2012-11-09  Andreas Jaeger  <aj@suse.de>
56885         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56886         definitions and declarations that are provided by
56887         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56889 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56891         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56892         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56893         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56894         definition.
56896 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56898         * elf/elf.h: Update comment before AArch64 relocations.
56900 2012-11-07  David S. Miller  <davem@davemloft.net>
56902         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56903         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56904         (__start_context): Declare.
56905         (__makecontext_ret): Delete.
56906         (__makecontext): Hook up __start_context instead of
56907         __makecontext_ret.
56908         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56909         (sysdep_routines): Add __start_context when in stdlib.
56911 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56913         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56914         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56915         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56916         hardcoded "nm".
56917         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56918         (READELF): New variable.  Use it instead of hardcoded "readelf".
56920 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56922         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56923         * sysdeps/x86/Makefile: Here.
56924         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56925         * sysdeps/x86/tst-xmmymm.sh: This.
56927 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56929         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56930         expectations.
56931         [UNIX98] (pthread_barrier_t): Do not expect.
56932         [UNIX98] (pthread_barrierattr_t): Likewise.
56933         [UNIX98] (pthread_spinlock_t): Likewise.
56934         [UNIX98] (pthread_barrier_destroy): Likewise.
56935         [UNIX98] (pthread_barrier_init): Likewise.
56936         [UNIX98] (pthread_barrier_wait): Likewise.
56937         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56938         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56939         [UNIX98] (pthread_barrierattr_init): Likewise.
56940         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56941         [UNIX98] (pthread_getcpuclockid): Likewise.
56942         [UNIX98] (pthread_mutex_timedlock): Likewise.
56943         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56944         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56945         [UNIX98] (pthread_sigmask): Likewise.
56946         [UNIX98] (pthread_spin_destroy): Likewise.
56947         [UNIX98] (pthread_spin_init): Likewise.
56948         [UNIX98] (pthread_spin_lock): Likewise.
56949         [UNIX98] (pthread_spin_trylock): Likewise.
56950         [UNIX98] (pthread_spin_unlock): Likewise.
56951         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56952         Do not expect.
56953         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56954         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56955         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56956         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56957         [XPG3 || XPG4] (pthread_key_t): Likewise.
56958         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56959         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56960         [XPG3 || XPG4] (pthread_once_t): Likewise.
56961         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56962         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56963         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56964         [XPG3 || XPG4] (pthread_t): Likewise.
56966         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56967         not expect.
56968         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56970         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56971         Change function return type to int.
56973         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56974         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56975         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56976         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56977         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56978         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56979         [!POSIX] (posix_madvise): Likewise.
56980         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56981         && !UNIX98].
56982         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56983         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56984         (mode_t): Likewise.
56985         (posix_mem_offset): Likewise.
56986         (posix_typed_mem_get_info): Likewise.
56987         (posix_typed_mem_open): Likewise.
56989         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56990         Change condition to [XOPEN2K8].
56992         * conform/conformtest.pl: Preprocess allow-header data with -x c
56993         instead of from stdin.
56994         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56995         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56996         [C99-based standards] (cerfc): Likewise.
56997         [C99-based standards] (cexp2): Likewise.
56998         [C99-based standards] (cexpm1): Likewise.
56999         [C99-based standards] (clog10): Likewise.
57000         [C99-based standards] (clog1p): Likewise.
57001         [C99-based standards] (clog2): Likewise.
57002         [C99-based standards] (clgamma): Likewise.
57003         [C99-based standards] (ctgamma): Likewise.
57004         [C99-based standards] (cerff): Likewise.
57005         [C99-based standards] (cerfcf): Likewise.
57006         [C99-based standards] (cexp2f): Likewise.
57007         [C99-based standards] (cexpm1f): Likewise.
57008         [C99-based standards] (clog10f): Likewise.
57009         [C99-based standards] (clog1pf): Likewise.
57010         [C99-based standards] (clog2f): Likewise.
57011         [C99-based standards] (clgammaf): Likewise.
57012         [C99-based standards] (ctgammaf): Likewise.
57013         [C99-based standards] (cerfl): Likewise.
57014         [C99-based standards] (cerfcl): Likewise.
57015         [C99-based standards] (cexp2l): Likewise.
57016         [C99-based standards] (cexpm1l): Likewise.
57017         [C99-based standards] (clog10l): Likewise.
57018         [C99-based standards] (clog1pl): Likewise.
57019         [C99-based standards] (clog2l): Likewise.
57020         [C99-based standards] (clgammal): Likewise.
57021         [C99-based standards] (ctgammal): Likewise.
57022         * conform/data/inttypes.h-data [C99-based standards]: Include
57023         stdint.h-data.  Remove all expectations for stdint.h contents.
57024         [C99-based standards] (PRI*): Do not allow.
57025         [C99-based standards] (SCN*): Likewise.
57026         [C99-based standards] (*_t): Likewise.
57027         [C99-based-standards] (PRId8): Expect macro.
57028         [C99-based-standards] (PRIi8): Likewise.
57029         [C99-based-standards] (PRIo8): Likewise.
57030         [C99-based-standards] (PRIu8): Likewise.
57031         [C99-based-standards] (PRIx8): Likewise.
57032         [C99-based-standards] (PRIX8): Likewise.
57033         [C99-based-standards] (SCNd8): Likewise.
57034         [C99-based-standards] (SCNi8): Likewise.
57035         [C99-based-standards] (SCNo8): Likewise.
57036         [C99-based-standards] (SCNu8): Likewise.
57037         [C99-based-standards] (SCNx8): Likewise.
57038         [C99-based-standards] (PRIdLEAST8): Likewise.
57039         [C99-based-standards] (PRIiLEAST8): Likewise.
57040         [C99-based-standards] (PRIoLEAST8): Likewise.
57041         [C99-based-standards] (PRIuLEAST8): Likewise.
57042         [C99-based-standards] (PRIxLEAST8): Likewise.
57043         [C99-based-standards] (PRIXLEAST8): Likewise.
57044         [C99-based-standards] (SCNdLEAST8): Likewise.
57045         [C99-based-standards] (SCNiLEAST8): Likewise.
57046         [C99-based-standards] (SCNoLEAST8): Likewise.
57047         [C99-based-standards] (SCNuLEAST8): Likewise.
57048         [C99-based-standards] (SCNxLEAST8): Likewise.
57049         [C99-based-standards] (PRIdFAST8): Likewise.
57050         [C99-based-standards] (PRIiFAST8): Likewise.
57051         [C99-based-standards] (PRIoFAST8): Likewise.
57052         [C99-based-standards] (PRIuFAST8): Likewise.
57053         [C99-based-standards] (PRIxFAST8): Likewise.
57054         [C99-based-standards] (PRIXFAST8): Likewise.
57055         [C99-based-standards] (SCNdFAST8): Likewise.
57056         [C99-based-standards] (SCNiFAST8): Likewise.
57057         [C99-based-standards] (SCNoFAST8): Likewise.
57058         [C99-based-standards] (SCNuFAST8): Likewise.
57059         [C99-based-standards] (SCNxFAST8): Likewise.
57060         [C99-based-standards] (PRId16): Likewise.
57061         [C99-based-standards] (PRIi16): Likewise.
57062         [C99-based-standards] (PRIo16): Likewise.
57063         [C99-based-standards] (PRIu16): Likewise.
57064         [C99-based-standards] (PRIx16): Likewise.
57065         [C99-based-standards] (PRIX16): Likewise.
57066         [C99-based-standards] (SCNd16): Likewise.
57067         [C99-based-standards] (SCNi16): Likewise.
57068         [C99-based-standards] (SCNo16): Likewise.
57069         [C99-based-standards] (SCNu16): Likewise.
57070         [C99-based-standards] (SCNx16): Likewise.
57071         [C99-based-standards] (PRIdLEAST16): Likewise.
57072         [C99-based-standards] (PRIiLEAST16): Likewise.
57073         [C99-based-standards] (PRIoLEAST16): Likewise.
57074         [C99-based-standards] (PRIuLEAST16): Likewise.
57075         [C99-based-standards] (PRIxLEAST16): Likewise.
57076         [C99-based-standards] (PRIXLEAST16): Likewise.
57077         [C99-based-standards] (SCNdLEAST16): Likewise.
57078         [C99-based-standards] (SCNiLEAST16): Likewise.
57079         [C99-based-standards] (SCNoLEAST16): Likewise.
57080         [C99-based-standards] (SCNuLEAST16): Likewise.
57081         [C99-based-standards] (SCNxLEAST16): Likewise.
57082         [C99-based-standards] (PRIdFAST16): Likewise.
57083         [C99-based-standards] (PRIiFAST16): Likewise.
57084         [C99-based-standards] (PRIoFAST16): Likewise.
57085         [C99-based-standards] (PRIuFAST16): Likewise.
57086         [C99-based-standards] (PRIxFAST16): Likewise.
57087         [C99-based-standards] (PRIXFAST16): Likewise.
57088         [C99-based-standards] (SCNdFAST16): Likewise.
57089         [C99-based-standards] (SCNiFAST16): Likewise.
57090         [C99-based-standards] (SCNoFAST16): Likewise.
57091         [C99-based-standards] (SCNuFAST16): Likewise.
57092         [C99-based-standards] (SCNxFAST16): Likewise.
57093         [C99-based-standards] (PRId32): Likewise.
57094         [C99-based-standards] (PRIi32): Likewise.
57095         [C99-based-standards] (PRIo32): Likewise.
57096         [C99-based-standards] (PRIu32): Likewise.
57097         [C99-based-standards] (PRIx32): Likewise.
57098         [C99-based-standards] (PRIX32): Likewise.
57099         [C99-based-standards] (SCNd32): Likewise.
57100         [C99-based-standards] (SCNi32): Likewise.
57101         [C99-based-standards] (SCNo32): Likewise.
57102         [C99-based-standards] (SCNu32): Likewise.
57103         [C99-based-standards] (SCNx32): Likewise.
57104         [C99-based-standards] (PRIdLEAST32): Likewise.
57105         [C99-based-standards] (PRIiLEAST32): Likewise.
57106         [C99-based-standards] (PRIoLEAST32): Likewise.
57107         [C99-based-standards] (PRIuLEAST32): Likewise.
57108         [C99-based-standards] (PRIxLEAST32): Likewise.
57109         [C99-based-standards] (PRIXLEAST32): Likewise.
57110         [C99-based-standards] (SCNdLEAST32): Likewise.
57111         [C99-based-standards] (SCNiLEAST32): Likewise.
57112         [C99-based-standards] (SCNoLEAST32): Likewise.
57113         [C99-based-standards] (SCNuLEAST32): Likewise.
57114         [C99-based-standards] (SCNxLEAST32): Likewise.
57115         [C99-based-standards] (PRIdFAST32): Likewise.
57116         [C99-based-standards] (PRIiFAST32): Likewise.
57117         [C99-based-standards] (PRIoFAST32): Likewise.
57118         [C99-based-standards] (PRIuFAST32): Likewise.
57119         [C99-based-standards] (PRIxFAST32): Likewise.
57120         [C99-based-standards] (PRIXFAST32): Likewise.
57121         [C99-based-standards] (SCNdFAST32): Likewise.
57122         [C99-based-standards] (SCNiFAST32): Likewise.
57123         [C99-based-standards] (SCNoFAST32): Likewise.
57124         [C99-based-standards] (SCNuFAST32): Likewise.
57125         [C99-based-standards] (SCNxFAST32): Likewise.
57126         [C99-based-standards] (PRId64): Likewise.
57127         [C99-based-standards] (PRIi64): Likewise.
57128         [C99-based-standards] (PRIo64): Likewise.
57129         [C99-based-standards] (PRIu64): Likewise.
57130         [C99-based-standards] (PRIx64): Likewise.
57131         [C99-based-standards] (PRIX64): Likewise.
57132         [C99-based-standards] (SCNd64): Likewise.
57133         [C99-based-standards] (SCNi64): Likewise.
57134         [C99-based-standards] (SCNo64): Likewise.
57135         [C99-based-standards] (SCNu64): Likewise.
57136         [C99-based-standards] (SCNx64): Likewise.
57137         [C99-based-standards] (PRIdLEAST64): Likewise.
57138         [C99-based-standards] (PRIiLEAST64): Likewise.
57139         [C99-based-standards] (PRIoLEAST64): Likewise.
57140         [C99-based-standards] (PRIuLEAST64): Likewise.
57141         [C99-based-standards] (PRIxLEAST64): Likewise.
57142         [C99-based-standards] (PRIXLEAST64): Likewise.
57143         [C99-based-standards] (SCNdLEAST64): Likewise.
57144         [C99-based-standards] (SCNiLEAST64): Likewise.
57145         [C99-based-standards] (SCNoLEAST64): Likewise.
57146         [C99-based-standards] (SCNuLEAST64): Likewise.
57147         [C99-based-standards] (SCNxLEAST64): Likewise.
57148         [C99-based-standards] (PRIdFAST64): Likewise.
57149         [C99-based-standards] (PRIiFAST64): Likewise.
57150         [C99-based-standards] (PRIoFAST64): Likewise.
57151         [C99-based-standards] (PRIuFAST64): Likewise.
57152         [C99-based-standards] (PRIxFAST64): Likewise.
57153         [C99-based-standards] (PRIXFAST64): Likewise.
57154         [C99-based-standards] (SCNdFAST64): Likewise.
57155         [C99-based-standards] (SCNiFAST64): Likewise.
57156         [C99-based-standards] (SCNoFAST64): Likewise.
57157         [C99-based-standards] (SCNuFAST64): Likewise.
57158         [C99-based-standards] (SCNxFAST64): Likewise.
57159         [C99-based-standards] (PRIdMAX): Likewise.
57160         [C99-based-standards] (PRIiMAX): Likewise.
57161         [C99-based-standards] (PRIoMAX): Likewise.
57162         [C99-based-standards] (PRIuMAX): Likewise.
57163         [C99-based-standards] (PRIxMAX): Likewise.
57164         [C99-based-standards] (PRIXMAX): Likewise.
57165         [C99-based-standards] (SCNdMAX): Likewise.
57166         [C99-based-standards] (SCNiMAX): Likewise.
57167         [C99-based-standards] (SCNoMAX): Likewise.
57168         [C99-based-standards] (SCNuMAX): Likewise.
57169         [C99-based-standards] (SCNxMAX): Likewise.
57170         [C99-based-standards] (PRIdPTR): Likewise.
57171         [C99-based-standards] (PRIiPTR): Likewise.
57172         [C99-based-standards] (PRIoPTR): Likewise.
57173         [C99-based-standards] (PRIuPTR): Likewise.
57174         [C99-based-standards] (PRIxPTR): Likewise.
57175         [C99-based-standards] (PRIXPTR): Likewise.
57176         [C99-based-standards] (SCNdPTR): Likewise.
57177         [C99-based-standards] (SCNiPTR): Likewise.
57178         [C99-based-standards] (SCNoPTR): Likewise.
57179         [C99-based-standards] (SCNuPTR): Likewise.
57180         [C99-based-standards] (SCNxPTR): Likewise.
57181         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57182         allow.
57183         * conform/data/stdint.h-data: Update comments to clarify
57184         requirements.
57185         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57186         type.
57187         [C99-based standards] (INT8_MAX): Likewise.
57188         [C99-based standards] (INT16_MIN): Likewise.
57189         [C99-based standards] (INT16_MAX): Likewise.
57190         [C99-based standards] (INT32_MIN): Likewise.
57191         [C99-based standards] (INT32_MAX): Likewise.
57192         [C99-based standards] (INT64_MIN): Likewise.
57193         [C99-based standards] (INT64_MAX): Likewise.
57194         [C99-based standards] (UINT8_MAX): Likewise.
57195         [C99-based standards] (UINT16_MAX): Likewise.
57196         [C99-based standards] (UINT32_MAX): Likewise.
57197         [C99-based standards] (UINT64_MAX): Likewise.
57198         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57199         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57200         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57201         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57202         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57203         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57204         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57205         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57206         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57207         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57208         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57209         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57210         [C99-based standards] (INT_FAST8_MIN): Likewise.
57211         [C99-based standards] (INT_FAST8_MAX): Likewise.
57212         [C99-based standards] (INT_FAST16_MIN): Likewise.
57213         [C99-based standards] (INT_FAST16_MAX): Likewise.
57214         [C99-based standards] (INT_FAST32_MIN): Likewise.
57215         [C99-based standards] (INT_FAST32_MAX): Likewise.
57216         [C99-based standards] (INT_FAST64_MIN): Likewise.
57217         [C99-based standards] (INT_FAST64_MAX): Likewise.
57218         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57219         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57220         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57221         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57222         [C99-based standards] (INTPTR_MIN): Likewise.
57223         [C99-based standards] (INTPTR_MAX): Likewise.
57224         [C99-based standards] (UINTPTR_MAX): Likewise.
57225         [C99-based standards] (INTMAX_MIN): Likewise.
57226         [C99-based standards] (INTMAX_MAX): Likewise.
57227         [C99-based standards] (UINTMAX_MAX): Likewise.
57228         [C99-based standards] (PTRDIFF_MIN): Likewise.
57229         [C99-based standards] (PTRDIFF_MAX): Likewise.
57230         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57231         [C99-based standards] (SIZE_MAX): Likewise.
57232         [C99-based standards] (WCHAR_MAX): Likewise.
57233         [C99-based standards] (WINT_MAX): Likewise.
57234         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57235         constraint on value.
57236         [C99-based standards] (WCHAR_MIN): Likewise.
57237         [C99-based standards] (WINT_MIN): Likewise.
57238         [C99-based standards] (*_t): Allow.
57239         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57240         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57241         Include math.h-data and complex.h-data.  Remove all expectations
57242         of math.h and complex.h contents.
57243         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57244         at end of line.
57245         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57246         (struct tm): Expect tag.
57247         [C99-based-standards] (wcstof): Expect function.
57248         [C99-based-standards] (wcstold): Likewise.
57249         [C99-based-standards] (wcstoll): Likewise.
57250         [C99-based-standards] (wcstoull): Likewise.
57251         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57252         macro-int-constant.  Specify type.
57253         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57254         constraint on value.
57255         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57256         Specify type.
57257         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57258         Specify value.
57259         [ISO C standards]: Do not allow headers.
57260         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57261         wcs[abcdefghijklmnopqrstuvwxyz]*.
57262         [ISO C standards] (*_t): Do not allow.
57263         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57264         Expect function.
57265         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57266         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57267         Specify type.
57268         [ISO C standards]: Do not allow headers.
57269         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57270         is[abcdefghijklmnopqrstuvwxyz]*.
57271         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57272         to[abcdefghijklmnopqrstuvwxyz]*.
57273         [ISO C standards] (*_t): Do not allow.
57274         * conform/data/stdalign.h-data: New file.
57275         * conform/data/stdbool.h-data: Likewise.
57276         * conform/data/stdnoreturn.h-data: Likewise.
57278 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57280         [BZ #14815]
57281         * manual/filesys.texi (Directory Entries): Typo fix.
57282         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57284 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57286         * elf/elf.h (EM_AARCH64): New macro.
57287         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57288         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57289         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57290         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57291         (R_AARCH64_TLSDESC): Likewise.
57292         (NT_ARM_TLS): Likewise.
57293         (NT_ARM_HW_BREAK): Likewise.
57294         (NT_ARM_HW_WATCH): Likewise.
57296 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57298         [BZ #14811]
57299         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57300         (__ieee754_powl): Saturate nonzero exponents with absolute value
57301         below 0x1p-79 to +/- 0x1p-79.
57302         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57303         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57304         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57305         nonzero exponents with absolute value below 0x1p-32 to +/-
57306         0x1p-32.
57307         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57308         (__ieee754_powl): Saturate nonzero exponents with absolute value
57309         below 0x1p-79 to +/- 0x1p-79.
57310         * math/libm-test.inc (pow_test): Add more tests.
57312 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57314         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57315         _dl_s390_cap_flags with kernel. Increase string length.
57316         (_dl_s390_platforms): Add z196 and zEC12.
57318 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57320         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57321         Change XOPEN21K to XOPEN2K.
57323 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57325         * string/memmove.c: Use memcpy when possible.
57327 2012-11-06  Andreas Jaeger  <aj@suse.de>
57329         * po/eo.po: Update from translation team.
57331 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57333         [BZ #14793]
57334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57335         exponent and small x and y exponents, scale x or y up.  Increase
57336         by 2 the exponent used in scaling up.
57337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57339         * math/libm-test.inc (fma_test): Add more tests.
57340         (fma_test_towardzero): Likewise.
57341         (fma_test_downward): Likewise.
57342         (fma_test_upward): Likewise.
57344 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57346         [BZ #14805]
57347         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57348         fenv_t *.
57350         [BZ #14801]
57351         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57352         namespace for names of struct fields.
57353         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57354         fenv_t fields.
57355         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57356         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57358 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57360         [BZ #3665]
57361         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57363 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57365         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57366         PTR_DEMANGLE.
57368         [BZ #5246]
57369         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57370         PTR_DEMANGLE.
57372 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57374         [BZ #14797]
57375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57376         definitely overflow as x * y not x * y + z.
57377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57379         * math/libm-test.inc (fma_test): Add more tests.
57380         (fma_test_towardzero): Likewise.
57381         (fma_test_downward): Likewise.
57382         (fma_test_upward): Likewise.
57384 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57386         [BZ #157]
57388         * include/stub-tag.h: Remove file.
57389         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57390         '#include' of it.
57391         * manual/maint.texi (Porting): Don't reference it.
57392         * Makerules ($(objpfx)stubs): Likewise.
57393         * dirent/closedir.c: Don't include <stub-tag.h>.
57394         * dirent/dirfd.c: Likewise.
57395         * dirent/fdopendir.c: Likewise.
57396         * dirent/getdents.c: Likewise.
57397         * dirent/getdents64.c: Likewise.
57398         * dirent/opendir.c: Likewise.
57399         * dirent/readdir.c: Likewise.
57400         * dirent/readdir64.c: Likewise.
57401         * dirent/readdir64_r.c: Likewise.
57402         * dirent/readdir_r.c: Likewise.
57403         * dirent/rewinddir.c: Likewise.
57404         * dirent/seekdir.c: Likewise.
57405         * dirent/telldir.c: Likewise.
57406         * gmon/profil.c: Likewise.
57407         * grp/setgroups.c: Likewise.
57408         * inet/if_index.c: Likewise.
57409         * io/access.c: Likewise.
57410         * io/chdir.c: Likewise.
57411         * io/chmod.c: Likewise.
57412         * io/chown.c: Likewise.
57413         * io/close.c: Likewise.
57414         * io/dup.c: Likewise.
57415         * io/dup2.c: Likewise.
57416         * io/dup3.c: Likewise.
57417         * io/euidaccess.c: Likewise.
57418         * io/faccessat.c: Likewise.
57419         * io/fchdir.c: Likewise.
57420         * io/fchmod.c: Likewise.
57421         * io/fchmodat.c: Likewise.
57422         * io/fchown.c: Likewise.
57423         * io/fchownat.c: Likewise.
57424         * io/fcntl.c: Likewise.
57425         * io/flock.c: Likewise.
57426         * io/fstatfs.c: Likewise.
57427         * io/fstatfs64.c: Likewise.
57428         * io/fstatvfs.c: Likewise.
57429         * io/fstatvfs64.c: Likewise.
57430         * io/futimens.c: Likewise.
57431         * io/fxstat.c: Likewise.
57432         * io/fxstat64.c: Likewise.
57433         * io/fxstatat.c: Likewise.
57434         * io/fxstatat64.c: Likewise.
57435         * io/getcwd.c: Likewise.
57436         * io/isatty.c: Likewise.
57437         * io/lchmod.c: Likewise.
57438         * io/lchown.c: Likewise.
57439         * io/link.c: Likewise.
57440         * io/linkat.c: Likewise.
57441         * io/lseek.c: Likewise.
57442         * io/lseek64.c: Likewise.
57443         * io/lxstat64.c: Likewise.
57444         * io/mkdir.c: Likewise.
57445         * io/mkdirat.c: Likewise.
57446         * io/mkfifo.c: Likewise.
57447         * io/mkfifoat.c: Likewise.
57448         * io/open.c: Likewise.
57449         * io/open64.c: Likewise.
57450         * io/openat.c: Likewise.
57451         * io/openat64.c: Likewise.
57452         * io/pipe.c: Likewise.
57453         * io/pipe2.c: Likewise.
57454         * io/poll.c: Likewise.
57455         * io/posix_fadvise.c: Likewise.
57456         * io/posix_fadvise64.c: Likewise.
57457         * io/posix_fallocate.c: Likewise.
57458         * io/posix_fallocate64.c: Likewise.
57459         * io/read.c: Likewise.
57460         * io/readlink.c: Likewise.
57461         * io/readlinkat.c: Likewise.
57462         * io/rmdir.c: Likewise.
57463         * io/sendfile.c: Likewise.
57464         * io/sendfile64.c: Likewise.
57465         * io/statfs.c: Likewise.
57466         * io/statfs64.c: Likewise.
57467         * io/statvfs.c: Likewise.
57468         * io/statvfs64.c: Likewise.
57469         * io/symlink.c: Likewise.
57470         * io/symlinkat.c: Likewise.
57471         * io/ttyname.c: Likewise.
57472         * io/ttyname_r.c: Likewise.
57473         * io/umask.c: Likewise.
57474         * io/unlink.c: Likewise.
57475         * io/unlinkat.c: Likewise.
57476         * io/utime.c: Likewise.
57477         * io/utimensat.c: Likewise.
57478         * io/write.c: Likewise.
57479         * io/xmknod.c: Likewise.
57480         * io/xmknodat.c: Likewise.
57481         * io/xstat.c: Likewise.
57482         * io/xstat64.c: Likewise.
57483         * login/getpt.c: Likewise.
57484         * login/grantpt.c: Likewise.
57485         * login/unlockpt.c: Likewise.
57486         * math/e_acoshl.c: Likewise.
57487         * math/e_acosl.c: Likewise.
57488         * math/e_asinl.c: Likewise.
57489         * math/e_atan2l.c: Likewise.
57490         * math/e_atanhl.c: Likewise.
57491         * math/e_coshl.c: Likewise.
57492         * math/e_expl.c: Likewise.
57493         * math/e_fmodl.c: Likewise.
57494         * math/e_gammal_r.c: Likewise.
57495         * math/e_hypotl.c: Likewise.
57496         * math/e_j0l.c: Likewise.
57497         * math/e_j1l.c: Likewise.
57498         * math/e_jnl.c: Likewise.
57499         * math/e_lgammal_r.c: Likewise.
57500         * math/e_log10l.c: Likewise.
57501         * math/e_log2l.c: Likewise.
57502         * math/e_logl.c: Likewise.
57503         * math/e_powl.c: Likewise.
57504         * math/e_rem_pio2l.c: Likewise.
57505         * math/e_sinhl.c: Likewise.
57506         * math/e_sqrtl.c: Likewise.
57507         * math/fclrexcpt.c: Likewise.
57508         * math/fedisblxcpt.c: Likewise.
57509         * math/feenablxcpt.c: Likewise.
57510         * math/fegetenv.c: Likewise.
57511         * math/fegetexcept.c: Likewise.
57512         * math/fegetround.c: Likewise.
57513         * math/feholdexcpt.c: Likewise.
57514         * math/fesetenv.c: Likewise.
57515         * math/fesetround.c: Likewise.
57516         * math/feupdateenv.c: Likewise.
57517         * math/fgetexcptflg.c: Likewise.
57518         * math/fraiseexcpt.c: Likewise.
57519         * math/fsetexcptflg.c: Likewise.
57520         * math/ftestexcept.c: Likewise.
57521         * math/k_cosl.c: Likewise.
57522         * math/k_rem_pio2l.c: Likewise.
57523         * math/k_sinl.c: Likewise.
57524         * math/k_tanl.c: Likewise.
57525         * math/s_asinhl.c: Likewise.
57526         * math/s_atanl.c: Likewise.
57527         * math/s_cbrtl.c: Likewise.
57528         * math/s_erfl.c: Likewise.
57529         * math/s_expm1l.c: Likewise.
57530         * math/s_log1pl.c: Likewise.
57531         * math/s_tanhl.c: Likewise.
57532         * misc/acct.c: Likewise.
57533         * misc/brk.c: Likewise.
57534         * misc/chflags.c: Likewise.
57535         * misc/chroot.c: Likewise.
57536         * misc/fchflags.c: Likewise.
57537         * misc/fgetxattr.c: Likewise.
57538         * misc/flistxattr.c: Likewise.
57539         * misc/fremovexattr.c: Likewise.
57540         * misc/fsetxattr.c: Likewise.
57541         * misc/fsync.c: Likewise.
57542         * misc/ftruncate.c: Likewise.
57543         * misc/futimes.c: Likewise.
57544         * misc/futimesat.c: Likewise.
57545         * misc/getdomain.c: Likewise.
57546         * misc/getdtsz.c: Likewise.
57547         * misc/gethostid.c: Likewise.
57548         * misc/gethostname.c: Likewise.
57549         * misc/getloadavg.c: Likewise.
57550         * misc/getpagesize.c: Likewise.
57551         * misc/getsysstats.c: Likewise.
57552         * misc/getxattr.c: Likewise.
57553         * misc/gtty.c: Likewise.
57554         * misc/ioctl.c: Likewise.
57555         * misc/lgetxattr.c: Likewise.
57556         * misc/listxattr.c: Likewise.
57557         * misc/llistxattr.c: Likewise.
57558         * misc/lremovexattr.c: Likewise.
57559         * misc/lsetxattr.c: Likewise.
57560         * misc/lutimes.c: Likewise.
57561         * misc/madvise.c: Likewise.
57562         * misc/mincore.c: Likewise.
57563         * misc/mlock.c: Likewise.
57564         * misc/mlockall.c: Likewise.
57565         * misc/mmap.c: Likewise.
57566         * misc/mprotect.c: Likewise.
57567         * misc/msync.c: Likewise.
57568         * misc/munlock.c: Likewise.
57569         * misc/munlockall.c: Likewise.
57570         * misc/munmap.c: Likewise.
57571         * misc/preadv.c: Likewise.
57572         * misc/preadv64.c: Likewise.
57573         * misc/ptrace.c: Likewise.
57574         * misc/pwritev.c: Likewise.
57575         * misc/pwritev64.c: Likewise.
57576         * misc/readv.c: Likewise.
57577         * misc/reboot.c: Likewise.
57578         * misc/remap_file_pages.c: Likewise.
57579         * misc/removexattr.c: Likewise.
57580         * misc/revoke.c: Likewise.
57581         * misc/select.c: Likewise.
57582         * misc/setdomain.c: Likewise.
57583         * misc/setegid.c: Likewise.
57584         * misc/seteuid.c: Likewise.
57585         * misc/sethostid.c: Likewise.
57586         * misc/sethostname.c: Likewise.
57587         * misc/setregid.c: Likewise.
57588         * misc/setreuid.c: Likewise.
57589         * misc/setxattr.c: Likewise.
57590         * misc/sstk.c: Likewise.
57591         * misc/stty.c: Likewise.
57592         * misc/swapoff.c: Likewise.
57593         * misc/swapon.c: Likewise.
57594         * misc/sync.c: Likewise.
57595         * misc/syncfs.c: Likewise.
57596         * misc/syscall.c: Likewise.
57597         * misc/truncate.c: Likewise.
57598         * misc/ualarm.c: Likewise.
57599         * misc/usleep.c: Likewise.
57600         * misc/ustat.c: Likewise.
57601         * misc/utimes.c: Likewise.
57602         * misc/vhangup.c: Likewise.
57603         * misc/writev.c: Likewise.
57604         * posix/_exit.c: Likewise.
57605         * posix/alarm.c: Likewise.
57606         * posix/execve.c: Likewise.
57607         * posix/fexecve.c: Likewise.
57608         * posix/fork.c: Likewise.
57609         * posix/fpathconf.c: Likewise.
57610         * posix/getaddrinfo.c: Likewise.
57611         * posix/getegid.c: Likewise.
57612         * posix/geteuid.c: Likewise.
57613         * posix/getgid.c: Likewise.
57614         * posix/getgroups.c: Likewise.
57615         * posix/getlogin.c: Likewise.
57616         * posix/getlogin_r.c: Likewise.
57617         * posix/getpgid.c: Likewise.
57618         * posix/getpid.c: Likewise.
57619         * posix/getppid.c: Likewise.
57620         * posix/getresgid.c: Likewise.
57621         * posix/getresuid.c: Likewise.
57622         * posix/getsid.c: Likewise.
57623         * posix/getuid.c: Likewise.
57624         * posix/glob64.c: Likewise.
57625         * posix/nanosleep.c: Likewise.
57626         * posix/pathconf.c: Likewise.
57627         * posix/pause.c: Likewise.
57628         * posix/posix_madvise.c: Likewise.
57629         * posix/pread.c: Likewise.
57630         * posix/pread64.c: Likewise.
57631         * posix/pwrite.c: Likewise.
57632         * posix/pwrite64.c: Likewise.
57633         * posix/sched_getaffinity.c: Likewise.
57634         * posix/sched_getp.c: Likewise.
57635         * posix/sched_gets.c: Likewise.
57636         * posix/sched_primax.c: Likewise.
57637         * posix/sched_primin.c: Likewise.
57638         * posix/sched_rr_gi.c: Likewise.
57639         * posix/sched_setaffinity.c: Likewise.
57640         * posix/sched_setp.c: Likewise.
57641         * posix/sched_sets.c: Likewise.
57642         * posix/sched_yield.c: Likewise.
57643         * posix/setgid.c: Likewise.
57644         * posix/setlogin.c: Likewise.
57645         * posix/setpgid.c: Likewise.
57646         * posix/setresgid.c: Likewise.
57647         * posix/setresuid.c: Likewise.
57648         * posix/setsid.c: Likewise.
57649         * posix/setuid.c: Likewise.
57650         * posix/sleep.c: Likewise.
57651         * posix/spawni.c: Likewise.
57652         * posix/sysconf.c: Likewise.
57653         * posix/times.c: Likewise.
57654         * posix/wait.c: Likewise.
57655         * posix/wait3.c: Likewise.
57656         * posix/wait4.c: Likewise.
57657         * posix/waitpid.c: Likewise.
57658         * resolv/gai_sigqueue.c: Likewise.
57659         * resource/getpriority.c: Likewise.
57660         * resource/getrlimit.c: Likewise.
57661         * resource/getrusage.c: Likewise.
57662         * resource/nice.c: Likewise.
57663         * resource/setpriority.c: Likewise.
57664         * resource/setrlimit.c: Likewise.
57665         * resource/ulimit.c: Likewise.
57666         * rt/aio_cancel.c: Likewise.
57667         * rt/aio_fsync.c: Likewise.
57668         * rt/aio_read.c: Likewise.
57669         * rt/aio_sigqueue.c: Likewise.
57670         * rt/aio_suspend.c: Likewise.
57671         * rt/aio_write.c: Likewise.
57672         * rt/clock_getres.c: Likewise.
57673         * rt/clock_gettime.c: Likewise.
57674         * rt/clock_nanosleep.c: Likewise.
57675         * rt/clock_settime.c: Likewise.
57676         * rt/lio_listio.c: Likewise.
57677         * rt/mq_close.c: Likewise.
57678         * rt/mq_getattr.c: Likewise.
57679         * rt/mq_notify.c: Likewise.
57680         * rt/mq_open.c: Likewise.
57681         * rt/mq_receive.c: Likewise.
57682         * rt/mq_send.c: Likewise.
57683         * rt/mq_setattr.c: Likewise.
57684         * rt/mq_timedreceive.c: Likewise.
57685         * rt/mq_timedsend.c: Likewise.
57686         * rt/mq_unlink.c: Likewise.
57687         * rt/shm_open.c: Likewise.
57688         * rt/shm_unlink.c: Likewise.
57689         * rt/timer_create.c: Likewise.
57690         * rt/timer_delete.c: Likewise.
57691         * rt/timer_getoverr.c: Likewise.
57692         * rt/timer_gettime.c: Likewise.
57693         * rt/timer_settime.c: Likewise.
57694         * setjmp/__longjmp.c: Likewise.
57695         * setjmp/setjmp.c: Likewise.
57696         * signal/kill.c: Likewise.
57697         * signal/killpg.c: Likewise.
57698         * signal/raise.c: Likewise.
57699         * signal/sigaction.c: Likewise.
57700         * signal/sigaltstack.c: Likewise.
57701         * signal/sigblock.c: Likewise.
57702         * signal/sigignore.c: Likewise.
57703         * signal/sigintr.c: Likewise.
57704         * signal/signal.c: Likewise.
57705         * signal/sigpause.c: Likewise.
57706         * signal/sigpending.c: Likewise.
57707         * signal/sigqueue.c: Likewise.
57708         * signal/sigreturn.c: Likewise.
57709         * signal/sigset.c: Likewise.
57710         * signal/sigsetmask.c: Likewise.
57711         * signal/sigstack.c: Likewise.
57712         * signal/sigsuspend.c: Likewise.
57713         * signal/sigtimedwait.c: Likewise.
57714         * signal/sigvec.c: Likewise.
57715         * signal/sigwait.c: Likewise.
57716         * signal/sigwaitinfo.c: Likewise.
57717         * signal/sysv_signal.c: Likewise.
57718         * socket/accept.c: Likewise.
57719         * socket/accept4.c: Likewise.
57720         * socket/bind.c: Likewise.
57721         * socket/connect.c: Likewise.
57722         * socket/getpeername.c: Likewise.
57723         * socket/getsockname.c: Likewise.
57724         * socket/getsockopt.c: Likewise.
57725         * socket/isfdtype.c: Likewise.
57726         * socket/listen.c: Likewise.
57727         * socket/recv.c: Likewise.
57728         * socket/recvfrom.c: Likewise.
57729         * socket/recvmsg.c: Likewise.
57730         * socket/send.c: Likewise.
57731         * socket/sendmsg.c: Likewise.
57732         * socket/sendto.c: Likewise.
57733         * socket/setsockopt.c: Likewise.
57734         * socket/shutdown.c: Likewise.
57735         * socket/sockatmark.c: Likewise.
57736         * socket/socket.c: Likewise.
57737         * socket/socketpair.c: Likewise.
57738         * stdio-common/ctermid.c: Likewise.
57739         * stdio-common/cuserid.c: Likewise.
57740         * stdio-common/remove.c: Likewise.
57741         * stdio-common/rename.c: Likewise.
57742         * stdio-common/renameat.c: Likewise.
57743         * stdio-common/tempname.c: Likewise.
57744         * stdlib/getcontext.c: Likewise.
57745         * stdlib/makecontext.c: Likewise.
57746         * stdlib/setcontext.c: Likewise.
57747         * stdlib/swapcontext.c: Likewise.
57748         * stdlib/system.c: Likewise.
57749         * streams/fattach.c: Likewise.
57750         * streams/fdetach.c: Likewise.
57751         * streams/getmsg.c: Likewise.
57752         * streams/getpmsg.c: Likewise.
57753         * streams/putmsg.c: Likewise.
57754         * streams/putpmsg.c: Likewise.
57755         * sysdeps/unix/bsd/getpt.c: Likewise.
57756         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57757         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57758         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57760         Likewise.
57761         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57762         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57763         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57764         * sysvipc/msgctl.c: Likewise.
57765         * sysvipc/msgget.c: Likewise.
57766         * sysvipc/msgrcv.c: Likewise.
57767         * sysvipc/msgsnd.c: Likewise.
57768         * sysvipc/semctl.c: Likewise.
57769         * sysvipc/semget.c: Likewise.
57770         * sysvipc/semop.c: Likewise.
57771         * sysvipc/semtimedop.c: Likewise.
57772         * sysvipc/shmat.c: Likewise.
57773         * sysvipc/shmctl.c: Likewise.
57774         * sysvipc/shmdt.c: Likewise.
57775         * sysvipc/shmget.c: Likewise.
57776         * termios/tcdrain.c: Likewise.
57777         * termios/tcflow.c: Likewise.
57778         * termios/tcflush.c: Likewise.
57779         * termios/tcgetattr.c: Likewise.
57780         * termios/tcgetpgrp.c: Likewise.
57781         * termios/tcsendbrk.c: Likewise.
57782         * termios/tcsetattr.c: Likewise.
57783         * termios/tcsetpgrp.c: Likewise.
57784         * time/adjtime.c: Likewise.
57785         * time/clock.c: Likewise.
57786         * time/getitimer.c: Likewise.
57787         * time/gettimeofday.c: Likewise.
57788         * time/setitimer.c: Likewise.
57789         * time/settimeofday.c: Likewise.
57790         * time/stime.c: Likewise.
57791         * time/time.c: Likewise.
57793 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57795         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57796         /usr/old/bin.
57798         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57799         instead of spaces.
57800         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57802 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57804         [BZ #14796]
57805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57806         FE_TONEAREST before applying Dekker multiplication and Knuth
57807         addition.  Clear inexact exceptions and check for exact zero
57808         results afterwards.
57809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57812         * math/libm-test.inc (fma_test): Add more tests.
57813         (fma_test_towardzero): Likewise.
57814         (fma_test_downward): Likewise.
57815         (fma_test_upward): Likewise.
57816         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57817         function.
57818         (libc_fesetround): New macro.
57819         (libc_fesetroundf): Likewise.
57820         (libc_fesetroundl): Likewise.
57821         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57822         function.
57823         (libc_fesetround_387): Likewise.
57824         (libc_fesetroundf): New macro.
57825         (libc_fesetround): Likewise.
57826         (libc_fesetroundl): Likewise.
57827         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57828         function.
57829         (libc_fesetroundf): New macro.
57830         (libc_fesetround): Likewise.
57831         (libc_fesetroundl): Likewise.
57832         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57833         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57834         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57835         libm_hidden_ver.
57836         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57837         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57838         libm_hidden_def.
57839         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57840         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57841         libm_hidden_ver.
57842         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57843         libm_hidden_def.
57845         [BZ #3439]
57846         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57847         integer constant usable in #if and use that to give value to enum
57848         constant.
57849         (FE_DIVBYZERO): Likewise.
57850         (FE_UNDERFLOW): Likewise.
57851         (FE_OVERFLOW): Likewise.
57852         (FE_INVALID): Likewise.
57853         (FE_INVALID_SNAN): Likewise.
57854         (FE_INVALID_ISI): Likewise.
57855         (FE_INVALID_IDI): Likewise.
57856         (FE_INVALID_ZDZ): Likewise.
57857         (FE_INVALID_IMZ): Likewise.
57858         (FE_INVALID_COMPARE): Likewise.
57859         (FE_INVALID_SOFTWARE): Likewise.
57860         (FE_INVALID_SQRT): Likewise.
57861         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57862         (FE_TONEAREST): Likewise.
57863         (FE_TOWARDZERO): Likewise.
57864         (FE_UPWARD): Likewise.
57865         (FE_DOWNWARD): Likewise.
57866         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57867         (FE_DIVBYZERO): Likewise.
57868         (FE_OVERFLOW): Likewise.
57869         (FE_UNDERFLOW): Likewise.
57870         (FE_INEXACT): Likewise.
57871         (FE_TONEAREST): Likewise.
57872         (FE_DOWNWARD): Likewise.
57873         (FE_UPWARD): Likewise.
57874         (FE_TOWARDZERO): Likewise.
57875         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57876         (FE_UNDERFLOW): Likewise.
57877         (FE_OVERFLOW): Likewise.
57878         (FE_DIVBYZERO): Likewise.
57879         (FE_INVALID): Likewise.
57880         (FE_TONEAREST): Likewise.
57881         (FE_TOWARDZERO): Likewise.
57882         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57883         (FE_OVERFLOW): Likewise.
57884         (FE_UNDERFLOW): Likewise.
57885         (FE_DIVBYZERO): Likewise.
57886         (FE_INEXACT): Likewise.
57887         (FE_TONEAREST): Likewise.
57888         (FE_TOWARDZERO): Likewise.
57889         (FE_UPWARD): Likewise.
57890         (FE_DOWNWARD): Likewise.
57891         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57892         (FE_DIVBYZERO): Likewise.
57893         (FE_OVERFLOW): Likewise.
57894         (FE_UNDERFLOW): Likewise.
57895         (FE_INEXACT): Likewise.
57896         (FE_TONEAREST): Likewise.
57897         (FE_DOWNWARD): Likewise.
57898         (FE_UPWARD): Likewise.
57899         (FE_TOWARDZERO): Likewise.
57901 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57903         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57905 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57907         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57908         commands.  Quote $PWD.
57909         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57910         -x" by "export".
57911         (remove_newlines): Remove.
57913 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57915         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57916         * stdlib/stdlib.h (atof): Moved to ...
57917         * include/bits/stdlib-float.h: Here.  New file.
57918         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57919         * stdlib/bits/stdlib-float.h: New file.
57920         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57921         -mno-sse -mno-mmx.
57922         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57923         <xmmintrin.h>.
57925 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57927         * conform/conformtest.pl (@headers): Add fenv.h.
57928         * conform/data/fenv.h-data: New file.
57929         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57930         include of <math/fenv.h>.
57932         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57933         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57934         && !UNIX98].  Enables tests for XOPEN2K8.
57935         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57936         POSIX2008]: Likewise.
57938         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57939         (struct rusage): Do not expect type or its members.
57941         [BZ #3439]
57942         * math/math.h (FP_NAN): Define macro to integer constant usable in
57943         #if and use that to give value to enum constant.
57944         (FP_INFINITE): Likewise.
57945         (FP_ZERO): Likewise.
57946         (FP_SUBNORMAL): Likewise.
57947         (FP_NORMAL): Likewise.
57949 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57951         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57952         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57953         arguments.
57955 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57957         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57958         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57959         autoconf-time if not.
57960         * configure.in: Remove AC_PREREQ.
57962 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57964         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57965         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57966         of the internal implementation.
57968 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57970         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57971         except include of <misc/sys/syslog.h>.
57973 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57976         function returns with a NULL context exit with zero.
57978 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57980         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57982 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57984         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57985         (run_program_cmd): This.
57986         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57987         (tst_langinfo): New variable.  Use it.
57989 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57991         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57992         floating point opcodes.
57994 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57996         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57997         variable.
57999         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58001         * sysdeps/mach/hurd/powerpc: Remove directory.
58002         * sysdeps/mach/powerpc: Likewise.
58004 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58006         * scripts/check-local-headers.sh: Ignore c++ headers.
58008 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58010         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58011         __libc_cleanup_region_start argument.
58013 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58015         [BZ #14784]
58016         [BZ #14785]
58017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58018         x * y using scaling, not as x * y + z.
58019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58021         * math/libm-test.inc (fma_test): Add more tests.
58022         (fma_test_towardzero): Likewise.
58023         (fma_test_downward): Likewise.
58024         (fma_test_upward): Likewise.
58026 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58028         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58030 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58032         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58033         New variable.
58035 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58037         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58039 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58042         Fix sort order.
58043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58044         Likewise.
58046 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58049         Fix the order of the list for glibc 2.17.
58050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58051         Likewise.
58053 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58057 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58059         [BZ #14610]
58060         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58061         for low part of x being zero before using __atanl (y).
58062         * math/libm-test.inc (atan2_test): Add another test.
58064         * manual/install.texi (Configuring and compiling): Document
58065         general use of test-wrapper and test-wrapper-env.
58066         * INSTALL: Regenerated.
58068         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58069         (__fma): Do not extract and scale down low bits on after-rounding
58070         systems when result rounded to normal precision would have normal
58071         exponent.
58072         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58073         (__fmal): Do not extract and scale down low bits on after-rounding
58074         systems when result rounded to normal precision would have normal
58075         exponent.
58076         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58077         (__fmal): Do not extract and scale down low bits on after-rounding
58078         systems when result rounded to normal precision would have normal
58079         exponent.
58080         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58081         macro.
58082         (fma_test): Add more tests.
58083         (fma_test_towardzero): Likewise.
58084         (fma_test_downward): Likewise.
58085         (fma_test_upward): Likewise.
58087 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58089         * sysdeps/i386/tininess.h: Renamed to ...
58090         * sysdeps/x86/tininess.h: This.
58091         * sysdeps/x86_64/tininess.h: Removed.
58093 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58095         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58096         input.  Use $(build-program-cmd).
58097         ($(objpfx)tst-array1-static.out): Likewise.
58098         ($(objpfx)tst-array2.out): Likewise.
58099         ($(objpfx)tst-array3.out): Likewise.
58100         ($(objpfx)tst-array4.out): Likewise.
58101         ($(objpfx)tst-array5.out): Likewise.
58102         ($(objpfx)tst-array5-static.out): Likewise.
58104 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58106         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58107         if defined.
58109         * nss/nsswitch.h (nss_interface_function): Provide new
58110         macro for use with NSS functions.
58111         * grp/initgroups.c: Use new macro.
58112         * nss/getXXbyYY.c: Likewise.
58113         * nss/getXXbyYY_r.c: Likewise.
58114         * nss/getXXent.c: Likewise.
58115         * nss/getXXent_r.c: Likewise.
58116         * sysdeps/posix/getaddrinfo.c: Likewise.
58118 2012-10-30  Andreas Jaeger  <aj@suse.de>
58120         * po/ru.po: Update Russion translation from translation project.
58122 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58124         [BZ #14152]
58125         [BZ #14783]
58126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58127         result and shift together with sticky bit instead of replicating
58128         round-to-nearest rounding.
58129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58131         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58132         missing underflow exceptions.
58133         (fma_test_towardzero): Add more tests.
58134         (fma_test_downward): Likewise.
58135         (fma_test_upward): Likewise.
58137         [BZ #14047]
58138         * sysdeps/generic/tininess.h: New file.
58139         * sysdeps/i386/tininess.h: Likewise.
58140         * sysdeps/sh/tininess.h: Likewise.
58141         * sysdeps/x86_64/tininess.h: Likewise.
58142         * stdlib/tst-strtod-underflow.c: Likewise.
58143         * stdlib/tst-tininess.c: Likewise.
58144         * stdlib/strtod_l.c: Include <tininess.h>.
58145         (round_and_return): Do not set errno for exact underflow cases.
58146         Force an underflow exception when setting errno for underflow.
58147         Determine underflow based on rounding to normal precision if
58148         TININESS_AFTER_ROUNDING.
58149         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58150         ERANGE for exact underflow cases.
58151         * stdlib/Makefile (tests): Add tst-tininess and
58152         tst-strtod-underflow.
58153         ($(objpfx)tst-tininess): Use $(link-libm).
58154         ($(objpfx)tst-strtod-underflow): Likewise.
58156 2012-10-30  Andreas Jaeger  <aj@suse.de>
58158         [BZ#14767]
58159         * elf/Makefile (tests): Remove conditional for have-initfini-array
58160         since this is now always required and the variable does not exist
58161         anymore.
58162         (tests-static): Likewise.
58163         (modules-names): Likewise.
58165         * po/eo.po: Add Esperanto translation from translation project.
58167         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58168         merged with constructor/destructor.
58169         (init_array): Likewise.
58170         * elf/tst-array2dep.c (fini_array): Likewise.
58171         (init_array): Likewise.
58173 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58175         * manual/message.texi: Delete @cartouche tags.
58177 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58179         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58180         EOPNOTSUPP.
58181         * sysdeps/mach/hurd/fsync.c: Likewise.
58183         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58184         [_POSIX_REALTIME_SIGNALS]: Change condition to
58185         [_POSIX_REALTIME_SIGNALS > 0].
58187 2012-10-27  Andreas Jaeger  <aj@suse.de>
58189         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58190         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58192         [__WORDSIZE != 64]: Likewise.
58194 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58196         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58197         *  iconvdata/tst-tables.sh: Likewise.
58199 2012-10-25  David S. Miller  <davem@davemloft.net>
58201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58202         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58203         of strtoull.
58205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58206         ifunc-impl-list.c
58207         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58208         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58209         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58210         file.
58212 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58215         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58216         __getdirentries.
58218 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58219             Jim Blandy  <jimb@codesourcery.com>
58221         * scripts/cross-test-ssh.sh: New file.
58222         * manual/install.texi (Configuring and compiling): Document use of
58223         cross-test-ssh.sh.
58224         * INSTALL: Regenerated.
58226 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58228         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58229         EOPNOTSUPP.
58231 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58233         * Makeconfig (run-program-prefix): Fix comment.
58235 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58236             Jim Blandy  <jimb@codesourcery.com>
58238         * Makeconfig (test-wrapper): New variable,
58239         (test-wrapper-env): Likewise.
58240         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58241         (run-built-tests): Define to yes.
58242         (run-program-prefix): Use $(test-wrapper).
58243         (built-program-cmd): Likewise.
58244         * Rules (make-test-out): Use $(test-wrapper-env) and
58245         $(host-built-program-cmd).
58246         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58247         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58248         tst-pathopt.sh.
58249         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58250         $(test-wrapper-env) to tst-rtld-load-self.sh.
58251         ($(objpfx)order2.out): Use $(test-wrapper).
58252         ($(objpfx)tst-initorder.out): Likewise.
58253         ($(objpfx)tst-initorder2.out): Likewise.
58254         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58255         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58256         (test_wrapper_env): New variable.  Use it to run ld.so.
58257         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58258         Use it to run ld.so.
58259         (test_wrapper_env): Likewise.
58260         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58261         $(test-wrapper) to run-iconv-test.sh.
58262         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58263         (ICONV): Use $test_wrapper.
58264         * posix/Makefile ($(objpfx)globtest.out): Pass
58265         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58266         globtest.sh, not $(run-program-prefix).
58267         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58268         (test_wrapper): Likewise.
58269         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58270         set together with run_via_rtld_prefix.
58271         (run_program_prefix): Define in terms of test_wrapper and
58272         run_via_rtld_prefix.
58274 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58276         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58277         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58278         Targets removed.
58280         [BZ #14743]
58281         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58282         Declare __clock_getres, __clock_gettime, __clock_settime,
58283         __clock_nanosleep, and __clock_getcpuclockid.
58284         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58285         Remove librt_hidden_def (clock_gettime).
58286         * sysdeps/unix/clock_gettime.c: Likewise.
58287         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58288         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58289         * rt/clock_getres.c: Define __clock_getres as an alias.
58290         * sysdeps/posix/clock_getres.c: Likewise.
58291         * rt/clock_settime.c: Define __clock_settime as an alias.
58292         * sysdeps/unix/clock_settime.c: Likewise.
58293         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58294         * sysdeps/unix/clock_nanosleep.c: Likewise.
58295         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58296         * rt/clock-compat.c: New file.
58297         * rt/Makefile (librt-routines): Add clock-compat and move
58298         $(clock-routines) to ...
58299         (routines): ... here, new variable.
58300         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58301         Don't add get_clockfreq here.
58302         * rt/Versions (libc: GLIBC_2.17): New version set.
58303         Add clock_* symbols here.
58304         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58305         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58306         (GLIBC_2.17): Add clock_* symbols.
58307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58309         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58311         Likewise.
58312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58313         Likewise.
58314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58318         * NEWS: Mention the move.
58320         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58321         Use __open, __read, __close rather than their public counterparts.
58322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58323         (__get_clockfreq_via_cpuinfo): Likewise.
58324         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58325         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58327         * config.h.in (HAVE_IFUNC): New #undef.
58328         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58329         was successful.
58330         * configure: Regenerated.
58332 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58334         * configure.in: Move READELF check to start of file.
58335         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58336         libc_cv_asm_gnu_indirect_function in the process.
58337         * configure: Regenerated.
58339 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58341         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58342         send the output to /dev/null.
58343         (libc_cv_cc_with_libunwind): Likewise.
58344         (libc_cv_as_noexecstack): Likewise.
58345         * configure: Regenerate.
58347 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58349         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58351         * posix/globtest.sh (TMPDIR): Do not set.
58352         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58353         (testout): Likewise.
58355 2012-10-24  Andreas Jaeger  <aj@suse.de>
58357         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58358         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58359         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58360         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58361         posix_fadvise64, posix_fallocate64.
58363         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58364         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58365         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58366         Likewise.
58367         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58368         Likewise.
58369         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58372         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58373         <bits/fcntl-linux.h>.
58374         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58377         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58378         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58379         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58380         [__WORDSIZE != 64]: Likewise.
58382 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58384         * Makeconfig (run-built-tests): New variable.
58385         * Rules [$(cross-compiling) = yes]: Change condition to
58386         [$(run-built-tests) = no].
58387         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58388         to [$(run-built-tests) = yes].
58389         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58390         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58391         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58392         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58393         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58394         * io/Makefile [$(cross-compiling) = no]: Likewise.
58395         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58396         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58397         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58398         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58399         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58400         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58401         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58402         * string/Makefile [$(cross-compiling) = no]: Likewise.
58404         * posix/Makefile ($(objpfx)globtest.out): Pass
58405         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58406         $(rtld-installed-name).
58407         * posix/globtest.sh (elf_objpfx): Remove variable.
58408         (rtld_installed_name): Likewise.
58409         (library_path): Likewise.
58410         (run_program_prefix): New variable.  Use for running globtest
58411         binary.
58413 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58414             Joseph Myers  <joseph@codesourcery.com>
58416         * Makeconfig (host-built-program-cmd): New variable.
58417         * elf/Makefile (tst-stackguard1-ARGS): Use
58418         $(host-built-program-cmd).
58419         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58420         (tst-spawn-ARGS): Likewise.
58421         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58423 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58424             Jim Blandy  <jimb@codesourcery.com>
58426         * Makeconfig (run-via-rtld-prefix): New variable.
58427         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58428         (built-program-cmd): Likewise.
58430 2012-10-22  Andreas Jaeger  <aj@suse.de>
58432         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58433         __O_RSYNC if it exists, otherwise to O_SYNC.
58435 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58436             Joseph Myers  <joseph@codesourcery.com>
58438         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58439         /dev/null.
58440         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58441         from /dev/null
58442         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58443         /dev/null.
58445 2012-10-22  Andreas Jaeger  <aj@suse.de>
58447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58448         Define always.
58449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58452         bits/fcntl-linux.h.
58454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58455         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58457         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58458         to __O_LARGEFILE.
58459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58460         to __O_LARGEFILE.
58462 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58463             Joseph Myers  <joseph@codesourcery.com>
58465         * config.make.in (NM): New variable.
58467 2012-10-21  Andreas Jaeger  <aj@suse.de>
58469         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58470         definitions and declarations that are provided by
58471         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58473 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58475         [BZ #14683]
58476         * elf/Makefile (tests-static): Add tst-leaks1-static.
58477         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58478         ($(objpfx)tst-leaks1-static): New rule.
58479         ($(objpfx)tst-leaks1-static-mem): Likewise.
58480         (tst-leaks1-static-ENV): New macro.
58481         * elf/dl-open.c (dl_open_worker): Check the main application
58482         only if SHARED is defined.
58483         * elf/tst-leaks1-static.c: New file.
58485 2012-10-20  Andreas Jaeger  <aj@suse.de>
58487         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58488         generic values for Linux.
58489         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58490         and declarations that are provided by <bits/fcntl-linux.h> and
58491         include <bits/fcntl-linux.h>.
58492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58493         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58495 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58497         * io/fcntl.h: Move include of <bits/types.h> to the top and
58498         include it unconditionally.
58500 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58502         * wcsmbs/Makefile (tests-ifunc): New variable.
58503         (tests): Add $(tests-ifunc).
58504         * wcsmbs/test-wcschr-ifunc.c: New file.
58505         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58506         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58507         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58508         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58509         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58511         * string/Makefile (tests-ifunc): New variable.
58512         (tests): Add $(tests-ifunc).
58513         * string/test-memccpy.c (TEST_NAME): New macro.
58514         * string/test-memchr.c (TEST_NAME): Likewise.
58515         * string/test-memcmp.c (TEST_NAME): Likewise.
58516         * string/test-memcpy.c (TEST_NAME): Likewise.
58517         * string/test-memmem.c (TEST_NAME): Likewise.
58518         * string/test-memmove.c (TEST_NAME): Likewise.
58519         * string/test-memset.c (TEST_NAME): Likewise.
58520         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58521         * string/test-stpcpy.c (TEST_NAME): Likewise.
58522         * string/test-stpncpy.c (TEST_NAME): Likewise.
58523         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58524         * string/test-strcasestr.c (TEST_NAME): Likewise.
58525         * string/test-strcat.c (TEST_NAME): Likewise.
58526         * string/test-strchr.c (TEST_NAME): Likewise.
58527         * string/test-strcmp.c(TEST_NAME): Likewise.
58528         * string/test-strcpy.c (TEST_NAME): Likewise.
58529         * string/test-strcspn.c (TEST_NAME): Likewise.
58530         * string/test-strlen.c (TEST_NAME): Likewise.
58531         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58532         * string/test-strncmp.c (TEST_NAME): Likewise.
58533         * string/test-strncpy.c (TEST_NAME): Likewise.
58534         * string/test-strnlen.c (TEST_NAME): Likewise.
58535         * string/test-strpbrk.c (TEST_NAME): Likewise.
58536         * string/test-strrchr.c (TEST_NAME): Likewise.
58537         * string/test-strspn.c (TEST_NAME): Likewise.
58538         * string/test-strstr.c (TEST_NAME): Likewise.
58539         * string/test-bcopy-ifunc.c: New file.
58540         * string/test-bzero-ifunc.c: Likewise.
58541         * string/test-memccpy-ifunc.c: Likewise.
58542         * string/test-memchr-ifunc.c: Likewise.
58543         * string/test-memcmp-ifunc.c: Likewise.
58544         * string/test-memcpy-ifunc.c: Likewise.
58545         * string/test-memmem-ifunc.c: Likewise.
58546         * string/test-memmove-ifunc.c: Likewise.
58547         * string/test-mempcpy-ifunc.c: Likewise.
58548         * string/test-memset-ifunc.c: Likewise.
58549         * string/test-rawmemchr-ifunc.c: Likewise.
58550         * string/test-stpcpy-ifunc.c: Likewise.
58551         * string/test-stpncpy-ifunc.c: Likewise.
58552         * string/test-strcasecmp-ifunc.c: Likewise.
58553         * string/test-strcasestr-ifunc.c: Likewise.
58554         * string/test-strcat-ifunc.c: Likewise.
58555         * string/test-strchr-ifunc.c: Likewise.
58556         * string/test-strchrnul-ifunc.c: Likewise.
58557         * string/test-strcmp-ifunc.c: Likewise.
58558         * string/test-strcpy-ifunc.c: Likewise.
58559         * string/test-strcspn-ifunc.c: Likewise.
58560         * string/test-strlen-ifunc.c: Likewise.
58561         * string/test-strncasecmp-ifunc.c: Likewise.
58562         * string/test-strncat-ifunc.c: Likewise.
58563         * string/test-strncmp-ifunc.c: Likewise.
58564         * string/test-strncpy-ifunc.c: Likewise.
58565         * string/test-strnlen-ifunc.c: Likewise.
58566         * string/test-strpbrk-ifunc.c: Likewise.
58567         * string/test-strrchr-ifunc.c: Likewise.
58568         * string/test-strspn-ifunc.c: Likewise.
58569         * string/test-strstr-ifunc.c: Likewise.
58571         * debug/Makefile (tests-ifunc): New variable.
58572         (tests): Add $(tests-ifunc).
58573         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58574         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58575         * debug/test-stpcpy_chk-ifunc.c: New file.
58576         * debug/test-strcpy_chk-ifunc.c: Likewise.
58578 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58580         [BZ #13601]
58581         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58582         header is not read in.
58584 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58586         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58587         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58588         directly.  Pass built executable to script as
58589         $(built-program-cmd).
58590         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58591         $testprogram without using LD_LIBRARY_PATH and $ldso.
58593         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58594         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58595         $(rtld-installed-name).
58596         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58597         (rtld_installed_name): Likewise.
58598         (library_path): Likewise.
58599         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58600         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58601         $(run-program-prefix) to tst-tables.sh.
58602         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58603         it to run tst-table-from and tst-table-to.
58604         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58605         Pass it to tst-table.sh.
58606         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58607         $(run-program-prefix) to tst-gettext.sh.
58608         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58609         tst-translit.sh.
58610         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58611         tst-gettext2.sh.
58612         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58613         to run tst-gettext.
58614         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58615         to run tst-gettext2.
58616         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58617         to run tst-translit.
58618         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58619         $(run-program-prefix) to tst-mtrace.sh.
58620         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58621         to run tst-mtrace.
58622         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58623         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58624         $(rtld-installed-name).
58625         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58626         (rtld_installed_name): Likewise.
58627         (run_program_prefix): New variable.  Use it to run wordexp-test.
58629         * Makeconfig (ARCH): Remove all definitions.
58630         (machine): Likewise.
58631         [ARCH]: Remove conditional code.
58632         [!objdir]: Give error.
58633         [!objdir] (objpfx): Remove.
58634         [!objdir] (common-objpfx): Likewise.
58635         [!objdir] (common-objdir): Likewise.
58636         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58637         AC_CONFIG_FILES call.
58638         * configure: Regenerated.
58640         [BZ #13888]
58641         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58642         or TMPDIR.
58643         (testout): Likewise.
58645         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58646         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58647         $(rtld-installed-name).
58648         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58649         (rtld_installed_name): Likwise.
58650         (runit): Remove function.
58651         (run_getconf): New variable,  Use it for running getconf binary.
58653 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58655         [BZ #14716]
58656         * string/test-memmem.c (check_result): New function.
58657         (do_one_test): Use it.
58658         (check1): New function.
58659         (test_main): Use it.
58661 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58663         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58665 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58667         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58668         (_G_LSEEK64): Likewise.
58669         (_G_MMAP64): Likewise.
58670         (_G_FSTAT64): Likewise.
58671         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58672         (_G_LSEEK64): Likewise.
58673         (_G_MMAP64): Likewise.
58674         (_G_FSTAT64): Likewise.
58675         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58676         unconditional.  Call __mmap64 directly.
58677         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58678         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58679         __lseek64 directly.
58680         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58681         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58682         __mmap64 directly.
58683         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58684         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58685         __lseek64 directly.
58686         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58687         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58688         __lseek64 directly.
58689         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58690         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58691         __lseek64 directly.
58692         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58693         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58694         __fxstat64 directly.
58695         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58696         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58697         unconditional.
58698         (freopen64) [!_G_OPEN64]: Remove conditional code.
58699         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58700         unconditional.
58701         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58702         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58703         unconditional.
58704         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58705         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58706         unconditional.
58707         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58708         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58709         unconditional.
58710         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58711         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58712         unconditional.
58713         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58714         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58715         unconditional.
58716         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58717         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58718         unconditional.
58719         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58721 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58723         [BZ #12140]
58724         * manual/memory.texi (Malloc Tunable Parameters): Add note
58725         about free list pointers overwriting some perturb bytes.
58726         Wording suggested by Roland McGrath.
58728 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58730         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58731         (lgamma_test): Likewise.
58732         (tgamma_test): Likewise.
58734 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58736         [BZ #14700]
58737         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58738         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58740 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58742         * NEWS: Mention BZ #14716.
58743         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58744         when removing AVAILABLE1_USES_J macro.
58746 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58748         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58749         (__bswap_64): __uint64_t for unsigned 64-bit int.
58751 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58753         * include/string.h (memmem): Declare libc hidden alias.
58754         * string/memmem.c (memmem): Define libc hidden alias.
58755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58756         __read, __close instead of open, read, close.
58758 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58761         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58762         global and hidden.
58763         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58764         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58765         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58766         Likewise.
58767         (__rawmemchr_sse2): Likewise.
58768         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58769         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58770         (__strchr_sse2): Likewise.
58771         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58772         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58773         (__strcasecmp_sse2): Likewise.
58774         (__strncasecmp_sse2): Likewise.
58775         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58776         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58777         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58778         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58779         (__strrchr_sse2): Likewise.
58780         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58781         ifunc-impl-list.c.
58782         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58783         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58784         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58785         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58786         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58787         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58788         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58789         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58790         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58791         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58792         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58793         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58794         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58795         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58796         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58797         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58798         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58799         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58800         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58801         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58802         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58803         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58804         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58805         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58806         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58807         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58808         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58809         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58810         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58811         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58813         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58814         global and hidden.
58815         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58816         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58817         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58818         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58819         Likewise.
58820         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58821         Likewise.
58822         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58823         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58824         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58825         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58826         ifunc-impl-list.c.
58827         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58828         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58829         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58830         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58831         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58832         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58833         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58834         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58835         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58836         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58837         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58838         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58839         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58840         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58841         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58842         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58843         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58844         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58845         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58846         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58847         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58848         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58849         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58850         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58851         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58852         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58853         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58854         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58855         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58856         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58857         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58858         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58859         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58860         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58861         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58862         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58863         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58864         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58865         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58866         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58867         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58869         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58870         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58871         * include/ifunc-impl-list.h: New file.
58872         * misc/ifunc-impl-list.c: Likewise.
58873         * misc/Makefile (routines): Add ifunc-impl-list.
58874         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58875         * string/test-string.h: Include <ifunc-impl-list.h>.
58876         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58877         TEST_NAME]: New variables.
58878         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58879         are defined.
58880         (test_init): Call __libc_ifunc_impl_list to initialize
58881         func_list if TEST_IFUNC and TEST_NAME are defined.
58883         * string/Makefile (strop-tests): Add bcopy and bzero.
58884         * string/test-bcopy.c: New file.
58885         * string/test-bzero.c: Likewise.
58886         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58887         defined.
58888         * string/test-memset.c: Support bzero test if TEST_BZERO is
58889         defined.
58890         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58891         __libc_memmove.
58892         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58893         __libc_memset.
58894         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58895         of memset.
58897 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58899         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58900         * configure: Regenerated.
58902         * Makeconfig (+link-static-before-libc): Don't include
58903         $(link-static-libc).
58905         * libio/libio.h (_IO_pos_t): Remove.
58907 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58909         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58910         McGrath.
58912 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58914         * crypt/crypt-entry.c: Include fips-private.h.
58915         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58916         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58917         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58918         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58920 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58922         * crypt/crypt-private.h: Include stdbool.h.
58923         (_ufc_setup_salt_r): Return bool.
58924         * crypt/crypt-entry.c: Include errno.h.
58925         (__crypt_r): Return NULL with EINVAL for bad salt.
58926         * crypt/crypt_util.c (bad_for_salt): New.
58927         (_ufc_setup_salt_r): Check that salt is long enough and within
58928         the specified alphabet.
58929         * crypt/badsalttest.c: New file.
58930         * crypt/Makefile (tests): Add it.
58931         ($(objpfx)badsalttest): New.
58933 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58935         * NEWS: Add entry for BZ #14602.
58937 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58939         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58940         type-generic.
58941         * math/libm-test.inc: Update comment listing what functions and
58942         macros are tested.
58943         (isgreater_test): New function.
58944         (isgreaterequal_test): Likewise.
58945         (isless_test): Likewise.
58946         (islessequal_test): Likewise.
58947         (islessgreater_test): Likewise.
58948         (isunordered_test): Likewise.
58949         (main): Call the new functions.
58951 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58953         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58954         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58955         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58956         * sysdeps/i386/configure: Regenerated.
58957         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58958         * sysdeps/mach/configure: Regenerated.
58959         * sysdeps/mach/hurd/configure: Regenerated.
58960         * sysdeps/powerpc/configure: Regenerated.
58961         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58962         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58963         * sysdeps/s390/s390-32/configure: Regenerated.
58964         * sysdeps/s390/s390-64/configure: Regenerated.
58965         * sysdeps/sh/configure: Regenerated.
58966         * sysdeps/sparc/configure: Regenerated.
58967         * sysdeps/unix/sysv/linux/configure: Regenerated.
58968         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58969         * sysdeps/x86_64/configure: Regenerated.
58971         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58972         defined.  Don't check if MAP is NULL.
58974 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58976         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58977         (_G_stat64): Likewise.
58978         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58979         (_G_stat64): Likewise.
58980         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58981         instead of struct _G_stat64.
58982         * libio/fileops.c (mmap_remap_check): Likewise.
58983         (decide_maybe_mmap): Likewise.
58984         (_IO_new_file_seekoff): Likewise.
58985         (_IO_file_stat): Likewise.
58986         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58987         _G_off64_t.
58988         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58989         instead of struct _G_stat64.
58990         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58992 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58994         [BZ #14602]
58995         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58996         Replace with ...
58997         (CHECK_EOL): New macro.
58998         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58999         CHECK_EOL.
59000         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59001         Replace with CHECK_EOL.
59002         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59003         Replace with CHECK_EOL.
59005 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59007         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59008         type-generic.
59009         * math/libm-test.inc: Update comment listing what functions and
59010         macros are tested.
59011         (finite_test): New function.
59012         (isinf_test): Likewise.
59013         (isnan_test): Likewise.
59014         (fpclassify_test): Test subnormal input.
59015         (isfinite_test): Likewise.
59016         (isnormal_test): Likewise.
59017         (main): Call the new functions.
59019 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59021         [BZ #14660]
59022         * Makerules (%.dynsym): Force C locale when running
59023         $(OBJDUMP) --dynamic-syms.
59025 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59027         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59028         <stdint.h>.
59030 2012-10-06  David S. Miller  <davem@davemloft.net>
59032         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59033         upper 32-bits of the length value in %o2 since we use branch-on-register
59034         tests which consider the entire 64-bit register.
59036 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59038         * string/test-strstr.c (check2): Add a test for page boundary.
59040 2012-10-05  David S. Miller  <davem@davemloft.net>
59042         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59043         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59044         file.
59045         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59046         sysdep_routines.
59047         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59048         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59049         and bzero when HWCAP_SPARC_CRYPTO is present.
59051 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59053         [BZ #14602]
59054         * string/test-strstr.c (check2): New function.
59055         (test_main): Call check2.
59057         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59058         and bug-strchr1.
59059         * string/bug-strcasestr1.c (do_test): Moved to ...
59060         * string/test-strcasestr.c (check1): Here.  New function.
59061         (do_one_test): Break out result checking code into ...
59062         (check_result): This.  New function.
59063         (do_one_test): Call check_result.
59064         (test_main): Call check1.
59065         * string/bug-strchr1.c (do_test): Moved to ...
59066         * string/test-strchr.c (check1): Here.  New function.
59067         (do_one_test): Break out result checking code into ...
59068         (check_result): This.  New function.
59069         (do_one_test): Call check_result.
59070         (test_main): Call check1.
59071         * string/bug-strstr1.c (main): Moved to ...
59072         * string/test-strstr.c (check1): Here.  New function.
59073         (do_one_test): Break out result checking code into ...
59074         (check_result): This.  New function.
59075         (do_one_test): Call check_result.
59076         (test_main): Call check1.
59077         * string/bug-strcasestr1.c: Removed.
59078         * string/bug-strchr1.c: Likewise.
59079         * string/bug-strstr1.c: Likewise.
59081         * elf/Makefile (dl-routines): Add hwcaps.
59082         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59083         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59084         (_dl_important_hwcaps): Moved to ...
59085         * elf/dl-hwcaps.c: Here.  New file.
59086         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59088         [BZ #14557]
59089         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59090         if IS_IN_rtld isn't defined.
59092         * elf/dl-support.c (_dl_sysinfo_map): New.
59093         Include "get-dynamic-info.h" and "setup-vdso.h".
59094         (_dl_non_dynamic_init): Call setup_vdso.
59095         * elf/dynamic-link.h: Don't include <assert.h>.
59096         (elf_get_dynamic_info): Moved to ...
59097         * elf/get-dynamic-info.h: Here.  New file.
59098         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59099         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59100         * elf/setup-vdso.h: Here.  New file.
59101         * elf/rtld.c: Include "setup-vdso.h".
59102         (dl_main): Call setup_vdso.
59104 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59106         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59107         creal in comment listing functions tested.  List finite, isinf,
59108         isnan, isless, islessequal, isgreater, isgreaterequal,
59109         islessgreater, isunordered, lgamma_r and pow10 as functions and
59110         macros not tested.  Mention which functions not tested are aliases
59111         for other functions.  Fix typo.  Note that signs of NaNs are not
59112         tested.
59114         * scripts/config.guess: Update from config.git.
59115         * scripts/config.sub: Likewise.
59117 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59119         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59120         * misc/madvise.c (madvise): Renamed to __madvise.
59121         Make madvise a weak alias.
59122         * include/sys/mman.h: Declare __madvise.
59123         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59124         * sysdeps/unix/syscalls.list
59125         (madvise): Make __madvise the strong name, and madvise a weak alias.
59126         * sysdeps/unix/sysv/linux/syscalls.list
59127         (madvise, mmap): Remove redundant entries.
59128         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59129         * malloc/malloc.c (mtrim): Likewise.
59130         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59132 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59134         * sysdeps/mach/hurd/dl-cache.c: File removed.
59135         * config.h.in (USE_LDCONFIG): New #undef.
59136         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59137         * configure: Regenerated.
59138         * elf/Makefile (dl-routines): Add dl-cache only under
59139         [$(use-ldconfig) = yes].
59140         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59141         cache on [USE_LDCONFIG].
59142         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59143         [USE_LDCONFIG].
59144         * elf/rtld.c (dl_main): Likewise.
59146 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59148         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59149         _SC_LEVEL4_CACHE_LINESIZE.
59151 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59153         * sysdeps/unix/bsd/confstr.h: File removed.
59155 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59157         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59158         sys/sdt-config.h.
59160 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59162         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59163         Make 'mapoff' field ElfW(Off) rather than off_t.
59165 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59167         * nscd/Makefile: Remove nscd-cflags and all its users.
59168         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59169         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59171         [BZ #10631]
59172         * malloc.c (malloc_printerr): Clarify error message.
59174 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59176         [BZ #14648]
59177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59178         Set bit_FMA_Usable if FMA is supported.
59179         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59180         macro.
59181         (bit_FMA4_Usable): Updated.
59182         (index_FMA_Usable): New macro.
59183         (CPUID_FMA): Likewise.
59184         (HAS_FMA): Defined with bit_FMA_Usable.
59186 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59188         * bits/types.h (__swblk_t): Type removed.
59189         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59190         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59191         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59192         (__SWBLK_T_TYPE): Likewise.
59193         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59194         (__SWBLK_T_TYPE): Likewise.
59195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59196         (__SWBLK_T_TYPE): Likewise.
59197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59198         (__SWBLK_T_TYPE): Likewise.
59200 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59201             Honza Horak <hhorak@redhat.com>
59203         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59204         (xdr_mapname): Use YPMAXMAP as maxsize.
59205         (xdr_peername): Use YPMAXPEER as maxsize.
59206         (xdr_keydat): Use YPAXRECORD as maxsize.
59207         (xdr_valdat): Use YPMAXRECORD as maxsize.
59209 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59211         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59213         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59214         * csu/init-first.c: ... here.
59215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59216         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59217         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59218         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59219         * sysdeps/i386/init-first.c: File removed.
59220         * sysdeps/sh/init-first.c: File removed.
59222 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59224         [BZ #14645]
59225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59226         if x * y might underflow to zero and z is zero.
59227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59229         * math/libm-test.inc (min_subnorm_value): New variable.
59230         (fma_test): Add more tests.
59231         (fma_test_towardzero): Likewise.
59232         (fma_test_downward): Likewise.
59233         (fma_test_upward): Likewise.
59234         (initialize): Set min_subnorm_value.
59236 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59238         [BZ #14638]
59239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59240         0 + 0.
59241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59242         mode for addition resulting in exact zero.
59243         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59244         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59245         exact 0 + 0.
59246         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59248         * math/libm-test.inc (fma_test): Add more tests.
59249         (fma_test_towardzero): New function.
59250         (fma_test_downward): Likewise.
59251         (fma_test_upward): Likewise.
59252         (main): Call the new functions.
59254 2012-09-28  David S. Miller  <davem@davemloft.net>
59256         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59258 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59260         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59261         instead of SIGALRM.
59263         * sysdeps/gnu/_G_config.h: Moved to ...
59264         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59265         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59266         * sysdeps/generic/_G_config.h: ... here.
59268         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59270         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59272         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59273         Conditionalize target on [libnss_test1.so-version].
59275         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59277         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59278         (elfobjdir): Move out of conditionals.
59280         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59281         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59282         (__nss_lookup_function): Conditionalize label remove_from_tree on
59283         [!DO_STATIC_NSS || SHARED], matching its only use.
59285 2012-09-28  David S. Miller  <davem@davemloft.net>
59287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59288         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59289         file.
59290         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59291         sysdep_routines.
59292         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59294         when HWCAP_SPARC_CRYPTO is present.
59296 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59298         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59300 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59302         [BZ #6530]
59303         * stdio-common/vfprintf.c (process_string_arg): Revert
59304         2000-07-22 change.
59306 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59308         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59309         for testcase.
59310         * stdio-common/tst-sprintf.c: Include <locale.h>
59311         (main): Test sprintf's handling of incomplete multibyte
59312         characters.
59314 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59316         * elf/dl-runtime.c (VERSYMIDX): Removed.
59317         * elf/dl-version.c (VERSYMIDX): Likewise.
59318         * elf/do-rel.h (VERSYMIDX): Likewise.
59319         (VALIDX): Likewise.
59320         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59321         * elf/rtld.c (VALIDX): Likewise.
59322         (ADDRIDX): Likewise.
59323         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59324         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59325         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59326         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59327         (VALIDX): Likewise.
59328         (ADDRIDX): Likewise.
59330 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59332         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59334 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59336         [BZ #11438]
59337         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59338         to global scope.
59339         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59340         addresses are in the same scope as 192.0.2/24.
59341         * posix/gai.conf: Document new scope table defaults.
59343 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59345         [BZ #5298]
59346         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59347         for ftell.  Compute offsets from write pointers instead.
59348         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59350 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59352         [BZ #14543]
59353         * libio/Makefile (tests): New test case tst-fseek.
59354         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59355         combination works in wide mode.
59356         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59357         state when the external buffer state changes.
59359 2012-09-27  David S. Miller  <davem@davemloft.net>
59361         [BZ #14376]
59362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59363         pass reloc->r_addend in as the 'high' argument to
59364         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59368 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59370         * rt/tst-aio2.c: Include <pthread.h>.
59371         * rt/tst-aio3.c: Likewise.
59373 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59375         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59377 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59379         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59380         contents on [SHARED].
59382 2012-09-26  Marek Polacek  <polacek@redhat.com>
59384         [BZ #14530]
59385         [BZ #13741]
59386         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59387         for C++ and GCC <4.3 as well as for non GCC compilers.
59389 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59393 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59395         * Makefile.in (all, install): Declare with .PHONY.
59396         Reported by Michael Hope <michael.hope@linaro.org>.
59398 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59400         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59401         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59402         system header.
59403         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59404         Likewise.
59405         (sydep_routines): Add the new and the internal functions.
59406         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59407         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59409         (GLIBC_2.17): Add the new function.
59410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59411         (GLIBC_2.17): Likewise.
59412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59413         (GLIBC_2.17): Likewise.
59414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59415         (GLIBC_2.17): Likewise.
59416         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59418 2012-09-25  Alan Modra  <amodra@gmail.com>
59420         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59421         Add release barrier before setting once_control to say
59422         initialisation is done.  Add hints on lwarx.  Use macro in
59423         place of isync.
59424         (clear_once_control): Add release barrier.
59426 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59428         [BZ #13629]
59429         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59430         specially.
59431         * math/s_clog10.c (__clog10): Likewise.
59432         * math/s_clog10f.c (__clog10f): Likewise.
59433         * math/s_clog10l.c (__clog10l): Likewise.
59434         * math/s_clogf.c (__clogf): Likewise.
59435         * math/s_clogl.c (__clogl): Likewise.
59436         * math/Makefile (libm-calls): Add x2y2m1.
59437         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59438         (__x2y2m1): Likewise.
59439         (__x2y2m1l): Likewise.
59440         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59441         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59444         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59445         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59446         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59447         * sysdeps/i386/fpu/libm-test-ulps: Update.
59448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59450         [BZ #14621]
59451         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59452         int as type of variable DEPTH.
59453         (glob): Use size_t instead of int as type of variables NEWCOUNT
59454         and OLD_PATHC.
59456 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59458         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59459         Add s_sincosf-sse2.
59460         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59461         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59462         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59463         macros for using routine as __sincosf_ia32.
59464         Use macro for function declaration and weak_alias.
59465         * sysdeps/i386/fpu/libm-test-ulps: Update.
59467         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59470         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59471         subnormal argument.
59472         * math/s_cexpf.c (__cexpf): Likewise.
59473         * math/s_csinf.c (__csinf): Likewise.
59474         * math/s_csinhf.c (__csinhf): Likewise.
59475         * math/s_ctanf.c (__ctanf): Likewise.
59476         * math/s_ctanhf.c (__ctanhf): Likewise.
59477         * math/s_ccosh.c (__ccoshf): Likewise.
59478         * math/s_cexp.c (__cexpl): Likewise.
59479         * math/s_csin.c (__csin): Likewise.
59480         * math/s_csinh.c (__csinh): Likewise.
59481         * math/s_ctan.c (__ctan): Likewise.
59482         * math/s_ctanh.c (ctanh): Likewise.
59483         * math/s_ccoshl.c (__ccoshl): Likewise.
59484         * math/s_cexpl.c (__cexpl): Likewise.
59485         * math/s_csinl.c (__csinl): Likewise.
59486         * math/s_csinhl.c (__csinhl): Likewise.
59487         * math/s_ctanl.c (__ctanl): Likewise.
59488         * math/s_ctanhl.c (__ctanhl): Likewise.
59490 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59492         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59493         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59494         (_IO_off_t): Define to __off_t, not _G_off_t.
59495         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59496         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59497         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59498         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59499         type of __dummy and __dummy2 fields.
59500         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59501         (_G_ssize_t): Likewise.
59502         (_G_off_t): Likewise.
59503         (_G_pid_t): Likewise.
59504         (_G_uid_t): Likewise.
59505         (_G_wchar_t): Likewise.
59506         (_G_wint_t): Likewise.
59507         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59508         (_G_ssize_t): Likewise.
59509         (_G_off_t): Likewise.
59510         (_G_pid_t): Likewise.
59511         (_G_uid_t): Likewise.
59512         (_G_wchar_t): Likewise.
59513         (_G_wint_t): Likewise.
59514         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59515         (_G_ssize_t): Likewise.
59516         (_G_off_t): Likewise.
59517         (_G_pid_t): Likewise.
59518         (_G_uid_t): Likewise.
59519         (_G_wchar_t): Likewise.
59520         (_G_wint_t): Likewise.
59522 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59524         * malloc/arena.c: Include malloc-sysdep.h.
59525         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59526         is sufficient to shrink the heap or an unmap is needed.
59527         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59528         new function check_may_shrink_heap.
59529         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59530         new function check_may_shrink_heap.
59532 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59534         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59535         comments.
59537 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59539         * catgets/test-gencat.sh: Add "set -e".
59540         * elf/tst-pathopt.sh: Likewise.
59541         * grp/tst_fgetgrent.sh: Likewise.
59542         * iconvdata/run-iconv-test.sh: Likewise.
59543         * intl/tst-gettext.sh: Likewise.
59544         * intl/tst-gettext2.sh: Likewise.
59545         * intl/tst-gettext4.sh: Likewise.
59546         * intl/tst-gettext6.sh: Likewise.
59547         * intl/tst-translit.sh: Likewise.
59548         * io/ftwtest-sh: Likewise.
59549         * libio/test-freopen.sh: Likewise.
59550         * malloc/tst-mtrace.sh: Likewise.
59551         * posix/globtest.sh: Likewise.
59552         * posix/tst-getconf.sh: Likewise.
59553         * posix/wordexp-tst.sh: Likewise.
59554         * stdio-common/tst-printf.sh: Likewise.
59555         * stdio-common/tst-unbputc.sh: Likewise.
59556         * stdlib/tst-fmtmsg.sh: Likewise.
59557         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59558         * catgets/Makefile: Do not specify -e option when running
59559         testsuite shell scripts.
59560         * elf/Makefile: Likewise.
59561         * grp/Makefile: Likewise.
59562         * iconvdata/Makefile: Likewise.
59563         * intl/Makefile: Likewise.
59564         * io/Makefile: Likewise.
59565         * libio/Makefile: Likewise.
59566         * malloc/Makefile: Likewise.
59567         * posix/Makefile: Likewise.
59568         * stdio-common/Makefile: Likewise.
59569         * stdlib/Makefile: Likewise.
59570         * sysdeps/x86_64/Makefile: Likewise.
59572         * io/ftwtest-sh: Add copyright header.
59573         * posix/globtest.sh: Likewise.
59574         * posix/tst-getconf.sh: Likewise.
59575         * posix/wordexp-tst.sh: Likewise.
59576         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59578 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59580         [BZ #13679]
59581         * Makeconfig (+link): Defined as $(+link-static) if
59582         $(build-shared) isn't yes.
59583         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59584         isn't yes.
59585         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59587         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59589         [BZ #14562]
59590         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59591         new chunk size with MALLOC_ALIGN_MASK.
59593 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59595         [BZ #5044]
59596         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59597         <rounding-mode.h>.
59598         (__printf_fphex): Determine rounding using get_rounding_mode and
59599         round_away.
59600         * stdio-common/tst-printf-round.c (struct hex_test): New
59601         structure.
59602         (hex_tests): New variable.
59603         (test_hex_in_one_mode): New function.
59604         (do_test): Also run tests for hex float output.
59606 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59608         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59609         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59610         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59611         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59612         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59613         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59614         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59615         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59617 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59619         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59620         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59621         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59622         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59624 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59626         [BZ #14579]
59627         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59628         mode only.
59629         * elf/tst-rtld-load-self.sh: New test.
59630         * elf/Makefile: Run it.
59632 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59634         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59635         (tst-writev-ENV): Remove.
59636         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59638 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59640         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59642 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59644         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59645         unconditional.
59646         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59647         Likewise.
59648         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59649         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59650         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59651         Likewise.
59653 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59655         [BZ #14587]
59656         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59657         * config.make.in (have-cpp-asm-debuginfo): Removed.
59658         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59659         * configure: Regenerated.
59661 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59663         [BZ #5044]
59664         * stdio-common/printf_fp.c: Include <stdbool.h> and
59665         <rounding-mode.h>.
59666         (___printf_fp): Determine rounding using get_rounding_mode and
59667         round_away.
59668         * stdio-common/tst-printf-round.c: New file.
59669         * stdio-common/Makefile (tests): Add tst-printf-round.
59670         (link-libm): New variable.
59671         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59673 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59675         [BZ #14576]
59676         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59677         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59678         Likewise.
59679         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59680         Likewise.
59682 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59684         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59685         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59686         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59687         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59689 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59691         [BZ #14518]
59692         * include/rounding-mode.h: New file.
59693         * sysdeps/generic/get-rounding-mode.h: Likewise.
59694         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59695         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59696         (MAX_VALUE): New macro.
59697         (MIN_VALUE): Likewise.
59698         (overflow_value): New function.
59699         (underflow_value): Likewise.
59700         (round_and_return): Use overflow_value and underflow_value to
59701         determine return values in overflow and underflow cases.  Use
59702         round_away to determine rounding depending on rounding mode.
59703         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59704         determine return values in overflow and underflow cases.
59705         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59706         (struct test_results): New structure.
59707         (struct test): Use struct test_results to store expected results
59708         for all rounding modes.
59709         (TEST): Include expected results for all rounding modes.
59710         (test_in_one_mode): New function.
59711         (do_test): Use test_in_one_mode to compute and check results.
59712         Check results for all rounding modes.
59713         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59714         $(link-libm).
59716 2012-12-09  Allan McRae  <allan@archlinux.org>
59718         * sysdeps/i386/fpu/libm-test-ulps: Update
59720 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59722         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59723         (_G_int32_t): Likewise.
59724         (_G_uint16_t): Likewise.
59725         (_G_uint32_t): Likewise.
59726         (_G_HAVE_BOOL): Likewise.
59727         (_G_HAVE_ATEXIT): Likewise.
59728         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59729         (_G_HAVE_IO_FILE_OPEN): Likewise.
59730         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59731         (_G_int32_t): Likewise.
59732         (_G_uint16_t): Likewise.
59733         (_G_uint32_t): Likewise.
59734         (_G_HAVE_BOOL): Likewise.
59735         (_G_HAVE_ATEXIT): Likewise.
59736         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59737         (_G_HAVE_IO_FILE_OPEN): Likewise.
59738         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59739         (_G_int32_t): Likewise.
59740         (_G_uint16_t): Likewise.
59741         (_G_uint32_t): Likewise.
59742         (_G_HAVE_BOOL): Likewise.
59743         (_G_HAVE_ATEXIT): Likewise.
59744         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59745         (_G_HAVE_IO_FILE_OPEN): Likewise.
59747 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59749         * csu/libc-tls.c: Update copyright years.
59751 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59753         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59754         [!_G_USING_THUNKS]: Remove conditional code.
59755         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59756         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59758         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59759         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59760         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59761         (_G_VTABLE_LABEL_PREFIX): Likewise.
59762         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59763         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59764         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59765         (_G_VTABLE_LABEL_PREFIX): Likewise.
59766         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59767         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59768         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59769         (_G_VTABLE_LABEL_PREFIX): Likewise.
59770         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59772 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59774         * libio/Makefile: Include ../Makeconfig before tests.
59775         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59776         only if $(build-shared) is yes.
59778         * iconv/gconv_db.c: Update copyright years.
59780 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59782         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59783         unwind info if defined PIC. Fix special cases description.
59784         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59786         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59787         DP_HI_MASK entry.
59788         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59790 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59792         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59794         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59795         is NULL.
59797         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59798         (LDLIBS-tst-chk4): This.
59799         (LDFLAGS-tst-chk5): Renamed to ...
59800         (LDLIBS-tst-chk5): This.
59801         (LDFLAGS-tst-chk6): Renamed to ...
59802         (LDLIBS-tst-chk6): This.
59803         (LDFLAGS-tst-lfschk4): Renamed to ...
59804         (LDLIBS-tst-lfschk4): This.
59805         (LDFLAGS-tst-lfschk5): Renamed to ...
59806         (LDLIBS-tst-lfschk5): This.
59807         (LDFLAGS-tst-lfschk6): Renamed to ...
59808         (LDLIBS-tst-lfschk6): This.
59810         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59811         on $(common-objpfx)soversions.mk.
59813 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59815         [BZ #10014]
59816         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59817         example host name.
59819 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59821         * malloc/arena.c (arena_get_retry): New function that gets
59822         another arena for the caller to try its request on.
59823         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59824         current arena cannot fulfill the request.
59825         (__libc_memalign): Likewise.
59826         (__libc_memalign): Likewise.
59827         (__libc_pvalloc): Likewise.
59828         (__libc_calloc): Likewise.
59830 2012-09-05  John Tobey  <john.tobey@gmail.com>
59832         [BZ #13542]
59833         * manual/arith.texi (Operations on Complex): Fix description
59834         of carg branch cut.
59836 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59838         [BZ #10014]
59839         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59840         host name.
59842         [BZ #10038]
59843         * manual/memory.texi (Memory): Make order of menu items match
59844         order of sections.
59846 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59848         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59849         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59850         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59852 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59854         * csu/libc-tls.c (static_dtv): Renamed to ...
59855         (_dl_static_dtv): This.  Make it global.
59856         (_dl_initial_dtv): Removed.
59857         (__libc_setup_tls): Updated.
59858         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59859         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59860         DL_INITIAL_DTV.
59862 2012-09-06  Petr Machata  <pmachata@redhat.com>
59864         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59865         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59866         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59867         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59869 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59871         [BZ #14545]
59872         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59873         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59874         freeing dtv[-1].
59876 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59878         [BZ #14544]
59879         * Makeconfig (link-static-before-libc): Replace $(+prector)
59880         with $(+prectorT).
59881         (link-static-after-libc): Replace $(+postctor) with
59882         $(+postctorT).
59883         (link-bounded): Replace $(+prector)/$(+postctor) with
59884         $(+prectorT)/$(+postctorT).
59885         (+prectorT): New macro.
59886         (+postctorT): Likewise.
59888 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59890         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59891         (round_str): Handle values above the maximum for IBM long double
59892         as inexact.
59893         * stdlib/tst-strtod-round.c (tests): Regenerated.
59895 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59897         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59898         assembler flag.
59899         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59900         zarch_nohighgprs around the zarch optimized routines.
59901         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59902         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59903         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59904         for zarch.
59906 2012-09-05  David S. Miller  <davem@davemloft.net>
59908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59910         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59911         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59912         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59913         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59914         entries.
59916 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59918         * malloc/arena.c: Fold copyright years.
59919         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59921 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59923         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59925 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59927         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59929 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59931         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59932         change internal state upon failure.
59934 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59936         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59937         * malloc/memusage.c (mmap): Likewise.
59938         (mmap64, mremap): Likewise.  Adjust name in comment.
59940 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59942         * libio/fileops.c: Fix typos in comments.
59943         * libio/oldfileops.c: Likewise.
59944         * libio/wfileops.c: Likewise.
59946 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59948         [BZ #1349]
59949         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59950         (tst-malloc-usable-ENV): Set environment for test case.
59951         * malloc/hooks.c (malloc_check_get_size): New function to get
59952         requested size.
59953         * malloc/malloc.c (musable): Use malloc_check_get_size.
59954         * malloc/tst-malloc-usable.c: New test case.
59956 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59958         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59960 2012-09-05  Allan McRae  <allan@archlinux.org>
59962         [BZ #13966]
59963         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59964         determine header location.
59965         * configure: Regenerated.
59967 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59969         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59970         float format.
59971         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59972         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59973         format.
59974         (test): Regenerate.
59976 2012-09-04  David S. Miller  <davem@davemloft.net>
59978         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59979         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59980         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59982 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59984         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59985         failures.
59987         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59989 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59991         [BZ #9914]
59992         * libio/iogetdelim.c: Include <limits.h>.
59993         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59994         + len + 1 would overflow.
59996 2012-09-03  Andreas Jaeger  <aj@suse.de>
59998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59999         * sysdeps/i386/fpu/libm-test-ulps: Update.
60001 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60003         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60004         Add s_sinf-sse2, s_conf-sse2.
60006         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60007         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60008         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60009         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60011         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60012         for using routine as __sinf_ia32.
60013         Use macro for function declaration and weak_alias.
60014         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60015         for using routine as __cosf_ia32.
60016         Use macro for function declaration and weak_alias.
60018         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60019         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60021         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60022         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60025         * math/libm-test.inc (cos_test): Add more test cases.
60026         (sin_test): Likewise.
60027         (sincos_test): Likewise.
60029 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60031         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60032         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60033         hidden.
60034         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60036 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60038         [BZ #14538]
60039         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60040         first element of the GOT.
60041         (elf_machine_load_address): Return the difference between
60042         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60044 2012-09-01  Allan McRae  <allan@archlinux.org>
60046         [BZ #13412]
60047         * configure.in (AWK): Require gawk version 3.0 or later.
60048         * configure: Regenerated.
60050 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60052         * sysdeps/unix/sysv/linux/kernel-features.h
60053         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60054         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60055         [__NR_clock_getres]: Make code unconditional.
60056         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60057         (clock_getcpuclockid): Remove code left unreachable by removal of
60058         conditionals.
60059         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60060         code unconditional.
60061         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60062         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60063         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60064         Make code unconditional.
60065         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60066         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60067         * sysdeps/unix/sysv/linux/clock_settime.c
60068         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60069         conditional code.
60070         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60071         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60073 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60075         [BZ #14476]
60076         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60077         scripts/test-installation.pl.
60079         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60080         and $ld_so_version if it is set.
60082 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60084         [BZ #14516]
60085         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60086         failure if reading from procfs failed.
60087         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60089 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60091         * sysdeps/unix/sysv/linux/kernel-features.h
60092         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60093         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60094         Remove conditional code.
60095         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60096         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60097         Remove conditional code.
60098         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60099         * sysdeps/unix/sysv/linux/i386/fxstat.c
60100         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60102         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60103         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60104         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60105         * sysdeps/unix/sysv/linux/i386/lxstat.c
60106         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60107         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60108         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60109         Remove conditional code.
60110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60111         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60112         Remove conditional code.
60113         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60114         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60115         <kernel-features.h>.
60116         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60117         Remove.
60118         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60119         Remove conditional code.
60120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60121         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60122         Remove conditional.
60124 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60126         [BZ #5400]
60127         * NEWS: Add fixed bug number.
60129 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60131         [BZ #14519]
60132         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60133         underflowing exponent in case of negative sign.
60134         * stdlib/tst-strtod-round-data: Add more tests.
60135         * stdlib/tst-strtod-round.c (tests): Regenerated.
60137         [BZ #3479]
60138         * stdlib/strtod_l.c (NDIG): Remove.
60139         (HEXNDIG): Likewise.
60140         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60141         smallest representable value.
60142         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60143         lie within an exact representation of 1/2 ulp of the result.
60144         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60145         unconditionally.
60146         (TENS_P9_IDX): Define unconditionally.
60147         (TENS_P9_SIZE): Likewise.
60148         (TENS_P10_IDX): Likewise.
60149         (TENS_P10_SIZE): Likewise.
60150         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60151         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60152         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60153         entries for 10^2^13 and 10^2^14.
60154         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60155         (TENS_P13_IDX): Define.
60156         (TENS_P13_SIZE): Likewise.
60157         (TENS_P14_IDX): Likewise.
60158         (TENS_P14_SIZE): Likewise.
60159         (_fpioconst_pow10): Change array size to
60160         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60161         unconditional.
60162         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60163         1024]: Add entries for 10^2^13 and 10^2^14.
60164         [LAST_POW10 > _LAST_POW10]: Remove #error.
60165         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60166         (_fpioconst_pow10): Change array size to
60167         FPIOCONST_POW10_ARRAY_SIZE.
60168         * stdlib/gen-fpioconst.c: New file.
60169         * stdlib/gen-tst-strtod-round.c: Likewise.
60170         * stdlib/tst-strtod-round-data: Likewise.
60171         * stdlib/tst-strtod-round.c: Likewise.
60172         * stdlib/Makefile (tests): Add tst-strtod-round.
60174         [BZ #14459]
60175         * stdlib/strtod_l.c: Include <stdint.h>.
60176         (NDEBUG): Do not define.
60177         (round_and_return): Change EXPONENT parameter to type intmax_t.
60178         Rearrange calculations to avoid internal overflow possibilities.
60179         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60180         Rearrange calculations to avoid internal overflow possibilities.
60181         Assert that number fits inside MPNSIZE limbs.
60182         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60183         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60184         calculations and add assertions to avoid internal overflow
60185         possibilities.  Add casts to avoid signed/unsigned operations.
60186         * stdlib/tst-strtod-overflow.c: New file.
60187         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60189 2012-08-25  Marek Polacek  <polacek@redhat.com>
60191         * time/time.h: Fix some typos in comments.
60193 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60195         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60196         * posix/tst-rfc3484-2.c: Likewise.
60197         * posix/tst-rfc3484-3.c: Likewise.
60199 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60201         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60202         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60204 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60206         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60207         #include of fxstatat64.c.
60209 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60211         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60212         * shadow/getspent_r.c: Likewise.
60213         * shadow/getspnam.c: Likewise.
60214         * shadow/getspnam_r.c: Likewise.
60215         * gshadow/getsgent.c: Likewise.
60216         * gshadow/getsgent_r.c: Likewise.
60217         * gshadow/getsgnam.c: Likewise.
60218         * gshadow/getsgnam_r.c: Likewise.
60219         * inet/getnetbyad.c: Likewise.
60220         * inet/getnetbyad_r.c: Likewise.
60221         * inet/getnetbynm.c: Likewise.
60222         * inet/getnetbynm_r.c: Likewise.
60223         * inet/getnetent.c: Likewise.
60224         * inet/getnetent_r.c: Likewise.
60225         * inet/getproto.c: Likewise.
60226         * inet/getproto_r.c: Likewise.
60227         * inet/getprtent.c: Likewise.
60228         * inet/getprtent_r.c: Likewise.
60229         * inet/getprtname.c: Likewise.
60230         * inet/getprtname_r.c: Likewise.
60231         * inet/getrpcbyname.c: Likewise.
60232         * inet/getrpcbyname_r.c: Likewise.
60233         * inet/getrpcbynumber.c: Likewise.
60234         * inet/getrpcbynumber_r.c: Likewise.
60235         * inet/getrpcent.c: Likewise.
60236         * inet/getrpcent_r.c: Likewise.
60237         * inet/getaliasent.c: Likewise.
60238         * inet/getaliasent_r.c: Likewise.
60239         * inet/getaliasname.c: Likewise.
60240         * inet/getaliasname_r.c: Likewise.
60241         * nscd/getgrgid_r.c: Likewise.
60242         * nscd/getgrnam_r.c: Likewise.
60243         * nscd/gethstbyad_r.c: Likewise.
60244         * nscd/gethstbynm3_r.c: Likewise.
60245         * nscd/getpwnam_r.c: Likewise.
60246         * nscd/getpwuid_r.c: Likewise.
60247         * nscd/getsrvbynm_r.c: Likewise.
60248         * nscd/getsrvbypt_r.c: Likewise.
60249         * nscd/gai.c: Likewise.
60251         * configure.in (build_nscd): New substituted variable, set
60252         by --disable-build-nscd and defaults to $use_nscd.
60253         * configure: Regenerated.
60254         * config.make.in (build-nscd): New substituted variable.
60255         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60256         Change conditional to require [$(build-nscd) = yes] as well.
60257         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60259         [BZ# 13696]
60260         * configure.in (use_nscd): New substituted variable, set by
60261         --disable-nscd.  If enabled, define USE_NSCD.
60262         * configure: Regenerated.
60263         * config.h.in: Add USE_NSCD.
60264         * config.make.in (use-nscd): New substituted variable.
60265         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60266         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60267         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60268         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60269         (CFLAGS-getgrnam_r.c): Likewise.
60270         (CFLAGS-initgroups.c): Likewise.
60271         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60272         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60273         Variables removed.
60274         * inet/getnetgrent_r.c
60275         (nscd_setnetgrent): New function, broken out of ...
60276         (setnetgrent): ... here.  Call it.
60277         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60278         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60279         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60280         * nscd/Makefile (routines, aux): Move definitions after include of
60281         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60282         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60283         Conditionalize on [USE_NSCD].
60284         (is_nscd, nscd_init_cb): Likewise.
60285         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60286         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60287         * nss/nss_db/db-init.c: Likewise.
60288         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60289         [USE_NSCD].
60290         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60291         (make_request): Use it.
60292         (cache_valid_p): New function.
60293         (__check_pf): Use it.
60294         * NEWS: Add item for --disable-nscd.
60296 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60298         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60299         to support sed >= 4.2.1-20-ga9bf076.
60300         * configure: Regenerated.
60302 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60304         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60305         Conditionalize whole body on [IREL].
60307 2012-08-22  Jeff Law <law@redhat.com>
60309         [BZ #14505]
60310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60311         if the family is PF_UNSPEC.
60313 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60315         * Makerules (lib-version): Rename from V.
60316         (install-lib-nosubdir): Change V to lib-version.
60318 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60320         [BZ #14252]
60321         * powerpc32/power6/wcschr.c: New file.
60322         * powerpc32/power6/wcscpy.c: New file.
60323         * powerpc32/power6/wcsrchr.c: New file.
60324         * powerpc64/power6/wcschr.c: New file.
60325         * powerpc64/power6/wcscpy.c: New file.
60326         * powerpc64/power6/wcsrchr.c: New file.
60328 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60330         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60331         (two_way_short_needle): Use it.
60332         * string/strstr.c (AVAILABLE1_USES_J): Define.
60333         * string/strcasestr.c: Likewise.
60335         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60336         array references.
60337         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60339         [BZ #11607]
60340         * NEWS: Add an entry.
60341         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60342         define their defaults.
60343         (two_way_short_needle): Detect end-of-string on-the-fly.
60344         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60345         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60346         * string/bug-strcasestr1.c: New test.
60347         * string/Makefile: Run it.
60349 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60351         [BZ #11607]
60352         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60353         the first character.
60355 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60357         * csu/elf-init.c (__libc_csu_irel): Function removed.
60358         * csu/libc-start.c (apply_irel): New function.
60359         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60361 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60363         * sysdeps/unix/sysv/linux/kernel-features.h
60364         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60365         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60366         <kernel-features.h>.
60367         [__NR_fadvise64_64]: Make code unconditional.
60368         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60369         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60370         !__NR_fadvise64_64)]: Likewise.
60371         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60372         !__NR_fadvise64_64))]: Likewise.
60373         [__NR_fadvise64]: Make code unconditional.
60374         [!__NR_fadvise64]: Remove conditional code.
60375         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60376         <kernel-features.h>.
60377         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60378         unconditional.
60379         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60380         conditional code.
60381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60382         not include <kernel-features.h>.
60383         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60384         unconditional.
60385         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60386         conditional code.
60387         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60388         include <kernel-features.h>.
60389         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60390         unconditional.
60391         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60392         conditional code.
60394 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60397         slight instruction rearrangements per scrollpipe analysis.
60398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60400 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60402         * manual/syslog.texi (syslog; vsyslog, closelog):
60403         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60404         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60406         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60407         DSOCAPS to match condition on defining it.
60409 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60411         * sysdeps/unix/sysv/linux/kernel-features.h
60412         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60414         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60415         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60417         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60418         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60420         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60421         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60423         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60424         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60426         * sysdeps/unix/sysv/linux/kernel-features.h
60427         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60428         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60429         unconditional.
60430         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60431         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60432         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60433         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60434         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60435         Make code unconditional.
60436         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60437         (__mmap64) [!__NR_mmap2]: Likewise.
60438         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60439         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60440         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60441         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60442         [__NR_mmap2]: Make code unconditional.
60443         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60444         (__mmap64) [!__NR_mmap2]: Likewise.
60446 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60448         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60450 2012-08-18  Andreas Jaeger  <aj@suse.de>
60452         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60454 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60456         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60457         * include/unistd.h (__have_sock_cloexec): Likewise.
60458         (__have_pipe2): Likewise.
60459         (__have_dup3): Likewise.
60461 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60463         [BZ #9685]
60464         * include/unistd.h (__have_pipe2): Change define into an extern int.
60465         (__have_dup3): Likewise.
60466         * socket/have_sock_cloexec.c: Include fcntl.h.
60467         (__have_pipe2): New variable.
60468         (__have_dup3): Likewise.
60470 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60472         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60474 2012-08-17  Marek Polacek  <polacek@redhat.com>
60476         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60477         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60479 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60481         * configure.in: Add AC_SUBST for sysheaders.
60482         * configure: Regenerated.
60483         * config.make.in (sysheaders): New substituted variable.
60485         * sysdeps/unix/mkfifo.c: Moved ...
60486         * sysdeps/posix/mkfifo.c: ... here.
60487         * sysdeps/unix/mkfifoat.c: Moved ...
60488         * sysdeps/posix/mkfifoat.c: ... here.
60490         * sysdeps/unix/utime.c: Moved ...
60491         * sysdeps/posix/utime.c: ... here.
60493         * sysdeps/unix/time.c: Moved ...
60494         * sysdeps/posix/time.c: ... here.
60495         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60496         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60498         * sysdeps/unix/nice.c: Moved ...
60499         * sysdeps/posix/nice.c: ... here.
60501         * sysdeps/unix/alarm.c: Moved ...
60502         * sysdeps/posix/alarm.c: ... here.
60504         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60506 2012-08-17  Jeff Law <law@redhat.com>
60508         * intl/Makefile (codeset_mo): New variable.
60509         ($(codeset_mo)): New target.
60510         (tst-codeset.out): Depend on that.  Remove explicit rule.
60511         (tst-gettext3.out, tst-gettext5.out): Likewise.
60512         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60513         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60514         * intl/tst-codeset.sh: Remove.
60515         * intl/tst-gettext3.sh: Likewise.
60516         * intl/tst-gettext5.sh: Likewise.
60518 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60520         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60521         * sysdeps/unix/syscalls.list: ... here.
60523         * sysdeps/posix/getaddrinfo.c
60524         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60525         (gaiconf_init, gaiconf_reload): Use them.
60526         [!_STATBUF_ST_NSEC]
60527         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60528         Define using time_t rather than struct timespec.
60530         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60531         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60532         Macros removed.
60533         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60534         [!NO_THREADS].
60535         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60536         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60537         Likewise.
60539         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60540         __libc_cleanup_push argument.
60542         * bits/param.h: New file.
60543         * misc/sys/param.h: New file.
60544         * include/sys/param.h: New file.
60545         * misc/Makefile (headers): Add bits/param.h.
60546         * sysdeps/generic/sys/param.h: File removed.
60547         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60548         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60549         * sysdeps/mach/hurd/bits/param.h: New file.
60550         * sysdeps/mach/hurd/sys/param.h: File removed.
60552         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60553         last change.
60555         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60556         [_IO_MTSAFE_IO].
60557         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60558         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60559         New macros.
60561         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60562         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60563         rather than -D_IO_MTSAFE_IO conditionally.
60564         * stdio-common/Makefile (CPPFLAGS): Likewise.
60565         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60566         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60567         Use $(libio-mtsafe).
60568         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60569         of -D_IO_MTSAFE_IO.
60570         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60571         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60572         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60573         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60574         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60575         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60576         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60577         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60578         (CFLAGS-fread_u_chk.c): Likewise.
60579         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60580         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60581         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60582         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60583         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60584         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60585         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60586         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60587         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60589         * libio/Makefile: Test [$(libc-reentrant) = yes]
60590         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60592         * Makeconfig
60593         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60594         * sysdeps/pthread/configure: File removed.
60595         * sysdeps/pthread/Makeconfig: New file.
60596         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60597         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60599 2012-08-16  Gary Benson  <gbenson@redhat.com>
60601         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60602         unmapping the first object in a namespace.
60604 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60606         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60607         (__internal_setnetgrent): ... this.  Add internal_function to
60608         definition.  Add libc_hidden_def.
60609         (setnetgrent): Update caller.
60610         (internal_endnetgrent): Renamed to ...
60611         (__internal_endnetgrent): ... this.  Add internal_function to
60612         definition.  Add libc_hidden_def.
60613         (endnetgrent): Update caller.
60614         (internal_getnetgrent_r): Renamed to ...
60615         (__internal_getnetgrent_r): ... this.  Add internal_function to
60616         definition.  Add libc_hidden_def.
60617         (__getnetgrent_r): Update caller.
60618         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60620 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60622         * stdlib/longlong.h: Update from GCC.
60624 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60626         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60627         on _QL, which is set by umul_ppmm but never used.
60628         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60629         variables, which are set by GMP macros but never used.
60630         * stdio-common/_itowa.c (_itowa): Likewise.
60631         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60632         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60634 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60636         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60637         struct La_sh_regs is not constant.
60638         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60639         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60640         and struct La_sparc64_regs are not constant.
60642 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60644         * sysdeps/unix/sysv/linux/kernel-features.h
60645         (__ASSUME_POSIX_TIMERS): Remove.
60646         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60647         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60648         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60649         Make code unconditional.
60650         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60651         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60652         Make code unconditional.
60653         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60654         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60655         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60656         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60657         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60658         Make code unconditional.
60659         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60660         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60661         (__libc_missing_posix_timers): Remove.
60663 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60665         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60666         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60668         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60670         * elf/dl-sym.c: Include <stdlib.h>.
60672         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60673         constants, which avoids warnings in 32-bit builds.
60675         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60676         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60678         * misc/lseek.c: File moved to ...
60679         * io/lseek.c: ... here.
60681         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60683         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60684         shifting LEN more than 31 bits at once.
60686 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60688         [BZ #14195]
60689         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60690         segmentation fault for a case of two empty input strings.
60691         * string/test-strncasecmp.c (check1): Renamed to...
60692         (bz12205): ...this.
60693         (bz14195): Add new testcase for two empty input strings and N > 0.
60694         (test_main): Call new testcase, adapt for renamed function.
60696 2012-08-15  Andreas Jaeger  <aj@suse.de>
60698         [BZ #14090]
60699         * crypt/md5test2.c: New test, based on test supplied by Serge
60700         Belyshev <belyshev@depni.sinp.msu.ru>.
60701         * crypt/Makefile (xtests): Add md5test-giant..
60702         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60704 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60706         [BZ #14090]
60707         * crypt/md5.c (md5_process_block): Don't assume the buffer
60708         length is less than 2**32.
60709         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60710         length is less than 2**64.
60712 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60714         * string/str-two-way.h: Include <sys/param.h>.
60715         (MAX): Macro removed.
60717         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60718         Move #define and #undef of memmove to just before and after
60719         including <string.h>.
60721         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60722         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60723         and after including <string.h>.  Move declarations of
60724         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60725         to before #include "string/memmove.c".
60727         * include/dirent.h: Declare __getdirentries.
60729         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60730         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60732 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60734         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60735         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60736         * sysdeps/i386/configure: Regenerated.
60737         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60738         STABS_CURRENT_FILE, and STABS_FUN.
60739         (END): Remove call to STABS_FUN_END.
60740         (STABS_CURRENT_FILE1): Delete.
60741         (STABS_CURRENT_FILE): Likewise.
60742         (STABS_FUN): Likewise.
60743         (STABS_FUN_END): Likewise.
60744         (STABS_FUN2): Likewise.
60745         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60746         * sysdeps/x86_64/configure: Regenerated.
60748 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60750         * elf/dl-open.c: Include <atomic.h>.
60751         * elf/dl-lookup.c: Likewise.
60753 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60755         * sysdeps/unix/sysv/linux/kernel-features.h
60756         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60757         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60758         unconditionally.
60759         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60760         unconditionally.
60761         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60762         condition on __ASSUME_CLONE_THREAD_FLAGS.
60764 2012-08-14  Andreas Jaeger  <aj@suse.de>
60766         * sysdeps/i386/fpu/libm-test-ulps: Update.
60768 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60770         * include/atomic.h (atomic_exchange_and_add): Split into ...
60771         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60772         New atomic macros.
60774 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60778 2012-08-13  Jeff Law <law@redhat.com>
60780         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60781         null byte in the output string.
60783 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60785         * sysdeps/unix/sysv/linux/kernel-features.h
60786         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60787         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60788         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60789         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60790         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60791         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60792         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60794 2012-08-09  Jeff Law <law@redhat.com>
60796         [BZ #13939]
60797         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60798         When avoid_arena is set, don't retry in the that arena.  Pick the
60799         next one, whatever it might be.
60800         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60801         (arena_lock): Pass in new parameter to arena_get2.
60802         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60803         arena_get2.
60804         (__libc_malloc): Unify retrying after main arena failure with
60805         __libc_memalign version.
60806         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60808 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60810         [BZ #14166]
60811         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60812         to __redirect_strstr.
60813         (__strstr_sse42): Use typeof __redirect_strstr.
60814         (__strstr_ia32): Likewise.
60815         (__libc_strstr): New prototype.
60816         (strstr): Renamed to ...
60817         (__libc_strstr): This.
60818         (strstr): New strong alias of __libc_strstr.
60819         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60820         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60821         __redirect_time.
60822         Include <time.h>.
60823         (__libc_time): New prototype.
60824         (time_ifunc): Replace time with __libc_time.
60825         (time): New strong alias and hidden definition of __libc_time.
60826         (__GI_time): Remove strong alias.
60827         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60828         Include <stddef.h>.
60829         (memmove): Redefined to __redirect_memmove.
60830         (__memmove_sse2): Use typeof __redirect_memmove.
60831         (__memmove_ssse3): Likewise.
60832         (__memmove_ssse3_back): Likewise.
60833         (__libc_memmove): New prototype.
60834         (memmove): Renamed to ...
60835         (__libc_memmove): This.
60836         (memmove): New strong alias of __libc_memmove.
60838 2012-08-08  Mark Salter  <msalter@redhat.com>
60840         * elf/elf.h
60841         (R_MN10300_TLS_GD): Define.
60842         (R_MN10300_TLS_LD): Likewise.
60843         (R_MN10300_TLS_LDO): Likewise.
60844         (R_MN10300_TLS_GOTIE): Likewise.
60845         (R_MN10300_TLS_IE): Likewise.
60846         (R_MN10300_TLS_LE): Likewise.
60847         (R_MN10300_TLS_DTPMOD): Likewise.
60848         (R_MN10300_TLS_DTPOFF): Likewise.
60849         (R_MN10300_TLS_TPOFF): Likewise.
60850         (R_MN10300_SYM_DIFF): Likewise.
60851         (R_MN10300_ALIGN): Likewise.
60852         (R_MN10300_NUM): Update.
60854 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60857         Remove.
60859 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60861         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60863         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60864         sysdeps/unix -> sysdeps/posix move.
60865         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60867 2012-08-07      Allan McRae     <allan@archlinux.org>
60869         [BZ #14303]
60870         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60871         (SUNOS_CPP): Likewise.
60872         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60873         not found.
60874         (open_input): Call CPP using execvp.
60876 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60878         * sysdeps/unix/sysv/linux/kernel-features.h
60879         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60880         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60881         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60882         (__ASSUME_WAITID_SYSCALL): Likewise.
60883         * sysdeps/unix/sysv/linux/dl-execstack.c
60884         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60885         code unconditional.
60886         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60887         conditional code.
60888         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60889         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60890         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60891         code.
60892         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60893         unconditional.
60894         [__ASSUME_WAITID_SYSCALL]: Likewise.
60895         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60897 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60899         * sysdeps/unix/closedir.c: Renamed to ...
60900         * sysdeps/posix/closedir.c: ... here.
60901         * sysdeps/unix/dirfd.c: Renamed to ...
60902         * sysdeps/posix/dirfd.c: ... here.
60903         * sysdeps/unix/dirstream.h: Renamed to ...
60904         * sysdeps/posix/dirstream.h: ... here.
60905         * sysdeps/unix/fdopendir.c: Renamed to ...
60906         * sysdeps/posix/fdopendir.c: ... here.
60907         * sysdeps/unix/opendir.c: Renamed to ...
60908         * sysdeps/posix/opendir.c: ... here.
60909         * sysdeps/unix/readdir.c: Renamed to ...
60910         * sysdeps/posix/readdir.c: ... here.
60911         * sysdeps/unix/readdir_r.c: Renamed to ...
60912         * sysdeps/posix/readdir_r.c: ... here.
60913         * sysdeps/unix/rewinddir.c: Renamed to ...
60914         * sysdeps/posix/rewinddir.c: ... here.
60915         * sysdeps/unix/seekdir.c: Renamed to ...
60916         * sysdeps/posix/seekdir.c: ... here.
60917         * sysdeps/unix/telldir.c: Renamed to ...
60918         * sysdeps/posix/telldir.c: ... here.
60919         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60920         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60921         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60922         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60924         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60925         * bits/fcntl.h: ... here.
60927         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60928         not 0.
60929         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60930         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60931         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60932         (struct flock): Move l_start, l_len to the beginning.
60933         Use __pid_t for l_pid.
60934         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60935         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60936         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60937         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60938         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60939         [__USE_LARGEFILE64] (struct flock64): New type.
60940         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60942         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60943         * bits/dirent.h: ... here.
60945         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60946         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60948 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60951         Change from 2.6.0 to 2.6.16.
60952         * sysdeps/unix/sysv/linux/configure: Regenerated.
60953         * sysdeps/unix/sysv/linux/kernel-features.h
60954         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60955         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60956         version.
60957         (__ASSUME_UTIMES): Likewise.
60958         (__ASSUME_CLONE_STOPPED): Remove.
60959         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60960         architectures, not kernel version.
60961         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60962         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60963         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60964         (__ASSUME_WAITID_SYSCALL): Likewise.
60965         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60966         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60967         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60968         refer to older versions.
60970 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60972         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60973         Define alphasort64 as an alias.
60974         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60975         Define versionsort64 as an alias.
60976         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60977         Define scandir64 as an alias.
60978         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60979         Define scandirat64 as an alias.
60980         * dirent/alphasort64.c (alphasort64):
60981         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60982         * dirent/versionsort64.c: Likewise.
60983         * dirent/scandir64.c: Likewise.
60984         * dirent/scandirat64.c: Likewise.
60985         * sysdeps/wordsize-64/alphasort.c: File removed.
60986         * sysdeps/wordsize-64/alphasort64.c: File removed.
60987         * sysdeps/wordsize-64/scandir.c: File removed.
60988         * sysdeps/wordsize-64/scandir64.c: File removed.
60989         * sysdeps/wordsize-64/scandirat.c: File removed.
60990         * sysdeps/wordsize-64/scandirat64.c: File removed.
60991         * sysdeps/wordsize-64/versionsort.c: File removed.
60992         * sysdeps/wordsize-64/versionsort64.c: File removed.
60993         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60994         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60995         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60997         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60999         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61000         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61002         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61004         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61005         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61006         [defined __arch64__ || defined __sparcv9]
61007         (__INO_T_MATCHES_INO64_T): New macro.
61008         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61009         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61010         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61011         * sysdeps/unix/sysv/linux/bits/dirent.h
61012         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61013         (_DIRENT_MATCHES_DIRENT64): New macro.
61015         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61016         Define lockf64 as an alias.
61017         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61018         Define fseeko64 as an alias.
61019         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61020         Define ftello64 as an alias.
61021         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61022         Define _IO_fgetpos64 and fgetpos64 as aliases.
61023         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61024         Define _IO_fsetpos64 and fsetpos64 as aliases.
61025         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61026         Conditionalize body on this.
61027         * libio/fseeko64.c: Likewise.
61028         * libio/ftello64.c: Likewise.
61029         * libio/iofgetpos64.c: Likewise.
61030         * libio/iofsetpos64.c: Likewise.
61031         * sysdeps/wordsize-64/lockf.c: File removed.
61032         * sysdeps/wordsize-64/lockf64.c: File removed.
61033         * sysdeps/wordsize-64/fseeko.c: File removed.
61034         * sysdeps/wordsize-64/fseeko64.c: File removed.
61035         * sysdeps/wordsize-64/ftello.c: File removed.
61036         * sysdeps/wordsize-64/ftello64.c: File removed.
61037         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61038         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61039         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61040         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61041         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61043         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61044         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61045         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61046         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61047         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61049         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61050         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61052         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61054         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61056         [defined __arch64__ || defined __sparcv9]
61057         (__OFF_T_MATCHES_OFF64_T): New macro.
61058         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61059         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61061         (__OFF_T_MATCHES_OFF64_T): New macro.
61063 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61065         * stdlib/secure-getenv.c (__secure_getenv): Replace
61066         GLIBC_2_16 with GLIBC_2_17.
61068 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61070         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61071         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61073 2012-08-03  David S. Miller  <davem@davemloft.net>
61075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61077 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61079         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61080         Remove.
61081         (__ASSUME_CORRECT_SI_PID): Likewise.
61082         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61083         (__ASSUME_TMPFS_NAME): Likewise.
61084         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61085         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61086         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61087         (HAVE_AUX_SECURE): Make definition unconditional.
61088         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61089         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61091 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61093         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61094         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61095         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61096         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61097         __eloop_threshold instead of SYMLOOP_MAX.
61099         * sysdeps/generic/eloop-threshold.h: New file.
61100         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61101         of MAXSYMLINKS.
61102         * elf/chroot_canon.c (chroot_canon): Likewise.
61104 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61106         [BZ #13717]
61107         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61108         Change to 2.6.0 everywhere.
61109         * sysdeps/unix/sysv/linux/configure: Regenerated.
61110         * sysdeps/unix/sysv/linux/kernel-features.h
61111         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61112         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61113         kernel versions.
61114         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61115         (__ASSUME_FUTEX_REQUEUE): Remove.
61116         (__ASSUME_STATFS64): Define unconditionally.
61117         (__ASSUME_AT_SECURE): Likewise.
61118         (__ASSUME_CORRECT_SI_PID): Likewise.
61119         (__ASSUME_TGKILL): Define without depending on kernel version for
61120         i386.
61121         (__ASSUME_UTIMES): Likewise.
61122         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61123         kernel version.
61124         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61125         (__ASSUME_TMPFS_NAME): Likewise.
61126         * README: Update reference to Linux kernel versions.
61128 2012-08-02  Marek Polacek  <polacek@redhat.com>
61130         [BZ# 14150]
61131         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61132         libc_cv_asm_type_prefix with %.
61133         * configure: Regenerated.
61134         * include/libc-symbols.h: Remove comment about
61135         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61136         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61137         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61138         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61139         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61140         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61141         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61142         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61143         * elf/tst-unique2mod1.c: Likewise.
61144         * elf/tst-unique1mod2.c: Likewise.
61145         * elf/tst-unique1mod1.c: Likewise.
61146         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61147         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61148         Replace ASM_TYPE_DIRECTIVE with .type.
61149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61150         * sysdeps/i386/sysdep.h: Likewise.
61151         * sysdeps/x86_64/sysdep.h: Likewise.
61152         * sysdeps/sh/sysdep.h: Likewise.
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61154         Do not define ASM_TYPE_DIRECTIVE.
61155         * sysdeps/powerpc/sysdep.h: Likewise.
61156         * sysdeps/powerpc/powerpc32/sysdep.h:
61157         Replace ASM_TYPE_DIRECTIVE with .type.
61158         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61159         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61160         * sysdeps/i386/fpu/e_powf.S: Likewise.
61161         * sysdeps/i386/fpu/e_expl.S: Likewise.
61162         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61163         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61164         * sysdeps/i386/fpu/e_pow.S: Likewise.
61165         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61166         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61167         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61168         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61169         * sysdeps/i386/fpu/e_log2.S: Likewise.
61170         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61171         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61172         * sysdeps/i386/fpu/e_powl.S: Likewise.
61173         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61174         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61175         * sysdeps/i386/fpu/e_logl.S: Likewise.
61176         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61177         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61178         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61179         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61180         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61181         * sysdeps/i386/fpu/e_log.S: Likewise.
61182         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61183         * sysdeps/i386/fpu/e_logf.S: Likewise.
61184         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61185         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61186         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61187         * sysdeps/i386/fpu/e_log10.S: Likewise.
61188         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61189         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61190         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61191         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61192         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61193         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61194         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61195         * sysdeps/i386/i686/strtok.S: Likewise.
61196         * sysdeps/i386/i386-mcount.S: Likewise.
61197         * sysdeps/i386/strtok.S: Likewise.
61198         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61199         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61200         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61201         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61202         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61203         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61204         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61205         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61206         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61207         * sysdeps/x86_64/_mcount.S: Likewise.
61208         * sysdeps/x86_64/strtok.S: Likewise.
61209         * sysdeps/sh/_mcount.S: Likewise.
61211 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61213         * libio/iofopen.c: Include <fcntl.h>.
61214         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61215         (_IO_fopen64, fopen64): Define as aliases.
61216         * libio/iofopen64.c: Include <fcntl.h>.
61217         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61218         Conditionalize body on this.
61219         * sysdeps/wordsize-64/iofopen.c: File removed.
61220         * sysdeps/wordsize-64/iofopen64.c: File removed.
61222 2012-08-01  Marek Polacek  <polacek@redhat.com>
61224         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61225         Use dlfcn directly instead of a variable.
61226         (binfmt-subdir): Do not define.
61227         (dlfcn): Likewise.
61229 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61232         Remove all definitions.
61233         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61234         <kernel-features.h>.
61235         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61236         (miss_F_GETOWN_EX): Remove all definitions.
61237         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61238         macro definition.
61239         [!__ASSUME_FCNTL64]: Remove conditional code.
61240         [__ASSUME_FCNTL64]: Make code unconditional.
61241         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61242         <kernel-features.h>.
61243         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61244         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61245         (lockf64) [__NR_fcntl64]: Make code unconditional.
61246         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61248         * sysdeps/unix/sysv/linux/kernel-features.h
61249         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61250         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61251         Make code unconditional.
61252         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61253         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61255         [__NR_vfork]: Make code unconditional.
61256         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61257         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61259         [__NR_vfork]: Make code unconditional.
61260         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61261         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61263 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61265         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61266         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61268         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61269         Define mkstemp64 as an alias.
61270         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61271         Define mkstemps64 as an alias.
61272         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61273         Define mkostemp64 as an alias.
61274         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61275         Define mkostemps64 as an alias.
61276         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61277         Conditionalize body on this.
61278         * misc/mkostemp64.c: Likewise.
61279         * misc/mkostemps64.c: Likewise.
61280         * misc/mkstemps64.c: Likewise.
61281         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61282         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61283         * sysdeps/wordsize-64/mkostemp.c: File removed.
61284         * sysdeps/wordsize-64/mkstemp.c: File removed.
61285         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61286         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61287         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61288         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61290         [BZ #14138]
61291         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61292         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61293         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61294         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61296         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61297         compat_symbol macros from <shlib-compat.h> rather than the underlying
61298         default_symbol_version and symbol_version macros, so that DEFAULT
61299         lines in shlib-versions are respected.
61300         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61302 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61304         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61305         Declare with warn_unused_result.
61306         (setgid, setregid, setegid, setresgid): Likewise.
61307         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61308         Likewise.
61309         * WUR-REPORT: Remove set*id functions.
61311 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61313         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61315 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61317         [BZ #10191]
61318         * include/sys/socket.h (__libc_accept, __libc_accept4):
61319         Add attribute_hidden.
61320         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61322         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61323         use of PTR_MANGLE.
61324         * inet/getnetgrent_r.c (setup): Likewise.
61326         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61328 2012-07-31  David S. Miller  <davem@davemloft.net>
61330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61332 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61334         [BZ #13629]
61335         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61336         value between 1.0 and 2.0 and smaller part has absolute value less
61337         than 1.0.
61338         * math/s_clog10.c (__clog10): Likewise.
61339         * math/s_clog10f.c (__clog10f): Likewise.
61340         * math/s_clog10l.c (__clog10l): Likewise.
61341         * math/s_clogf.c (__clogf): Likewise.
61342         * math/s_clogl.c (__clogl): Likewise.
61343         * math/libm-test.inc (clog_test): Add more tests.
61344         (clog10_test): Likewise.
61345         * sysdeps/i386/fpu/libm-test-ulps: Update.
61346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61348 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61350         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61351         Exit with zero in case no suitable GID is found, and write a
61352         message to standard error.
61354 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61356         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61357         rather than to 1.
61358         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61359         (MAXPATHLEN): Removed.
61360         (NOGROUP, NODEV): New macros.
61361         (setbit, clrbit, isset, isclr): New macros.
61362         (howmany, roundup, powerof2): New macros.
61363         (DEV_BSIZE): New macro.
61365         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61366         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61368         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61369         definition on [!__NO_LONG_DOUBLE_MATH].
61371         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61372         PTR_MANGLE and PTR_DEMANGLE.
61374         * socket/accept4.c (accept4): Rename to __libc_accept4.
61375         Define accept4 as a weak alias.
61377         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61378         on [_DIRENT_HAVE_D_TYPE].
61379         * io/ftw.c (ftw_dir): Likewise.
61381         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61383         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61385         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61386         Use the BSD numbers rather than the arbitrary ones we had.
61387         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61388         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61389         (SIGXCPU, SIGXFSZ): New macros.
61390         (_NSIG): Now 32.
61392         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61393         initializer on [_LIBC_REENTRANT].
61395         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61396         definitions inside [_POSIX_MAPPED_FILES].
61398         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61400         * dirent/opendir.c: Include <fcntl.h>.
61402         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61403         (__libc_getspecific): Likewise.
61404         (__libc_key_create): Likewise.
61406         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61407         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61408         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61409         (tmpfile64): Define as alias.
61410         * sysdeps/wordsize-64/tmpfile.c: File removed.
61411         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61412         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61413         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61415         * stdio-common/vfscanf.c: Include <stdbool.h>.
61416         * nss/makedb.c: Likewise.
61417         * stdio-common/_i18n_number.h: Likewise.
61418         * argp/argp-help.c: Likewise.
61419         * posix/wordexp.c: Likewise.
61420         * sysdeps/posix/spawni.c: Likewise.
61421         * nss/nss_files/files-initgroups.c: Likewise.
61422         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61423         * nss/nss_files/files-initgroups.c: Likewise.
61424         * nss/nss_db/db-netgrp.c: Likewise.
61425         * nss/nss_db/db-initgroups.c: Likewise.
61426         * io/fchmodat.c: Include <sys/stat.h>.
61428         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61429         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61431         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61432         [HAVE_MMAP].
61434         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61435         Add multiple inclusion protection.
61437 2012-07-27  David S. Miller  <davem@davemloft.net>
61439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61441 2012-07-27  Gary Benson  <gbenson@redhat.com>
61443         [BZ #14298]
61444         * elf/rtld.c: Include <stap-probe.h>.
61445         (dl_main): Added static probes "init_start" and "init_complete".
61446         * elf/dl-load.c: Include <stap-probe.h>.
61447         (lose): Take new parameter "nsid".
61448         Added static probe "map_failed".
61449         (_dl_map_object_from_fd): Pass namespace id to lose.
61450         Added static probe "map_start".
61451         (open_verify): Pass namespace id to lose.
61452         * elf/dl-open.c: Include <stap-probe.h>.
61453         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61454         and "reloc_complete".
61455         * elf/dl-close.c: Include <stap-probe.h>.
61456         (_dl_close_worker): Added static probes "unmap_start" and
61457         "unmap_complete".
61458         * elf/rtld-debugger-interface.txt: New file documenting the above.
61460 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61462         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61463         rather than a string variable.
61464         * sunrpc/rpc_main.c (h_output): Likewise.
61465         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61467 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61469         * inet/check_native.c: New file.
61471 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61473         [BZ #13629]
61474         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61475         if larger part has absolute value 1.0.
61476         * math/s_clog10.c (__clog10): Likewise.
61477         * math/s_clog10f.c (__clog10f): Likewise.
61478         * math/s_clog10l.c (__clog10l): Likewise.
61479         * math/s_clogf.c (__clogf): Likewise.
61480         * math/s_clogl.c (__clogl): Likewise.
61481         * math/libm-test.inc (clog_test): Add more tests.
61482         (clog10_test): Likewise.
61483         * sysdeps/i386/fpu/libm-test-ulps: Update.
61484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61486         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61487         (pltexit): Likewise.
61488         (La_regs): Likewise.
61489         (La_retval): Likewise.
61490         (int_retval): Likewise.
61491         Update #error for removed macros to refer only to definitions in
61492         tst-audit.h.
61493         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61494         macro.
61495         (pltexit): Likewise.
61496         (La_regs): Likewise.
61497         (La_retval): Likewise.
61498         (int_retval): Likewise.
61499         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61500         macro.
61501         (pltexit): Likewise.
61502         (La_regs): Likewise.
61503         (La_retval): Likewise.
61504         (int_retval): Likewise.
61505         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61506         macro.
61507         (pltexit): Likewise.
61508         (La_regs): Likewise.
61509         (La_retval): Likewise.
61510         (int_retval): Likewise.
61511         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61512         macro.
61513         (pltexit): Likewise.
61514         (La_regs): Likewise.
61515         (La_retval): Likewise.
61516         (int_retval): Likewise.
61517         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61518         macro.
61519         (pltexit): Likewise.
61520         (La_regs): Likewise.
61521         (La_retval): Likewise.
61522         (int_retval): Likewise.
61523         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61524         macro.
61525         (pltexit): Likewise.
61526         (La_regs): Likewise.
61527         (La_retval): Likewise.
61528         (int_retval): Likewise.
61529         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61530         macro definitions in tst-audit.h.
61531         * sysdeps/i386/tst-audit.h: New file.
61532         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61533         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61534         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61535         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61536         * sysdeps/sh/tst-audit.h: Likewise.
61537         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61538         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61539         * sysdeps/x86_64/tst-audit.h: Likewise.
61541 2012-07-26  Andreas Jaeger  <aj@suse.de>
61543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61544         ptrace.
61546         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61547         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61548         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61549         PTRACE_O_MASK.
61550         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61551         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61552         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61554         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61555         value.
61557         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61558         _sigsys.
61559         (si_call_addr, si_syscall, si_arch): Define new macro.
61560         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61561         _sigsys.
61562         (si_call_addr, si_syscall, si_arch): Define new marcro.
61563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61564         _sigsys.
61565         (si_call_addr, si_syscall, si_arch): Define new macro.
61566         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61567         _sigsys.
61568         (si_call_addr, si_syscall, si_arch): Define new macro.
61570 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61572         [BZ #13717]
61573         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61574         Change to 2.4.21 where previously 2.4.1.
61575         * sysdeps/unix/sysv/linux/configure: Regenerated.
61576         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61577         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61578         Linux kernel version.
61579         (__ASSUME_STD_AUXV): Remove.
61580         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61581         kernel version.
61582         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61583         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61584         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61585         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61586         (__ASSUME_NETLINK_SUPPORT): Likewise.
61587         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61588         (__no_netlink_support): Remove conditional definition.
61589         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61590         Remove.
61591         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61592         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61593         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61594         (if_nameindex_ioctl): Remove.
61595         (if_nameindex_netlink): Do not handle __no_netlink_support.
61596         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61597         code.
61598         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61599         Remove conditional code.
61600         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61601         code.
61602         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61603         unconditional.
61604         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61605         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61606         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61607         Remove.
61608         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61609         [!__ASSUME_STD_AUXV]: Remove conditional code.
61610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61611         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61612         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61614         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61615         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61616         code.
61617         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61619         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61620         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61621         conditional code.
61622         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61624         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61625         code.
61626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61627         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61628         conditional code.
61629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61630         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61631         code unconditional.
61632         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61633         conditional code.
61634         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61635         unconditional.
61636         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61637         conditional code.
61638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61639         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61640         unconditional.
61641         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61642         conditional code.
61643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61644         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61645         code unconditional.
61646         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61647         conditional code.
61648         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61649         unconditional.
61650         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61651         conditional code.
61652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61653         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61654         code unconditional.
61655         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61656         conditional code.
61657         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61658         unconditional.
61659         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61660         conditional code.
61662 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61664         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61665         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61666         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61667         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61668         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61669         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61670         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61671         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61672         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61673         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61674         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61675         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61676         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61677         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61678         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61679         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61680         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61681         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61682         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61684         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61685         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61686         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61688 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61690         * Versions.def: Add GLIBC_2.17.
61691         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61692         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61693         Introduce __libc_secure_getenv.
61694         * stdlib/Versions (2.17): Add secure_getenv
61695         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61696         * stdlib/secure-getenv.c: Rename __secure_getenv to
61697         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61698         symbol __secure_getenv for GLIBC_2.0.
61699         * stdlib/tst-secure-getenv.c: New.
61700         * stdlib/Makefile (tests): Add testcase.
61701         * manual/startup.texi (Environment Access): Document
61702         secure_getenv.
61703         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61704         __libc_secure_getenv.
61705         * inet/ruserpass.c (ruserpass): Likewise.
61706         * malloc/mtrace.c (mtrace): Likewise.
61707         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61708         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61709         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61710         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61711         HAVE_SECURE_GETENV.
61712         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61713         __secure_getenv to __libc_secure_getenv.
61714         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61716         Likewise.
61717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61718         Likewise.
61719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61721         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61727 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61729         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61730         (struct La_i86_retval): Likewise.
61731         (struct La_x86_64_regs): Likewise.
61732         (struct La_x86_64_retval): Likewise.
61733         (struct La_x32_regs): Likewise.
61734         (struct La_x32_retval): Likewise.
61735         (struct La_ppc32_regs): Likewise.
61736         (struct La_ppc32_retval): Likewise.
61737         (struct La_ppc64_regs): Likewise.
61738         (struct La_ppc64_retval): Likewise.
61739         (struct La_sh_regs): Likewise.
61740         (struct La_sh_retval): Likewise.
61741         (struct La_s390_32_regs): Likewise.
61742         (struct La_s390_32_retval): Likewise.
61743         (struct La_s390_64_regs): Likewise.
61744         (struct La_s390_64_retval): Likewise.
61745         (struct La_sparc32_regs): Likewise.
61746         (struct La_sparc32_retval): Likewise.
61747         (struct La_sparc64_regs): Likewise.
61748         (struct La_sparc64_retval): Likewise.
61749         (struct audit_ifaces): Remove architecture-specific pltenter and
61750         pltexit members.
61751         * sysdeps/i386/ldsodefs.h: New file.
61752         * sysdeps/powerpc/ldsodefs.h: Likewise.
61753         * sysdeps/s390/ldsodefs.h: Likewise.
61754         * sysdeps/sh/ldsodefs.h: Likewise.
61755         * sysdeps/sparc/ldsodefs.h: Likewise.
61756         * sysdeps/x86_64/ldsodefs.h: Likewise.
61758 2012-07-25  Marek Polacek  <polacek@redhat.com>
61760         [BZ #6808]
61761         * math/libm-test.inc (yn_test): Add another test.
61762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61763         to ERANGE when the result is +-Inf.
61764         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61765         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61766         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61767         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61769 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61771         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61772         equal to 0.
61773         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61774         clock_t.
61775         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61777 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61779         * configure.in <sysdeps resolving>: Correct printing
61780         Implies_before.
61781         * configure: Regenerate.
61783 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61785         * math/w_ilogb.c: Include <limits.h>.
61786         * math/w_ilogbl.c: Likewise.
61788 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61790         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61791         va_copy.  Document allowing for unavailable va_copy only as
61792         pre-C99 compatibility.
61793         * manual/string.texi (Copying and Concatenation): Use va_copy
61794         instead of __va_copy in concat example.
61796 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61798         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61799         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61800         it if not null.
61802         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61803         with O_NOLINK passed to __file_name_lookup.
61805         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61806         with O_NOLINK passed to __file_name_lookup.
61808         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61809         negative N or less than NGIDS.
61811         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61812         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61813         enough.  Use memcpy instead of strncpy.
61815 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61817         * elf/Makefile (check-data): Remove.
61818         (localplt.data): New vpath directive.
61819         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61820         instead of $(check-data).
61821         * scripts/data/localplt-generic.data: Move to ...
61822         * sysdeps/generic/localplt.data: ... here.
61823         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61824         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61825         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61827         ... here.
61828         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61830         ... here.
61831         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61833         ... here.
61834         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61836         ... here.
61837         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61839         ... here.
61840         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61842         ... here.
61844 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61846         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61847         PPC32 and PPC64 files.
61848         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61849         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61851 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61853         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61854         __makecontext_ret to ...
61855         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61856         ... here and call exit if uc_link is NULL.  New file.
61857         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61858         __makecontext_ret.S.
61859         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61860         __makecontext_ret to ...
61861         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61862         ... here and call exit if uc_link is NULL.  New file.
61863         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61864         __makecontext_ret.S.
61866 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61868         * elf/elf.h (R_390_IRELATIVE): New definition.
61869         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61870         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61871         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61872         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61873         (elf_machine_lazy_rel): Likewise.
61874         * sysdeps/s390/dl-irel.h: New file.
61875         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61876         * sysdeps/s390/s390-64/memset.S: New asm code.
61877         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61878         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61879         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61880         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61881         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61882         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61884         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61885         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61886         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61887         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61888         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61889         * sysdeps/s390/s390-32/memset.S: New asm code.
61890         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61892 2012-07-17  Marek Polacek  <polacek@redhat.com>
61894         [BZ #14349]
61895         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61896         * sysdeps/s390/s390-64/configure.in: Likewise.
61897         * sysdeps/sparc/configure.in: Likewise.
61898         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61899         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61900         * sysdeps/i386/configure.in: Likewise.
61901         * sysdeps/x86_64/configure.in: Likewise.
61902         * sysdeps/sh/configure.in: Likewise.
61903         * sysdeps/s390/s390-32/configure: Regenerated.
61904         * sysdeps/s390/s390-64/configure: Likewise.
61905         * sysdeps/x86_64/configure: Likewise.
61906         * sysdeps/sh/configure: Likewise.
61907         * sysdeps/powerpc/powerpc64/configure: Likewise.
61908         * sysdeps/powerpc/powerpc32/configure: Likewise.
61909         * sysdeps/sparc/configure: Likwise.
61910         * sysdeps/i386/configure: Likewise.
61912         * elf/dl-open.c: Comment fixes.
61914 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61916         * Makefile [CXX] (check-data): Remove.
61917         [CXX] (c++-types.data): New vpath directive.
61918         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61919         vpath.  Do not allow for C++ type data being missing.
61920         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61921         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61922         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61923         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61924         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61925         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61926         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61928         ... here.
61929         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61931         ... here.
61932         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61934         ... here.
61935         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61937         ... here.
61938         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61940         ... here.
61941         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61943         ... here.
61944         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61946         ... here.
61947         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61950         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61951         definitions to architecture-specific files.
61952         (TLS_IE): Likewise.
61953         (TLS_LD): Likewise.
61954         (TLS_GD): Likewise.
61955         * sysdeps/i386/tls-macros.h: New file.
61956         * sysdeps/powerpc/tls-macros.h: Likewise.
61957         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61958         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61959         * sysdeps/sh/tls-macros.h: Likewise.
61960         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61961         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61962         * sysdeps/x86_64/tls-macros.h: Likewise.
61964 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61966         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61967         zero value for regular exit case.
61969         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61970         (__start_context): Preserve zero value for regular exit case.
61972 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61973             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61975         * manual/setjmp.texi (setcontext): Clarify normal process
61976         termination when uc_link is the null pointer.
61977         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61978         exit call.
61980 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61982         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61983         preprocessor.  Test for each exception mask separately.
61985 2012-07-16  Andreas Jaeger  <aj@suse.de>
61987         * po/ru.po: Update from translation team.
61989 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61991         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61992         equal to 0.
61993         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61994         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61995         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61996         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61999 2012-07-13  Andreas Jaeger  <aj@suse.de>
62001         * po/fr.po: Update from translation team.
62003 2012-07-12  Marek Polacek  <polacek@redhat.com>
62005         [BZ #14173]
62006         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62007         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62008         loop condition.
62010 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62012         [BZ #13717]
62013         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62014         Change to 2.4.1 where previously 2.4.0.
62015         * sysdeps/unix/sysv/linux/configure: Regenerated.
62016         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62017         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62018         version.
62019         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62020         (__ASSUME_AT_CLKTCK): Remove.
62021         (__ASSUME_AT_PAGESIZE): Likewise.
62022         (__ASSUME_AT_XID): Likewise.
62023         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62024         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62025         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62026         unconditionally.
62027         (HAVE_AUX_PAGESIZE): Likewise.
62028         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62029         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62030         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62032 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62034         [BZ #14307]
62035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62036         the temporary buffer used to invoke __gethostbyname2_r,
62037         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62038         host_data / struct gaih_addrtuple.
62039         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62040         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62041         header file nss/nsswitch.h.
62042         * nss/nsswitch.h (global scope): Add definition of implementation
62043         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62044         resolv/nss_dns/dns-host.c).
62046 2012-07-11  Andreas Jaeger  <aj@suse.de>
62048         * po/fr.po: Update from translation team.
62050         * po/sv.po: Update from translation team
62051         * po/fr.po: Another update from translation team.
62053 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62055         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62056         for subnormals or multiply small sinh result by itself.
62057         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62060 2012-07-11  David S. Miller  <davem@davemloft.net>
62062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62064 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62066         [BZ #14347]
62067         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62068         (INTERNAL_MARK): Shift it here.
62070 2012-07-10  Marek Polacek  <polacek@redhat.com>
62072         [BZ #14151]
62073         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62074         libc_cv_asm_global_directive with .globl.
62075         * configure: Regenerated.
62076         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62077         with .globl.
62078         * sysdeps/i386/configure: Regenerated.
62079         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62080         with .globl.
62081         * sysdeps/x86_64/configure: Regenerated.
62082         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62083         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62084         * elf/tst-unique2mod2.c: Likewise.
62085         * elf/tst-unique2mod1.c: Likewise.
62086         * elf/tst-unique1mod2.c: Likewise.
62087         * elf/tst-unique1mod1.c: Likewise.
62088         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62089         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62090         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62091         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62092         * sysdeps/mach/sysdep.h: Likewise.
62093         * sysdeps/i386/sysdep.h: Likewise.
62094         * sysdeps/i386/i386-mcount.S: Likewise.
62095         * sysdeps/x86_64/_mcount.S: Likewise.
62096         * sysdeps/x86_64/sysdep.h: Likewise.
62097         * sysdeps/sh/_mcount.S: Likewise.
62098         * sysdeps/sh/sysdep.h: Likewise.
62099         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62100         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62101         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62102         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62103         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62104         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62105         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62106         * locale/localeinfo.h: Likewise.
62107         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62108         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62110 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62112         [BZ #14336]
62113         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62114         system".
62115         * manual/message.texi (The Uniforum approach): Likewise.
62116         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62117         (glibc iconv Implementation): Likewise.
62119 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62121         [BZ #14337]
62122         * math/s_clog.c (__clog): Avoid scaling a value down where that
62123         could result in underflow.
62124         * math/s_clog10.c (__clog10): Likewise.
62125         * math/s_clog10f.c (__clog10f): Likewise.
62126         * math/s_clog10l.c (__clog10l): Likewise.
62127         * math/s_clogf.c (__clogf): Likewise.
62128         * math/s_clogl.c (__clogl): Likewise.
62129         * math/libm-test.inc (clog_test): Add more tests.
62130         (clog10_test): Likewise.
62131         * sysdeps/i386/fpu/libm-test-ulps: Update.
62132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62134 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62136         [BZ #14283]
62137         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62138         by 7 not 8 to examine high bit of fractional part.
62140         [BZ #14042]
62141         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62142         for call to __mcount_internal.
62143         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62144         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62145         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62147 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62149         [BZ #14154]
62150         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62151         approximation for values within 0x1p-13f of an odd multiple of
62152         pi/4.
62153         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62154         exception.  Add more tests.
62155         * sysdeps/i386/fpu/libm-test-ulps: Update.
62157         [BZ #6778]
62158         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62159         inputs and return -1 for them.  Do not check for +Inf in case not
62160         reachable for +Inf.
62161         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62162         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62163         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62164         and return -1 for them.  Do not check for +Inf in case not
62165         reachable for +Inf.
62166         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62167         define.
62168         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62169         and return -1 for them.  Do not check for +Inf in case not
62170         reachable for +Inf.
62171         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62172         spurious underflow.
62173         * sysdeps/i386/fpu/libm-test-ulps: Update.
62174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62176 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62178         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62180 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62182         [BZ #14157]
62183         [BZ #14331]
62184         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62185         could result in spurious underflow.  Scale down values above
62186         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62187         * math/s_csqrtf.c (__csqrtf): Likewise.
62188         * math/s_csqrtl.c (__csqrtl): Likewise.
62189         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62190         spurious underflow.
62191         * sysdeps/i386/fpu/libm-test-ulps: Update.
62192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62194 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62196         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62197         xopen-msg.sed.
62198         * catgets/xopen-msg.awk: New file.
62199         * catgets/xopen-msg.sed: Removed.
62201         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62202         po2text.sed.
62203         * intl/po2test.awk: New file.
62204         * intl/po2test.sed: Removed.
62206 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62208         [BZ #14328]
62209         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62210         or multiply small sinh result by itself.
62211         * math/s_ctanf.c (__ctanf): Likewise.
62212         * math/s_ctanh.c (__ctanh): Likewise.
62213         * math/s_ctanhf.c (__ctanhf): Likewise.
62214         * math/s_ctanhl.c (__ctanhl): Likewise.
62215         * math/s_ctanl.c (__ctanl): Likewise.
62216         * math/libm-test.inc (ctan_test_tonearest): New function.
62217         (ctan_test_towardzero): Likewise.
62218         (ctan_test_downward): Likewise.
62219         (ctan_test_upward): Likewise.
62220         (ctanh_test_tonearest): Likewise.
62221         (ctanh_test_towardzero): Likewise.
62222         (ctanh_test_downward): Likewise.
62223         (ctanh_test_upward): Likewise.
62224         (main): Call these new functions.
62225         * sysdeps/i386/fpu/libm-test-ulps: Update.
62226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62228 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62230         * .gitignore: Delete /ports entry.
62232 2012-07-03  Andreas Jaeger  <aj@suse.de>
62234         * po/bg.po: Update from translation team.
62235         * po/cs.po: Likewise.
62236         * po/de.po: Likewise.
62237         * po/hr.po: Likewise.
62238         * po/nl.pl: Likewise.
62239         * po/pl.po: Likewise.
62240         * po/vi.po: Likewise.
62242 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62244         * Makeconfig [!+link] (+link-before-libc): New variable.
62245         [!+link] (+link-after-libc): Likewise.
62246         [!+link] (+link-tests): Likewise.
62247         [!+link] (+link): Define in terms of $(+link-before-libc) and
62248         $(+link-after-libc).
62249         [!+link-static] (+link-static-before-libc): New variable.
62250         [!+link-static] (+link-static-after-libc): Likewise.
62251         [!+link-static] (+link-static-tests): Likewise.
62252         [!+link-static] (+link-static): Define in terms of
62253         $(+link-static-before-libc) and $(+link-static-after-libc).
62254         [build-shared] (link-libc-before-gnulib): New variable.
62255         [build-shared] (link-libc-tests): Likewise.
62256         [build-shared] (link-libc): Define in terms of
62257         $(link-libc-before-gnulib).
62258         [!build-shared] (link-libc-tests): New variable.
62259         (link-libc-static-tests): New variable.
62260         [!gnulib] (gnulib-arch): New variable.
62261         [!gnulib] (gnulib-tests): Likewise.
62262         [!gnulib] (static-gnulib-arch): Likewise.
62263         [!gnulib] (static-gnulib-tests): Likewise.
62264         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62265         Define with "=" instead of ":=".
62266         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62267         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62268         * Rules (binaries-all-notests): New variable.
62269         (binaries-all-tests): Likewise.
62270         (binaries-static-notests): Likewise.
62271         (binaries-static-tests): Likewise.
62272         (binaries-all): Define using $(binaries-all-notests) and
62273         $(binaries-all-tests).
62274         (binaries-static): Define using $(binaries-static-notests) and
62275         $(binaries-static-tests).
62276         (binaries-shared-tests): New variable.
62277         (binaries-shared-notests): Likewise.
62278         (binaries-shared): Remove variable.
62279         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62280         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62281         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62282         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62283         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62284         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62285         * elf/Makefile (sln-modules): New variable.
62286         (extra-objs): Add $(sln-modules:=.o).
62287         (ldconfig-modules): Add static-stubs.
62288         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62289         * elf/static-stubs.c: New file.
62291         [BZ #14283]
62292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62293         by 7 not 8 to examine high bit of fractional part.  Use volatile
62294         variables when splitting into final array of floats if
62295         __FLT_EVAL_METHOD__ != 0.
62296         * math/libm-test.inc (cos_test): Add another test.
62297         (sin_test): Likewise.
62298         * sysdeps/i386/fpu/libm-test-ulps: Update.
62300         [BZ #14273]
62301         * math/libm-test.inc (cosh_test): Add more tests.
62303         * version.h (RELEASE): Set to "development".
62304         (VERSION): Set to "2.16.90".
62306 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62308         * NEWS: Update copyright. Remove last-updated date.
62309         Mention math library bug fixes and timezone data changes.
62310         * README: Mention GNU/Hurd, x32, and HPPA support status.
62312 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62314         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62316 2012-06-27  Andreas Jaeger  <aj@suse.de>
62318         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62320 2012-06-25  Andreas Jaeger  <aj@suse.de>
62322         * sysdeps/s390/fpu/libm-test-ulps: Update.
62324 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62325             Thomas Schwinge  <thomas@codesourcery.com>
62327         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62328         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62329         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62330         fanotify_mark.
62332 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62334         * sysdeps/mach/start.c: Remove file.
62335         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62336         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62337         * sysdeps/sh/init-first.c: Likewise.
62339         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62340         registers for frame unwinding purposes, add CFI directives.
62341         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62342         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62343         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62344         Likewise.
62346         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62347         __fortify_fail returning.
62348         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62350         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62351         sysdeps/sh/____longjmp_chk.S.
62352         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62353         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62354         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62355         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62357         * sysdeps/sh/abort-instr.h: New file.
62358         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62359         process in case exit returns.
62361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62362         initialize the GOT register before use.
62364         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62365         calculation of ARGC > 4.
62367         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62368         meaningful names to some local labels.
62370 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62371             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62373         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62374         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62375         (__arch_compare_and_exchange_val_16_acq): Likewise.
62376         (__arch_compare_and_exchange_val_32_acq): Likewise.
62377         (atomic_exchange_and_add): Fix gUSA sequence.
62378         (atomic_add): Likewise.
62379         (atomic_add_negative): Likewise.
62380         (atomic_add_zero): Likewise.
62381         (atomic_bit_test_set): Likewise.
62383 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62385         [BZ #13579]
62386         * include/link.h (struct link_map): Add l_free_initfini.
62387         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62388         l_initfini.
62389         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62390         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62391         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62392         set.
62394 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62396         * configure.in: Use AC_LANG_SOURCE.
62397         * configure: Regenerate.
62399 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62401         * configure.in (libc_cv_localstatedir): New substituted variable.
62402         * configure: Regenerated.
62403         * config.make.in (localstatedir): New variable, substituted from
62404         libc_cv_localstatedir.
62405         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62406         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62407         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62408         * sysdeps/gnu/configure: Regenerated.
62410 2012-06-21  Jeff Law  <law@redhat.com>
62412         [BZ #14277]
62413         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62414         free.  Simplify list management for _LIBC case.
62416 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62418         [BZ #14273]
62419         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62420         Clear sign bit of 64-bit integer value before comparing against
62421         overflow value.
62423         * sysdeps/mach/configure: Regenerated.
62425 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62427         [BZ #14278]
62428         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62430 2012-06-21  Jeff Law  <law@redhat.com>
62432         [BZ #13882]
62433         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62434         uint16_t for elements in the "seen" array to avoid char overflows.
62435         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62436         * elf/dl-open.c (dl_open_worker): Likewise.
62438 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62440         * scripts/list-sources.sh: Scan PORTS for translations.
62441         * po/libc.pot: Regenerated.
62443 2012-06-21  Andreas Jaeger  <aj@suse.de>
62445         [BZ #12194]
62446         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62447         warning.
62448         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62449         * bits/byteswap-16.h (__bswap_16): Likewise.
62450         * bits/byteswap.h (__bswap_constant_16): Likewise.
62452 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62454         [BZ #14117]
62455         * sysdeps/i386/fpu_control.h: Removed.
62456         * sysdeps/x86_64/fpu_control.h: Moved to ...
62457         * sysdeps/x86/fpu_control.h: Here.
62459         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62460         (_FPU_SETCW): Likewise.
62462 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62464         [BZ #14117]
62465         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62466         * sysdeps/x86/fpu/bits/mathinline.h: This.
62467         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62469         [BZ #14050]
62470         [BZ #14117]
62471         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62472         functions if __x86_64__ is defined.
62474 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62476         * string/endian.h: Add !__ASSEMBLER__ condition for including
62477         conversion interfaces.
62479 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62481         [BZ #14241]
62482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62483         of ABS(x) in calculating zero to negative powers other than odd
62484         integers.
62485         * math/libm-test.inc (pow_test): Add more tests.
62487 2012-06-15  Andreas Jaeger  <aj@suse.de>
62489         * manual/contrib.texi (Contributors): Update entry of Liubov
62490         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62491         Machado Filho.
62493 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62495         * string/string.h: Add __wur to GNU version of strerror_r.
62497 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62499         [BZ #14229]
62500         * string/Makefile (tests): Add tst-strtok_r.
62501         * string/tst-strtok_r.c: New file.
62502         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62503         RAX_LP/RDX_LP on SAVE_PTR.
62505 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62507         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62509 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62511         * libm_test.inc (csqrt_test): Allow more spurious underflow
62512         exceptions.
62513         (j0_test): Likewise.
62514         (j1_test): Likewise.
62515         (y0_test): Likewise.
62516         (y1_test): Likewise.
62518 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62520         * po/Makefile (libc.pot): Use UTF-8 charset.
62522 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62524         [BZ #14210]
62525         Suppress sign-conversion warning from FD_SET.
62526         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62527         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62528         not unsigned long int.
62529         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62531 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62533         [BZ #14050]
62534         [BZ #14117]
62535         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62536         __extern_always_inline instead of __extern_inline.
62537         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62538         (__signbit): Likewise.
62539         (__signbitl): Support C++ namespace.
62540         (lrintf): New inline function.
62541         (lrint): Likewise.
62542         (llrintf): Likewise.
62543         (llrint): Likewise.
62544         (fmaxf): Likewise.
62545         (fmax): Likewise.
62546         (fminf): Likewise.
62547         (fmin): Likewise.
62548         (rint): Likewise.
62549         (rintf): Likewise.
62550         (ceil): Likewise.
62551         (ceilf): Likewise.
62552         (floor): Likewise.
62553         (floorf): Likewise.
62554         (nearbyint): Likewise.
62555         (nearbyintf): Likewise.
62557 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62560         non-default versions.
62562 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62564         [BZ #14218]
62565         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62567 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62569         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62570         (FE_UPWARD, FE_DOWNWARD): Don't define.
62571         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62572         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62575         reading it.
62576         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62577         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62579 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62581         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62583         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62584         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62586 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62588         [BZ #14117]
62589         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62590         * sysdeps/i386/fpu/Implies: New file.
62591         * sysdeps/x86_64/fpu/Implies: Likewise.
62592         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62593         * sysdeps/x86/fpu/bits/fenv.h: This.
62595         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62596         __SSE_MATH__.
62598 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62600         [BZ #14134]
62601         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62602         character 0xffff that matches the last element of the
62603         conversion table.
62605 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62608         fmodl commit.
62610 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62612         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62613         values higher than 25.6283.
62615 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62617         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62618         subnormal exponent extraction and add some __builtin_expect.
62619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62620         Fix for subnormal mantissa calculation.
62622 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62624         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62625         cpu2 is -1 and errno is not ENOSYS.
62627 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62629         [BZ #14117]
62630         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62631         * sysdeps/x86/bits/string.h: This.
62632         * sysdeps/x86_64/bits/string.h: Removed.
62634         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62635         if not compiling for x86-64, but compiling for >= i486.
62637         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62638         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62640         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62641         New macro from Linux kernel 3.4.0.
62642         (FP_XSTATE_MAGIC2): Likewise.
62643         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62644         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62645         (struct _fpx_sw_bytes): New struct.
62646         (struct _xsave_hdr): Likewise.
62647         (struct _ymmh_state): Likewise.
62648         (struct _xstate): Likewise.
62650         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62651         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62653         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62654         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62655         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62657         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62658         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62659         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62660         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62661         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62662         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62664 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62666         [BZ #13743]
62667         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62668         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62669         (sysdep_headers): Include sys/platform/ppc.h.
62670         * sysdeps/powerpc/test-gettimebase.c: Test for
62671         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62672         * manual/Makefile (appendices): Include platform.texi.
62673         * manual/contrib.texi (Contributors): Update @node pointers.
62674         * manual/maint.texi (Maintenance): Likewise.
62675         (Platform): New node.
62676         * manual/platform.texi: New file.  Document the new features.
62678 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62679             Jakub Jelinek  <jakub@redhat.com>
62681         [BZ #14188]
62682         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62683         where __builtin_expect is unavailable.
62685 2012-06-03  David S. Miller  <davem@davemloft.net>
62687         * stdlib/longlong.h: Updated from GCC.
62689 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62691         [BZ #14042]
62692         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62693         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62694         __mcount_internal.
62695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62696         (GLIBC_2.16): Likewise.
62698 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62700         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62702 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62705         (default-abi): New variable.
62706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62707         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62708         variable.
62709         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62710         Likewise.
62711         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62712         Likewise.
62713         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62714         Likewise.
62716         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62717         definition.  Document in comment.
62719 2012-06-01  David S. Miller  <davem@davemloft.net>
62721         * stdlib/longlong.h: Updated from GCC.
62723 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62725         [BZ #14117]
62726         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62727         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62728         sys/debugreg.h sys/io.h here.
62729         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62730         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62731         sys/io.h.
62732         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62733         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62734         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62735         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62736         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62737         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62739         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62740         Define only if __x86_64__ is defined.
62742 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62744         [BZ #14048]
62745         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62746         Use int64_t for variable i.
62747         * math/libm-test.inc (fmod_test): Add more tests.
62749         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62750         z computation is not scheduled after fetestexcept.
62751         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62752         Use math_force_eval instead of asm to ensure calculation scheduled
62753         before exception test.
62754         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62755         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62757 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62760         computation is not scheduled after fetestexcept.
62762 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62764         [BZ #14117]
62765         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62766         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62768 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62770         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62771         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62773 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62775         [BZ #14117]
62776         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62777         <bits/wordsize.h>.
62778         (__WCHAR_MIN): Support __WORDSIZE == 64.
62779         (__WCHAR_MAX): Likewise.
62781         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62782         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62784         [BZ #14183]
62785         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62786         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62788         [BZ #14117]
62789         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62790         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62792         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62793         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62795         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62796         Defined to 1 if __x86_64__ isn't defined.
62797         (_STAT_VER_LINUX_OLD): New.
62798         (st_atime): Remove duplicate.
62799         (st_mtime): Likewise.
62800         (st_ctime): Likewise.
62802 2012-05-31  David S. Miller  <davem@davemloft.net>
62804         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62805         entries.
62807 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62809         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62810         gen-libm-test.pl.
62812         [BZ #14132]
62813         * elf/dl-reloc.c: Include <_itoa.h>.
62814         (_dl_reloc_bad_type): Remove use of INTUSE.
62815         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62816         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62817         * stdio-common/psiginfo.c (psiginfo): Likewise.
62818         * stdio-common/psignal.c (psignal): Likewise.
62819         * string/strsignal.c (strsignal): Likewise.
62820         * include/signal.h (_sys_siglist): Declare hidden proto.
62821         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62822         INTVARDEF with libc_hidden_data_def.
62823         * stdio-common/itoa-udigits.c: Likewise.
62824         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62825         (_itoa_lower_digits_internal): Remove declaration.
62826         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62827         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62828         (_sys_sigabbrev_internal): Remove aliases.
62829         (_sys_siglist): Define hidden alias.
62831 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62834         bits/sysctl.h.
62836 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62838         [BZ #14117]
62839         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62840         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62842         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62843         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62844         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62845         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62846         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62847         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62849         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62850         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62851         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62853         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62854         with __addr.
62855         (insw): Likewise.
62856         (insl): Likewise.
62857         (outsb): Likewise.
62858         (outsw): Likewise.
62859         (outsl): Likewise.
62861         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62862         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62863         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62865         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62866         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62867         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62868         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62869         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62870         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62872         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62873         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62875         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62876         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62879         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62880         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62882         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62883         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62884         to ...
62885         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62887         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62888         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62889         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62891         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62892         for x86-64.
62893         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62895 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62897         * math/math.h (M_El): Use two more decimal places.
62898         (M_LOG2El): Likewise.
62899         (M_LOG10El): Likewise.
62900         (M_LN2l): Likewise.
62901         (M_LN10l): Likewise.
62902         (M_PIl): Likewise.
62903         (M_PI_2l): Likewise.
62904         (M_PI_4l): Likewise.
62905         (M_1_PIl): Likewise.
62906         (M_2_PIl): Likewise.
62907         (M_2_SQRTPIl): Likewise.
62908         (M_SQRT2l): Likewise.
62909         (M_SQRT1_2l): Likewise.
62911 2012-05-31  David S. Miller  <davem@davemloft.net>
62913         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62914         values between float registers.
62915         * sysdeps/sparc/sparc64/memset.S: Likewise.
62916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62918 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62920         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62921         -D_FORTIFY_SOURCE=1.
62922         (CPPFLAGS-tst-longjmp_chk.c): Define.
62923         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62924         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62925         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62926         CFLAGS-tst-wchar-h.c.
62928 2012-05-31  Marek Polacek  <polacek@redhat.com>
62930         [BZ #14132]
62931         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62932         __endmntent_internal): Remove declaration.
62933         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62934         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62935         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62937 2012-05-30  David S. Miller  <davem@davemloft.net>
62939         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62940         (___Q_simulate_exceptions): Use real FP ops rather than writing
62941         into the %fsr.
62942         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62943         Likewise.
62945 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62947         [BZ #14117]
62948         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62949         * sysdeps/x86/bits/xtitypes.h: This.
62951         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62952         * sysdeps/x86/bits/wordsize.h: This.
62954         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62955         * sysdeps/x86/bits/huge_vall.h: This.
62957         * sysdeps/i386/bits/select.h: Removed.
62958         * sysdeps/x86_64/bits/select.h: Renamed to ...
62959         * sysdeps/x86/bits/select.h: This.
62961         * sysdeps/i386/bits/setjmp.h: Removed.
62962         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62963         * sysdeps/x86/bits/setjmp.h: This.
62965         * sysdeps/i386/bits/mathdef.h: Removed.
62966         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62967         * sysdeps/x86/bits/mathdef.h: This.
62969 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62971         [BZ #14132]
62972         * include/sys/socket.h (__connect_internal)
62973         (__libc_sa_len_internal): Remove declaration.
62974         (__connect, __libc_sa_len): Declare hidden_proto.
62975         (SA_LEN): Remove use of INTUSE.
62976         * socket/connect.c: Add libc_hidden_def.
62977         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62978         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62979         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62980         alias.
62981         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62982         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62983         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62984         of adding _internal alias.
62986 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62988         [BZ #14117]
62989         * sysdeps/i386/bits/link.h: Removed.
62990         * sysdeps/i386/bits/linkmap.h: Likewise.
62991         * sysdeps/x86_64/bits/link.h: Renamed to ...
62992         * sysdeps/x86/bits/link.h: This.
62993         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62994         * sysdeps/x86/bits/linkmap.h: This.
62996         * sysdeps/i386/bits/endian.h: Removed.
62997         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62998         * sysdeps/x86/bits/endian.h: This.
63000         * sysdeps/i386/bits/byteswap.h: Removed.
63001         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63002         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63003         * sysdeps/x86/bits/byteswap.h: This.
63004         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63005         * sysdeps/x86/bits/byteswap-16.h: This.
63006         * sysdeps/i386/Implies: Add x86.
63007         * sysdeps/x86_64/Implies: Likewise.
63009 2012-05-30  David S. Miller  <davem@davemloft.net>
63011         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63012         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63013         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63014         (FP_TRAPPING_EXCEPTIONS): Define.
63015         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63016         (FP_TRAPPING_EXCEPTIONS): Define.
63017         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63018         subnormals only when inexact has been signalled or underflow
63019         exceptions are enabled.
63020         (_FP_PACK_CANONICAL): Likewise.
63022 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63024         [BZ #14183]
63025         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63026         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63028 2012-05-30  Richard Henderson  <rth@twiddle.net>
63030         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63031         with #ifndef NOT_IN_libc.
63033         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63034         marked to avoid plt entry.
63036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63038         [BZ #14112]
63039         * Makeconfig (default-abi): New macro.
63040         (abi-includes): Likewise.
63041         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63042         $(abi-$(default-abi)-lib-soname) for soname if defined.
63043         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63044         abi-variants.
63045         * Makefile (installed-stubs): Likewise.
63046         * include/stubs-biarch.h: Removed.
63047         * scripts/lib-names.awk: Only handle one library at a time.
63048         * scripts/soversions.awk: Remove WORDSIZE support.
63049         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63050         entries.
63051         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63052         Removed.
63053         (syscall-list-default-condition): Likewise.
63054         (syscall-list-default-condition): Likewise.
63055         (syscall-list-includes): Likewise.
63056         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63057         syscall-list-* with abi-*.  Handle undefined abi-variants.
63058         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63059         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63060         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63061         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63062         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63063         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63064         Removed.
63065         (syscall-list-32-options): Likewise.
63066         (syscall-list-32-condition): Likewise.
63067         (syscall-list-64-options): Likewise.
63068         (syscall-list-64-condition): Likewise.
63069         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63070         macro.
63071         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63072         Renamed to ...
63073         (abi-*): This.
63074         (abi-64-ld-soname): New macro.
63075         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63076         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63077         Renamed to ...
63078         (abi-*): This.
63079         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63080         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63082 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63084         * sysdeps/unix/sysv/linux/kernel-features.h
63085         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63086         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63087         include <kernel-features.h>.
63088         [!__NR_ftruncate64]: Remove conditional code.
63089         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63090         [__NR_ftruncate64]: Make code unconditional.
63091         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63092         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63093         include <kernel-features.h>.
63094         [!__NR_ftruncate64]: Remove conditional code.
63095         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63096         [__NR_ftruncate64]: Make code unconditional.
63097         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63099         include <kernel-features.h>.
63100         [!__NR_ftruncate64]: Remove conditional code.
63101         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63102         [__NR_ftruncate64]: Make code unconditional.
63103         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63105         include <kernel-features.h>.
63106         [!__NR_ftruncate64]: Remove conditional code.
63107         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63108         [__NR_ftruncate64]: Make code unconditional.
63109         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63111         * configure.in (libc_cv_fpie): Weaken to a compile test using
63112         LIBC_TRY_CC_OPTION.
63113         * configure: Regenerated.
63115 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63121         Refreshed.
63122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63128         Refreshed.
63130 2012-05-27  David S. Miller  <davem@davemloft.net>
63132         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63133         (___Q_zero): New.
63134         (__Q_simulate_exceptions): Return void.  Change to simulate
63135         exceptions by writing into the %fsr.
63136         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63137         (__Qp_handle_exceptions): Likewise.
63138         (numbers): Delete.
63139         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63140         __Qp_handle_exceptions.
63141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63142         __Qp_handle_exceptions.
63143         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63144         as unused and give dummy FP_RND_NEAREST initializer.
63145         (FP_INHIBIT_RESULTS): Define.
63146         (___Q_simulate_exceptions): Update declaration.
63147         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63148         formatting.
63149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63150         as unused and give dummy FP_RND_NEAREST initializer.
63151         (__Qp_handle_exceptions): Update declaration.
63152         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63153         formatting.
63155 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63157         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63158         the temporary FPU control word.
63159         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63160         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63161         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63162         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63163         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63164         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63165         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63166         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63167         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63168         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63169         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63171 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63173         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63174         fields.
63176 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63178         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63179         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63180         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63181         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63182         Likewise.
63183         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63184         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63185         Likewise.
63187 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63189         * po/h.po: Update from translation team.
63191 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63193         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63195         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63196         handling of denormals.
63197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63198         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63199         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63200         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63201         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63204         Likewise.
63206 2012-05-26  Marek Polacek  <polacek@redhat.com>
63208         [BZ #14152]
63209         * math/libm-test.inc (fma_test): Don't always expect underflow
63210         exception.
63212 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63214         [BZ #12416]
63215         * elf/tst-execstack.c: Include stackinfo.h.
63216         (do_test): Adjust test case to ensure that pthread_getattr_np
63217         behaviour remains the same after marking stack executable.
63219 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63221         * sysdeps/unix/sysv/linux/kernel-features.h
63222         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63223         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63224         kernel-features.h.
63225         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63226         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63227         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63228         kernel-features.h.
63229         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63230         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63232 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63234         * configure.in: Define the default includes to being none.
63235         * configure: Regenerated.
63237 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63239         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63240         * sysdeps/x86_64/setjmp.S: Likewise.
63241         * sysdeps/i386/bsd-setjmp.S: Likewise.
63242         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63243         * sysdeps/i386/setjmp.S: Likewise.
63244         * sysdeps/i386/__longjmp.S: Likewise.
63245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63246         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63248         * include/stap-probe.h: New file.
63249         * configure.in: Handle --enable-systemtap.
63250         * configure: Regenerated.
63251         * config.h.in (USE_STAP_PROBE): New #undef.
63252         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63253         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63254         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63256 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63258         [BZ #13717]
63259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63260         to 2.4.0 where earlier.
63261         * sysdeps/unix/sysv/linux/configure: Regenerated.
63262         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63263         <kernel-features.h>.
63264         [__ASSUME_32BITUIDS]: Make code unconditional.
63265         [!__ASSUME_32BITUIDS]: Remove conditional code.
63266         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63267         <kernel-features.h>.
63268         [__ASSUME_32BITUIDS]: Make code unconditional.
63269         [!__ASSUME_32BITUIDS]: Remove conditional code.
63270         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63271         [__ASSUME_32BITUIDS]: Make code unconditional.
63272         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63273         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63274         <kernel-features.h>.
63275         [__ASSUME_32BITUIDS]: Make code unconditional.
63276         [!__ASSUME_32BITUIDS]: Remove conditional code.
63277         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63278         <kernel-features.h>.
63279         [__ASSUME_32BITUIDS]: Make code unconditional.
63280         [!__ASSUME_32BITUIDS]: Remove conditional code.
63281         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63282         <kernel-features.h>.
63283         [__ASSUME_32BITUIDS]: Make code unconditional.
63284         [!__ASSUME_32BITUIDS]: Remove conditional code.
63285         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63286         <kernel-features.h>.
63287         [__ASSUME_32BITUIDS]: Make code unconditional.
63288         [!__ASSUME_32BITUIDS]: Remove conditional code.
63289         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63290         <kernel-features.h>.
63291         [__ASSUME_32BITUIDS]: Make code unconditional.
63292         [!__ASSUME_32BITUIDS]: Remove conditional code.
63293         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63294         <kernel-features.h>.
63295         [__ASSUME_32BITUIDS]: Make code unconditional.
63296         [!__ASSUME_32BITUIDS]: Remove conditional code.
63297         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63298         <kernel-features.h>.
63299         [__ASSUME_32BITUIDS]: Make code unconditional.
63300         [!__ASSUME_32BITUIDS]: Remove conditional code.
63301         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63302         <kernel-features.h>.
63303         [__ASSUME_32BITUIDS]: Make code unconditional.
63304         [!__ASSUME_32BITUIDS]: Remove conditional code.
63305         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63306         <kernel-features.h>.
63307         [__ASSUME_32BITUIDS]: Make code unconditional.
63308         [!__ASSUME_32BITUIDS]: Remove conditional code.
63309         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63310         <kernel-features.h>.
63311         [__ASSUME_32BITUIDS]: Make code unconditional.
63312         [!__ASSUME_32BITUIDS]: Remove conditional code.
63313         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63314         <kernel-features.h>.
63315         [__NR_setresgid] (__setresgid): Do not declare.
63316         [__ASSUME_32BITUIDS]: Make code unconditional.
63317         [!__ASSUME_32BITUIDS]: Remove conditional code.
63318         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63319         <kernel-features.h>.
63320         [__NR_setresuid] (__setresuid): Do not declare.
63321         [__ASSUME_32BITUIDS]: Make code unconditional.
63322         [!__ASSUME_32BITUIDS]: Remove conditional code.
63323         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63324         <kernel-features.h>.
63325         [__ASSUME_32BITUIDS]: Make code unconditional.
63326         [!__ASSUME_32BITUIDS]: Remove conditional code.
63327         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63328         <kernel-features.h>.
63329         [__ASSUME_32BITUIDS]: Make code unconditional.
63330         [!__ASSUME_32BITUIDS]: Remove conditional code.
63331         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63332         <kernel-features.h>.
63333         [__ASSUME_32BITUIDS]: Make code unconditional.
63334         [!__ASSUME_32BITUIDS]: Remove conditional code.
63335         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63336         <kernel-features.h>.
63337         [__ASSUME_32BITUIDS]: Make code unconditional.
63338         [!__ASSUME_32BITUIDS]: Remove conditional code.
63339         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63340         <kernel-features.h>.
63341         [__ASSUME_32BITUIDS]: Make code unconditional.
63342         [!__ASSUME_32BITUIDS]: Remove conditional code.
63343         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63344         <kernel-features.h>.
63345         [__ASSUME_32BITUIDS]: Make code unconditional.
63346         [!__ASSUME_32BITUIDS]: Remove conditional code.
63347         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63348         <kernel-features.h>.
63349         [__ASSUME_32BITUIDS]: Make code unconditional.
63350         [!__ASSUME_32BITUIDS]: Remove conditional code.
63351         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63352         <kernel-features.h>.
63353         [__ASSUME_32BITUIDS]: Make code unconditional.
63354         [!__ASSUME_32BITUIDS]: Remove conditional code.
63355         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63356         <kernel-features.h>.
63357         [__ASSUME_32BITUIDS]: Make code unconditional.
63358         [!__ASSUME_32BITUIDS]: Remove conditional code.
63359         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63360         <kernel-features.h>.
63361         [__ASSUME_32BITUIDS]: Make code unconditional.
63362         [!__ASSUME_32BITUIDS]: Remove conditional code.
63363         * sysdeps/unix/sysv/linux/kernel-features.h
63364         (__ASSUME_SETRESUID_SYSCALL): Remove.
63365         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63366         (__ASSUME_32BITUIDS): Likewise.
63367         (__ASSUME_LDT_WORKS): Likewise.
63368         (__ASSUME_O_DIRECTORY): Likewise.
63369         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63370         architecture but not kernel version.
63371         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63372         (__ASSUME_MMAP2_SYSCALL): Likewise.
63373         (__ASSUME_STAT64_SYSCALL): Likewise.
63374         (__ASSUME_IPC64): Likewise.
63375         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63376         <kernel-features.h>.
63377         [__ASSUME_32BITUIDS]: Make code unconditional.
63378         [!__ASSUME_32BITUIDS]: Remove conditional code.
63379         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63380         <kernel-features.h>.
63381         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63382         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63383         132096]: Remove conditional code.
63384         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63385         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63386         <kernel-features.h>.
63387         [__ASSUME_32BITUIDS]: Make code unconditional.
63388         [!__ASSUME_32BITUIDS]: Remove conditional code.
63389         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63390         <kernel-features.h>.
63391         [__ASSUME_32BITUIDS]: Make code unconditional.
63392         [!__ASSUME_32BITUIDS]: Remove conditional code.
63393         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63394         <kernel-features.h>.
63395         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63396         unconditional.
63397         (__setresgid): Do not declare.
63398         [__ASSUME_32BITUIDS]: Make code unconditional.
63399         [!__ASSUME_32BITUIDS]: Remove conditional code.
63400         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63401         <kernel-features.h>.
63402         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63403         unconditional.
63404         (__setresuid): Do not declare.
63405         [__ASSUME_32BITUIDS]: Make code unconditional.
63406         [!__ASSUME_32BITUIDS]: Remove conditional code.
63407         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63408         <kernel-features.h>.
63409         [__ASSUME_32BITUIDS]: Make code unconditional.
63410         [!__ASSUME_32BITUIDS]: Remove conditional code.
63411         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63412         <kernel-features.h>.
63413         [__ASSUME_32BITUIDS]: Make code unconditional.
63414         [!__ASSUME_32BITUIDS]: Remove conditional code.
63416 2012-05-25  Richard Henderson  <rth@twiddle.net>
63418         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63419         dl_hwcap to ifunc resolver.
63420         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63421         elf_ifunc_invoke.
63422         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63423         dl_hwcap to ifunc resolver.
63424         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63426 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63428         [BZ #14153]
63429         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63430         for |x| <= 2**-26, not 2**-57.
63431         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63432         exception.
63434 2012-05-24  Jeff Law  <law@redhat.com>
63436         * stdio-common/Makefile (tests): Add bug25.
63437         * stdio-common/bug25.c: New test.
63439 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63441         [BZ #13576]
63442         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63443         multiple of MALLOC_ALIGNMENT in size.
63444         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63446 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63448         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63449         Require >= 256.
63450         (FILENAME_MAX): Use macro-int-constant.
63451         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63452         (_IOFBF): Use macro-int-constant.
63453         (_IOLBF): Likewise.
63454         (_IONBF): Likewise.
63455         (SEEK_CUR): Likewise.
63456         (SEEK_END): Likewise.
63457         (SEEK_SET): Likewise.
63458         (TMP_MAX): Likewise.
63459         (EOF): Use macro-int-constant.  Require < 0.
63460         (NULL): Use macro-constant.  Require == 0.
63461         (stdin): Require type to be FILE *.
63462         (stdout): Likewise.
63463         (stderr): Likewise.
63464         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63465         macro-int-constant.
63466         (EXIT_SUCCESS): Likewise.
63467         (NULL): Use macro-constant.  Require == 0.
63468         (RAND_MAX): Use macro-int-constant.
63469         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63470         [C99-based standards] (strtof): Require function.
63471         [C99-based standards] (strtold): Likewise.
63472         [C99-based standards] (strtoll): Likewise.
63473         [C99-based standards] (strtoull): Likewise.
63474         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63475         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63476         [ISO || ISO99 || ISO11] (math.h): Likewise.
63477         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63478         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63481 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63483         [BZ #14132]
63484         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63485         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63486         * intl/dgettext.c (DCGETTEXT): Likewise.
63487         * intl/gettext.c (DCGETTEXT): Likewise.
63488         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63489         * posix/regex_internal.h (gettext): Likewise.
63490         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63491         Remove declaration.
63492         * include/argz.h (__argz_count_internal)
63493         (__argz_stringify_internal): Remove declaration.
63494         (__argz_count, __argz_stringify): Declare hidden proto.
63495         * intl/dcgettext.c: Remove use of INTDEF.
63496         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63497         * string/argz-stringify.c: Likewise.
63498         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63499         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63500         Declare hidden proto.
63501         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63502         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63503         Declare hidden proto.
63504         * include/stdio.h (__asprintf_internal): Don't declare.
63505         (__asprintf): Don't define as macro.  Declare hidden proto.
63506         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63507         (__fsetlocking): Declare hidden proto.
63508         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63509         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63510         hidden proto.
63511         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63512         (_IO_setlinebuf): Remove use of INTUSE.
63513         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63514         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63515         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63516         Remove declaration.
63517         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63518         (_IO_do_flush): Remove use of INTUSE.
63519         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63520         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63521         (_IO_adjust_column, _IO_least_wmarker)
63522         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63523         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63524         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63525         (_IO_default_doallocate, _IO_wdefault_doallocate)
63526         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63527         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63528         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63529         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63530         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63531         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63532         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63533         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63534         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63535         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63536         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63537         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63538         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63539         proto.
63540         (_IO_flush_all_internal, _IO_adjust_column_internal)
63541         (_IO_default_uflow_internal, _IO_default_finish_internal)
63542         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63543         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63544         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63545         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63546         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63547         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63548         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63549         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63550         (_IO_file_close_internal, _IO_file_close_it_internal)
63551         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63552         (_IO_file_init_internal, _IO_file_attach_internal)
63553         (_IO_file_fopen_internal, _IO_file_read_internal)
63554         (_IO_file_sync_internal, _IO_file_seek_internal)
63555         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63556         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63557         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63558         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63559         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63560         (_IO_list_all_internal, _IO_link_in_internal)
63561         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63562         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63563         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63564         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63565         (_IO_do_write_internal, _IO_padn_internal)
63566         (_IO_getline_info_internal, _IO_getline_internal)
63567         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63568         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63569         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63570         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63571         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63572         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63573         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63574         with libc_hidden_ver, remove use of INTUSE.
63575         * libio/genops.c: Likewise.
63576         * libio/freopen.c: Likewise.
63577         * libio/freopen64.c: Likewise.
63578         * libio/iofclose.c: Likewise.
63579         * libio/iofdopen.c: Likewise.
63580         * libio/iofflush.c: Likewise.
63581         * libio/iofflush_u.c: Likewise.
63582         * libio/iofgets.c: Likewise.
63583         * libio/iofgets_u.c: Likewise.
63584         * libio/iofopen.c: Likewise.
63585         * libio/iofopncook.c: Likewise.
63586         * libio/iofread.c: Likewise.
63587         * libio/iofread_u.c: Likewise.
63588         * libio/ioftell.c: Likewise.
63589         * libio/iofwrite.c: Likewise.
63590         * libio/iogetline.c: Likewise.
63591         * libio/iogets.c: Likewise.
63592         * libio/iogetwline.c: Likewise.
63593         * libio/iopadn.c: Likewise.
63594         * libio/iopopen.c: Likewise.
63595         * libio/ioseekoff.c: Likewise.
63596         * libio/ioseekpos.c: Likewise.
63597         * libio/iosetbuffer.c: Likewise.
63598         * libio/iosetvbuf.c: Likewise.
63599         * libio/ioungetc.c: Likewise.
63600         * libio/ioungetwc.c: Likewise.
63601         * libio/iovdprintf.c: Likewise.
63602         * libio/iovsprintf.c: Likewise.
63603         * libio/iovsscanf.c: Likewise.
63604         * libio/memstream.c: Likewise.
63605         * libio/obprintf.c: Likewise.
63606         * libio/oldfileops.c: Likewise.
63607         * libio/oldiofclose.c: Likewise.
63608         * libio/oldiofdopen.c: Likewise.
63609         * libio/oldiofopen.c: Likewise.
63610         * libio/oldiopopen.c: Likewise.
63611         * libio/oldstdfiles.c: Likewise.
63612         * libio/putc.c: Likewise.
63613         * libio/setbuf.c: Likewise.
63614         * libio/setlinebuf.c: Likewise.
63615         * libio/stdfiles.c: Likewise.
63616         * libio/strops.c: Likewise.
63617         * libio/vasprintf.c: Likewise.
63618         * libio/vscanf.c: Likewise.
63619         * libio/vsnprintf.c: Likewise.
63620         * libio/vswprintf.c: Likewise.
63621         * libio/wfiledoalloc.c: Likewise.
63622         * libio/wfileops.c: Likewise.
63623         * libio/wgenops.c: Likewise.
63624         * libio/wmemstream.c: Likewise.
63625         * libio/wstrops.c: Likewise.
63626         * libio/__fpurge.c: Likewise.
63627         * libio/__fsetlocking.c: Likewise.
63628         * assert/assert.c: Likewise.
63629         * debug/fgets_chk.c: Likewise.
63630         * debug/fgets_u_chk.c: Likewise.
63631         * debug/fread_chk.c: Likewise.
63632         * debug/fread_u_chk.c: Likewise.
63633         * debug/gets_chk.c: Likewise.
63634         * debug/obprintf_chk.c: Likewise.
63635         * debug/vasprintf_chk.c: Likewise.
63636         * debug/vdprintf_chk.c: Likewise.
63637         * debug/vsnprintf_chk.c: Likewise.
63638         * debug/vsprintf_chk.c: Likewise.
63639         * malloc/mtrace.c: Likewise.
63640         * misc/error.c: Likewise.
63641         * misc/syslog.c: Likewise.
63642         * stdio-common/asprintf.c: Likewise.
63643         * stdio-common/fxprintf.c: Likewise.
63644         * stdio-common/getw.c: Likewise.
63645         * stdio-common/isoc99_fscanf.c: Likewise.
63646         * stdio-common/isoc99_scanf.c: Likewise.
63647         * stdio-common/isoc99_vfscanf.c: Likewise.
63648         * stdio-common/isoc99_vscanf.c: Likewise.
63649         * stdio-common/isoc99_vsscanf.c: Likewise.
63650         * stdio-common/printf-prs.c: Likewise.
63651         * stdio-common/printf_fp.c: Likewise.
63652         * stdio-common/printf_fphex.c: Likewise.
63653         * stdio-common/printf_size.c: Likewise.
63654         * stdio-common/putw.c: Likewise.
63655         * stdio-common/scanf.c: Likewise.
63656         * stdio-common/sprintf.c: Likewise.
63657         * stdio-common/tmpfile.c: Likewise.
63658         * stdio-common/vfprintf.c: Likewise.
63659         * stdio-common/vfscanf.c: Likewise.
63660         * stdlib/strfmon_l.c: Likewise.
63661         * sunrpc/openchild.c: Likewise.
63662         * sunrpc/xdr_stdio.c: Likewise.
63663         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63664         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63666 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63668         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63670         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63671         in the third column, to generate for the shared library an IFUNC
63672         that uses _dl_vdso_vsym.
63673         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63674         * Makeconfig (object-suffixes-noshared): New variable.
63676         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63677         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63678         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63679         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63681         [BZ #14132]
63682         * include/sys/time.h (__gettimeofday): Remove macro.
63683         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63684         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63685         Remove INTDEF.
63686         (__gettimeofday): Add libc_hidden_def.
63687         (gettimeofday): Add libc_hidden_weak.
63688         * sysdeps/mach/gettimeofday.c: Likewise.
63689         * sysdeps/posix/gettimeofday.c: Likewise.
63690         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63691         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63693         (__gettimeofday_internal): Remove strong_alias.
63694         (__gettimeofday): Add libc_hidden_def.
63695         (gettimeofday): Add libc_hidden_weak.
63696         * sysdeps/unix/syscalls.list (gettimeofday):
63697         Remove __gettimeofday_internal alias.
63699 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63700             H.J. Lu  <hongjiu.lu@intel.com>
63702         [BZ #12495]
63703         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63704         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63705         (largebin_index_32_big): New.
63706         (largebin_index): Use it for 16-byte alignment.
63707         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63708         correction with front_misalign.
63710 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63714         Likewise.
63715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63716         Likewise.
63717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63718         Likewise.
63719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63720         Likewise.
63721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63722         Likewise.
63723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63724         Likewise.
63725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63726         Likewise.
63727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63728         Likewise.
63729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63730         Likewise.
63731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63732         Likewise.
63733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63734         Likewise.
63735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63736         Likewise.
63738         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63739         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63741 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63743         [BZ #10846]
63744         [BZ #14036]
63745         * math/libm-test.inc (exp_test): Add test from bug 14036.
63746         (pow_test): Add test from bug 10846.
63748         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63749         and other flags.
63750         (special_function): Do not include flags in test name.
63751         (parse_args): Likewise.
63752         * sysdeps/i386/fpu/libm-test-ulps: Update.
63753         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63754         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63755         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63758         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63759         exceptions.
63760         * math/libm-test.inc ("Philosophy"): Update comment about
63761         exception testing.
63762         (UNDERFLOW_EXCEPTION): New macro.
63763         (UNDERFLOW_EXCEPTION_OK): Likewise.
63764         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63765         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63766         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63767         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63768         (INVALID_EXCEPTION_OK): Update value.
63769         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63770         (OVERFLOW_EXCEPTION_OK): Likewise.
63771         (IGNORE_ZERO_INF_SIGN): Likewise.
63772         (test_exceptions): Handle underflow exceptions.
63773         (acos_test): Update for underflow exception expectations.
63774         (cexp_test): Likewise.
63775         (clog_test): Likewise.
63776         (clog10_test): Likewise.
63777         (csqrt_test): Likewise.
63778         (ctan_test): Likewise.
63779         (ctanh_test): Likewise.
63780         (exp_test): Likewise.
63781         (exp10_test): Likewise.
63782         (exp2_test): Likewise.
63783         (expm1_test): Likewise.
63784         (fma_test): Likewise.
63785         (j0_test): Likewise.
63786         (jn_test): Likewise.
63787         (nexttoward_test): Likewise.
63788         (pow_test): Likewise.
63789         (scalbn_test): Likewise.
63790         (scalbln_test): Likewise.
63791         (tan_test): Likewise.
63792         (y1_test): Likewise.
63793         * sysdeps/i386/fpu/libm-test-ulps: Update.
63794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63796 2012-05-23  David S. Miller  <davem@davemloft.net>
63798         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63799         (__libc_sigaction): Remove unused local variables.
63801 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63803         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63805 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63807         mktime: avoid signed integer overflow
63808         * time/mktime.c (__mktime_internal): Do not mishandle the case
63809         where diff == INT_MIN.
63811         mktime: simplify computation of average
63812         * time/mktime.c (ranged_convert): Use new time_t_avg function
63813         instead of rolling our own (probably-slower) code.
63815         mktime: do not assume signed right shift propagates sign bit
63816         * time/mktime.c (isdst_differ): New static function.
63817         (__mktime_internal): No need to normalize tm_isdst now.
63818         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63819         tm_isdst values.
63821         mktime: merge another wrapv change from gnulib
63822         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63823         from some compilers.
63825         mktime: remove incorrect attempt at unusual arithmetics
63826         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63827         The code didn't really work on such machines anyway.
63828         (TYPE_MINIMUM): Assume two's complement.
63829         (twos_complement_arithmetic): Verify that long_int and time_t
63830         are two's complement (or unsigned, in the latter case).
63832         mktime: check signed shifts on long_int and time_t, too
63833         * time/mktime.c (SHR): Check that shifts work as desired
63834         on the types long_int and time_t too, as SHR is used on
63835         such types.
63837         mktime: do not assume 'long' is wide enough
63838         * time/mktime.c (verify): Move decl up.
63839         (long_int): New type.
63840         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63841         to remove assumption in the code that 'long' is wide enough to
63842         store year values.  This assumption is not true on x32 and on
63843         some non-glibc platforms.
63845         mktime: merge wrapv change from gnulib
63846         * time/mktime.c (WRAPV): New macro.
63847         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63848         (guess_time_tm, __mktime_internal): Do not assume that signed
63849         integer overflow wraps around; modern compilers generate code
63850         where this assumption is no longer valid.
63852 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63854         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63855         Replace "jmp L(pseudo_end)" with "ret".
63856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63857         Likewise.
63859 2012-05-23  Andreas Jaeger  <aj@suse.de>
63861         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63862         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63864 2012-05-23  Andreas Jaeger  <aj@suse.de>
63865             Maximilian Attems  <max@stro.at>
63867         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63868         New macros.
63870 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63872         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63873         code so that pseudo_end is just ret and the stack pointer is
63874         correct also for static library in error case.
63876 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63878         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63879         move to syscalls.list.
63880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63885         * manual/install.texi (Running make install): Do not mention Linux
63886         kernel version for which pt_chown is not needed.
63887         (Linux): Do not mention problems with nscd with 2.0 kernels.
63888         * INSTALL: Regenerated.
63890 2012-05-23  Andreas Jaeger  <aj@suse.de>
63892         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63893         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63894         macro.
63895         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63896         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63897         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63898         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63899         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63900         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63901         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63902         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63903         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63904         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63905         * sysdeps/unix/sysv/linux/bits/in.h
63906         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63908 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63910         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63911         (PREPARE_VERSION): Just use assert instead, it will be elided
63912         under [NDEBUG] anyway.
63914 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63916         * sysdeps/unix/sysv/linux/Makefile: Include
63917         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63918         (sysdep_routines): Remove sysctl.
63919         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63920         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63921         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63922         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63923         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63925 2012-05-22  Andreas Jaeger  <aj@suse.de>
63927         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63928         that pseudo_end is just ret and the stack pointer is correct also
63929         for static library in error case.
63931 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63933         [BZ #14122]
63934         * nss/nsswitch.c (defconfig_entries): New variable.
63935         (__nss_database_lookup): Don't leak defconfig entries.
63936         (nss_parse_service_list): Don't leak on error paths.
63937         (free_database_entries): New function.
63938         (free_defconfig): New function.
63939         (free_mem): Move common code to free_database_entries.
63941 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63943         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63944         Add arch_prctl.
63945         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63947         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63948         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63950         New macro.
63951         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63952         (INTERNAL_SYSCALL_TYPES): Likewise.
63953         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63954         (LOAD_REGS_TYPES_[1-6]): Likewise.
63955         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63956         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63958 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63960         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63961         copysignl for GLIBC_2_0.
63962         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63963         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63964         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63965         logbl for GLIBC_2_0.
63966         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63967         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63969 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63971         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63972         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63974         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63975         Use "neg %eax".
63977         * time/mktime.c: Update copyright years.
63979 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63981         mktime: merge comment-quoting-style change from gnulib
63982         * time/mktime.c: Quote 'like this' in comments.
63983         The GNU coding standards suggest that we no longer quote `like this',
63984         as "`" and "'" are typically rendered asymmetrically nowadays.
63985         The typical gnulib style is to quote 'like this' when quoting
63986         code, and "like this" when quoting English.
63988         * time/mktime.c (compile-command): Add "-I.".
63990         mktime: merge mktime-internal.h change from gnulib
63991         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63993         mktime: merge time_r change from gnulib
63994         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63996         mktime: merge DEBUG change from gnulib
63997         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63998         case system <time.h> has a #define.
64000         mktime: merge <sys/types.h> change from gnulib
64001         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64002         since <time.t> is now guaranteed to define time_t.
64004         mktime: merge HAVE_CONFIG_H change from gnulib
64005         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64007 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64010         Use "neg %eax".
64012         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64013         __rlim_t cast.
64014         (struct rusage): Use anonymous union to pad each field to
64015         __syscall_slong_t.
64017 2012-05-21  David S. Miller  <davem@davemloft.net>
64019         * Makefules (o-iterator): Remove .s cases.
64020         (compile-command.s): Delete.
64021         (COMPILE.s): Delete.
64022         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64024 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64026         * configure.in (libc_cv_predef_stack_protector): Only consider
64027         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64028         * configure: Regenerated.
64030 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64033         New macro.  Use R*LP on int and pointer.
64034         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64036         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64039         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64040         [__WORDSIZE_TIME64_COMPAT32] instead of
64041         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64042         (struct utmp): Likewise.
64043         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64044         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64045         Renamed to ...
64046         (__WORDSIZE_TIME64_COMPAT32): This.
64047         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64048         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64049         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64050         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64051         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64052         (__WORDSIZE_TIME64_COMPAT32): New macro.
64054 2012-05-21  Andreas Jaeger  <aj@suse.de>
64056         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64057         only if [SHARED]. Add prototype for __wcschr_ia32.
64059 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64061         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64062         of %rbp unmolested in the jmp_buf while mangling the low bits.
64063         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64064         unmolested high bits of %rbp while demangling the low bits.
64065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64067 2012-05-21  Andreas Jaeger  <aj@suse.de>
64069         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64070         * sunrpc/svc_simple.c: Use it for registerrpc.
64071         * sunrpc/xcrypt.c: Use it for passwd2des.
64073         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64075 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64077         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64078         Don't define if [__SYSCALL_WORDSIZE != 32].
64079         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64080         New macro.
64082 2012-05-21  Bruno Haible  <bruno@clisp.org>
64083             Andreas Jaeger  <aj@suse.de>
64085         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64086         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64087         inptr and inend for must_buffer_ch.
64088         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64089         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64090         * stdio-common/Makefile (tests): Remove bug15.
64091         (bug15-ENV): Remove macro.
64092         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64093         anymore.
64095 2012-05-19  Andreas Jaeger  <aj@suse.de>
64096             Roland McGrath  <roland@hack.frob.com>
64098         * manual/contrib.texi: Completely rewritten. It contains now an
64099         alphabetical list of contributors and their contributions.
64101 2012-05-21  Richard Henderson  <rth@twiddle.net>
64103         * misc/getauxval.c (__getauxval): Use unsigned long int.
64104         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64105         (getauxval): Use unsigned long int.
64107 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64109         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64111 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64113         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64114         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64115         __alignof__ (long double).
64117 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64121 2012-05-20  Richard Henderson  <rth@twiddle.net>
64123         * misc/getauxval.c: New file.
64124         * misc/sys/auxv.h: New file.
64125         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64126         (routines): Add getauxval.
64127         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64128         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64129         * elf/dl-sysdep.c (_dl_auxv): Remove.
64130         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64131         * elf/dl-support.c (_dl_auxv): New variable.
64132         (_dl_aux_init): Initialize it.
64133         * manual/startup.texi (Auxiliary Vector): New node.
64134         * sysdeps/generic/bits/hwcap.h: New file.
64135         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64136         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64137         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64138         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64139         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64140         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64142         Update.
64143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64146         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64152 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64156 2012-05-19  David S. Miller  <davem@davemloft.net>
64158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64160 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64162         [BZ #14123]
64163         * math/s_ccosh.c: Include <float.h>
64164         (__ccosh): Avoid internal overflow calculating sinh and cosh
64165         values before multiplying by sin and cos values.
64166         * math/s_ccoshf.c: Likewise.
64167         * math/s_ccoshl.c: Likewise.
64168         * math/s_csin.c: Likewise.
64169         * math/s_csinf.c: Likewise.
64170         * math/s_csinl.c: Likewise.
64171         * math/s_csinh.c: Likewise.
64172         * math/s_csinhf.c: Likewise.
64173         * math/s_csinhl.c: Likewise.
64174         * math/libm-test.inc (ccos_test): Add more tests.
64175         (ccosh_test): Likewise.
64176         (csin_test): Likewise.
64177         (csinh_test): Likewise.
64178         * sysdeps/i386/fpu/libm-test-ulps: Update.
64179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64181 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64183         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64184         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64186         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64188 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64190         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64191         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64192         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64193         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64194         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64195         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64196         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64197         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64198         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64199         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64200         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64201         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64202         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64203         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64204         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64205         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64206         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64207         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64208         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64209         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64210         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64211         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64212         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64213         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64214         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64215         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64216         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64217         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64218         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64219         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64220         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64222 2012-05-18  Andreas Jaeger  <aj@suse.de>
64224         * csu/.gitignore: Delete.
64226 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64228         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64229         (timex): Use __syscall_slong_t.
64231 2012-05-18  Andreas Jaeger  <aj@suse.de>
64232             Carlos O'Donell  <carlos_odonell@mentor.com>
64234         * manual/install.texi (Configuring and compiling): Update
64235         description about files modified in the source directory.
64236         * INSTALL: Regenerated.
64238 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64240         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64241         value.  Use "or" to set return value to -1.
64242         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64243         negate return value.
64245 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64247         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64248         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64249         failure if the compiler has Graphite support disabled.
64250         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64251         Likewise.
64252         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64253         (CFLAGS-memmove.c): Likewise.
64254         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64255         Likewise.
64257 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64259         * sysdeps/x86_64/x32/_itoa.h: New file.
64261         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64262         getdents system call only if kernel and user dirents have the
64263         same d_ino and d_off.
64265         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64266         LLONG_MAX != LONG_MAX.
64267         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64268         (_fitoa_word): Likewise.
64270         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64271         years.
64272         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64273         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64274         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64276         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64277         include <bits/wordsize.h>.  Check __x86_64__ instead of
64278         __WORDSIZE.
64279         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64280         if __x86_64__ is defined.  Use anonymous union on fpstate.
64282         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64283         anonymous union.
64285 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64287         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64288         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64289         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64290         Refer to _rtld_local_ro instead of _rtld_global_ro.
64291         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64292         Likewise.
64293         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64294         Likewise.
64295         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64296         Likewise.
64297         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64298         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64299         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64301         [BZ #10882]
64302         * sysdeps/powerpc/powerpc32/dl-machine.c
64303         (__elf_machine_runtime_setup) [PROF]: Don't reference
64304         _dl_prof_resolve.
64306 2012-05-18  Andreas Jaeger  <aj@suse.de>
64308         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64309         function only available for GCCs before 3.4 since GCC 3.4
64310         introduced a builtin.
64311         (lrint): Likewise.
64312         (llrintf): Likewise.
64313         (llrint): Likewise.
64314         (fmaxf): Likewise.
64315         (fmax): Likewise.
64316         (fminf): Likewise.
64317         (fmin): Likewise.
64318         (rint): Likewise.
64319         (rintf): Likewise.
64320         (nearbyint): Likewise.
64321         (nearbyintf): Likewise.
64322         (ceil): Likewise.
64323         (ceilf): Likewise.
64324         (floor): Likewise.
64325         (floorf): Likewise.
64327 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64329         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64330         on both fields and cast pointer to __syscall_ulong_t.
64332         * bits/types.h (__fsword_t): New type.
64333         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64334         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64336         (__FSWORD_T_TYPE): Likewise.
64337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64338         (__FSWORD_T_TYPE): Likewise.
64339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64340         (__FSWORD_T_TYPE): Likewise.
64341         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64342         (__FSWORD_T_TYPE): Likewise.
64343         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64344         __SWORD_TYPE with __fsword_t.
64345         (statfs64): Likewise.
64347 2012-05-17  David S. Miller  <davem@davemloft.net>
64349         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64351 2012-05-17  Andreas Jaeger  <aj@suse.de>
64353         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64354         warning.
64356 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64358         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64360 2012-05-17  Andreas Jaeger  <aj@suse.de>
64362         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64363         when it is used.
64365 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64367         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64369 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64371         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64372         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64374 2012-05-17  Andreas Jaeger  <aj@suse.de>
64375             Carlos O'Donell  <carlos_odonell@mentor.com>
64377         [BZ #14059]
64378         * sysdeps/x86_64/multiarch/init-arch.h
64379         (bit_YMM_Usable): Rename to...
64380         (bit_AVX_Usable): ... this.
64381         (bit_FMA4_Usable): New macro.
64382         (bit_XMM_state): New macro.
64383         (bit_YMM_state): New macro.
64384         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64385         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64386         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64387         (CPUID_OSXSAVE): New macro.
64388         (CPUID_AVX): New macro.
64389         (CPUID_FMA4): New macro.
64390         (index_YMM_Usable): Rename to...
64391         (index_AVX_Usable): ... this.
64392         (HAS_AVX): Use HAS_ARCH_FEATURE.
64393         (HAS_FMA4): Likewise.
64394         (HAS_YMM_USABLE): Remove.
64395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64396         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64397         are present.
64398         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64399         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64400         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64401         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64402         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64404 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64406         * math/libm-test.c: Support platforms without multiple rounding modes.
64407         * math/bug-nextafter.c: Support platforms without FP exceptions.
64408         * math/bug-nexttoward.c: Likewise.
64409         * math/test-fenv.c: Likewise.
64410         * math/test-misc.c: Likewise.
64411         * stdlib/bug-getcontext.c: Likewise.
64413 2012-05-17  Andreas Jaeger  <aj@suse.de>
64415         * manual/examples/search.c (critter_cmp): Change signature to
64416         avoid warnings.
64417         * manual/string.texi (Collation Functions): Likewise.
64419 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64421         * bits/types.h: Fold copyright years.
64422         * bits/typesizes.h: Likewise.
64423         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64427         * time/time.h: Likewise.
64429 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64431         [BZ #208]
64432         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64433         in instead of returning them.  Return void.
64434         (__libc_mallinfo): Accumulate over all arenas.
64435         (__malloc_stats): Adjust for change in int_mallinfo interface.
64437 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64439         [BZ #10375]
64440         * configure.in (NM): Add AC_CHECK_TOOL for it.
64441         (libc_extra_cflags): New substituted variable.
64442         Check for -fstack-protector being used implicitly.
64443         * configure: Regenerated.
64444         * config.make.in (config-extra-cflags): New variable,
64445         gets @libc_extra_cflags@.
64446         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64448         [BZ #10375]
64449         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64450         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64451         * configure: Regenerated.
64452         * config.make.in (CPPUNDEFS): New substituted variable.
64453         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64454         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64455         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64459         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64460         (mq_attr): Use __syscall_slong_t.
64462 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64464         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64465         Check __x86_64__ instead of __WORDSIZE.
64466         (_STAT_VER_LINUX): Likewise.
64467         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64468         __syscall_ulong_t and __syscall_slong_t.
64469         (stat64): Likewise.
64471 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64473         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64477         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64481         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64482         __syscall_ulong_t.
64484         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64485         include <bits/wordsize.h>.  Check __x86_64__ instead of
64486         __WORDSIZE.
64487         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64488         defined.
64489         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64491         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64492         include <bits/wordsize.h>.  Check __x86_64__ instead of
64493         __WORDSIZE.
64494         (user_regs_struct): Use "__extension__ unsigned long long"
64495         instead of "unsigned long" if __x86_64__ is defined.
64496         (user): Likewise.  Pad after pointer field if __ILP32__ is
64497         defined.
64499 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64501         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64502         versions 5 to 9.
64503         * configure: Regenerated.
64504         * manual/install.texi (texinfo): Increase version requirement to
64505         4.5 or later.
64506         * INSTALL: Regenerated.
64508         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64512         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64514         * sysdeps/x86_64/x32/ffs.c: New file.
64516         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64517         __syscall_ulong_t.
64518         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64519         defined.  Use __syscall_ulong_t.
64520         (shminfo): Use __syscall_ulong_t.
64521         (shm_info): Likewise.
64523         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64524         __syscall_ulong_t.
64526         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64527         <bits/wordsize.h>.
64528         (msgqnum_t): Use __syscall_ulong_t.
64529         (msglen_t): Likewise.
64530         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64531         __syscall_ulong_t.
64533         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64534         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64536         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64538         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64539         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64541         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64542         __syscall_slong_t.
64544         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64545         include <bits/wordsize.h>.  Check __x86_64__ instead of
64546         __WORDSIZE.
64548         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64549         "unsigned long long int" if __x86_64__ is defined.
64550         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64552         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64553         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64554         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64556         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64557         <stdint.h>.
64558         (GET_PC): Cast to uintptr_t first.
64559         (GET_FRAME): Likewise.
64560         (GET_STACK): Likewise.
64562         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64563         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64564         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64565         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64566         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64567         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64568         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64569         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64570         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64571         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64572         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64573         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64574         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64575         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64576         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64577         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64579         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64580         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64581         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64582         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64583         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64584         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64585         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64586         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64587         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64588         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64589         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64590         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64592 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64594         * Makerules (+depfiles): Also collect depfiles from .oS in
64595         $(extra-objs).
64596         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64597         .oS, $(libnldbl-routines)).
64599         * Makerules (native-compile-mkdep-flags): Define.
64600         * sunrpc/Makefile (extra-objs): Add $(addprefix
64601         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64602         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64603         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64604         calling $(make-target-directory).
64606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64608         * bits/types.h (__snseconds_t): Removed.
64609         * time/time.h (struct timespec): Replace __snseconds_t with
64610         __syscall_slong_t.
64611         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64612         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64613         Likewise.
64614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64615         (__SNSECONDS_T_TYPE): Likewise.
64616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64617         (__SNSECONDS_T_TYPE): Likewise.
64618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64619         (__SNSECONDS_T_TYPE): Likewise.
64621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64623         * sysdeps/mach/hurd/bits/typesizes.h
64624         (__SYSCALL_SLONG_TYPE): New macro.
64625         (__SYSCALL_ULONG_TYPE): Likewise.
64627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64629         * bits/types.h (__syscall_slong_t): New type.
64630         (__syscall_ulong_t): Likewise.
64632         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64633         (__SYSCALL_ULONG_TYPE): Likewise.
64634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64635         (__SYSCALL_SLONG_TYPE): Likewise.
64636         (__SYSCALL_ULONG_TYPE): Likewise.
64637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64638         (__SYSCALL_SLONG_TYPE): Likewise.
64639         (__SYSCALL_ULONG_TYPE): Likewise.
64640         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64641         (__SYSCALL_SLONG_TYPE): Likewise.
64642         (__SYSCALL_ULONG_TYPE): Likewise.
64644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64646         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64647         Add sigaltstack-offsets.sym.
64648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64649         <sigaltstack-offsets.h>.
64650         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64651         longjmp_msg pointer.
64652         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64653         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64654         signal stack.
64655         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64657 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64659         * elf/stackguard-macros.h: Remove file.
64660         * sysdeps/generic/stackguard-macros.h: New file.
64661         * sysdeps/i386/stackguard-macros.h: Likewise.
64662         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64663         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64664         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64665         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64666         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64667         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64668         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64669         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64670         <elf/stackguard-macros.h>.
64672         [BZ #14109]
64673         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64674         __aligned__ in attribute.
64675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64676         (gregset_t): Likewise.
64678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64680         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64681         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64682         * sysdeps/x86_64/x32/Implies-after: New file.
64684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64686         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64687         and access return value for _dl_profile_fixup.  Use R10_LP to
64688         load frame size.
64690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64692         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64696         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64697         * sysdeps/x86_64/x32/sysdep.h: New file.
64699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64701         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64702         * sysdeps/x86_64/setjmp.S: Likewise.
64704 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64706         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64707         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64708         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64709         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64710         remove unused global constant.
64712 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64714         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64715         include of <not-cancel.h>.
64717 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64719         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64721 2012-05-15  Jeff Law  <law@redhat.com>
64722             Andreas Jaeger  <aj@suse.de>
64724         [BZ #13594]
64725         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64726         out from...
64727         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64728         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64730         code changing __hst_map_handle.map.
64732 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64734         * configure.in (sysnames): Look for Implies-before and Implies-after
64735         files.
64736         * configure: Regenerated.
64738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64740         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64741         8-byte data alignment with LP_SIZE alignment.
64743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64746         into R10_LP.
64748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64750         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64754         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64755         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64756         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64757         Likewise.
64758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64762         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64763         (stackinfo_sub_sp): Likewise.
64765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64768         RAX_LP.
64770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64773         into R*_LP.
64775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64777         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64778         sizes into R*_LP.
64780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64782         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64786         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64787         into R11_LP and load __x86_64_shared_cache_size_half into
64788         R8_LP.
64790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64793         R8_LP.
64795 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64797         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64798         logb for POWER7.
64799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64800         logbf for POWER7.
64801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64802         logbl for POWER7.
64803         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64804         powerpc32/power7/fpu/s_logb.c via #include.
64805         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64806         powerpc32/power7/fpu/s_logbf.c via #include.
64807         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64808         powerpc32/power7/fpu/s_logbl.c via #include.
64810 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64812         * README.libm: Remove file.
64814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64816         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64817         count for x32.  Use R*_LP and omit operand-size suffix.
64819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64821         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64822         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64823         * sysdeps/x86_64/x32/shlib-versions: New file.
64825 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64827         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64828         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64829         Use _dl_fatal_printf instead.
64831 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64833         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64834         set if not set by the user.  Do not allow for being unset.
64835         * sysdeps/unix/sysv/linux/configure: Regenerated.
64837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64839         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64840         the `q' suffix from lea and replace .quad with ASM_ADDR.
64842 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64845         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64846         instead of $17.
64847         (PTR_DEMANGLE): Likewise.
64849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64851         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64852         (LP_OP): Likewise.
64853         (ASM_ADDR): Likewise.
64854         (RAX_LP): Likewise.
64855         (RBP_LP): Likewise.
64856         (RBX_LP): Likewise.
64857         (RCX_LP): Likewise.
64858         (RDI_LP): Likewise.
64859         (RSI_LP): Likewise.
64860         (RSP_LP): Likewise.
64861         (R8_LP): Likewise.
64862         (R9_LP): Likewise.
64863         (R10_LP): Likewise.
64864         (R10_LP): Likewise.
64865         (R11_LP): Likewise.
64866         (R12_LP): Likewise.
64867         (R13_LP): Likewise.
64868         (R14_LP): Likewise.
64869         (R15_LP): Likewise.
64871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64873         * sysdeps/x86_64/x32/dl-machine.h: New file.
64875 2012-05-14  Andreas Jaeger  <aj@suse.de>
64877         * manual/Makefile (subdir): Remove export of subdir.
64878         (all): Remove target.
64879         (.PHONY): Remove all from list.
64880         (mkinstalldirs): Remove.
64881         (.PHONY): Remove installdirs from list.
64882         ($(inst_infodir)/libc.info): Use make-target-directory.
64883         (installdirs): Remove.
64884         (subdir_%): Remove.
64885         (glibc-targets): Remove.
64886         (lib): Remove.
64887         (stubs): Remove.
64888         ($(objpfx)stubs ../po/manual.pot): Remove.
64889         ($(objpfx)stamp%): Remove.
64890         (make-target-directory): Remove.
64891         (subdir_install): Remove.
64892         (routines): Remove.
64893         (aux): Remove.
64894         (sources): Remove.
64895         (objects): Remove.
64896         (headers): Remove.
64898         [BZ #13750]
64899         * manual/.gitignore: Remove, it's not needed anymore.
64900         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64901         all files in it.
64902         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64903         directory.
64904         (texis): Renamed to $(objpfx)texis.
64905         (texis-path): New, contains path to generated files.
64906         (chapters.%): Use texis-path for complete path, add extra argument
64907         libc-texinfo.sh.
64908         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64909         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64910         (summary,texi, stamp-summary): Use complete path of
64911         files. Generate files in build dir.
64912         (dir-add.texi): Build in build dir.
64913         (libm-err.texi,stamp-libm-err): Likewise.
64914         (version.texi, stamp-version): Likewise.
64915         (.%c.texi): Likewise.
64916         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64917         (mostlyclean): Remove target.
64918         (realclean): Remove target.
64919         (generated): Add new variable with contents from mostlyclean and
64920         realclean, remove entries duplicated in common-mostlyclean, add
64921         stamp-libm-err and stamp-version.
64922         (generated-dirs): Add libc directory.
64923         ($(inst_infodir)/libc.info): Install files from build dir.
64925         * manual/install.texi (Configuring and compiling): Adjust since
64926         the info files are not part of the tar ball anymore.
64928 2012-05-14  Andreas Jaeger  <aj@suse.de>
64930         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64931         variable.
64933 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64935         [BZ #13717]
64936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64937         to 2.2.0 where earlier.
64938         * sysdeps/unix/sysv/linux/configure: Regenerated.
64939         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64940         Remove conditional code.
64941         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64942         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64943         Remove conditional code.
64944         [!__NR_lchown]: Likewise.
64945         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64946         [__NR_lchown]: Likewise.
64947         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64948         comment referencing __ASSUME_LCHOWN_SYSCALL.
64949         * sysdeps/unix/sysv/linux/i386/sigaction.c
64950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64952         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64953         Remove conditional code.
64954         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64955         (__protocol_available): Remove #if 0 code.
64956         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64957         conditional code.
64958         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64959         * sysdeps/unix/sysv/linux/kernel-features.h
64960         (__ASSUME_GETCWD_SYSCALL): Don't define.
64961         (__ASSUME_REALTIME_SIGNALS): Likewise.
64962         (__ASSUME_PREAD_SYSCALL): Likewise.
64963         (__ASSUME_PWRITE_SYSCALL): Likewise.
64964         (__ASSUME_POLL_SYSCALL): Likewise.
64965         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64966         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64967         non-SPARC.
64968         (__ASSUME_SIOCGIFNAME): Don't define.
64969         (__ASSUME_MSG_NOSIGNAL): Likewise.
64970         (__ASSUME_SENDFILE): Define unconditionally.
64971         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64972         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64973         conditional code.
64974         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64975         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64976         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64977         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64978         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64979         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64980         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64994         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64997         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65000         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65005         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65006         Remove conditional code.
65007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65008         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65009         Remove conditional code.
65010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65011         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65012         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65013         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65014         Remove conditional code.
65015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65016         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65017         Remove conditional code.
65018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65019         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65020         Remove conditional code.
65021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65022         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65023         Remove conditional code.
65024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65025         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65026         Remove conditional code.
65027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65028         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65031         * sysdeps/unix/sysv/linux/sigaction.c
65032         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65033         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65034         * sysdeps/unix/sysv/linux/sigpending.c
65035         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65036         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65037         * sysdeps/unix/sysv/linux/sigprocmask.c
65038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65040         * sysdeps/unix/sysv/linux/sigsuspend.c
65041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65043         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65044         (__libc_missing_rt_sigs): Remove.
65045         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65046         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65047         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65048         Remove conditional code.
65049         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65050         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65051         return 1.
65052         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65053         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65054         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65055         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65057 2012-05-14  Andreas Jaeger  <aj@suse.de>
65059         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65060         it's not used in glibc.
65061         (__coshm1): Likewise.
65062         (__acosh1p): Likewise.
65063         (__sgn): Likewise.
65065         * manual/string.texi (Copying and Concatenation): Add missing
65066         variable in concat example.
65067         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65071         [BZ #14103]
65072         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65073         __builtin_clzl with __builtin_clzll.
65075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65077         [BZ #14104]
65078         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65079         libc_freeres_ptr.
65081 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65083         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65084         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65085         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65086         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65088 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65090         * NEWS: Update ia64 info.
65092 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65094         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65095         used as bcopy.
65097 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65099         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65100         * sysdeps/unix/syscalls.list (dup3): Likewise.
65101         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65102         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65104 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65106         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65107         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65109 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65111         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65112         thread pointer.
65113         (TLS_IE): Use mov/add instead of movq/addq to load thread
65114         pointer.
65115         (TLS_GD_PREFIX): New.
65116         (TLS_GD): Use it.
65118 2012-05-11  David S. Miller  <davem@davemloft.net>
65120         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65121         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65122         (_FPU_SETCW): Likewise.
65124 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65126         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65127         is 32-byte aligned.
65129 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65131         [BZ #11837]
65132         * iconvdata/gb18030.c: Update tables.
65133         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65134         characters specially.
65135         (BODY for TO_LOOP): Add encoding of missing ranges.
65137 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65139         [BZ #13673]
65140         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65141         * sysdeps/mach/hurd/dup3.c: Likewise.
65142         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65143         * sysdeps/powerpc/memmove.c:: Likewise.
65145 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65147         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65148         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65150 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65152         * elf/elf.h (R_X86_64_RELATIVE64): New.
65153         (R_X86_64_NUM): Updated.
65154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65155         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65156         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65157         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65158         tst-quad1pie tst-quad2pie
65159         (modules-names): Add tst-quadmod1 tst-quadmod2.
65160         ($(objpfx)tst-quad1): New dependency.
65161         ($(objpfx)tst-quad2): Likewise.
65162         ($(objpfx)tst-quad1pie): Likewise.
65163         ($(objpfx)tst-quad2pie): Likewise.
65164         * sysdeps/x86_64/tst-quad1.c: New file.
65165         * sysdeps/x86_64/tst-quad1pie.c: New file.
65166         * sysdeps/x86_64/tst-quad2.c: Likewise.
65167         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65168         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65169         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65170         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65171         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65175         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65176         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65177         * streams/stropts.h (t_scalar_t): Define type.
65179         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65180         (_PATH_PRESERVE): Set to "/var/lib".
65181         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65183         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65184         instead of int.
65186         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65187         if __dir_mkfile succeeded.
65189         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65190         checking for _hurd_dtablesize.  Unlock it right after having
65191         finished _hurd_dtable allocation.
65193 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65195         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65196         * sysdeps/mach/hurd/configure: Regenerated.
65197         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65198         special-casing to...
65199         * sysdeps/gnu/configure.in: ... this new file.
65200         * sysdeps/unix/sysv/linux/configure: Regenerated.
65201         * sysdeps/gnu/configure: New generated file.
65203         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65204         for Linux: use nsec instead of usec, as well as:
65205         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65206         members of type struct timespec.
65207         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65208         New macros.
65209         (struct stat64): Likewise.
65210         (_STATBUF_ST_NSEC): New macro.
65211         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65213         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65214         __strtoul_internal rather than strtoul.
65216 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65218         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65219         and reject them.
65221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65223         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65224         which preserves existing values.
65225         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65227 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65229         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65230         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65231         greater than FD_SETSIZE.
65233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65235         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65236         allocated, call __vm_protect to finish enabling the existing space, and
65237         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65238         allocate the remainder.
65240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65242         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65243         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65247         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65248         sysdeps/mach/hurd/readlink.c.
65250         * posix/tst-sysconf.c (posix_options): Only use
65251         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65252         _POSIX_SYNCHRONIZED_IO when they are defined
65253         * sysdeps/mach/hurd/bits/posix_opt.h:
65254         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65255         (_XOPEN_REALTIME): Undefine macro.
65256         (_XOPEN_REALTIME_THREADS): Undefine macro.
65257         (_XOPEN_SHM): Undefine macro.
65258         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65259         macro to -1.
65260         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65261         macro to -1.
65262         (_POSIX_ASYNC_IO): Undefine macro.
65263         (_POSIX_PRIORITIZED_IO): Undefine macro.
65264         (_POSIX_SPIN_LOCKS): Define macro to -1.
65266         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65267         SA_NODEFER, SA_RESETHAND.
65268         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65269         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65270         F_DUPFD_CLOEXEC.
65272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65274         * elf/Makefile (pldd-modules): Define unconditionally.
65276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65278         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65282         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65283         Return ENOENT when name is empty.
65284         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65288         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65290         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65294         Fix mlock in all cases except non-readable pages.
65295         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65296         instead of VM_PROT_ALL as parameter to __vm_wire function.
65298         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65299         (__mkdir): When path is `/', just fail with EEXIST.
65300         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65304         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65305         <sys/uio.h> (for writev).
65306         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65307         and <sys/param.h> (for MIN).
65309 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65311         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65312         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65313         if interrupted.
65315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65317         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65318         Depend on against $(link-rpcuserlibs).
65320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65322         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65323         (__libc_stack_end): Do not use attribute_relro.
65324         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65325         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65326         to libthread-provided value.
65327         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65328         attribute_relro.
65330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65332         [BZ #3748]
65333         * bits/libc-lock.h (__libc_once_get): New macro.
65334         * sysdeps/mach/bits/libc-lock.h: Likewise.
65335         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65337         instead of using implementation details.
65339         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65340         * libio/freopen.c: Likewise.
65341         * libio/freopen64.c: Likewise.
65342         * misc/syslog.c: Likewise.
65343         * nscd/connections.c: Likewise.
65344         * nscd/netgroupcache.c: Likewise.
65345         * sysdeps/posix/getcwd.c: Likewise.
65347 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65349         * math/w_ilogbf.c: Add #include <limits.h>.
65351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65353         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65354         path instead of returning without unlocking.
65356         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65357         immediate-write ioctls.
65358         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65362         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65363         __builtin_frame_address instead of making assumptions about the
65364         location of the return address relative to DATA.  Force early load of
65365         the return address.
65366         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65367         __builtin_frame_address.
65369         dup3 for GNU Hurd.
65370         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65371         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65372         implement dup3 and do some further code clean-ups.
65373         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65374         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65378         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65380         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65381         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65382         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65383         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65384         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65385         d->port.lock.
65387         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65388         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65389         when handler == SIG_ERR, not when handler != SIG_ERR.
65391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65393         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65394         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65395         definitions.
65397         accept4 for GNU Hurd.
65398         * include/sys/socket.h (__libc_accept4): New prototype.
65399         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65400         to implement __libc_accept4.
65401         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65402         __libc_accept4.
65403         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65405         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65406         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65407         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65408         signal-defines.sym.
65410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65412         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65416         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65417         assertion on O_CLOEXEC flag.
65418         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65419         * hurd/intern-fd.c: Likewise.
65420         * hurd/port2fd.c: Likewise.
65422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65424         [BZ #3906]
65425         * bits/in.h (IPV6_PKTINFO): Define new macro.
65426         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65428 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65430         [BZ #13954]
65431         [BZ #13955]
65432         [BZ #13956]
65433         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65435         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65436         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65438         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65439         * math/libm-test.inc (logb_test) : Additional logb tests.
65441 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65442             Andreas Jaeger  <aj@suse.de>
65444         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65445         * configure: Regenerated.
65446         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65447         * config.make.in (link-obsolete-rpc): New substituted variable.
65448         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65449         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65450         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65451         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65452         so that libc.a contains the symbols.
65453         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65454         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65455         * sunrpc/auth_none.c: Likewise.
65456         * sunrpc/auth_unix.c: Likewise.
65457         * sunrpc/authdes_prot.c: Likewise.
65458         * sunrpc/authuxprot.c: Likewise.
65459         * sunrpc/clnt_gen.c: Likewise.
65460         * sunrpc/clnt_perr.c: Likewise.
65461         * sunrpc/clnt_raw.c: Likewise.
65462         * sunrpc/clnt_simp.c: Likewise.
65463         * sunrpc/clnt_tcp.c: Likewise.
65464         * sunrpc/clnt_udp.c: Likewise.
65465         * sunrpc/clnt_unix.c: Likewise.
65466         * sunrpc/des_crypt.c: Likewise.
65467         * sunrpc/des_soft.c: Likewise.
65468         * sunrpc/get_myaddr.c: Likewise.
65469         * sunrpc/key_call.c: Likewise.
65470         * sunrpc/key_prot.c: Likewise.
65471         * sunrpc/netname.c: Likewise.
65472         * sunrpc/pm_getmaps.c: Likewise.
65473         * sunrpc/pm_getport.c: Likewise.
65474         * sunrpc/pmap_clnt.c: Likewise.
65475         * sunrpc/pmap_prot.c: Likewise.
65476         * sunrpc/pmap_prot2.c: Likewise.
65477         * sunrpc/pmap_rmt.c: Likewise.
65478         * sunrpc/publickey.c: Likewise.
65479         * sunrpc/rpc_cmsg.c: Likewise.
65480         * sunrpc/rpc_common.c: Likewise.
65481         * sunrpc/rpc_dtable.c: Likewise.
65482         * sunrpc/rpc_prot.c: Likewise.
65483         * sunrpc/rpc_thread.c: Likewise.
65484         * sunrpc/rtime.c: Likewise.
65485         * sunrpc/svc.c: Likewise.
65486         * sunrpc/svc_auth.c: Likewise.
65487         * sunrpc/svc_raw.c: Likewise.
65488         * sunrpc/svc_run.c: Likewise.
65489         * sunrpc/svc_tcp.c: Likewise.
65490         * sunrpc/svc_udp.c: Likewise.
65491         * sunrpc/svc_unix.c: Likewise.
65492         * sunrpc/svcauth_des.c: Likewise.
65493         * sunrpc/xcrypt.c: Likewise.
65494         * sunrpc/xdr.c: Likewise.
65495         * sunrpc/xdr_array.c: Likewise.
65496         * sunrpc/xdr_float.c: Likewise.
65497         * sunrpc/xdr_intXX_t.c: Likewise.
65498         * sunrpc/xdr_mem.c: Likewise.
65499         * sunrpc/xdr_rec.c: Likewise.
65500         * sunrpc/xdr_ref.c: Likewise.
65501         * sunrpc/xdr_sizeof.c: Likewise.
65502         * sunrpc/xdr_stdio.c: Likewise.
65504 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65506         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65507         change.  Update copyright years.
65509 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65511         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65513 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65514             Joseph Myers  <joseph@codesourcery.com>
65515             Paul Pluzhnikov  <ppluzhnikov@google.com>
65517         [BZ #14012]
65518         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65519         requiring rpcgen.
65520         [cross-compiling] (extra-libs): Likewise.
65521         [cross-compiling] (extra-libs-others): Likewise.
65522         [cross-compiling] (librpcsvc-routines): Likewise.
65523         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65524         [cross-compiling] (omit-deps): Likewise.
65525         (sunrpc-CPPFLAGS): New variable.
65526         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65527         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65528         (cross-rpcgen-objs): New variable.
65529         (extra-objs): Append $(cross-rpcgen-objs).
65530         ($(cross-rpcgen-objs)): New rule.
65531         ($(objpfx)cross-rpcgen): Likewise.
65532         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65533         comment.
65534         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65535         ($(objpfx)x%.stmp): Likewise.
65536         * sunrpc/proto.h [IS_IN_build] (_): Define.
65537         [IS_IN_build] (_libc_intl_domainname): Likewise.
65539 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65542         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65543         and R_X86_64_TPOFF64.
65545 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65547         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65548         sysdeps/unix/sysv/syscalls.list.
65549         (stime): Likewise.
65550         (utime): Likewise.
65551         * sysdeps/unix/sysv/syscalls.list: Remove file.
65553 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65555         [BZ #3440]
65556         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65557         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65558         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65559         (__LC_IDENTIFICATION): Make these macros useful in #if
65560         expressions, as required by C99.
65562 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65564         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65565         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65566         after this.
65568 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65570         * stdlib/longlong.h: Updated from GCC.
65572 2012-05-09  Andreas Jaeger  <aj@suse.de>
65574         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65575         default is first entry.
65576         (run_mode): Set type.
65577         (main): Remove informal message about syslog.
65578         (options): Fix typo.
65580         [BZ #14053]
65581         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65582         to asm.
65583         (lrint): Likewise.
65584         (llrintf): Likewise.
65585         (llrint): Likewise.
65586         (rint): Likewise.
65587         (rintf): Likewise.
65588         (nearbyint): Likewise.
65589         (nearbyintf): Likewise.
65591 2012-05-09  Andreas Jaeger  <aj@suse.de>
65592             Pedro Alves  <palves@redhat.com>
65594         * nscd/nscd.c (run_mode): Use enum.
65595         (main): Cleanup coding style issue.
65597 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65598             Andreas Jaeger  <aj@suse.de>
65600         * nscd/nscd.c (go_background): Replaced with...
65601         (run_mode): ... this.
65602         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65603         (options): Add -F --foreground.
65604         (main): Implement it.
65605         (parse_opt): Parse it.
65607 2012-05-09  Andreas Jaeger  <aj@suse.de>
65609         [BZ #14083]
65610         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65611         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65612         -Wconversion warning.
65613         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65614         Likewise.
65616 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65618         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65619         == 0.
65620         (LC_ALL): Use macro-int-constant.
65621         (LC_COLLATE): Likewise.
65622         (LC_CTYPE): Likewise.
65623         (LC_MESSAGES): Likewise.
65624         (LC_MONETARY): Likewise.
65625         (LC_NUMERIC): Likewise.
65626         (LC_TIME): Likewise.
65627         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65628         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65629         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65630         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65631         Specify type.
65632         [C99-based standards] (float_t): Expect type.
65633         [C99-based standards] (double_t): Expect type.
65634         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65635         type.
65636         [C99-based standards] (HUGE_VALL): Likewise.
65637         [C99-based standards] (INFINITY): Likewise.
65638         [C99-based standards] (NAN): Likewise.
65639         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65640         [C99-based standards] (FP_NAN): Likewise.
65641         [C99-based standards] (FP_NORMAL): Likewise.
65642         [C99-based standards] (FP_SUBNORMAL): Likewise.
65643         [C99-based standards] (FP_ZERO): Likewise.
65644         [C99-based standards] (FP_FAST_FMA): Use
65645         optional-macro-int-constant.  Specify type.  Require == 1.
65646         [C99-based standards] (FP_FAST_FMAF): Likewise.
65647         [C99-based standards] (FP_FAST_FMAL): Likewise.
65648         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65649         [C99-based standards] (FP_ILOGBNAN): Likewise.
65650         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65651         Specify type.
65652         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65653         [C99-based standards] (math_errhandling): Specify type.
65654         [ISO99 || ISO11] (signgam): Do not allow.
65655         [non-C99-based standards] (copysignf): Do not allow.
65656         [non-C99-based standards] (exp2f): Likewise.
65657         [non-C99-based standards] (log2f): Likewise.
65658         [non-C99-based standards] (modff): Allow.
65659         [non-C99-based standards] (erff): Do not allow.
65660         [non-C99-based standards] (erfcf): Likewise.
65661         [non-C99-based standards] (gammaf): Likewise.
65662         [non-C99-based standards] (hypotf): Likewise.
65663         [non-C99-based standards] (j0f): Likewise.
65664         [non-C99-based standards] (j1f): Likewise.
65665         [non-C99-based standards] (jnf): Likewise.
65666         [non-C99-based standards] (lgammaf): Likewise.
65667         [non-C99-based standards] (tgammaf): Likewise.
65668         [non-C99-based standards] (y0f): Likewise.
65669         [non-C99-based standards] (y1f): Likewise.
65670         [non-C99-based standards] (ynf): Likewise.
65671         [non-C99-based standards] (isnanf): Likewise.
65672         [non-C99-based standards] (acoshf): Likewise.
65673         [non-C99-based standards] (asinhf): Likewise.
65674         [non-C99-based standards] (atanhf): Likewise.
65675         [non-C99-based standards] (cbrtf): Likewise.
65676         [non-C99-based standards] (expm1f): Likewise.
65677         [non-C99-based standards] (ilogbf): Likewise.
65678         [non-C99-based standards] (log1pf): Likewise.
65679         [non-C99-based standards] (logbf): Likewise.
65680         [non-C99-based standards] (nextafterf): Likewise.
65681         [non-C99-based standards] (remainderf): Likewise.
65682         [non-C99-based standards] (rintf): Likewise.
65683         [non-C99-based standards] (scalbf): Likewise.
65684         [non-C99-based standards] (copysignl): Likewise.
65685         [non-C99-based standards] (exp2l): Likewise.
65686         [non-C99-based standards] (log2l): Likewise.
65687         [non-C99-based standards] (modfl): Allow.
65688         [non-C99-based standards] (erfl): Do not allow.
65689         [non-C99-based standards] (erfcl): Likewise.
65690         [non-C99-based standards] (gammal): Likewise.
65691         [non-C99-based standards] (hypotl): Likewise.
65692         [non-C99-based standards] (j0l): Likewise.
65693         [non-C99-based standards] (j1l): Likewise.
65694         [non-C99-based standards] (jnl): Likewise.
65695         [non-C99-based standards] (lgammal): Likewise.
65696         [non-C99-based standards] (tgammal): Likewise.
65697         [non-C99-based standards] (y0l): Likewise.
65698         [non-C99-based standards] (y1l): Likewise.
65699         [non-C99-based standards] (ynl): Likewise.
65700         [non-C99-based standards] (isnanl): Likewise.
65701         [non-C99-based standards] (acoshl): Likewise.
65702         [non-C99-based standards] (asinhl): Likewise.
65703         [non-C99-based standards] (atanhl): Likewise.
65704         [non-C99-based standards] (cbrtl): Likewise.
65705         [non-C99-based standards] (expm1l): Likewise.
65706         [non-C99-based standards] (ilogbl): Likewise.
65707         [non-C99-based standards] (log1pl): Likewise.
65708         [non-C99-based standards] (logbl): Likewise.
65709         [non-C99-based standards] (nextafterl): Likewise.
65710         [non-C99-based standards] (remainderl): Likewise.
65711         [non-C99-based standards] (rintl): Likewise.
65712         [non-C99-based standards] (scalbl): Likewise.
65713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65714         [non-C99-based standards] (FP_*): Do not allow.
65715         [C99-based standards] (FP_*): Change to
65716         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65717         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65718         allow.
65719         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65720         (SIG_ERR): Likewise.
65721         [X/Open-based standards] (SIG_HOLD): Likewise.
65722         (SIG_IGN): Likewise.
65723         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65724         positive value.
65725         (SIGFPE): Likewise.
65726         (SIGILL): Likewise.
65727         (SIGINT): Likewise.
65728         (SIGSEGV): Likewise.
65729         (SIGTER): Likewise.
65730         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65731         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65732         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65733         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65734         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65735         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65736         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65737         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65738         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65739         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65740         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65741         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65742         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65743         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65744         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65745         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65746         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65747         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65748         [X/Open-based standards] (SIGTRAP): Likewise.
65749         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65750         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65751         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65752         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65753         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65754         allow.
65756 2012-05-08  Ian Wienand  <ianw@vmware.com>
65758         [BZ #14080]
65759         * time/tzset.c (__tzset_parse_tz): Update default rules for
65760         daylight time changes in the Energy Policy Act of 2005.
65762 2012-05-09  Andreas Jaeger  <aj@suse.de>
65764         [BZ #13983]
65765         * elf/ldconfig.c (parse_conf): Change string to make clear that
65766         ldconfig only issued a warning if ld.so.conf does not exist.
65768 2012-05-08  David S. Miller  <davem@davemloft.net>
65770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65771         movxtod instead of popping the value on the stack.
65773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65775 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65777         * config.h.in: Add HAVE_ARM_PCS_VFP.
65779 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65781         [BZ #13979]
65782         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65783         checking but the checks are disabled for any reason.
65785 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65787         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65788         and ELF64_R_TYPE with ELFW(R_TYPE).
65790 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65792         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65793         (ulimit): Likewise.
65795         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65796         (settimeofday): Likewise.
65798 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65800         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65801         a struct th_u2 inside the union, and move tu_block/tu_code into
65802         a new th_u3 union of tu_block/tu_code inside of that.  Move
65803         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65804         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65805         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65806         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65807         (th_stuff): Change to th_u1.tu_stuff.
65808         (th_data): Define.
65809         (th_msg): Change to th_u1.th_u2.tu_data.
65811 2012-05-07  David S. Miller  <davem@davemloft.net>
65813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65815         [BZ #14074]
65816         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65817         (SETUP_PIC_REG): Use it.
65818         (SETUP_PIC_REG_LEAF): Use it.
65820 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65822         [BZ #13885]
65823         [BZ #13923]
65824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65825         USE_AS_EXPM1L.
65826         (EXPL_FINITE): Likewise.
65827         (FLDLOG): Likewise.
65828         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65829         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65830         e_expl.S.
65831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65832         USE_AS_EXPM1L.
65833         (EXPL_FINITE): Likewise.
65834         (FLDLOG): Likewise.
65835         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65836         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65837         e_expl.S.
65838         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65839         test of -max_value argument for long double.
65840         * sysdeps/i386/fpu/libm-test-ulps: Update.
65841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65843 2012-05-06  David S. Miller  <davem@davemloft.net>
65845         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65846         quad soft-float symbols whose references which are compiler
65847         generated.
65848         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65850 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65852         [BZ #13884]
65853         [BZ #13914]
65854         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65855         USE_AS_EXP10L.
65856         (EXPL_FINITE): Likewise.
65857         (FLDLOG): Likewise.
65858         (c0): Likewise.
65859         (c1): Likewise.
65860         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65861         Adjust comments for base varying.
65862         (__expl_finite): Change alias to EXPL_FINITE.
65863         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65864         e_expl.S.
65865         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65866         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65867         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65868         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65869         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65870         USE_AS_EXP10L.
65871         (EXPL_FINITE): Likewise.
65872         (FLDLOG): Likewise.
65873         (c0): Likewise.
65874         (c1): Likewise.
65875         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65876         Adjust comments for base varying.
65877         (__expl_finite): Change alias to EXPL_FINITE.
65878         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65879         tests for bugs.
65880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65882         [BZ #14064]
65883         * math/libm-test.inc (check_float_internal): Correct ulp
65884         calculation for subnormal expected results.
65886 2012-05-06  Andreas Jaeger  <aj@suse.de>
65888         * Makeconfig (+math-flags): New, set to -frounding-math.
65889         (+cflags): Add +math-flags so that all of glibc gets compiled with
65890         it.
65892         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65894 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65896         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65897         Disable one test.
65899         [BZ #13787]
65900         [BZ #13922]
65901         [BZ #14036]
65902         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65903         (__ieee754_expl): Allow for and saturate large arguments.
65904         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65905         (u_threshold): Likewise.
65906         (__exp): Call __ieee754_exp before checking for overflow and
65907         underflow.
65908         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65909         (u_threshold): Likewise.
65910         (__expf): Call __ieee754_expf before checking for overflow and
65911         underflow.
65912         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65913         (u_threshold): Likewise.
65914         (__expl): Call __ieee754_expl before checking for overflow and
65915         underflow.
65916         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65917         (__ieee754_expl): Allow for and saturate large arguments.
65918         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65919         missing overflow exception on overflow.
65920         (expm1_test): Do not allow missing overflow exception on overflow.
65922         * sysdeps/i386/fpu/e_expl.c: Move to ...
65923         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65924         rather than using inline asm.
65925         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65926         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65927         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65929         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65930         (nice): Likewise.
65931         (poll): Likewise.
65932         (signal): Likewise.
65933         (time): Likewise.
65934         (times): Likewise.
65936 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65938         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65939         sysdeps/unix/common/syscalls.list.
65940         (fchmod): Likewise.
65941         (fchown): Likewise.
65942         (ftruncate): Likewise.
65943         (getrusage): Likewise.
65944         (gettimeofday): Likewise.
65945         (setpgid): Likewise.
65946         (setregid): Likewise.
65947         (setreuid): Likewise.
65948         (sigaction): Likewise.
65949         (truncate): Likewise.
65950         (vhangup): Likewise.
65951         * sysdeps/unix/common/syscalls.list: Remove file.
65952         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65953         * sysdeps/unix/sysv/linux/Implies: Likewise.
65955 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65957         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65959         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65960         Moved to ...
65961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65962         Here.
65963         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65964         to ...
65965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65966         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65967         to ...
65968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65969         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65970         to ...
65971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65972         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65973         to ...
65974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65975         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65976         to ...
65977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65978         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65979         to ...
65980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65981         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65982         to ...
65983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65984         Here.
65985         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65986         to ...
65987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65988         Here.
65989         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65990         to ...
65991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65992         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65993         Moved to ...
65994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65995         Here.
65996         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65997         to ...
65998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66000 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66002         * sysdeps/unix/common/bits/dirent.h: Remove file.
66003         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66005         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66006         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66007         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66008         * sysdeps/unix/bsd/isatty.c: Likewise.
66009         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66010         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66011         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66013 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66015         [BZ #13563]
66016         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66017         long double comparison inaccuracies.
66018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66021 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66023         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66028         [BZ #14049]
66029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66030         nonzero digits before rounding a hex value.
66031         * stdlib/tst-strtod.c (tests): Add another test.
66033 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66035         * sysdeps/s390/fpu/libm-test-ulps: Update.
66037 2012-05-03  Andreas Jaeger  <aj@suse.de>
66039         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66040         does not get optimized out.
66041         (malloc_opt_barrier): New.
66043 2012-05-03  Andreas Jaeger  <aj@suse.de>
66044             Roland McGrath  <roland@hack.frob.com>
66046         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66047         intermediate file deletion.
66048         (generated): Add .symlist files.
66050 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66052         [BZ #13775]
66053         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66054         Redirect under this condition.
66055         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66056         [__USE_GNU] (__dprintf_chk): Not under this condition.
66057         [__USE_GNU] (__vdprintf_chk): Likewise.
66058         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66059         under this condition.
66060         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66061         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66062         [__USE_XOPEN2K8] (vdprintf): Likewise.
66063         [__USE_GNU] (__dprintf_chk): Not under this condition.
66064         [__USE_GNU] (__vdprintf_chk): Likewise.
66065         [__USE_GNU] (dprintf): Likewise.
66066         [__USE_GNU] (vdprintf): Likewise.
66068 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66070         * elf/Makefile (common-generated): Set this instead of generated for
66071         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66072         $(all-built-dso)-derived lists.
66074 2012-05-03  Andreas Jaeger  <aj@suse.de>
66076         * sysdeps/i386/fpu/libm-test-ulps: Update.
66078         * FAQ: Removed.
66079         * FAQ.in: Likewise.
66080         * scripts/gen-FAQ.pl: Likewise.
66081         * manual/install.texi (Installation): Point to online location of
66082         FAQ.
66083         * Makefile (files-for-dist): Remove FAQ.
66084         (FAQ): Remove.
66086 2012-05-02  Allan McRae  <allan@archlinux.org>
66088         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66089         (LDFLAGS-reldepmod5.so): Likewise.
66090         (LDFLAGS-reldep6mod1.so): Likewise.
66091         (LDFLAGS-reldep6mod4.so): Likewise.
66092         (LDFLAGS-reldep8mod3.so): Likewise.
66093         (LDFLAGS-unload4mod1.so): Likewise.
66094         (LDFLAGS-unload4mod2.so): Likewise.
66095         (LDFLAGS-tst-initorder): Likewise.
66096         (LDFLAGS-tst-initordera2.so): Likewise.
66097         (LDFLAGS-tst-initordera3.so): Likewise.
66098         (LDFLAGS-tst-initordera4.so): Likewise.
66099         (LDFLAGS-tst-initorderb2.so): Likewise.
66100         (LDFLAGS-noload): Likewise.
66101         (LDFLAGS-next): Likewise.
66102         (LDFLAGS-order2mod1.so): Likewise.
66103         (LDFLAGS-order2mod2.so): Likewise.
66104         (LDFLAGS-tst-initorder2): Likewise.
66105         (LDFLAGS-tst-initorder2a.so): Likewise.
66106         (LDFLAGS-tst-initorder2b.so): Likewise.
66107         (LDFLAGS-tst-initorder2c.so): Likewise.
66108         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66110 2012-05-02  David S. Miller  <davem@davemloft.net>
66112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66114 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66116         [BZ #14055]
66117         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66119 2012-05-02  Andreas Jaeger  <aj@suse.de>
66121         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66122         since we manipulate rounding mode.
66123         (CPPFLAGS-test-idouble.c): Likewise.
66124         (CPPFLAGS-test-ifloat.c): Likewise.
66125         (CFLAGS-test-ldouble.c): Likewise.
66126         (CFLAGS-test-double.c): Likewise.
66127         (CFLAGS-test-float.c): Likewise.
66128         (CFLAGS-test-misc.c): Likewise.
66129         (CFLAGS-test-test-fenv.c): Likewise.
66131 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66133         [BZ #2550]
66134         [BZ #2570]
66135         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66136         comparisons to determine direction to adjust input.
66138 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66140         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66141         output to the target.
66143         * scripts/localplt.awk: New file.
66144         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66145         (check-localplt-CFLAGS): Variable removed.
66146         ($(all-built-dso:=.jmprel)): New static pattern rule.
66147         (generated): Add those targets.
66148         (localplt-built-dso): New variable.
66149         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66151         * elf/check-localplt.c: File removed.
66153         * scripts/check-execstack.awk: New file.
66154         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66155         (check-execstack-CFLAGS): Variable removed.
66156         ($(objpfx)check-execstack.h): Target removed.
66157         ($(objpfx)execstack-default): New target.
66158         (generated): Add that instead of check-execstack.h.
66159         ($(all-built-dso:=.phdr)): New static pattern rule.
66160         (generated): Add those targets.
66161         * elf/check-execstack.c: File removed.
66163         * scripts/check-textrel.awk: New file.
66164         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66165         (check-textrel-CFLAGS): Variable removed.
66166         (all-built-dso): Use := to define.o
66167         ($(all-built-dso:=.dyn)): New static pattern rule.
66168         (generated): Add those targets.
66169         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66170         * config.make.in (READELF): New substituted variable.
66171         * elf/check-textrel.c: File removed.
66173 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66175         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66176         allow.
66177         * conform/data/ctype.h-data [C99-based standards] (isblank):
66178         Expect function.
66179         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66180         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66182         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66183         Specify type.  Require positive value.
66184         (EILSEQ): Likewise.
66185         (ERANGE): Likewise.
66186         [ISO || POSIX] (EILSEQ): Do not expect.
66187         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66188         Specify type.  Require positive value.
66189         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66190         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66191         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66192         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66193         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66194         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66195         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66196         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66197         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66198         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66199         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66200         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66201         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66202         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66203         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66204         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66205         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66206         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66207         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66208         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66209         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66210         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66211         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66212         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66213         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66214         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66215         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66216         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66217         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66218         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66219         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66220         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66221         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66222         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66223         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66224         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66225         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66226         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66227         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66228         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66229         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66230         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66231         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66232         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66233         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66234         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66235         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66236         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66237         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66238         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66239         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66240         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66241         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66242         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66243         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66244         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66245         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66246         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66247         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66248         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66249         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66250         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66251         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66252         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66253         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66254         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66255         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66256         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66257         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66258         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66259         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66260         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66261         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66262         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66263         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66264         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66265         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66266         Require >= 2.
66267         (FLT_ROUNDS): Expect as macro, not constant.
66268         (FLT_MANT_DIG): Use macro-int-constant.
66269         (DBL_MANT_DIG): Likewise.
66270         (LDBL_MANT_DIG): Likewise.
66271         (FLT_DIG): Likewise.
66272         (DBL_DIG): Likewise.
66273         (LDBL_DIG): Likewise.
66274         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66275         (DBL_MIN_EXP): Likewise.
66276         (LDBL_MIN_EXP): Likewise.
66277         (FLT_MAX_EXP): Use macro-int-constant.
66278         (DBL_MAX_EXP): Likewise.
66279         (LDBL_MAX_EXP): Likewise.
66280         (FLT_MAX_10_EXP): Likewise.
66281         (DBL_MAX_10_EXP): Likewise.
66282         (LDBL_MAX_10_EXP): Likewise.
66283         (FLT_MAX): Use macro-constant.
66284         (DBL_MAX): Likewise.
66285         (LDBL_MAX): Likewise.
66286         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66287         (DBL_EPSILON): Likewise.
66288         (LDBL_EPSILON): Likewise.
66289         (FLT_MIN): Likewise.
66290         (DBL_MIN): Likewise.
66291         (LDBL_MIN): Likewise.
66292         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66293         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66294         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66295         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66296         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66297         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66298         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66299         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66300         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66301         [ISO11] (FLT_TRUE_MIN): Likewise.
66302         [ISO11] (LDBL_TRUE_MIN): Likewise.
66303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66304         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66305         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66306         (SCHAR_MAX): Likewise.
66307         (UCHAR_MAX): Likewise.
66308         (CHAR_MIN): Likewise.
66309         (CHAR_MAX): Likewise.
66310         (MB_LEN_MAX): Use macro-int-constant.
66311         (SHRT_MIN): Use macro-int-constant.  Specify type.
66312         (SHRT_MAX): Likewise.
66313         (USHRT_MAX): Likewise.
66314         (INT_MAX): Likewise.
66315         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66316         bound negative.
66317         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66318         bound with "U".
66319         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66320         bound with "L".
66321         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66322         bound negative.  Suffix upper bound with "L".
66323         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66324         bound with "UL".
66325         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66326         Specify type.
66327         [C99-based standards] (LLONG_MAX): Likewise.
66328         [C99-based standards] (ULLONG_MAX): Likewise.
66329         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66330         == 0.
66331         [ISO11] (max_align_t): Require type.
66332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66334         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66335         from $CFLAGS, without defining away __attribute__ calls.
66336         (checknamespace): Use $CFLAGS_namespace.
66338         * conform/conformtest.pl (@keywords): Only include C99 keywords
66339         for standards based on C99 or C11.
66341         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66342         Disable tests.
66343         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66344         UNIX98]: Likewise.
66346         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66347         usability of symbols in #if.
66349         * conform/conformtest.pl: If macro or constant types start
66350         "promoted:", expect the symbol to be of the following type
66351         promoted by the integer promotions.
66353         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66354         in one place.  Also handle "macro-constant".
66356         * conform/conformtest.pl: Only accept expected macro values with
66357         "==".  Parse all "macro" lines in one place.
66358         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66360         * conform/conformtest.pl: Handle braced types on "constant" lines
66361         instead of handling "typed-constant".
66362         * conform/data/signal.h-data: Use "constant" instead of
66363         "typed-constant".
66365         * conform/conformtest.pl: Handle "optional-" at start of lines in
66366         one place rather than duplicating several cases.  Handle each
66367         format of "macro" line with initial "optional-".
66369         * conform/conformtest.pl: Only accept expected constant or
66370         optional-constant values with "==".  Parse all "constant" lines in
66371         one place.  Parse all "optional-constant" lines in one place.
66372         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66373         * conform/data/fmtmsg.h-data: Likewise.
66374         * conform/data/netinet/in.h-data: Likewise.
66375         * conform/data/tar.h-data: Likewise.
66376         * conform/data/limits.h-data: Use "==" form on "constant" and
66377         "optional-constant" lines.
66379         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66380         Use -std=c99 for XOPEN2K.
66381         (@knownproblems): Remove.
66382         (newtoken): Don't check %isknown.
66384         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66385         Do not expect macro.
66386         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66387         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66388         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66389         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66390         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66391         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66392         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66393         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66394         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66395         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66396         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66397         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66398         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66399         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66400         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66401         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66402         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66403         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66404         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66405         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66406         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66407         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66408         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66409         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66410         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66411         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66412         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66413         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66414         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66415         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66416         [XPG3] (acosh): Likewise.
66417         [XPG3] (asinh): Likewise.
66418         [XPG3] (atanh): Likewise.
66419         [XPG3] (cbrt): Likewise.
66420         [XPG3] (expm1): Likewise.
66421         [XPG3] (ilogb): Likewise.
66422         [XPG3] (log1p): Likewise.
66423         [XPG3] (logb): Likewise.
66424         [XPG3] (nextafter): Likewise.
66425         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66426         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66427         [XPG3] (remainder): Likewise.
66428         [XPG3] (rint): Likewise.
66429         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66430         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66431         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66432         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66433         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66434         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66435         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66436         [UNIX98 || XOPEN2K] (scalb): Expect.
66437         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66438         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66439         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66440         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66441         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66442         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66443         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66444         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66445         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66446         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66447         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66448         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66449         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66450         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66451         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66452         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66453         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66454         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66455         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66456         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66457         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66458         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66459         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66460         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66461         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66462         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66463         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66464         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66465         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66466         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66467         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66468         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66469         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66470         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66471         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66472         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66473         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66474         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66475         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66476         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66477         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66478         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66479         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66480         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66481         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66482         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66483         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66484         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66485         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66486         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66487         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66488         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66489         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66490         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66491         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66492         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66493         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66494         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66495         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66496         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66497         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66498         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66499         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66500         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66501         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66502         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66503         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66504         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66505         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66506         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66507         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66508         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66509         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66510         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66511         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66512         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66513         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66514         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66515         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66516         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66517         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66518         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66519         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66520         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66521         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66522         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66523         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66524         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66525         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66526         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66527         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66528         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66529         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66530         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66531         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66532         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66533         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66534         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66535         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66536         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66537         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66538         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66539         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66540         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66541         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66542         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66543         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66544         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66545         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66546         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66547         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66548         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66549         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66550         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66551         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66552         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66553         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66554         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66555         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66556         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66557         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66558         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66559         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66560         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66561         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66562         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66563         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66564         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66565         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66566         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66567         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66568         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66569         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66570         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66571         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66572         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66573         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66575         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66576         _XOPEN_SOURCE_EXTENDED for XPG4.
66578         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66580         * Makeconfig (localtime): Remove variable.
66581         (inst_localtime-file): Likewise.
66583 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66586         Update.
66587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66588         Update.
66589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66590         Update.
66591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66592         Update.
66593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66594         Update.
66595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66596         Update.
66597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66598         Update.
66599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66600         Update.
66601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66602         Update.
66604 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66606         [BZ #2550]
66607         [BZ #2570]
66608         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66609         comparisons to determine direction to adjust input.
66610         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66611         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66613         Likewise.
66614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66615         Likewise.
66616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66617         Likewise.
66618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66620         Likewise.
66621         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66622         Likewise.
66623         * math/libm-test.inc (nexttoward_test): Add more tests.
66625 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66627         [BZ #14040]
66628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66629         in version GLIBC_2.1, not GLIBC_2.0.
66630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66631         Likewise.
66633 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66635         [BZ #13942]
66636         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66637         (1 - x) * (1 + x).
66638         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66639         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66640         * math/libm-test.inc (acos_test): Add more tests.
66641         (asin_test): Likewise.
66642         * sysdeps/i386/fpu/libm-test-ulps: Update.
66643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66645         [BZ #14034]
66646         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66647         of square root.
66648         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66649         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66650         * math/libm-test.inc (acos_test_tonearest): New function.
66651         (acos_test_towardzero): Likewise.
66652         (acos_test_downward): Likewise.
66653         (acos_test_upward): Likewise.
66654         (asin_test_tonearest): Likewise.
66655         (asin_test_towardzero): Likewise.
66656         (asin_test_downward): Likewise.
66657         (asin_test_upward): Likewise.
66658         (main): Call the new functions.
66659         * sysdeps/i386/fpu/libm-test-ulps: Update.
66660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66662         [BZ #13884]
66663         [BZ #13924]
66664         * math/e_exp10.c: Include <float.h>.
66665         (__ieee754_exp10): Handle underflow here rather than multiplying
66666         large negative argument by M_LN10.
66667         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66668         of __ieee754_expf.
66669         * math/e_exp10l.c: Include <float.h>.
66670         (__ieee754_exp10l): Handle underflow here rather than multiplying
66671         large negative argument by M_LN10l.
66672         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66673         spurious overflow exception on underflow.
66675 2012-04-29  Marek Polacek  <polacek@redhat.com>
66677         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66678         (__fortify_function): New macro.
66679         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66680         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66681         __extern_always_inline.
66682         * libio/bits/stdio2.h: Likewise.
66683         * libio/bits/stdio.h: Likewise.
66684         * string/string.h: Likewise.
66685         * string/bits/string3.h: Likewise.
66686         * include/stdio.h: Likewise.
66687         * stdlib/bits/stdlib.h: Likewise.
66688         * stdlib/stdlib.h: Likewise.
66689         * rt/bits/mqueue2.h: Likewise.
66690         * rt/mqueue.h: Likewise.
66691         * posix/bits/unistd.h: Likewise.
66692         * posix/unistd.h: Likewise.
66693         * io/bits/poll2.h: Likewise.
66694         * io/bits/fcntl2.h: Likewise.
66695         * io/fcntl.h: Likewise.
66696         * io/sys/poll.h: Likewise.
66697         * misc/bits/syslog.h: Likewise.
66698         * misc/bits/syslog-ldbl.h: Likewise.
66699         * misc/sys/syslog.h: Likewise.
66700         * socket/bits/socket2.h: Likewise.
66701         * socket/sys/socket.h: Likewise.
66702         * debug/tst-chk1.c: Likewise.
66703         * wcsmbs/bits/wchar2.h: Likewise.
66704         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66705         * wcsmbs/wchar.h: Likewise.
66707 2012-04-29  Andreas Jaeger  <aj@suse.de>
66709         * Makerules (tests): Remove enable-check-abi protection.
66710         (check-abi-warn): Remove.
66711         (check-abi-%): Remove check-abi-warn usage.
66713         * configure.in: Remove check-abi configure option.
66714         * configure: Regenerated.
66715         * config.make.in (enable-check-abi): Remove.
66717 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66719         [BZ #14033]
66720         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66721         double functions to double *_finite functions.
66723         [BZ #13941]
66724         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66725         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66726         LDBL_MIN_EXP.
66727         * stdio-common/Makefile (tests): Add tst-sprintf3.
66728         * stdio-common/tst-sprintf3.c: New file.
66730         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66731         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66733 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66735         * conform/conformtest.pl: Remove duplicate typed-constant
66736         handling.
66738 2012-04-28  David S. Miller  <davem@davemloft.net>
66740         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66741         (check-abi-%): Remove AWK script prerequisite and explicit
66742         abilist directory.
66743         (check-abi): Rewrite to just diff the symlist with the abilist.
66744         (config-tls, config-abi-config): Delete, no longer used.
66745         (update-abi-%): Remove AWK script and explicit abilist directory.
66746         (update-abi): Rewrite to simply compare and conditionally copy the
66747         symlist and the sysdep abilist file.  Remove update-abi-config
66748         checks.
66749         * abilist/ld.abilist: Remove.
66750         * abilist/libBrokenLocale.abilist: Remove.
66751         * abilist/libanl.abilist: Remove.
66752         * abilist/libcrypt.abilist: Remove.
66753         * abilist/libdl.abilist: Remove.
66754         * abilist/librt.abilist: Remove.
66755         * abilist/libthread_db.abilist: Remove.
66756         * abilist/libutil.abilist: Remove.
66757         * scripts/extract-abilist.awk: Remove.
66758         * scripts/merge-abilist.awk: Remove.
66759         * sysdeps/generic/libcidn.abilist: New file.
66760         * sysdeps/generic/libnss_compat.abilist: New file.
66761         * sysdeps/generic/libnss_db.abilist: New file.
66762         * sysdeps/generic/libnss_dns.abilist: New file.
66763         * sysdeps/generic/libnss_files.abilist: New file.
66764         * sysdeps/generic/libnss_hesiod.abilist: New file.
66765         * sysdeps/generic/libnss_nis.abilist: New file.
66766         * sysdeps/generic/libnss_nisplus.abilist: New file.
66767         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66768         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66769         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66770         file.
66771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66772         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66773         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66774         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66775         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66776         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66777         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66778         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66779         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66780         file.
66781         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66782         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66783         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66784         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66785         file.
66786         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66787         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66788         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66789         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66790         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66791         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66792         file.
66793         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66794         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66795         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66796         file.
66797         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66799         New file.
66800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66801         New file.
66802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66803         New file.
66804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66805         New file.
66806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66807         New file.
66808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66809         New file.
66810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66811         New file.
66812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66813         New file.
66814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66815         New file.
66816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66817         New file.
66818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66819         New file.
66820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66821         New file.
66822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66823         New file.
66824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66825         file.
66826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66827         New file.
66828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66829         New file.
66830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66831         file.
66832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66833         New file.
66834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66835         New file.
66836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66837         file.
66838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66839         New file.
66840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66841         New file.
66842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66843         New file.
66844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66845         New file.
66846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66847         New file.
66848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66849         New file.
66850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66852         file.
66853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66854         New file.
66855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66856         file.
66857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66858         file.
66859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66860         file.
66861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66862         file.
66863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66864         file.
66865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66866         New file.
66867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66868         file.
66869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66870         file.
66871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66872         New file.
66873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66874         file.
66875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66877         file.
66878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66879         New file.
66880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66881         file.
66882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66883         file.
66884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66885         file.
66886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66887         file.
66888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66889         file.
66890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66891         New file.
66892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66893         file.
66894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66895         file.
66896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66897         New file.
66898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66899         file.
66900         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66901         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66902         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66903         file.
66904         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66905         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66906         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66907         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66908         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66909         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66910         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66911         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66912         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66913         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66916         file.
66917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66918         New file.
66919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66920         file.
66921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66922         file.
66923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66924         file.
66925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66926         file.
66927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66928         file.
66929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66930         New file.
66931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66932         New file.
66933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66934         file.
66935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66936         New file.
66937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66938         file.
66939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66941         file.
66942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66943         New file.
66944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66945         file.
66946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66947         file.
66948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66949         file.
66950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66951         file.
66952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66953         file.
66954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66955         New file.
66956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66957         New file.
66958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66959         file.
66960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66961         New file.
66962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66963         file.
66965 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66967         * conform/conformtest.pl: Fix typo in handling typed-constant from
66968         allow-header.
66970 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66972         * README: Cut down references to pre-2.6 Linux kernels and
66973         Linuxthreads.  Update lists of configurations in libc and ports
66974         and sort alphabetically.  Say "or newer" with Linux kernel version
66975         requirements.
66977         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66979 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66981         [BZ #887]
66982         * math/libm-test.inc (logb_test_downward): New test to expose
66983         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66984         rounding mode.
66986 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66988         [BZ #14027]
66989         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66990         to be done.
66991         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66992         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66994 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66996         * sysdeps/unix/i386/brk.S: Remove file.
66997         * sysdeps/unix/i386/dl-brk.S: Likewise.
66998         * sysdeps/unix/i386/pipe.S: Likewise.
66999         * sysdeps/unix/i386/sigreturn.S: Likewise.
67000         * sysdeps/unix/i386/syscall.S: Likewise.
67001         * sysdeps/unix/i386/vfork.S: Likewise.
67002         * sysdeps/unix/i386/wait.S: Likewise.
67004         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67005         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67007         * configure.in (arm*-none*): Do not allow without
67008         --enable-hacker-mode.
67009         (netbsd*): Remove case setting base_os.
67010         (386bsd*): Likewise.
67011         (freebsd*): Likewise.
67012         (bsdi*): Likewise.
67013         (osf*): Likewise.
67014         (sunos*): Likewise.
67015         (ultrix*): Likewise.
67016         (newsos*): Likewise.
67017         (dynix*): Likewise.
67018         (*bsd*): Likewise.
67019         (sysv*): Likewise.
67020         (isc*): Likewise.
67021         (esix*): Likewise.
67022         (sco*): Likewise.
67023         (minix*): Likewise.
67024         (irix4*): Likewise.
67025         (irix6*): Likewise.
67026         (solaris[2-9]*): Likewise.
67027         (none): Likewise.
67028         * configure: Regenerated.
67030 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67032         [BZ #11521]
67033         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67034         overflow or cancellation in calculating denominator.
67035         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67037         down expression to avoid unexpected rounding in newer GCCs.
67038         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67040 2012-04-26  David S. Miller  <davem@davemloft.net>
67042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67043         long-double compat symbols.
67044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67058 2012-04-25  David S. Miller  <davem@davemloft.net>
67060         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67061         HWCAP_* values only after the memory barriers have been defined.
67062         (atomic_full_barrier): Define.
67063         (atomic_read_barrier): Define.
67064         (atomic_write_barrier): Define.
67066 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67068         * shlib-versions: Add libgcc_s version information.
67069         * sysdeps/generic/libgcc_s.h: Remove.
67070         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67071         libgcc_s.h.
67072         * sysdeps/gnu/unwind-resume.c: Likewise.
67073         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67075 2012-04-25  David S. Miller  <davem@davemloft.net>
67077         * sysdeps/unix/sparc/brk.S: Delete.
67078         * sysdeps/unix/sparc/dl-brk.S: Delete.
67079         * sysdeps/unix/sparc/pipe.S: Delete.
67080         * sysdeps/unix/sparc/sysdep.S: Delete.
67081         * sysdeps/unix/sparc/sysdep.h: Delete.
67082         * sysdeps/unix/sparc/vfork.S: Delete.
67083         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67084         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67085         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67086         (ret_ERRVAL, r0, r1, MOVE): Define.
67087         (JUMPTARGET): Remove.
67088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67089         sysdeps/unix/sparc/sysdep.h
67090         (ENTRY, END): Remove.
67091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67093 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67095         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67096         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67097         -DIS_IN_build.
67099         * timezone/README: Update upstream location and email address for
67100         tzcode and tzdata.
67101         * timezone/zdump.c: Update from tzcode 2012b.
67102         * timezone/zic.c: Likewise.
67104         * configure.in (libc_cv_as_needed): Remove test.
67105         * configure: Regenerated.
67106         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67107         conditional definition.
67108         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67109         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67110         * config.make.in (have-as-needed): Remove variable.
67112 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67113             Paul Pluzhnikov  <ppluzhnikov@google.com>
67115         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67116         strings correctly.
67118 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67120         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67121         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67122         * sysdeps/sh/strlen.S: Likewise.
67124 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67126         * sysdeps/unix/fork.S: Remove file.
67127         * sysdeps/unix/i386/fork.S: Likewise.
67128         * sysdeps/unix/sparc/fork.S: Likewise.
67130         * sysdeps/unix/system.c: Remove file.
67131         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67133         * sysdeps/unix/getegid.S: Remove file.
67134         * sysdeps/unix/geteuid.S: Likewise.
67136 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67138         * scripts/check-localplt.awk: New file.
67139         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67140         of diff.
67141         * scripts/data/localplt-generic.data: Add a comment.
67143         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67144         NODE when __dir_mkfile failed.
67145         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67146         Reported by Ludovic Courtès <ludo@gnu.org>.
67148 2012-04-24  Andreas Jaeger  <aj@suse.de>
67150         * Makerules (common-clean): Also remove gen-as-const-headers
67151         files.
67153 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67155         * Makerules (native-compile): Do not change working directory for
67156         build.  Use $(OUTPUT_OPTION) in command.
67157         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67159 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67161         [BZ #13886]
67162         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67163         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67164         * math/libm-test.inc (floor_test): Add more tests.
67165         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67167 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67169         * sysdeps/unix/getdents.c: Remove file.
67170         * sysdeps/unix/sysv/getdents.c: Likewise.
67171         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67173         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67174         sysdeps/unix/mman/syscalls.list.
67175         (mmap): Likewise.
67176         (mprotect): Likewise.
67177         (msync): Likewise.
67178         (munmap): Likewise.
67179         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67180         * sysdeps/unix/mman/syscalls.list: Remove.
67181         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67183         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67184         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67185         * configure: Regenerated.
67186         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67187         $(libgcc_s_suffix).
67188         * config.make.in (libgcc_s_suffix): Remove variable.
67190 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67192         * sysdeps/unix/sysv/gethostname.c: Move to ...
67193         * sysdeps/posix/gethostname.c: ... here.
67195         * sysdeps/unix/execve.S: Remove file.
67197         * sysdeps/unix/_exit.S: Remove file.
67199 2012-04-23  Andreas Jaeger  <aj@suse.de>
67201         [BZ #13739]
67202         * manual/Makefile: Remove make dist support, there's no
67203         need for a stand-alone documentation tar ball.
67204         (TEXI2DVI): Define always, it's not in Makeconfig.
67205         (dist): Removed.
67206         (tar-it): Removed.
67207         (edition): Removed.
67208         (glibc-doc-$(edition).tar): Removed
67209         (%.Z): Removed.
67210         (%.gz): Removed.
67211         (%.uu): Removed.
67212         (ETAGS): Remove, it's in Makeconfig.
67213         (move-if-change): Remove, it's in Makeconfig.
67215 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67217         [BZ #13970]
67218         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67219         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67220         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67221         (strtod_l, strtof_l, strtold_l): Remove __wur.
67222         It is not necessarily an error to ignore strtol's return value.
67223         One can reliably look at the stored endptr to decide whether
67224         the number had valid syntax.
67226 2012-04-21  Andreas Jaeger  <aj@suse.de>
67228         [BZ #13739]
67229         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67231 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67233         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67234         * sysdeps/unix/sysv/Versions: Remove file.
67236 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67238         [BZ #13927]
67239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67241 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67243         [BZ #7064]
67244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67245         version from __vm86.
67247 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67249         * sysdeps/unix/common/lxstat.c: Remove file.
67250         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67252         * sysdeps/unix/sysv/Makefile: Remove file.
67254         * sysdeps/unix/sysv/direct.h: Remove file.
67256         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67257         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67258         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67259         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67260         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67261         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67262         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67264         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67266         * sysdeps/unix/xmknod.c: Remove file.
67267         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67269         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67271         * sysdeps/unix/sysv/i386/time.S: Remove file.
67273         * sysdeps/unix/fxstat.c: Remove file.
67274         * sysdeps/unix/xstat.c: Likewise.
67275         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67277         * sysdeps/unix/sysv/sigaction.c: Remove file.
67279         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67280         (sysdep_headers): Remove variable.
67281         [termio.h not in sysdep_headers] (generated): Likewise.
67282         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67283         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67284         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67285         * sysdeps/unix/sysv/tcflow.c: Likewise.
67286         * sysdeps/unix/sysv/tcflush.c: Likewise.
67287         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67288         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67289         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67290         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67291         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67293         * sysdeps/unix/siglist.c: Remove file.
67295         * sysdeps/unix/getppid.S: Remove file.
67297         * sysdeps/unix/mkdir.c: Remove file.
67298         * sysdeps/unix/rmdir.c: Likewise.
67300 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67302         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67303         ERR_MAX value.
67304         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67305         errlist-compat value.
67307 2012-04-18  David S. Miller  <davem@davemloft.net>
67309         * sysdeps/generic/memcopy.h (reg_char): Delete.
67310         * debug/strcat_chk.c: Use char, not reg_char.
67311         * debug/strcpy_chk.c: Likewise.
67312         * debug/strncat_chk.c: Likewise.
67313         * debug/strncpy_chk.c: Likewise.
67314         * string/memchr.c: Likewise.
67315         * string/memrchr.c: Likewise.
67316         * string/rawmemchr.c: Likewise.
67317         * string/strcat.c: Likewise.
67318         * string/strchr.c: Likewise.
67319         * string/strchrnul.c: Likewise.
67320         * string/strcmp.c: Likewise.
67321         * string/strcpy.c: Likewise.
67322         * string/strncat.c: Likewise.
67323         * string/strncmp.c: Likewise.
67324         * string/strncpy.c: Likewise.
67326 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67328         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67329         __builtin_memcopy is called when src and dest ranges are known to not
67330         overlap.
67332 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67334         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67335         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67336         fwd_align_merge macro call.
67337         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67338         bwd_align_merge macro call.
67339         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67341 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67344         bwd_align_merge macros.
67345         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67346         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67347         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67349 2012-04-18  David S. Miller  <davem@davemloft.net>
67351         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67353 2012-04-18  Andreas Jaeger  <aj@suse.de>
67355         [BZ# 6794]
67356         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67357         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67360         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67361         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67362         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67364         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67365         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67366         Adjust for changed ldbl-128 files.
67368         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67369         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67370         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67372 2012-04-17  David S. Miller  <davem@davemloft.net>
67374         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67376 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67378         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67379         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67380         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67381         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67382         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67383         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67385 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67387         [BZ #6794]
67388         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67389         * math/libm-test.inc: Add ilogb errno and exception tests.
67390         * math/w_ilogb.c: New file: ilogb wrapper.
67391         * math/w_ilogbf.c: New file: ilogbf wrapper.
67392         * math/w_ilogbl.c: New file: ilogbl wrapper.
67393         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67394         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67395         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67396         exception being thrown with 0.0 as argument.
67397         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67398         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67399         exception being thrown with 0.0 as argument.
67400         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67401         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67402         exception being thrown with 0.0 as argument.
67403         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67404         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67405         exception being thrown with 0.0 as argument.
67406         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67407         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67408         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67409         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67410         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67411         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67412         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67413         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67414         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67416 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67418         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67419         with altivec.
67421 2012-04-16  Marek Polacek  <polacek@redhat.com>
67423         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67425 2012-04-16  Marek Polacek  <polacek@redhat.com>
67427         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67428         operands of fdivp instruction.
67430 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67432         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67433         * elf/tst-auditmod3b.c: Likewise.
67434         * elf/tst-auditmod4b.c: Likewise.
67435         * elf/tst-auditmod5b.c: Likewise.
67436         * elf/tst-auditmod6b.c: Likewise.
67437         * elf/tst-auditmod6c.c: Likewise.
67438         * elf/tst-auditmod7b.c: Likewise.
67439         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67440         * sysdeps/x86_64/preconfigure.in: Likewise.
67441         * sysdeps/x86_64/preconfigure: Regenerated.
67443 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67445         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67446         __ILP32__.
67448 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67450         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67451         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67453 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67455         [BZ #13973]
67456         * locale/iso-639.def: Fix gl language name. Spotted by
67457         Yaron Shahrabani.
67459 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67461         [BZ #2074]
67462         * libio/libio.h (__io_write_fn): Update comment.
67464 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67466         [BZ #2074]
67467         * stdio.texi (Hook Functions): The user provided writer function
67468         is not allowed to return -1.
67470 2012-04-11  David S. Miller  <davem@davemloft.net>
67472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67474 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67476         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67477         Add a leading slash to rtkaio.
67479 2012-04-11  Jim Meyering  <meyering@redhat.com>
67481         [BZ #11959]
67482         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67483         It is not necessarily an error to ignore fwrite's return
67484         value.  One can reliably use ferror to test for errors after
67485         the fact.
67487 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67489         * bits/types.h (__snseconds_t): New type.
67490         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67492         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67493         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67494         (__SNSECONDS_T_TYPE): Likewise.
67495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67496         (__SNSECONDS_T_TYPE): Likewise.
67497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67498         (__SNSECONDS_T_TYPE): Likewise.
67500 2012-04-10  Andreas Jaeger  <aj@suse.de>
67502         [BZ #2636]
67503         * manual/time.texi (Processor Time): Return type of times is
67504         elapsed real time since an arbitrary point in the past.
67505         (CPU Time): Move CLK_TCK from here...
67506         (Processor Time): ...to here.  Correct description.
67507         * manual/conf.texi (Constants for Sysconf): Correct description of
67508         _SC_CLK_TCK.
67510 2012-04-10  David S. Miller  <davem@davemloft.net>
67512         [BZ #13967]
67513         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67514         where the is a gap between DT_REL(A) and DT_JMPREL.
67516 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67518         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67519         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67520         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67522 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67524         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67525         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67526         (dl_main): Handle --inhibit-cache.
67527         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67528         _dl_inhibit_cache.
67529         * elf/dl-load.c (_dl_map_object): Use it.
67530         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67532 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67534         [BZ #13872]
67535         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67536         (__ieee754_powl): Saturate large exponents rather than testing for
67537         overflow of y*log2(x).
67538         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67539         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67540         exceptions.
67542         [BZ #11521]
67543         * math/s_ctan.c: Include <float.h>.
67544         (__ctan): Avoid internal overflow or cancellation in calculating
67545         denominator.
67546         * math/s_ctanf.c: Likewise.
67547         * math/s_ctanl.c: Likewise.
67548         * math/s_ctanh.c: Likewise.
67549         * math/s_ctanhf.c: Likewise.
67550         * math/s_ctanhl.c: Likewise.
67551         * math/libm-test.inc (ctan_test): Add more tests.
67552         (ctanh_test): Likewise.
67553         * sysdeps/i386/fpu/libm-test-ulps: Update.
67554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67556 2012-04-09  Andreas Jaeger  <aj@suse.de>
67558         [BZ #6894]
67559         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67560         is an optional BSD extension.
67562         [BZ #10254]
67563         * manual/stdio.texi (Opening Streams): Document additional fopen
67564         parameters.
67566 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67568         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67569         %eax without telling the compiler.
67571 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67573         [BZ # 13963]
67574         * manual/install.texi: Use sourceware.org.
67576 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67578         [BZ #13873]
67579         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67580         (__ieee754_pow): Generate overflow and underflow using huge*huge
67581         and tiny*tiny rather than just returning constant infinity or zero
67582         for large exponents.
67583         * math/libm-test.inc (pow_test): Require overflow exceptions for
67584         applicable cases of large exponents.
67586         [BZ #706]
67587         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67588         (__ieee754_pow): Use iterative multiplication algorithm only for
67589         integer exponents with absolute value below 1024.  Check for odd
67590         integer exponents when using algorithm for real exponents.
67591         * math/libm-test.inc (pow_test): Add more tests.
67592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67594 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67596         [BZ #13705]
67597         * math/libm-test.inc (exp_test): Do not allow overflow exception
67598         on underflow test.
67600 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67602         [BZ #13705]
67603         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67604         instead of __kernel_standard_f.
67606 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67608         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67609         * sysdeps/x86_64/memset_chk.S: Likewise.
67611 2012-04-08  Andreas Jaeger  <aj@suse.de>
67613         [BZ #10153]
67614         * manual/startup.texi (Environment Access): Describe return value
67615         for putenv and setenv.
67617         [BZ #6895]
67618         * manual/filesys.texi (Directory Entries): Add description for
67619         DT_LNK.
67621         [BZ #6890]
67622         * manual/filesys.texi (Directory Entries): Clarify that it's file
67623         system not operating system in the description of DT_UNKNOWN.
67625         [BZ #6578]
67626         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67628 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67630         [BZ #6649]
67631         * manual/llio.texi (Opening and Closing Files): Add cross
67632         reference to explain mode argument.
67634 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67636         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67637         * sysdeps/x86_64/memset_chk.S: Likewise.
67639 2012-04-07  David S. Miller  <davem@davemloft.net>
67641         * elf/elf.h (R_SPARC_WDISP10): Define.
67642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67643         R_SPARC_SIZE32.
67644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67645         R_SPARC_SIZE64 and R_SPARC_H34.
67647 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67650         conditions and remove no longer applicable assertion.
67652 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67654         * bits/byteswap.h: Include <features.h>.
67655         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67656         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67658 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67660         * bits/byteswap.h (__bswap_16): Removed.
67661         Include <bits/byteswap-16.h> to get __bswap_16.
67662         * sysdeps/i386/bits/byteswap.h: Likewise.
67663         * sysdeps/s390/bits/byteswap.h: Likewise.
67664         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67665         * bits/byteswap-16.h: New file.
67666         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67667         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67668         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67669         * string/Makefile (headers): Add bits/byteswap-16.h.
67671 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67673         [BZ #13895]
67674         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67675         extra indirection.
67676         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67677         * nss/tst-nss-static.c: New.
67679 2012-04-06  Robert Millan  <rmh@gnu.org>
67681         [BZ #6486]
67682         * manual/llio.texi (File Position Primitive): lseek
67683         refers to WHENCE when it really means OFFSET.
67685 2012-04-06  Andreas Jaeger  <aj@suse.de>
67687         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67688         strncmp declarations.
67690         * abilist/libc.abilist: Add __poll and __ppoll.
67692 2012-04-05  David S. Miller  <davem@davemloft.net>
67694         * scripts/check-local-headers.sh: Accept a host triplet in the
67695         path matched by the exclude regexp.
67697         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67698         definition.
67699         * sysdeps/powerpc/powerpc32/dl-machine.h
67700         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67701         * sysdeps/s390/s390-32/dl-machine.h
67702         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67703         * sysdeps/sparc/sparc32/dl-machine.h
67704         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67705         * sysdeps/sparc/sparc64/dl-machine.h
67706         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67708         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67709         lazy binding.
67710         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67711         undefined symbol errors.
67713         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67714         DT_NEEDED entries.
67716 2012-04-05  Michael Matz  <matz@suse.de>
67718         [BZ #13592]
67719         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67721 2012-04-05  Andreas Jaeger  <aj@suse.de>
67723         [BZ #13908]
67724         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67725         comment.
67727 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67730         which ROUND is no valid rounding mode.
67732 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67734         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67735         read again.
67736         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67738 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67740         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67741         an exception using FPU order intentionally.
67743 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67745         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67746         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67747         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67748         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67750 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67752         [BZ #12340]
67753         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67754         EINVAL when BUFLEN is too smal.
67756 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67758         [BZ #13553]
67759         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67760         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67762 2012-04-03  Andreas Jaeger  <aj@suse.de>
67764         [BZ #13938]
67765         * manual/setjmp.texi (System V contexts): Fix sentence.
67767         [BZ #13926]
67768         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67769         New macro for this case.
67770         [!__GNUC__] (__bswap_64): New inline function for this case.
67771         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67772         * bits/byteswap.h: Likewise.
67773         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67774         ull, guard with __GLIBC_HAVE_LONG_LONG.
67776         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67777         __GLIBC_HAVE_LONG_LONG.
67779         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67780         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67782 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67784         [BZ #13691]
67785         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67786         inptr and inend, rather than using last_ch.
67788 2012-04-02  David S. Miller  <davem@davemloft.net>
67790         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67791         * stdio-common/printf-parse.h (read_int): Change return type to
67792         'int', return -1 on INT_MAX overflow.
67793         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67794         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67795         overflows INT_MAX.  Check for overflow of in-format-string precision
67796         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67797         SIZE_MAX not INT_MAX for integer overflow test.
67798         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67799         skip the construct in the format string but do not record anything.
67800         * stdio-common/bug22.c: Adjust to test both width/prevision
67801         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67802         explicitly for proper errno values.
67804 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67806         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67807         CHAR_MAX.
67808         * string/test-strcmp.c [! WIDE]: Likewise.
67809         * time/tst-mktime2.c: Likewise for INT_MAX.
67810         * string/test-string.h: #include <sys/param.h> for MIN.
67812         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67813         * sysdeps/i386/init-first.c (init): Likewise.
67814         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67815         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67816         * sysdeps/sh/init-first.c (init): Likewise.
67818 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67820         * po/ru.po: Update from translation team.
67821         * po/vi.po: Likewise.
67823 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67825         * resolv/nss_dns/dns-host.c: Merge copyright years.
67827 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67830         Optimize memcpy with prefetch if
67831         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67832         src, dst pointers have unequal 16 byte alignments.
67834 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67836         [BZ #13928]
67837         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67838         from a CNAME entry and return the minimum ttl for the query.
67839         (gaih_getanswer_slice): Likewise.
67841 2012-03-30  Jeff Law  <law@redhat.com>
67843         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67844         due to long keys.
67845         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67846         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67848         * resolv/nss_dns/dns-host.c: Update copyright year.
67850 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67852         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67853         requests to save a system call.  Fix check that all bytes are sent.
67855         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67856         comments for sendmmsg.
67858 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67860         [BZ #13691]
67861         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67862         with only 1 character between 0x0041 and 0x01b0.
67863         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67864         * wcsmbs/tst-mbsnrtowcs.c: New file.
67866 2012-03-29  David S. Miller  <davem@davemloft.net>
67868         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67869         small copies by hand.
67871 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67873         [BZ #13761]
67874         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67875         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67876         group memberships.
67878 2012-03-28  David S. Miller  <davem@davemloft.net>
67880         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67881         that branches into memcpy.
67882         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67885         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67887         bits.
67888         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67889         implementation too.
67890         * sysdeps/sparc/mempcpy.S: New file.
67892         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67893         the IFUNC routine in the libc case.
67894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67896         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67897         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67898         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67899         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67900         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67901         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67902         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67903         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67905         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67906         loop to 256 bytes instead of 64 bytes and fix test signedness.
67908         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67909         * sysdeps/sparc/sparc32/Makefile: rather than here...
67910         * sysdeps/sparc/sparc64/Makefile: and here.
67912 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67914         * malloc/mallocbug.c: Avoid warnings about unused variables.
67916 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67918         [BZ #13760]
67919         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67920         in the right place. Discard and retry query if response is
67921         larger than input buffer size.
67923 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67925         [BZ #369]
67926         [BZ #2678]
67927         [BZ #3866]
67928         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67929         x for large integer exponent.
67930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67931         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67932         sign of result as needed afterwards.
67933         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67934         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67935         result for underflowing pow the same as for overflow.
67936         (__kernel_standard_l): Handle powl overflow and underflow here
67937         rather than calling __kernel_standard.
67938         * math/libm-test.inc (pow_test): Add more tests.
67940         [BZ #3868]
67941         [BZ #13879]
67942         [BZ #13910]
67943         [BZ #13911]
67944         [BZ #13912]
67945         [BZ #13913]
67946         [BZ #13915]
67947         [BZ #13916]
67948         [BZ #13917]
67949         [BZ #13918]
67950         [BZ #13919]
67951         [BZ #13920]
67952         [BZ #13921]
67953         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67954         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67955         (__kernel_standard_l): New function.
67956         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67957         __kernel_standard.
67958         * math/w_acosl.c (__acosl): Likewise.
67959         * math/w_asinl.c (__asinl): Likewise.
67960         * math/w_atan2l.c (__atan2l): Likewise.
67961         * math/w_atanhl.c (__atanhl): Likewise.
67962         * math/w_coshl.c (__coshl): Likewise.
67963         * math/w_exp10l.c (__exp10l): Likewise.
67964         * math/w_exp2l.c (__exp2l): Likewise.
67965         * math/w_fmodl.c (__fmodl): Likewise.
67966         * math/w_hypotl.c (__hypotl): Likewise.
67967         * math/w_j0l.c (__j0l, __y0l): Likewise.
67968         * math/w_j1l.c (__j1l, __y1l): Likewise.
67969         * math/w_jnl.c (__jnl, __ynl): Likewise.
67970         * math/w_lgammal.c (__lgammal): Likewise.
67971         * math/w_log10l.c (__log10l): Likewise.
67972         * math/w_log2l.c (__log2l): Likewise.
67973         * math/w_logl.c (__logl): Likewise.
67974         * math/w_powl.c (__powl): Likewise.
67975         * math/w_remainderl.c (__remainderl): Likewise.
67976         * math/w_scalbl.c (sysv_scalbl): Likewise.
67977         * math/w_sinhl.c (__sinhl): Likewise.
67978         * math/w_sqrtl.c (__sqrtl): Likewise.
67979         * math/w_tgammal.c (__tgammal): Likewise.
67980         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67981         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67982         * math/libm-test.inc (acos_test): Add more tests.
67983         (acosh_test): Likewise.
67984         (asin_test): Likewise.
67985         (atanh_test): Likewise.
67986         (exp_test): Likewise.
67987         (exp10_test): Likewise.
67988         (exp2_test): Likewise.
67989         (expm1_test): Likewise.
67990         (lgamma_test): Likewise.
67991         (log_test): Likewise.
67992         (log10_test): Likewise.
67993         (log1p_test): Likewise.
67994         (log2_test): Likewise.
67995         (pow_test): Do not allow some spurious overflow exceptions.
67996         (sqrt_test): Add more tests.
67997         (tgamma_test): Likewise.
67998         (y0_test): Likewise.
67999         (y1_test): Likewise.
68000         (yn_test): Likewise.
68002 2012-03-27  Anton Blanchard  <anton@samba.org>
68004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68005         MAP_HUGETLB.
68006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68010 2012-03-27  David S. Miller  <davem@davemloft.net>
68012         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68014         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68015         have-as-vis3 check.
68017 2012-03-27  Andreas Jaeger  <aj@suse.de>
68019         * sysdeps/x86_64/elf/configure.in: Moved to ...
68020         * sysdeps/x86_64/configure.in: ... here.
68021         * sysdeps/x86_64/elf/start.S: Moved to ...
68022         * sysdeps/x86_64/start.S: ... here.
68023         * sysdeps/x86_64/elf/configure: Delete.
68025         * sysdeps/x86_64/configure.in: Merge contents from
68026         sysdeps/i386/configure.in (without i686 check).
68028         * sysdeps/i386/elf/Versions: Merge into ...
68029         * sysdeps/i386/Versions: ... this.
68030         * sysdeps/i386/elf/Versions: Delete file.
68031         * sysdeps/i386/elf/start.S: Moved to ...
68032         * sysdeps/i386/start.S: ...here.
68033         * sysdeps/i386/elf/configure.in: Merge into...
68034         * sysdeps/i386/configure.in: ...here.
68035         * sysdeps/i386/elf/configure.in: Delete file.
68036         * sysdeps/i386/elf/configure: Delete file.
68038         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68039         * debug/backtracesyms.c: ... here.
68040         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68041         * debug/backtracesymsfd.c: ... here.
68042         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68043         * sysdeps/generic/ifunc-sel.h: ... here.
68045         * sysdeps/unix/i386/start.c: Delete file.
68046         * sysdeps/unix/sparc/start.c: Delete file.
68047         * sysdeps/unix/start.c: Delete file.
68049         * sysdeps/sh/elf/configure.in: Moved to ...
68050         * sysdeps/sh/configure.in: ... here.
68051         * sysdeps/sh/elf/start.S: Moved to ...
68052         * sysdeps/sh/start.S: ... here.
68053         * sysdeps/sh/elf/configure: Delete file.
68055         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68056         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68057         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68058         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68059         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68060         * sysdeps/powerpc/powerpc64/start.S: here.
68061         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68062         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68063         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68064         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68065         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68067         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68068         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68069         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68070         * sysdeps/powerpc/powerpc32/start.S: ... here.
68071         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68072         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68073         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68075         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68076         * sysdeps/powerpc/ifunc-sel.h: ... here.
68077         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68078         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68080         * sysdeps/sparc/elf/configure.in: Moved to ...
68081         * sysdeps/sparc/configure.in: ... here.
68082         * sysdeps/sparc/elf/configure: Delete file.
68083         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68084         * sysdeps/sparc/sparc32/start.S: ... here.
68085         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68086         * sysdeps/sparc/sparc64/start.S: ... here.
68087         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68088         * sysdeps/sparc/sparc32/Makefile: ... this.
68089         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68090         * sysdeps/sparc/sparc64/Makefile: ... this.
68092         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68093         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68094         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68095         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68096         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68097         * sysdeps/s390/s390-32/setjmp.S: ... here.
68098         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68099         * sysdeps/s390/s390-32/configure.in: ... here.
68100         * sysdeps/s390/s390-32/elf/configure: Delete file.
68101         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68102         * sysdeps/s390/s390-32/start.S: ... here.
68104         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68105         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68106         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68107         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68108         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68109         * sysdeps/s390/s390-64/setjmp.S: ... here.
68110         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68111         * sysdeps/s390/s390-64/configure.in: ... here
68112         * sysdeps/s390/s390-64/elf/configure: Delete file.
68113         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68114         * sysdeps/s390/s390-64/start.S: ... here.
68115         * sysdeps/s390/s390-64/elf/configure: Delete.
68117         * configure.in: Remove support for elf directories in sysdeps.
68119         * configure: Regenerated.
68120         * sysdeps/i386/configure: Regenerated.
68121         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68122         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68123         * sysdeps/s390/s390-32/configure: Regenerated.
68124         * sysdeps/s390/s390-64/configure: Regenerated.
68125         * sysdeps/sh/configure: Regenerated.
68126         * sysdeps/sparc/configure: Regenerated.
68127         * sysdeps/x86_64/configure: Regenerated.
68129 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68134         denormal result into account.
68136 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68138         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68139         Reported by Allan McRae <allan@archlinux.org>.
68141 2012-03-23  Jeff Law  <law@redhat.com>
68143         * nss/getnssent.c (__nss_getent): Fix typo.
68145 2012-03-23  David S. Miller  <davem@davemloft.net>
68147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68149 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68151         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68152         to pad to uint64_t for each field.
68153         (dl_tls_index): Replace unsigned long with uint64_t.
68155 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68156         Paul Pluzhnikov  <ppluzhnikov@google.com>
68158         [BZ #6528]
68159         * grp/Makefile (otherlibs): Don't set it.
68160         * inet/Makefile (otherlibs): Likewise.
68161         * login/Makefile (otherlibs): Likewise.
68162         * nscd/Makefile (otherlibs): Likewise.
68163         * posix/Makefile (otherlibs): Likewise.
68164         * pwd/Makefile (otherlibs): Likewise.
68165         * rt/Makefile (otherlibs): Likewise.
68166         * sunrpc/Makefile (otherlibs): Likewise.
68167         * nss/Makefile (otherlibs): Likewise.
68168         Add libnss_files to routines and static-only-routines.
68169         ($(objpfx)getent): Remove rule.
68170         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68171         static-only-routines.
68173 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68175         [BZ #13892]
68176         * math/s_cexp.c: Include <float.h>.
68177         (__cexp): Handle exp result overflowing not necessarily
68178         overflowing both real and imaginary parts of result.
68179         * math/s_cexpf.c: Likewise.
68180         * math/s_cexpl.c: Likewise.
68181         * math/libm-test.inc (cexp_test): Add more tests.
68182         * sysdeps/i386/fpu/libm-test-ulps: Update.
68183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68185 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68187         * include/link.h (ELFW): New macro.
68188         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68189         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68191 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68193         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68194         with uint64_t.
68196 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68198         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68199         declaration.
68200         (struct La_x32_retval): Likewise.
68202 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68204         * sysdeps/x86_64/preconfigure.in: New file.
68205         * sysdeps/x86_64/preconfigure: New generated file.
68207 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68209         [BZ #13824]
68210         * math/e_exp2l.c: Include <float.h>.
68211         (__ieee754_exp2l): Handle overflow and underflow cases
68212         separately.  Only pass fractional part of argument to
68213         __ieee754_expl.
68214         * math/libm-test.inc (exp2_test): Add more tests.
68216         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68217         negating x to take absolute value.
68218         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68219         Likewise.
68220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68222         Likewise.
68223         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68224         computing low part if x was negated.
68225         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68227 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68229         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68230         la_x32_gnu_pltexit.
68231         (pltexit): Cast int_retval to ptrdiff_t.
68232         * elf/tst-auditmod3b.c: Likewise.
68233         * elf/tst-auditmod4b.c: Likewise.
68234         * elf/tst-auditmod5b.c: Likewise.
68235         * elf/tst-auditmod6b.c: Likewise.
68236         * elf/tst-auditmod6c.c: Likewise.
68237         * elf/tst-auditmod7b.c: Likewise.
68239         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68240         and x32_gnu_pltexit.
68242         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68243         __ELF_NATIVE_CLASS.
68244         (La_x32_regs): New macro.
68245         (La_x32_retval): Likewise.
68246         (la_x32_gnu_pltenter): New function prototype.
68247         (la_x32_gnu_pltexit): Likewise.
68249 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68252         exponent.
68254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68256         * configure.in (libc_cv_cc_nofma): Check for option to disable
68257         generation of FMA instructions.
68258         * configure: Regenerate.
68259         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68260         * sysdeps/ieee754/dbl-64/Makefile: New file.
68261         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68262         Remove brandred-fma4.
68263         (CFLAGS-brandred-fma4.c): Remove.
68264         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68265         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68266         define.
68267         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68268         define.
68270 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68272         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68273         LLONG_MAX != LONG_MAX.
68274         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68275         (_fitoa_word): Likewise.
68276         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68277         LLONG_MAX != LONG_MAX.
68278         * stdio-common/_itowa.h: Include <_itoa.h>.
68279         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68280         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68281         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68282         only if not defined.
68283         (_ITOA_WORD_TYPE): Likewise.
68284         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68285         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68287 2012-03-21  David S. Miller  <davem@davemloft.net>
68289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68291 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68293         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68294         of x86_64 when setting libc_cv_slibdir, libdir and
68295         libc_cv_localedir.
68296         * sysdeps/unix/sysv/linux/configure: Regenerated.
68298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68300         * manual/lang.texi (Old Varargs): Remove section.
68301         (How Variadic): Update menu.
68302         (va_start): Do not mention varargs.h.
68304 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68305             Joseph Myers  <joseph@codesourcery.com>
68307         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68308         link test.
68309         * configure: Regenerated.
68311 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68313         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68314         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68315         conformtest.pl
68317 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68319         * NOTES: Remove.
68320         * Makefile (files-for-dist): Remove NOTES.
68321         (NOTES): Remove rule.
68322         * README: Don't refer to NOTES.
68323         * manual/creature.texi: Don't include macros.texi.
68324         * manual/intro.texi (creature.texi): Remove comment referring to
68325         NOTES.
68327         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68328         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68329         * configure: Regenerated.
68330         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68331         LIBC_TRY_CC_OPTION.
68332         (libc_cv_as_i686): Likewise.
68333         (libc_cv_cc_avx): Likewise.
68334         (libc_cv_cc_sse2avx): Likewise.
68335         (libc_cv_cc_fma4): Likewise.
68336         (libc_cv_cc_novzeroupper): Likewise.
68337         * sysdeps/i386/configure: Regenerated.
68339         [BZ #13883]
68340         * sysdeps/i386/fpu/s_cexp.S: Remove.
68341         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68342         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68343         * math/libm-test.inc (cexp_test): Add more tests.
68344         * sysdeps/i386/fpu/libm-test-ulps: Update.
68345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68347 2012-03-21  Allan McRae  <allan@archlinux.org>
68349         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68351 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68353         [BZ #13871]
68354         * math/w_exp2.c: Do not include <float.h>.
68355         (o_threshold, u_threshold): Remove.
68356         (__exp2): Calculate result before checking finiteness and calling
68357         __kernel_standard.
68358         * math/w_exp2f.c: Likewise.
68359         * math/w_exp2l.c: Likewise.
68360         * math/libm-test.inc (exp2_test): Require overflow exception for
68361         1e6 input.
68363         [BZ #3866]
68364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68365         range of signed 64-bit integers before using fistpll.  Remove
68366         checks for whether integers fit in mantissa bits.
68367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68368         the range of signed 32-bit integers before using fistpl.  Remove
68369         checks for whether integers fit in mantissa bits.
68370         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68371         (__ieee754_powl): Test for y outside the range of signed 64-bit
68372         integers before using fistpll.  Reduce 64-bit values to 63-bit
68373         ones as needed.
68374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68375         divide-by-zero is raised for zero to large negative powers.
68376         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68377         (__ieee754_powl): Test for y outside the range of signed 64-bit
68378         integers before using fistpll.  Reduce 64-bit values to 63-bit
68379         ones as needed.
68380         * math/libm-test.inc (pow_test): Add more tests.
68382 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68384         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68385         <stdio-common/_itoa.h>.
68386         * debug/segfault.c: Likewise.
68387         * elf/dl-cache.c: Likewise.
68388         * elf/dl-minimal.c: Likewise.
68389         * elf/dl-misc.c: Likewise.
68390         * elf/dl-sysdep.c: Likewise.
68391         * elf/dl-version.c: Likewise.
68392         * elf/rtld.c: Likewise.
68393         * hurd/hurdsock.c: Likewise.
68394         * hurd/lookup-retry.c: Likewise.
68395         * malloc/malloc.c: Likewise.
68396         * malloc/mtrace.c: Likewise.
68397         * nscd/nscd_getgr_r.c: Likewise.
68398         * nscd/nscd_getpw_r.c: Likewise.
68399         * nscd/nscd_getserv_r.c: Likewise.
68400         * posix/getopt_init.c: Likewise.
68401         * posix/wordexp.c: Likewise.
68402         * stdio-common/_itoa.c: Likewise.
68403         * stdio-common/printf_fphex.c: Likewise.
68404         * stdio-common/vfprintf.c: Likewise.
68405         * string/_strerror.c: Likewise.
68406         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68407         * sysdeps/i386/i686/hp-timing.h: Likewise.
68408         * sysdeps/mach/_strerror.c: Likewise.
68409         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68410         * sysdeps/mach/hurd/sethostid.c: Likewise.
68411         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68412         * sysdeps/mach/xpg-strerror.c: Likewise.
68413         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68415         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68416         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68417         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68418         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68420         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68421         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68422         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68423         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68424         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68425         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68426         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68427         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68428         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68429         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68430         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68431         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68432         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68433         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68435         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68437         * stdio-common/_itoa.h: Moved to ...
68438         * sysdeps/generic/_itoa.h: Here.
68440         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68442         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68443         instead of "_itoa.h" and "_itowa.h".
68444         * stdio-common/vfprintf.: Likewise.
68446 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68448         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68449         <bits/wordsize.h>.
68450         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68451         (__signbit): Likwise.
68452         (llrintf): Likwise.
68453         (llrint): Likwise.
68455 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68457         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68458         __WORDSIZE != 64.
68460 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68462         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68463         OVERFLOW_EXCEPTION_OK.
68464         * math/libm-test.inc ("Philosophy"): Update comment about
68465         exception testing.
68466         (OVERFLOW_EXCEPTION): Define.
68467         (OVERFLOW_EXCEPTION_OK): Likewise.
68468         (INVALID_EXCEPTION_OK): Renumber.
68469         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68470         (IGNORE_ZERO_INF_SIGN): Likewise.
68471         (test_exceptions): Handle FE_OVERFLOW.
68472         (exp10_test): Expect overflow exceptions.
68473         (exp2_test): Likewise.
68474         (expm1_test): Likewise.
68475         (nextafter_test): Likewise.
68476         (pow_test): Likewise.
68477         (scalbn_test): Likewise.
68478         (scalbln_test): Likewise.
68480 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68482         * sysdeps/x86_64/bits/atomic.h
68483         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68484         64bit integer.
68485         (atomic_exchange_acq): Likewise.
68486         (__arch_exchange_and_add_body): Likewise.
68487         (__arch_add_body): Likewise.
68488         (atomic_add_negative): Likewise.
68489         (atomic_add_zero): Likewise.
68491 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68493         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68494         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68496 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68498         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68499         Check __x86_64__ instead of __WORDSIZE.
68501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68503         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68505 2012-03-19  David S. Miller  <davem@davemloft.net>
68507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68509         * sysdeps/sparc/fpu/fenv_private.h: New file.
68510         * sysdeps/sparc/fpu/math_private.h: Use it.
68511         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68512         Remove.
68513         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68514         (libc_feholdexcept_setroundl): Remove.
68515         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68516         Remove.
68517         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68518         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68520 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68522         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68523         int64_t instead of long int.
68524         (INSERT_WORDS64): Likwise.
68526 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68528         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68529         _Unwind_GetCFA return to _Unwind_Ptr first.
68531 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68533         [BZ #13629]
68534         * math/s_clog.c: Include <float.h>.
68535         (__clog): Scale large or subnormal inputs.
68536         * math/s_clogf.c: Likewise.
68537         * math/s_clogl.c: Likewise.
68538         * math/s_clog10.c: Include <float.h>.
68539         (M_LOG10_2): Define.
68540         (__clog10): Scale large or subnormal inputs.
68541         * math/s_clog10f.c: Likewise.
68542         * math/s_clog10l.c: Likewise.
68543         * math/libm-test.inc (clog_test): Add more tests.
68544         (clog10_test): Likewise.
68545         * sysdeps/i386/fpu/libm-test-ulps: Update.
68546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68548         [BZ #11451]
68549         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68550         x and y.
68551         * math/libm-test.inc (atan2_test): Add another test.
68553         * Makerules (common-objdir-compile): Remove.
68554         * sysdeps/unix/Makefile (config-generated): Do not add
68555         $(unix-generated) to variable.
68556         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68557         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68558         Remove rule.
68559         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68560         Likewise.
68561         [generic bits/local_lim.h] (before-compile): Do not append to
68562         variable.
68563         [generic bits/local_lim.h] (common-generated): Likewise.
68564         [generic sys/param.h] (before-compile): Do not append to variable.
68565         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68566         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68567         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68568         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68569         include.
68570         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68571         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68572         [generic sys/param.h] ($(addprefix
68573         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68574         [generic sys/param.h] (common-generated): Do not append to
68575         variable.
68576         [generic sys/param.h] (sysdep_headers): Likewise.
68577         [generic bits/errno.h] (before-compile): Do not append to
68578         variable.
68579         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68580         rule.
68581         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68582         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68583         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68584         [generic bits/errno.h] (common-generated): Do not append to
68585         variable.
68586         [generic bits/ioctls.h] (before-compile): Do not append to
68587         variable.
68588         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68589         rule.
68590         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68591         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68592         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68593         rule.
68594         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68595         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68596         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68597         [generic bits/ioctls.h] (common-generated): Do not append to
68598         variable.
68599         [generic sys/syscall.h] (syscall.h): Remove variable.
68600         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68601         rule.
68602         [generic sys/syscall.h] (before-compile): Do not append to
68603         variable.
68604         [generic sys/syscall.h] (common-generated): Likewise.
68605         * sysdeps/unix/errnos-tmpl.c: Remove file.
68606         * sysdeps/unix/errnos.awk: Likewise.
68607         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68608         * sysdeps/unix/ioctls.awk: Likewise.
68609         * sysdeps/unix/mk-local_lim.c: Likewise.
68610         * sysdeps/unix/snarf-ioctls: Likewise.
68612 2012-03-19  Richard Henderson  <rth@twiddle.net>
68614         * sysdeps/i386/fpu/fenv_private.h: New file.
68615         * sysdeps/i386/fpu/math_private.h: Use it.
68616         (math_opt_barrier, math_force_eval): Remove.
68617         (libc_feholdexcept_setround_53bit): Remove.
68618         (libc_feupdateenv_53bit): Remove.
68619         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68620         (math_opt_barrier, math_force_eval): Remove.
68621         (libc_feholdexcept): Remove.
68622         (libc_feholdexcept_setround): Remove.
68623         (libc_fetestexcept, libc_fesetenv): Remove.
68624         (libc_feupdateenv_test): Remove.
68625         (libc_feupdateenv, libc_feholdsetround): Remove.
68626         (libc_feresetround): Remove.
68628         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68629         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68631         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68632         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68633         (libc_feupdateenv_testl): New.
68634         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68635         (libc_feupdateenv_testf): New.
68636         (libc_feupdateenv): Use libc_feupdateenv_test.
68637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68638         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68640         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68641         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68642         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68643         (libc_feresetround_noex): New.
68644         (libc_feresetround_noexf): New.
68645         (libc_feresetround_noexl): New.
68646         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68647         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68648         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68649         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68650         SET_RESTORE_ROUND.
68651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68653         (__cos): Likewise.
68654         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68655         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68656         SET_RESTORE_ROUND_NOEX.
68657         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68658         SET_RESTORE_ROUND_NOEXF.
68659         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68660         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68661         (libc_feholdsetroundf): New.
68662         (libc_feresetround, libc_feresetroundf): New.
68664         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68665         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68666         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68668         * sysdeps/generic/math_private.h: Include <fenv.h>.
68669         (default_libc_feholdexcept): New.
68670         (default_libc_feholdexcept_setround): New.
68671         (default_libc_fesetenv, default_libc_feupdateenv): New.
68672         (libc_feholdexcept): Only define if undefined.
68673         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68674         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68675         (libc_feholdexcept_setroundl): Likewise.
68676         (libc_feholdexcept_setround_53bit): Likewise.
68677         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68678         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68679         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68680         (libc_feupdateenv_53bit): Likewise.
68681         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68682         (libc_feholdexcept): Convert from macro to inline function.
68683         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68684         (libc_fesetenv, libc_feupdateenv): Likewise.
68686         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68687         not previously defined.
68688         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68689         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68690         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68691         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68692         * sysdeps/ieee754/flt-32/math_private.h: New file.
68693         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68694         math_private.h below SET_FLOAT_WORD.
68695         (__isnan, __isinf_ns, __finite): Remove.
68696         (__isnanf, __isinf_nsf, __finitef): Remove.
68698 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68702 2012-03-17  David S. Miller  <davem@davemloft.net>
68704         [BZ #6471]
68705         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68706         for 2.16.
68708 2012-03-16  David S. Miller  <davem@davemloft.net>
68710         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68711         warnings.
68713         [BZ #6471]
68714         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68715         properly.
68716         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68717         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68718         sysdep_routines when subdir is sysvipc.
68719         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68720         __getshmlba helper.
68722         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68724 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68726         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68727         [__LP64__].
68729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68731         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68732         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68733         (__lround): Renamed to ...
68734         (__llround): This.  Replace long int with long long int.
68735         Define lround functions as aliases of llround functions.
68736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68738 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68740         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68741         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68742         adresses to uintptr_t.  Replace "long int" and "unsigned long
68743         int" with "greg_t" on va_arg.
68745 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68747         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68748         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68750         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68751         Move e_machine check before EI_CLASS check.  Handle x32
68752         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68753         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68754         SKIP_EM_IA_64 and include
68755         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68757         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68758         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68759         (add_system_dir): New macro.
68761         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68762         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68764 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68766         [BZ #2551]
68767         [BZ #2552]
68768         [BZ #2553]
68769         [BZ #2554]
68770         [BZ #2562]
68771         [BZ #2563]
68772         [BZ #2565]
68773         [BZ #2566]
68774         [BZ #2576]
68775         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68776         (y0): Likewise.
68777         * math/w_j0f.c (j0f): Likewise.
68778         (y0f): Likewise.
68779         * math/w_j0l.c (__j0l): Likewise.
68780         (__y0l): Likewise.
68781         * math/w_j1.c (j1): Likewise.
68782         (y1): Likewise.
68783         * math/w_j1f.c (j1f): Likewise.
68784         (y1f): Likewise.
68785         * math/w_j1l.c (__j1l): Likewise.
68786         (__y1l): Likewise.
68787         * math/w_jn.c (jn): Likewise.
68788         (yn): Likewise.
68789         * math/w_jnf.c (jnf): Likewise.
68790         (ynf): Likewise.
68791         * math/w_jnl.c (__jnl): Likewise.
68792         (__ynl): Likewise.
68793         * math/libm-test.inc (j0_test): Add more tests.
68794         (j1_test): Likewise.
68795         (jn_test): Likewise.  Add trailing semicolon to existing test.
68796         (y0_test): Likewise.
68797         (y1_test): Likewise.
68798         * sysdeps/i386/fpu/libm-test-ulps: Update.
68799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68801         [BZ #13851]
68802         [BZ #13854]
68803         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68804         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68805         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68806         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68807         (__tanl): Set errno for infinite argument.
68808         * sysdeps/i386/fpu/mptan.c: Remove.
68809         * sysdeps/i386/fpu/s_tan.S: Likewise.
68810         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68811         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68812         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68813         * math/libm-test.inc (tan_test): Add more tests and enable more
68814         tests for double and long double.
68815         * sysdeps/i386/fpu/libm-test-ulps: Update.
68816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68818 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68820         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68821         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68823 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68825         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68826         * configure.in: Use it for both main tree and add-ons.
68827         * configure: Regenerated.
68829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68831         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68833 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68835         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68836         in comment.
68838         [BZ #13851]
68839         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68840         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68841         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68842         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68843         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68844         infinite argument.
68845         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68846         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68847         != 0 for prec == 2.
68848         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68849         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68850         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68851         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68852         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68853         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68854         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68855         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68856         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68857         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68858         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68859         * math/libm-test.inc (cos_test): Add more tests and enable more
68860         tests for long double.
68861         (sin_test): Likewise.
68862         (sincos_test): Likewise.
68863         * sysdeps/i386/fpu/libm-test-ulps: Update.
68864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68866 2012-03-16  David S. Miller  <davem@davemloft.net>
68868         * sysdeps/sparc/fpu/math_private.h: New file.
68870 2012-03-15  David S. Miller  <davem@davemloft.net>
68872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68873         file.
68874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68876         file.
68877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68882         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68883         sysdep routines.
68884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68886         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68887         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68889         * sysdeps/sparc/sparc-ifunc.h: New file.
68890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68891         sparc-ifunc.h
68892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68894         Likewise.
68895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68896         Likewise.
68897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68901         Likewise.
68902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68907         Likewise.
68908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68909         Likewise.
68910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68932         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68933         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68935 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68937         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68938         scaling.
68939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68941 2012-03-15  Andreas Jaeger  <aj@suse.de>
68943         [BZ #13852]
68944         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68945         ieee754/flt-32 implementation for sin, cos and sincos.
68946         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68947         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68948         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68949         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68950         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68951         ieee754/flt-32 implementation for tan.
68953         * math/libm-test.inc (cos_test): Enable some large input tests for
68954         float as well
68955         (sin_test): Likewise.
68956         (sincos_test): Likewise.
68957         (tan_test): Add tests for large input.
68959         * sysdeps/i386/fpu/libm-test-ulps: Update.
68961 2012-03-15  Andreas Jaeger  <aj@suse.de>
68963         [BZ #13658]
68964         * math/libm-test.inc (cos_test): Add more test cases.
68965         (sin_test): Likewise.
68966         (sincos_test): Likewise.
68968 2012-03-15  Andreas Jaeger  <aj@suse.de>
68970         [BZ #13837]
68971         * math/libm-test.inc (cos_test): Add a test case for large input
68972         value.
68973         (sin_test): Likewise.
68974         (sincos_test): Likewise.
68976 2012-03-15  Andreas Jaeger  <aj@suse.de>
68977             Joseph Myers  <joseph@codesourcery.com>
68979         [BZ #13658]
68980         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68981         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68982         * sysdeps/i386/fpu/branred.c: Likewise.
68983         * sysdeps/i386/fpu/dosincos.c: Likewise.
68984         * sysdeps/i386/fpu/mpa.c: Likewise.
68985         * sysdeps/i386/fpu/s_cos.S: Likewise.
68986         * sysdeps/i386/fpu/s_sin.S: Likewise.
68987         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68988         * sysdeps/i386/fpu/sincos32.c: Likewise.
68990         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68991         Define.
68992         (libc_feupdateenv_53bit): Define.
68993         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68994         Define.
68995         (libc_feupdateenv_53bit): Define.
68997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68998         53 bit (without extend i386 double precision).
69000         * math/libm-test.inc (sincos_test): Add tests for large input.
69001         (sin): Likewise.
69002         (cos): Likewise.
69004         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69006 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69010 2012-03-15  David S. Miller  <davem@davemloft.net>
69012         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69013         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69014         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69015         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69028         file.
69029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69031         file.
69032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69034         file.
69035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69037         file.
69038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69040         fmin/fmax sysdep routines.
69041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69043 2012-03-14  David S. Miller  <davem@davemloft.net>
69045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69074         routines.
69075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69076         file.
69077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69079         file.
69080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69082         file.
69083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69085         file.
69086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69088         file.
69089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69091         file.
69092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69093         file.
69094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69095         file.
69096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69097         file.
69098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69099         New file.
69100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69101         file.
69102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69103         file.
69104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69106         file.
69107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69109         file.
69110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69112         file.
69113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69115         VIS3 routines.
69117         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69118         New file.
69120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69122         * sysdeps/sparc/configure.in: New file.
69123         * sysdeps/sparc/configure: Generate.
69124         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69125         * configure: Regenerate.
69126         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69127         * config.make.in (have-as-vis3): New.
69128         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69129         available use -Av9d instead of -Av9a.
69130         * sysdeps/sparc/sparc64/Makefile: Likewise.
69131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69133         New file.
69134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69135         file.
69136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69137         New file.
69138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69139         file.
69140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69146         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69147         fzeros/fnegs to load 0x80000000 into a float register instead of
69148         using the stack.
69149         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69151 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69154         bits/syscall.h.
69155         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69156         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69157         ($(inst_includedir)/bits/syscall.h): Remove rule.
69158         ($(objpfx)bits/syscall.d): Include instead of
69159         $(objpfx)syscall-list.d.
69160         (generated): Change syscall-list.h and syscall-list.d to
69161         bits/syscall.h and bits/syscall.d.
69163 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69165         [BZ #13846]
69166         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69168 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69170         [BZ #13841]
69171         * math/s_csqrt.c: Include <float.h>.
69172         (__csqrt): Scale large or subnormal inputs.
69173         * math/s_csqrtf.c: Likewise.
69174         * math/s_csqrtl.c: Likewise.
69175         * math/libm-test.inc (csqrt_test): Add more tests.
69176         * sysdeps/i386/fpu/libm-test-ulps: Update.
69177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69179         [BZ #13840]
69180         * math/libm-test.inc (hypot_test): Add more tests.
69182 2012-03-13  David S. Miller  <davem@davemloft.net>
69184         [BZ #13840]
69185         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69186         double-precision for the calculation instead of scaling.
69188 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69190         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69191         manipulate bits before adding and subtracting TWO52[sx].
69192         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69193         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69194         Likewise.
69195         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69197 2012-03-13  David S. Miller  <davem@davemloft.net>
69199         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69200         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69201         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69202         rtld-global-offsets.h
69203         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69205         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69206         large parameters.
69208         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69210         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69211         'err' in the ifdef scope in which it is actually used.
69213         * nss/nss_db/db-init.c: Include string.h
69215 2012-03-12  David S. Miller  <davem@davemloft.net>
69217         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69218         masking out of the most significant byte of random value used.
69219         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69220         Fix coding style in previous change.
69222         * sysdeps/unix/sysv/linux/kernel-features.h
69223         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69224         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69225         expression.
69226         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69227         later.
69229 2012-03-11  David S. Miller  <davem@davemloft.net>
69231         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69232         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69233         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69234         for 'resultvar' otherwise things get truncated on 64-bit.
69236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69237         Fix masking out of the most significant byte of random value used.
69239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69241 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69245 2012-03-09  David S. Miller  <davem@davemloft.net>
69247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69248         variables with appropriate CPP guards.
69249         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69250         from the frame pointer, not the stack pointer.  Correct layout
69251         comments.  Fix test on resulting framesize and the management of
69252         the outregs buffer for pltexit.  Preserve floating point return
69253         values across _dl_call_pltexit call.
69254         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69255         framesize and the management of the outregs buffer for pltexit.
69256         Preserve floating point return values across _dl_call_pltexit
69257         call.
69258         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69259         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69260         (la_sparc64_gnu_pltexit): New functions.
69261         (print_exit): Fix format string for return register value.
69263 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69265         * sunrpc/Makefile (others): Add rpcgen.
69266         ($(objpfx)rpcgen): Remove special build rule and dependency on
69267         libc.
69268         * sunrpc/rpcgen.c: New file.
69270 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69272         [BZ #13673]
69273         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69274         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69275         * sysdeps/i386/crti.S: Likewise.
69276         * sysdeps/i386/crtn.S: Likewise.
69277         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69278         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69279         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69280         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69281         * sysdeps/sh/crti.S: Likewise.
69282         * sysdeps/sh/crtn.S: Likewise.
69283         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69285         [BZ #13673]
69286         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69287         with URL.
69288         * locale/programs/locfile-kw.gperf: Likewise.
69289         * locale/programs/charmap-kw.h: Regenerated.
69290         * locale/programs/locfile-kw.h: Likewise.
69292         [BZ #13673]
69293         * intl/plural.y: Replace FSF snail mail address with URL.
69294         * intl/plural.c: Regenerated.
69296 2012-03-09  Richard Henderson  <rth@twiddle.net>
69298         * include/math_private.h: Remove file.
69299         * math/math_private.h: Move file ...
69300         * sysdeps/generic/math_private.h: ... here.
69302         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69303         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69304         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69306         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69307         and <math_private.h>.
69308         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69309         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69310         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69311         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69312         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69313         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69314         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69315         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69316         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69317         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69318         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69319         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69320         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69321         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69322         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69323         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69324         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69325         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69326         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69327         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69329         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69330         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69332         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69333         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69334         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69335         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69338         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69339         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69340         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69341         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69342         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69343         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69344         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69345         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69346         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69347         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69348         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69349         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69350         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69351         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69352         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69353         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69354         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69355         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69356         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69357         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69358         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69359         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69360         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69361         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69362         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69363         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69364         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69365         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69366         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69367         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69368         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69369         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69371         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69372         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69373         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69374         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69375         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69376         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69377         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69378         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69379         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69380         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69381         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69382         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69383         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69384         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69386         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69387         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69388         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69389         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69390         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69391         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69392         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69394         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69395         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69396         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69397         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69398         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69399         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69400         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69401         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69402         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69403         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69404         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69405         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69406         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69408         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69409         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69410         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69411         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69412         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69413         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69414         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69415         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69416         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69417         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69418         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69419         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69420         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69421         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69422         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69423         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69424         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69425         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69426         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69427         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69428         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69429         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69430         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69431         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69432         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69433         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69434         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69435         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69436         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69437         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69438         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69439         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69440         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69441         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69442         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69443         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69444         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69445         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69446         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69447         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69449         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69450         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69451         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69452         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69453         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69454         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69455         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69456         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69457         * sysdeps/ieee754/k_standard.c: Likewise.
69458         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69459         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69461         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69462         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69463         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69464         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69465         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69466         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69467         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69468         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69469         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69470         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69471         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69472         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69473         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69474         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69475         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69476         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69477         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69478         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69479         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69480         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69481         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69482         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69483         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69484         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69485         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69486         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69487         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69488         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69489         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69490         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69491         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69492         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69493         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69494         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69495         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69496         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69497         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69498         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69499         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69500         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69501         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69502         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69503         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69504         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69505         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69506         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69507         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69508         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69509         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69510         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69511         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69512         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69513         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69514         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69515         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69516         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69517         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69518         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69519         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69520         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69521         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69525         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69526         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69528         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69530         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69532         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69533         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69534         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69535         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69537         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69538         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69539         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69540         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69541         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69542         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69543         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69544         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69545         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69546         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69548         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69549         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69550         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69551         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69552         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69553         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69554         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69555         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69556         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69559         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69560         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69561         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69562         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69563         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69564         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69565         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69566         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69567         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69568         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69569         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69570         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69571         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69572         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69573         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69574         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69575         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69576         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69577         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69578         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69579         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69580         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69581         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69582         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69583         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69584         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69585         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69586         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69587         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69588         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69589         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69590         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69591         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69592         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69593         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69594         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69595         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69596         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69597         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69598         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69599         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69600         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69601         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69602         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69603         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69604         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69605         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69606         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69607         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69608         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69609         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69610         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69611         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69612         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69613         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69615         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69616         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69617         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69618         * sysdeps/ieee754/s_lib_version.c: Likewise.
69619         * sysdeps/ieee754/s_matherr.c: Likewise.
69620         * sysdeps/ieee754/s_signgam.c: Likewise.
69621         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69622         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69623         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69624         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69625         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69626         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69627         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69628         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69629         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69630         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69631         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69632         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69633         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69634         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69635         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69636         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69637         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69638         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69639         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69640         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69641         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69643 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69645         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69646         * sunrpc/rpc_main.c: Likewise.
69647         * sunrpc/rpc_svcout.c: Likewise.
69649 2012-03-09  David S. Miller  <davem@davemloft.net>
69651         * include/math_private.h: New file.
69653 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69655         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69656         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69657         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69658         from <bits/socket_type.h>.
69659         (enum __socket_type): Don't define here.
69660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69662         bits/socket_type.h.
69664         [BZ #13566]
69665         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69666         checking __USE_GNU.
69668         * Makerules ($(inst_includedir)/%.h): New rule.
69669         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69670         (install-others): Remove variable setting.
69671         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69673 2012-03-08  Richard Henderson  <rth@twiddle.net>
69675         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69676         from macro to inline function; merge with the
69677         !__LIBC_INTERNAL_MATH_INLINES version.
69678         (__ieee754_sqrtf): Likewise.
69680         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69681         to inline function.
69682         (__rintf, __floor, __floorf): Likewise.
69684         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69685         macro to inline function.
69686         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69688         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69689         not <math/math_private.h>.
69691 2012-03-08  David S. Miller  <davem@davemloft.net>
69693         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69694         copyright year.
69695         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69697 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69699         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69700         normalization.
69701         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69702         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69704 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69706         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69707         be defined individually, they must be defined as a block.  Define
69708         S for printing a string instead of hidint the different by using a
69709         macro for adding the 'l'.
69710         * stdio-common/tst-fphex-wide.c: Adjust.
69712 2012-03-07  Marek Polacek  <polacek@redhat.com>
69714         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69716 2012-03-08  Marek Polacek  <polacek@redhat.com>
69718         [BZ #13806]
69719         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69720         * stdio-common/tst-fphex.c: Define a few macros to make the
69721         test reusable.  Use them.
69722         * stdio-common/tst-fphex-wide.c: New file.
69724 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69726         [BZ #6911]
69727         * manual/macros.texi (gnusystems): New macro.
69728         (nongnusystems): Likewise.
69729         (gnulinuxhurdsystems): Likewise.
69730         (gnuhurdsystems): Likewise..
69731         (gnulinuxsystems): Likewise.
69732         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69733         variants of the GNU system, not "GNU system".
69734         * manual/conf.texi: Likewise.
69735         * manual/errno.texi: Likewise.  Update example of errno macro
69736         expansion.
69737         * manual/filesys.texi: Likewise.
69738         (getumask): Document as specific to GNU/Hurd.
69739         * manual/install.texi: Likewise.  Reword some references to
69740         GNU/Linux.
69741         * manual/intro.texi: Likewise.
69742         * manual/io.texi: Likewise.
69743         (File Name Portability): Detail which constraints are inapplicable
69744         to all GNU systems and which are only inapplicable to GNU/Hurd.
69745         * manual/job.texi: Likewise.
69746         * manual/llio.texi: Likewise.
69747         (O_NOCTTY): Document as present on GNU/Linux.
69748         * manual/maint.texi: Likewise.
69749         * manual/memory.texi: Likewise.
69750         * manual/pattern.texi: Likewise.
69751         * manual/pipe.texi: Likewise.
69752         * manual/process.texi: Likewise.
69753         * manual/resource.texi: Likewise.
69754         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69755         child on GNU/Hurd.
69756         * manual/setjmp.texi: Likewise.
69757         * manual/signal.texi: Likewise.
69758         * manual/startup.texi: Likewise.
69759         * manual/stdio.texi: Likewise.
69760         * manual/terminal.texi: Likewise.
69761         (ONLCR): Document as POSIX.
69762         (OXTABS): Document availability on GNU/Linux as XTABS.
69763         (ONOEOT): Document availability separately from other bits.
69764         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69765         * manual/time.texi: Likewise.
69766         * manual/users.texi: Likewise.
69767         * INSTALL: Regenerated.
69768         * sysdeps/gnu/errlist.c: Regenerated.
69770         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69771         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69772         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69773         puts.
69774         * configure: Regenerated.
69776 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69778         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69779         default includes instead of AC_HEADER_CHECK.
69780         * sysdeps/i386/configure: Regenerated.
69782         [BZ #10716]
69783         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69784         * math/s_cacoshf.c (__cacoshf): Likewise.
69785         * math/s_cacoshl.c (__cacoshl): Likewise.
69786         * math/s_casinh.c (__casinh): Set signs of result from argument.
69787         * math/s_casinhf.c (__casinhf): Likewise.
69788         * math/s_casinhl.c (__casinhl): Likewise.
69789         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69790         (casinh_test): Add more tests.
69791         * sysdeps/i386/fpu/libm-test-ulps: Update.
69792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69794 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69796         * po/zh_TW.po: Update from translation team.
69798         * login/Makefile (distribute): Remove variable.
69799         * catgets/Makefile: Likewise.
69800         * mach/Makefile: Likewise.
69801         * malloc/Makefile: Likewise.
69802         * misc/Makefile: Likewise.
69803         * iconv/Makefile: Likewise.
69804         * nscd/Makefile: Likewise.
69805         * hurd/Makefile: Likewise.
69806         * manual/Makefile: Likewise.
69807         * locale/Makefile: Likewise.
69808         * intl/Makefile: Likewise.
69809         * conform/Makefile: Likewise.
69810         * nss/Makefile: Likewise.
69811         * time/Makefile: Likewise.
69812         * soft-fp/Makefile: Likewise.
69813         * dirent/Makefile: Likewise.
69814         * gmon/Makefile: Likewise.
69815         * po/Makefile: Likewise.
69816         * rt/Makefile: Likewise.
69817         * socket/Makefile: Likewise.
69818         * math/Makefile: Likewise.
69819         * signal/Makefile: Likewise.
69820         * debug/Makefile: Likewise.
69821         * elf/Makefile: Likewise.
69822         * timezone/Makefile: Likewise.
69823         * stdlib/Makefile: Likewise.
69824         * iconvdata/Makefile: Likewise.
69825         * sunrpc/Makefile: Likewise.
69826         * io/Makefile: Likewise.
69827         * argp/Makefile: Likewise.
69828         * inet/Makefile: Likewise.
69829         * hesiod/Makefile: Likewise.
69830         * grp/Makefile: Likewise.
69831         * csu/Makefile: Likewise.
69832         * wctype/Makefile: Likewise.
69833         * crypt/Makefile: Likewise.
69834         * libio/Makefile: Likewise.
69835         * string/Makefile: Likewise.
69836         * nis/Makefile: Likewise.
69837         * resolv/Makefile: Likewise.
69838         * stdio-common/Makefile: Likewise.
69839         * wcsmbs/Makefile: Likewise.
69840         * dlfcn/Makefile: Likewise.
69841         * posix/Makefile: Likewise.
69843         [BZ #6959]
69844         * timezone/Makefile: Don't install timezone files, just the programs
69845         and scripts.
69847 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69849         * nss/databases.def: Add missing gshadow entry.
69851         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69853 2012-03-06  Marek Polacek  <polacek@redhat.com>
69855         [BZ #13726]
69856         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69857         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69858         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69859         * stdio-common/tst-long-dbl-fphex.c: New file.
69861 2012-03-06  David S. Miller  <davem@davemloft.net>
69863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69864         (set_obp_int): New function.
69865         (get_obp_int): New function.
69866         (__get_clockfreq_via_dev_openprom): Likewise.
69867         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69868         Avoid unused variable warnings on 'val' and use builtin_expect.
69869         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69870         __builtin_expect.
69871         (INLINE_CLONE_SYSCALL): Likewise.
69873 2012-03-05  David S. Miller  <davem@davemloft.net>
69875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69877 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69881         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69882         only for |x| >= 40.
69883         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69885 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69888         Replace gettimeofday with __vdso_gettimeofday.
69890         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69891         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69892         __vdso_clock_gettime and __vdso_getcpu.
69894         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69895         time with __vdso_time.
69897 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69899         * manual/lang.texi (size_t): Note types to which size_t may be
69900         equivalent with the GNU C Library, but do not describe when
69901         differences between them are significant.
69903 2012-03-05  Andreas Jaeger  <aj@suse.de>
69905         * sysdeps/i386/fpu/libm-test-ulps: Update.
69907 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69909         [BZ #3976]
69910         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69911         (__ieee754_pow): Save and restore rounding mode and use
69912         round-to-nearest for main computations.
69913         * math/libm-test.inc (pow_test_tonearest): New function.
69914         (pow_test_towardzero): Likewise.
69915         (pow_test_downward): Likewise.
69916         (pow_test_upward): Likewise.
69917         (main): Call the new functions.
69918         * sysdeps/i386/fpu/libm-test-ulps: Update.
69919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69921         [BZ #3976]
69922         * math/libm-test.inc (cosh_test_tonearest): New function.
69923         (cosh_test_towardzero): Likewise.
69924         (cosh_test_downward): Likewise.
69925         (cosh_test_upward): Likewise.
69926         (sinh_test_tonearest): Likewise.
69927         (sinh_test_towardzero): Likewise.
69928         (sinh_test_downward): Likewise.
69929         (sinh_test_upward): Likewise.
69930         (main): Call the new functions.
69931         * sysdeps/i386/fpu/libm-test-ulps: Update.
69932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69934 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69936         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69937         default stack guard is set in last bytes.
69938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69940 2012-03-05  Kees Cook  <keescook@chromium.org>
69942         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69944         [BZ #13656]
69945         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69946         possibly allocate from heap instead of stack.
69947         * stdio-common/bug-vfprintf-nargs.c: New file.
69948         * stdio-common/Makefile (tests): Add nargs overflow test.
69950 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69954 2012-03-03  Marek Polacek  <polacek@redhat.com>
69956         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69957         * math/math_private.h: Likewise.
69958         * stdlib/tst-strtod.c: Likewise.
69959         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69960         * sysdeps/x86_64/bits/atomic.h: Likewise.
69962 2012-03-02  David S. Miller  <davem@davemloft.net>
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69968         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69969         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69970         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69971         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69973 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69975         [BZ #13792]
69976         * manual/examples/README: New file, says the example source files
69977         can be used under GPL>=2.
69978         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69979         line containing just "*/".
69980         * manual/examples/add.c: Add copyright header (GPL>=2).
69981         * manual/examples/argp-ex1.c: Likewise.
69982         * manual/examples/argp-ex2.c: Likewise.
69983         * manual/examples/argp-ex3.c: Likewise.
69984         * manual/examples/argp-ex4.c: Likewise.
69985         * manual/examples/atexit.c: Likewise.
69986         * manual/examples/db.c: Likewise.
69987         * manual/examples/dir.c: Likewise.
69988         * manual/examples/dir2.c: Likewise.
69989         * manual/examples/execinfo.c: Likewise.
69990         * manual/examples/filecli.c: Likewise.
69991         * manual/examples/filesrv.c: Likewise.
69992         * manual/examples/fmtmsgexpl.c: Likewise.
69993         * manual/examples/genpass.c: Likewise.
69994         * manual/examples/inetcli.c: Likewise.
69995         * manual/examples/inetsrv.c: Likewise.
69996         * manual/examples/isockad.c: Likewise.
69997         * manual/examples/longopt.c: Likewise.
69998         * manual/examples/memopen.c: Likewise.
69999         * manual/examples/memstrm.c: Likewise.
70000         * manual/examples/mkfsock.c: Likewise.
70001         * manual/examples/mkisock.c: Likewise.
70002         * manual/examples/mygetpass.c: Likewise.
70003         * manual/examples/pipe.c: Likewise.
70004         * manual/examples/popen.c: Likewise.
70005         * manual/examples/rprintf.c: Likewise.
70006         * manual/examples/search.c: Likewise.
70007         * manual/examples/select.c: Likewise.
70008         * manual/examples/setjmp.c: Likewise.
70009         * manual/examples/sigh1.c: Likewise.
70010         * manual/examples/sigusr.c: Likewise.
70011         * manual/examples/stpcpy.c: Likewise.
70012         * manual/examples/strdupa.c: Likewise.
70013         * manual/examples/strftim.c: Likewise.
70014         * manual/examples/strncat.c: Likewise.
70015         * manual/examples/subopt.c: Likewise.
70016         * manual/examples/swapcontext.c: Likewise.
70017         * manual/examples/termios.c: Likewise.
70018         * manual/examples/testopt.c: Likewise.
70019         * manual/examples/testpass.c: Likewise.
70020         * manual/examples/timeval_subtract.c: Likewise.
70022         [BZ #13792]
70023         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70024         function to ...
70025         * manual/timeval_subtract.c.texi: ... here, new file.
70027 2012-03-02  David S. Miller  <davem@davemloft.net>
70029         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70031 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70033         [BZ #3976]
70034         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70035         (__sin): Save and restore rounding mode and use round-to-nearest
70036         for all computations.
70037         (__cos): Save and restore rounding mode and use round-to-nearest
70038         for all computations.
70039         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70040         <fenv.h>.
70041         (tan): Save and restore rounding mode and use round-to-nearest for
70042         all computations.
70043         * math/libm-test.inc (cos_test_tonearest): New function.
70044         (cos_test_towardzero): Likewise.
70045         (cos_test_downward): Likewise.
70046         (cos_test_upward): Likewise.
70047         (sin_test_tonearest): Likewise.
70048         (sin_test_towardzero): Likewise.
70049         (sin_test_downward): Likewise.
70050         (sin_test_upward): Likewise.
70051         (tan_test_tonearest): Likewise.
70052         (tan_test_towardzero): Likewise.
70053         (tan_test_downward): Likewise.
70054         (tan_test_upward): Likewise.
70055         (main): Call the new functions.
70056         * sysdeps/i386/fpu/libm-test-ulps: Update.
70057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70059         [BZ #10135]
70060         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70061         small n, then large n, before computing and testing k+n.
70062         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70064         Likewise.
70065         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70066         Likewise.
70067         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70068         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70069         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70070         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70073         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70074         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70075         * math/libm-test.inc (scalbn_test): Add more tests.
70076         (scalbln_test): Likewise.
70078         * manual/filesys.texi (mode_t): Describe constraints on size and
70079         signedness, not exact equivalence to a particular type.
70080         (ino_t): Likewise.
70081         (ino64_t): Likewise.
70082         (dev_t): Likewise.
70083         (nlink_t): Likewise.
70084         (blkcnt_t): Likewise.
70085         (blkcnt64_t): Likewise.
70086         * manual/llio.texi (off_t): Likewise.
70088         [BZ #3976]
70089         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70090         (__ieee754_exp): Save and restore rounding mode and use
70091         round-to-nearest for all computations.
70092         * math/libm-test.inc (exp_test_tonearest): New function.
70093         (exp_test_towardzero): Likewise.
70094         (exp_test_downward): Likewise.
70095         (exp_test_upward): Likewise.
70096         (main): Call the new functions.
70097         * sysdeps/i386/fpu/libm-test-ulps: Update.
70098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70100 2012-03-01  Chris Demetriou  <cgd@google.com>
70102         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70103         have predictable order.
70105 2012-03-01  David S. Miller  <davem@davemloft.net>
70107         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70109         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70110         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70111         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70112         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70114         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70115         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70116         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70118         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70119         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70120         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70121         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70122         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70126         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70127         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70128         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70130         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70131         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70132         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70133         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70134         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70135         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70136         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70137         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70138         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70139         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70140         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70141         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70143         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70144         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70146         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70147         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70148         * sysdeps/sparc/elf/configure: Regenerated.
70150 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70152         * configure.in (AS, LD): Require binutils 2.20 or later.
70153         * configure: Regenerated.
70154         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70155         as required minimum version.
70156         * INSTALL: Regenerated.
70158         [BZ #2541]
70159         [BZ #4108]
70160         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70161         before squaring exponent.
70162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70163         bottom long double and 27 bits of top long double before squaring
70164         exponent.
70165         * math/libm-test.inc (erfc_test): Add more tests.
70166         * sysdeps/i386/fpu/libm-test-ulps: Update.
70167         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70170 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70172         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70173         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70174         containing bit-fields.
70175         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70176         * soft-fp/single.h (_FP_UNION_S): Likewise.
70177         * soft-fp/double.h (_FP_UNION_D): Likewise.
70179 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70181         [BZ #13786]
70182         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70183         not include ../strcmp.S.
70184         [USE_AS_STRNCASECMP_L]: Likewise.
70185         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70186         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70187         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70188         (__strncasecmp_l_ia32): Define as alias to
70189         __strncasecmp_l_nonascii.
70191         [BZ #5794]
70192         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70193         * sysdeps/i386/fpu/libm-test-ulps: Update.
70194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70196         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70199 2012-02-29  Jeff Law  <law@redhat.com>
70201         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70202         out of bounds read.
70204 2012-02-29  Marek Polacek  <polacek@redhat.com>
70206         [BZ #13706]
70207         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70208         * elf/Makefile: Add rules to run tst-unused-dep.out.
70210 2012-02-28  David S. Miller  <davem@davemloft.net>
70212         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70213         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70214         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70215         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70216         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70217         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70219 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70221         * math/libm-test.inc (llround_test): Move one test from
70222         lround_test.  Use TEST_f_L in moved test.
70223         (lround_test): Move misplaced test to llround_test.  Add testcase
70224         from bug 2561.
70226 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70228         * sysdeps/x86_64/fpu/e_expf.S: New file.
70229         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70231 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70233         [BZ #13637]
70234         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70235         of remain_len that may cause incomplete multi-byte character and
70236         false match.
70237         * posix/bug-regex33.c: New file.
70238         * posix/Makefile (tests): Add bug-regex33.
70240 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70242         * manual/macros.texi: New file.
70243         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70244         * manual/libc.texinfo: Include macros.texi.
70245         * manual/creatute.texi: Likewise.
70246         * manual/install.texi: Likewise.
70247         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70248         @glibcadj{} in references to the GNU C Library.
70249         * manual/charset.texi: Likewise.
70250         * manual/conf.texi: Likewise.
70251         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70252         when not using those macros.
70253         * manual/creature.texi: Likewise.
70254         * manual/crypt.texi: Likewise.
70255         * manual/errno.texi: Likewise.
70256         * manual/filesys.texi: Likewise.
70257         * manual/header.texi: Likewise.
70258         * manual/install.texi: Likewise.
70259         * manual/intro.texi: Likewise.
70260         * manual/io.texi: Likewise.
70261         * manual/job.texi: Likewise.
70262         * manual/lang.texi: Likewise.
70263         * manual/libc.texiinfo: Likewise.
70264         * manual/llio.texi: Likewise.
70265         * manual/locale.texi: Likewise.
70266         * manual/maint.texi: Likewise.
70267         * manual/math.texi: Likewise.
70268         * manual/memory.texi: Likewise.
70269         * manual/message.texi: Likewise.
70270         * manual/nss.texi: Likewise.
70271         * manual/pattern.texi: Likewise.
70272         * manual/process.texi: Likewise.
70273         * manual/resource.texi: Likewise.
70274         * manual/search.texi: Likewise.
70275         * manual/setjmp.texi: Likewise.
70276         * manual/signal.texi: Likewise.
70277         * manual/socket.texi: Likewise.
70278         * manual/startup.texi: Likewise.
70279         * manual/stdio.texi: Likewise.
70280         * manual/string.texi: Likewise.
70281         * manual/sysinfo.texi: Likewise.
70282         * manual/syslog.texi: Likewise.
70283         * manual/terminal.texi: Likewise.
70284         * manual/time.texi: Likewise.
70285         * manual/users.texi: Likewise.
70286         * INSTALL: Regenerated.
70287         * NOTES: Regenerated.
70288         * sysdeps/gnu/errlist.c: Regenerated.
70290 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70292         * include/dirent.h: Include <dirstream.h> before
70293         <dirent/dirent.h>.
70295 2012-02-28  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70298         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70299         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70300         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70302 2012-02-27  David S. Miller  <davem@davemloft.net>
70304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70306         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70307         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70310         frame pointer instead of stack pointer relative arg slot.
70311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70312         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70313         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70315 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70317         [BZ #3992]
70318         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70320 2012-02-27  David S. Miller  <davem@davemloft.net>
70322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70326         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70327         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70328         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70329         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70331 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70333         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70334         later.  Allow versions 5-9.
70335         * configure: Regenerated.
70336         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70337         required minimum version and 4.6 as recommended version.  Do not
70338         mention bugs in GCC 2.7 and 2.8.
70339         * INSTALL: Regenerated.
70341 2012-02-27  David S. Miller  <davem@davemloft.net>
70343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70347         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70348         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70349         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70350         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70352         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70353         manipulate bits before adding and subtracting TWO112[sx].
70354         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70356 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70358         [BZ #13775]
70359         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70360         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70361         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70362         being in POSIX, because they are in 1003.1-2008.
70364         * rt/tst-aio.c: Include <fcntl.h>.
70365         * rt/tst-aio7.c: Likewise.
70366         * rt/tst-aio64.c: Likewise.
70368         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70370 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70372         * manual/install.texi (--with-headers): Describe headers as
70373         interface headers, not private headers.
70374         (Specific advice for GNU/Linux systems): Describe use of headers
70375         from "make headers_install", not private headers from older
70376         kernels.
70377         * INSTALL: Regenerated.
70378         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70379         Change to 2.6.19.
70380         * sysdeps/unix/sysv/linux/configure: Regenerated.
70382         * manual/llio.texi (fclean): Remove documentation.
70384         * manual/Makefile (libc-texi-generated): New variable.  Include
70385         version.texi.
70386         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70387         $(libc-texi-generated), not duplicated list of files.
70388         (version.texi, stamp-version): New rules.
70389         (realclean): Remove $(libc-texi-generated), not individual files
70390         from that list.  Do not remove dir-add.texinfo.
70391         * manual/libc.texinfo: Comment out uses of edition numbers and
70392         references to printed manual.  Remove last-updated dates.
70393         (EDITION): Comment out.
70394         (ISBN): Likewise.
70395         (VERSION, UPDATED): Remove.
70396         (version.texi): Include.
70398 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70400         * sysdeps/posix/spawni.c: Include <signal.h>.
70401         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70402         * sysdeps/pthread/aio_fsync.c: Likewise.
70404 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70406         * conform/Makefile (tests): Run only when not cross-compiling and
70407         when fast-check is not defined.
70409         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70410         * conform/data/limits.h-data: Fixes for POSIX2008.
70411         * conform/run-conformtest.sh: Run all tests.
70412         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70413         headers.
70414         * include/bits/dlfcn.h: Likewise.
70415         * include/langinfo.h: Likewise.
70416         * include/monetary.h: Likewise.
70417         * include/sys/poll.h: Likewise.
70419         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70420         for __USE_GNU.
70421         * posix/spawn.h: Define __need_sigset_t.
70422         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70423         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70424         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70425         to get sigevent_t only.
70426         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70427         only for __USE_GNU.
70428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70429         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70430         process_vm_writev only for __USE_GNU.
70431         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70433         * conform/Makefile: For now ignore errors from run-conformtest.
70434         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70435         POSIX to avoid namespace pollution.  Don't prepend headers.
70436         * conform/data/aio.h-data: Fixes for POSIX testing.
70437         * conform/data/fcntl.h-data: Likewise.
70438         * conform/data/glob.h-data: Likewise.
70439         * conform/data/grp.h-data: Likewise.
70440         * conform/data/pthread.h-data: Likewise.
70441         * conform/data/pwd.h-data: Likewise.
70442         * conform/data/signal.h-data: Likewise.
70443         * conform/data/spawn.h-data: Likewise.
70444         * conform/data/stdio.h-data: Likewise.
70445         * conform/data/stdlib.h-data: Likewise.
70446         * conform/data/stropts.h-data: Likewise.
70447         * conform/data/sys/mman.h-data: Likewise.
70448         * conform/data/sys/stat.h-data: Likewise.
70449         * conform/data/sys/types.h-data: Likewise.
70450         * conform/data/sys/wait.h-data: Likewise.
70451         * conform/data/time.h-data: Likewise.
70452         * conform/data/unistd.h-data: Likewise.
70453         * conform/data/utime.h-data: Likewise.
70455         * io/sys/stat.h: fchmod was always in POSIX.
70456         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70457         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70458         * rt/aio.h: Define __need_timespec before including <time.h>.
70459         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70460         struct.  Add forward declaration of pthread_attr_t and use it in
70461         sigevent.
70462         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70464         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70465         always remove CLK_TCK definition.
70467 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70469         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70471 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70473         * conform/run-conformtest.sh: New file.
70474         * conform/Makefile: Run run-conformtest for tests.
70475         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70476         support.
70478         * conform/data/uchar.h-data: New file.
70479         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70480         * conform/data/arpa/inet.h-data: Likewise.
70481         * conform/data/assert.h-data: Likewise.
70482         * conform/data/complex.h-data: Likewise.
70483         * conform/data/cpio.h-data: Likewise.
70484         * conform/data/ctype.h-data: Likewise.
70485         * conform/data/dirent.h-data: Likewise.
70486         * conform/data/dlfcn.h-data: Likewise.
70487         * conform/data/errno.h-data: Likewise.
70488         * conform/data/fcntl.h-data: Likewise.
70489         * conform/data/float.h-data: Likewise.
70490         * conform/data/fmtmsg.h-data: Likewise.
70491         * conform/data/fnmatch.h-data: Likewise.
70492         * conform/data/ftw.h-data: Likewise.
70493         * conform/data/glob.h-data: Likewise.
70494         * conform/data/grp.h-data: Likewise.
70495         * conform/data/iconv.h-data: Likewise.
70496         * conform/data/inttypes.h-data: Likewise.
70497         * conform/data/langinfo.h-data: Likewise.
70498         * conform/data/libgen.h-data: Likewise.
70499         * conform/data/limits.h-data: Likewise.
70500         * conform/data/locale.h-data: Likewise.
70501         * conform/data/math.h-data: Likewise.
70502         * conform/data/monetary.h-data: Likewise.
70503         * conform/data/mqueue.h-data: Likewise.
70504         * conform/data/ndbm.h-data: Likewise.
70505         * conform/data/net/if.h-data: Likewise.
70506         * conform/data/netdb.h-data: Likewise.
70507         * conform/data/netinet/in.h-data: Likewise.
70508         * conform/data/nl_types.h-data: Likewise.
70509         * conform/data/poll.h-data: Likewise.
70510         * conform/data/pthread.h-data: Likewise.
70511         * conform/data/pwd.h-data: Likewise.
70512         * conform/data/regex.h-data: Likewise.
70513         * conform/data/sched.h-data: Likewise.
70514         * conform/data/search.h-data: Likewise.
70515         * conform/data/semaphore.h-data: Likewise.
70516         * conform/data/setjmp.h-data: Likewise.
70517         * conform/data/signal.h-data: Likewise.
70518         * conform/data/spawn.h-data: Likewise.
70519         * conform/data/stdarg.h-data: Likewise.
70520         * conform/data/stdio.h-data: Likewise.
70521         * conform/data/stdlib.h-data: Likewise.
70522         * conform/data/string.h-data: Likewise.
70523         * conform/data/strings.h-data: Likewise.
70524         * conform/data/stropts.h-data: Likewise.
70525         * conform/data/sys/ipc.h-data: Likewise.
70526         * conform/data/sys/mman.h-data: Likewise.
70527         * conform/data/sys/msg.h-data: Likewise.
70528         * conform/data/sys/resource.h-data: Likewise.
70529         * conform/data/sys/select.h-data: Likewise.
70530         * conform/data/sys/sem.h-data: Likewise.
70531         * conform/data/sys/shm.h-data: Likewise.
70532         * conform/data/sys/socket.h-data: Likewise.
70533         * conform/data/sys/stat.h-data: Likewise.
70534         * conform/data/sys/statvfs.h-data: Likewise.
70535         * conform/data/sys/time.h-data: Likewise.
70536         * conform/data/sys/timeb.h-data: Likewise.
70537         * conform/data/sys/times.h-data: Likewise.
70538         * conform/data/sys/types.h-data: Likewise.
70539         * conform/data/sys/uio.h-data: Likewise.
70540         * conform/data/sys/un.h-data: Likewise.
70541         * conform/data/sys/utsname.h-data: Likewise.
70542         * conform/data/sys/wait.h-data: Likewise.
70543         * conform/data/syslog.h-data: Likewise.
70544         * conform/data/tar.h-data: Likewise.
70545         * conform/data/termios.h-data: Likewise.
70546         * conform/data/utime.h-data: Likewise.
70547         * conform/data/utmpx.h-data: Likewise.
70548         * conform/data/varargs.h-data: Likewise.
70549         * conform/data/wchar.h-data: Likewise.
70550         * conform/data/wctype.h-data: Likewise.
70551         * conform/data/wordexp.h-data: Likewise.
70553         * include/stropts.h: New file.
70554         * include/uchar.h: New file.
70555         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70556         * include/assert.h: Likewise.
70557         * include/ctype.h: Likewise.
70558         * include/dirent.h: Likewise.
70559         * include/dlfcn.h: Likewise.
70560         * include/fcntl.h: Likewise.
70561         * include/fnmatch.h: Likewise.
70562         * include/glob.h: Likewise.
70563         * include/grp.h: Likewise.
70564         * include/libio.h: Likewise.
70565         * include/locale.h: Likewise.
70566         * include/math.h: Likewise.
70567         * include/net/if.h: Likewise.
70568         * include/netdb.h: Likewise.
70569         * include/netinet/in.h: Likewise.
70570         * include/pthread.h: Likewise.
70571         * include/pwd.h: Likewise.
70572         * include/regex.h: Likewise.
70573         * include/sched.h: Likewise.
70574         * include/search.h: Likewise.
70575         * include/setjmp.h: Likewise.
70576         * include/signal.h: Likewise.
70577         * include/stdio.h: Likewise.
70578         * include/stdlib.h: Likewise.
70579         * include/string.h: Likewise.
70580         * include/sys/cdefs.h: Likewise.
70581         * include/sys/mman.h: Likewise.
70582         * include/sys/msg.h: Likewise.
70583         * include/sys/resource.h: Likewise.
70584         * include/sys/select.h: Likewise.
70585         * include/sys/socket.h: Likewise.
70586         * include/sys/stat.h: Likewise.
70587         * include/sys/statvfs.h: Likewise.
70588         * include/sys/time.h: Likewise.
70589         * include/sys/times.h: Likewise.
70590         * include/sys/uio.h: Likewise.
70591         * include/sys/utsname.h: Likewise.
70592         * include/sys/wait.h: Likewise.
70593         * include/termios.h: Likewise.
70594         * include/time.h: Likewise.
70595         * include/ulimit.h: Likewise.
70596         * include/unistd.h: Likewise.
70597         * include/utime.h: Likewise.
70598         * include/wchar.h: Likewise.
70599         * include/wctype.h: Likewise.
70600         * include/wordexp.h: Likewise.
70602         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70604         * time/time.h: TIME_UTC must be a macro.
70605         Make timespec_get available for ISO C11 only as well.
70607 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70609         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70610         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70612 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70614         * configure.in: Use -o not -a in test for unsupported multi-arch.
70616 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70618         * manual/texinfo.tex: Update to version 2012-01-19.16.
70620 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70622         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70624 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70626         [BZ #13738]
70627         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70628         * manual/fdl-1.3.texi: New file.
70629         * manual/fdl-1.1.texi: File removed.
70631         [BZ #13738]
70632         * manual/libc.texinfo (FDL_VERSION): New @set.
70633         Use it for mention of FDL in cover text.
70634         (Documentation License): Use it in @include file name.
70636 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70637             Roland McGrath  <roland@hack.frob.com>
70639         [BZ #5461]
70640         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70641         (not LONG_LONG_MAX and LONG_LONG_MIN.
70642         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70643         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70644         name.
70645         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70647 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70649         [BZ #2547]
70650         [BZ #11365]
70651         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70652         manipulate bits before adding and subtracting TWO23[sx].
70653         * math/libm-test.inc (nearbyint_test): Add more tests.
70655 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70657         [BZ #2548]
70658         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70659         bits before adding and subtracting TWO23[sx].
70660         * math/libm-test.inc (rint_test): Add more tests.
70661         (rint_test_tonearest): Likewise.
70662         (rint_test_towardzero): Likewise.
70663         (rint_test_downward): Likewise.
70664         (rint_test_upward: Likewise.
70666 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70668         [BZ #10110]
70669         * include/stdc-predef.h: New file.  Extracted from features.h.
70670         * include/features.h: Include stdc-predef.h.
70671         * Makefile (headers): Add stdc-predef.h.
70672         * CONFORMANCE (Compiler limitations): Update.
70674 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70676         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70678 2012-02-21  David S. Miller  <davem@davemloft.net>
70680         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70681         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70683 2012-02-20  David S. Miller  <davem@davemloft.net>
70685         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70686         using a normal save/restore sequence, rather than allocating a
70687         dummy stack frame just to store a frame pointer and restore.
70688         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70690 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70692         * manual/install.texi: Fix stray word in line-wrapped comment.
70694 2012-02-20  David S. Miller  <davem@davemloft.net>
70696         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70697         both binutils and gcc support GOTDATA.
70699         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70700         "rd %pc" in the PIC register setup sequences.
70702         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70703         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70704         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70705         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70706         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70708         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70709         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70711         (SYSCALL_ERROR_HANDLER): Likewise.
70712         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70713         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70715         (SYSCALL_ERROR_HANDLER): Likewise.
70717         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70718         (HAVE_GCC_GOTDATA): New.
70719         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70720         relocation support in both binutils and gcc.
70721         * sysdeps/sparc/elf/configure: Regenerate.
70723         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70724         * sysdeps/sparc/sparc32/elf/configure: Delete.
70725         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70726         * sysdeps/sparc/sparc64/elf/configure: Delete.
70727         * sysdeps/sparc/elf/configure.in: New file.
70728         * sysdeps/sparc/elf/configure: Generate.
70730         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70731         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70732         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70733         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70734         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70736 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70738         * manual/install.texi: Do not mention specific glibc version
70739         numbers.
70740         * manual/libc.texinfo (VERSION, UPDATED): Update.
70741         (@copying): Use @copyright{} and range of years.
70743 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70745         [BZ #13695]
70746         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70747         [crti.S not in sysdirs] (generated): Do not append.
70748         [crti.S not in sysdirs] (omit-deps): Likewise.
70749         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70750         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70751         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70752         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70753         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70754         Likewise.
70755         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70756         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70757         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70758         * csu/defs.awk: Remove file.
70759         * sysdeps/generic/initfini.c: Likewise.
70760         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70761         variable.
70762         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70763         Likewise.
70765 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70767         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70768         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70769         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70770         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70771         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70772         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70773         <bits/epoll.h>.
70774         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70775         (__EPOLL_PACKED): Define to empty if not defined by
70776         <bits/epoll.h>.
70777         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70779         bits/epoll.h.
70781 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70783         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70784         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70785         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70786         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70787         <bits/timerfd.h>.
70788         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70790         bits/timerfd.h.
70792 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70794         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70795         in C locale.
70796         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70797         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70798         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70801 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70803         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70804         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70806 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70808         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70809         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70810         defined.
70811         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70812         Likewise.
70813         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70814         entry for 2.16.
70816 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70818         * math/w_acos.c: Use non-signaling floating-point comparisons.
70819         * math/w_acosf.c: Likewise.
70820         * math/w_acosh.c: Likewise.
70821         * math/w_acoshf.c: Likewise.
70822         * math/w_acoshl.c: Likewise.
70823         * math/w_acosl.c: Likewise.
70824         * math/w_asin.c: Likewise.
70825         * math/w_asinf.c: Likewise.
70826         * math/w_asinl.c: Likewise.
70827         * math/w_atanh.c: Likewise.
70828         * math/w_atanhf.c: Likewise.
70829         * math/w_atanhl.c: Likewise.
70830         * math/w_exp2.c: Likewise.
70831         * math/w_exp2f.c: Likewise.
70832         * math/w_exp2l.c: Likewise.
70833         * math/w_j0.c: Likewise.
70834         * math/w_j0f.c: Likewise.
70835         * math/w_j0l.c: Likewise.
70836         * math/w_j1.c: Likewise.
70837         * math/w_j1f.c: Likewise.
70838         * math/w_j1l.c: Likewise.
70839         * math/w_jn.c: Likewise.
70840         * math/w_jnf.c: Likewise.
70841         * math/w_log.c: Likewise.
70842         * math/w_log10.c: Likewise.
70843         * math/w_log10f.c: Likewise.
70844         * math/w_log10l.c: Likewise.
70845         * math/w_log2.c: Likewise.
70846         * math/w_log2f.c: Likewise.
70847         * math/w_log2l.c: Likewise.
70848         * math/w_logf.c: Likewise.
70849         * math/w_logl.c: Likewise.
70850         * math/w_sqrt.c: Likewise.
70851         * math/w_sqrtf.c: Likewise.
70852         * math/w_sqrtl.c: Likewise.
70853         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70854         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70856         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70857         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70861         [BZ #9739]
70862         * manual/string.texi (strnlen): Use correct parameter name in
70863         equivalent expression.
70865 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70867         [BZ #11174]
70868         * manual/users.texi (seteuid): Consistently use neweuid for
70869         argument name.
70871 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70873         [BZ #13704]
70874         * manual/nss.texi (Services in the NSS configuration): Correct
70875         list of services in example configuration file.
70877 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70879         [BZ #11322]
70880         * manual/arith.texi: Remove statements about negative zero
70881         behaving identically to zero.
70883 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70885         [BZ #5993]
70886         * manual/install.texi: Do not document upgrading from libc5.
70888 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70890         [BZ #4596]
70891         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70893 2012-02-18  David S. Miller  <davem@davemloft.net>
70895         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70896         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70897         %o7 across the call.
70898         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70899         instead.
70900         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70901         SETUP_PIC_REG_LEAF.
70902         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70903         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70904         * sysdeps/sparc/crtn.S: Likewise.
70906 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70908         * aout/Makefile: Remove.
70910 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70912         [BZ #13058]
70913         * manual/examples/argp-ex1.c (main): Format definition in GNU
70914         style.
70915         * manual/examples/argp-ex2.c (main): Likewise.
70916         * manual/examples/argp-ex3.c (main): Likewise.
70917         * manual/examples/argp-ex4.c (main): Likewise.
70918         * manual/examples/longopt.c (main): Use new-style prototype
70919         definition.
70920         * manual/examples/strncat.c (main): Specify return type and use
70921         (void) for arguments.
70922         * manual/examples/subopt.c (main): Use char **argv argument.
70924 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70926         [BZ #5077]
70927         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70928         rounding modes.
70930 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70932         [BZ #6907]
70933         * manual/string.texi (strchr): Change when strchrnul is
70934         recommended.
70936 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70938         [BZ #174]
70939         * manual/locale.texi (setlocale): Document LOCPATH.
70941 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70943         [BZ #10210]
70944         * manual/process.texi (execle): Move @dots{} before last argument.
70946 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70948         [BZ #12047]
70949         * manual/charset.texi (Generic Charset Conversion): Fix typo
70950         (LC_TYPE -> LC_CTYPE).
70952 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70954         [BZ #5805]
70955         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70956         (scalbnf): Likewise.
70957         (scalbnl): Likewise.
70958         (scalbln): Likewise.
70959         (scalblnf): Likewise.
70960         (scalblnl): Likewise.
70961         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70962         (vwarnx): Likewise.
70963         (verr): Likewise.
70964         (verrx): Likewise.
70965         * manual/filesys.texi (telldir): Use braces around return type.
70966         * manual/llio.texi (mmap): Add space after comma.
70967         (mmap64): Likewise.
70968         * manual/math.texi (jn): Use @var{} on parameter names.
70969         (jnf): Likewise.
70970         (jnl): Likewise.
70971         (yn): Likewise.
70972         (ynf): Likewise.
70973         (ynl): Likewise.
70974         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70975         line.
70976         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70977         "...".
70978         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70979         (sched_get_priority_max): Likewise.
70980         * manual/signal.texi (sigvec): Add space after comma.
70981         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70982         names.
70983         (if_indextoname): Likewise.
70984         (if_freenameindex): Likewise.
70985         (sendto): Use ',' instead of '.' in prototype.
70986         * manual/startup.texi (syscall): Use @dots{} instead of literal
70987         "...".
70988         * manual/stdio.texi (__fpending): Separate initial words of
70989         paragraph from @deftypefun line.
70990         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70991         "...".
70992         (vsyslog): Use @var{} on parameter names.
70993         * manual/terminal.texi (stty): Use @var{} on parameter names.
70994         * manual/users.texi (getutmp): Use @var{} on parameter names.
70995         (getutmpx): Likewise.
70997 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70999         [BZ #6884]
71000         * manual/stdio.texi (fopen): Fix typos in description of
71001         ",ccs=STRING".
71003 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71005         [BZ #4026]
71006         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71007         get clock_id definition.
71009 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71011         [BZ #4822]
71012         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71013         (madvise): Cast every argument to void on its own.
71015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71017         [BZ #9902]
71018         * manual/startup.texi (Exit Status): Fix typo.
71020 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71022         [BZ #10140]
71023         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71024         * manual/examples/argp-ex2.c: Likewise.
71025         * manual/examples/argp-ex3.c: Likewise.
71027 2012-02-16  Richard Henderson  <rth@redhat.com>
71029         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71030         * sysdeps/s390/s390-32/initfini.c: Remove.
71031         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71032         * sysdeps/s390/s390-64/initfini.c: Remove.
71034 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71036         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71037         compiler output for sysdeps/generic/initfini.c.
71038         * sysdeps/sh/elf/initfini.c: Remove file.
71040 2012-02-16  David S. Miller  <davem@davemloft.net>
71042         [BZ #11494]
71043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71045         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71046         * sysdeps/sparc/crti.S: New file.
71047         * sysdeps/sparc/crtn.S: New file.
71048         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71049         * sysdeps/sparc/sparc64/Makefile: Likewise.
71051 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71053         [BZ #3335]
71054         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71056 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71058         [BZ #4822]
71059         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71061         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71062         (write, read, close): Likewise.
71063         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71065 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71067         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71068         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71069         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71070         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71071         <bits/signalfd.h>.
71072         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71074         bits/signalfd.h.
71076 2012-02-14  Marek Polacek  <polacek@redhat.com>
71078         * sysdeps/x86_64/crti.S: New file.
71079         * sysdeps/x86_64/crtn.S: New file.
71080         * sysdeps/x86_64/elf/initfini.c: Remove file.
71082 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71084         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71085         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71086         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71087         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71088         <bits/inotify.h>.
71089         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71091         bits/inotify.h.
71093 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71095         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71096         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71097         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71098         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71099         <bits/eventfd.h>.
71100         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71102         bits/eventfd.h.
71104 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71106         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71107         __feraiseexcept instead of feraiseexcept.
71109         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71110         nanosleep invocations.
71111         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71112         strings, and add error checking for a nanosleep invocations.
71114 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71116         Replace FSF snail mail address with URLs, as per GNU coding standards.
71117         Most of the snail mail addresses were wrong anyway, and omitting
71118         them makes the source code easier to maintain.  Almost all of the
71119         changes are to license notices and to locale LC_IDENTIFICATION
71120         addresses, except for this one:
71121         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71122         not its snail mail address.
71124 2012-02-09  Richard Henderson  <rth@twiddle.net>
71126         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71127         of kernel-features.h.
71129         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71131 2012-02-08  Marek Polacek  <polacek@redhat.com>
71133         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71134         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71135         * sysdeps/gnu/_G_config.h: Likewise.
71136         * sysdeps/generic/_G_config.h: Likewise.
71138 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71140         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71141         tests.
71142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71144         * sysdeps/powerpc/powerpc32/crti.S: New file.
71145         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71146         * sysdeps/powerpc/powerpc64/crti.S: New file.
71147         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71149         * Makeconfig (have-initfini): Don't set.
71150         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71151         * configure.in (nopic_initfini): Don't substitute.
71152         * config.h.in (HAVE_INITFINI): Don't #undef.
71153         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71154         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71156 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71158         Support crti.S and crtn.S provided directly by architectures.
71159         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71160         [crti.S in sysdirs] (omit-deps): Likewise.
71161         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71162         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71163         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71164         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71165         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71166         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71167         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71168         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71169         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71170         compiler output for sysdeps/generic/initfini.c.
71171         * sysdeps/i386/elf/Makefile: Remove file.
71172         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71174 2012-02-07  Marek Polacek  <polacek@redhat.com>
71176         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71177         * sysdeps/gnu/_G_config.h: Likewise.
71178         * sysdeps/mach/hurd/_G_config.h: Likewise.
71180 2012-02-07  Marek Polacek  <polacek@redhat.com>
71182         * math/Makefile (tests): Add tst-CMPLX2.
71183         * math/tst-CMPLX2.c: New file.
71185 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71187         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71189         * math/libm-test.inc (jn_test): Add missing L suffix.
71191 2012-02-06  Marek Polacek  <polacek@redhat.com>
71193         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71194         * sysdeps/i386/fpu/e_powf.S: Likewise.
71195         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71196         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71197         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71198         * sysdeps/i386/fpu/e_pow.S: Likewise.
71199         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71200         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71201         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71202         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71203         * sysdeps/i386/fpu/e_log2.S: Likewise.
71204         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71205         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71206         * sysdeps/i386/fpu/e_powl.S: Likewise.
71207         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71208         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71209         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71210         * sysdeps/i386/fpu/e_logl.S: Likewise.
71211         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71212         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71213         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71214         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71215         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71216         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71217         * sysdeps/i386/fpu/e_log.S: Likewise.
71218         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71219         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71220         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71221         * sysdeps/i386/fpu/e_logf.S: Likewise.
71222         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71223         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71224         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71225         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71226         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71227         * sysdeps/i386/fpu/e_log10.S: Likewise.
71228         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71229         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71230         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71231         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71232         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71233         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71234         * sysdeps/i386/asm-syntax.h: Likewise.
71235         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71236         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71237         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71238         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71239         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71240         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71241         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71242         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71243         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71244         * sysdeps/powerpc/sysdep.h: Likewise.
71245         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71246         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71248 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71250         [BZ #411]
71251         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71253 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71255         * sysdeps/i386/sysdep.h: Include <features.h>.
71256         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71257         version.
71259 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71261         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71262         Define.
71263         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71264         LOAD_PIC_REG_STR.
71266 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71268         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71269         (SETUP_PIC_REG): Use GET_PC_THUNK.
71270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71271         macro.
71273 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71275         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71276         for non-PIC compilation.
71277         (SETUP_PIC_REG): Add .p2align directive.
71278         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71279         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71280         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71281         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71282         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71283         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71284         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71285         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71292         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71293         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71294         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71295         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71296         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71297         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71298         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71299         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71300         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71301         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71302         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71304         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71305         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71306         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71307         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71308         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71310         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71311         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71312         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71313         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71314         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71315         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71316         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71317         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71318         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71320 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71322         * math/tst-CMPLX.c: Include <stdio.h>.
71324 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71326         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71327         float.
71328         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71329         * sysdeps/sparc/bits/mathdef.h: Likewise.
71331 2012-01-31  Marek Polacek  <polacek@redhat.com>
71333         * libio/libio.h: Don't define _PARAMS.
71334         * locale/programs/config.h: Don't define PARAMS.
71335         * stdlib/strtol_l.c: Likewise.
71336         (__strtol_l): Remove PARAMS from the prototype.
71338 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71340         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71341         names.  Just use the correct names.  Remove unnecessary wrapper
71342         functions.
71343         * malloc/arena.c: Likewise.
71344         * malloc/hooks.c: Likewise.
71346         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71347         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71348         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71350 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71352         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71353         into tail calls.
71354         (update_get_addr): New function.
71355         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71356         GET_ADDR_MODULE parameter.
71358 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71360         * crypt/cert.c: Remove __STDC__ conditionals.
71361         * crypt/crypt-entry.c: Likewise.
71362         * crypt/crypt_util.c: Likewise.
71363         * libio/filedoalloc.c: Likewise.
71364         * libio/fileops.c: Likewise.
71365         * libio/genops.c: Likewise.
71366         * libio/iofclose.c: Likewise.
71367         * libio/iofdopen.c: Likewise.
71368         * libio/iofopen.c: Likewise.
71369         * libio/iofopen64.c: Likewise.
71370         * libio/iogetdelim.c: Likewise.
71371         * libio/iopopen.c: Likewise.
71372         * libio/obprintf.c: Likewise.
71373         * libio/oldfileops.c: Likewise.
71374         * libio/oldiofclose.c: Likewise.
71375         * libio/oldiofdopen.c: Likewise.
71376         * libio/oldiofopen.c: Likewise.
71377         * libio/oldiopopen.c: Likewise.
71378         * libio/wfiledoalloc.c: Likewise.
71379         * libio/wgenops.c: Likewise.
71380         * locale/programs/xmalloc.c: Likewise.
71381         * misc/syslog.c: Likewise.
71382         * stdio-common/xbug.c: Likewise.
71383         * string/memchr.c: Likewise.
71384         * string/memcmp.c: Likewise.
71385         * string/memrchr.c: Likewise.
71386         * string/rawmemchr.c: Likewise.
71387         * sysdeps/posix/getcwd.c: Likewise.
71388         * time/strftime_l.c: Likewise.
71390 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71392         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71393         * config.make.in (config-cflags-sse2avx): Define.
71394         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71395         Fix typo.
71397 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71399         * scripts/config.guess: Update from upstream config git repository.
71400         * scripts/config.sub: Likewise.
71402 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71404         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71405         (EM_NUM): Update.
71406         (R_TILEPRO_*, R_TILEGX_*): New macros.
71408         * scripts/firstversions.awk: Fix bug in version range handling.
71410         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71412         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71414         * include/sys/epoll.h: New file.
71415         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71416         libc_hidden_def.
71418 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71420         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71421         Avoid unnecessary __WORDSIZE == 64 test.
71422         (fmaxf): Use VEX format if possible.
71423         (fmax): Likewise.
71424         (fminf): Likewise.
71425         (fmin): Likewise.
71427         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71428         * math/math_private.h: Remove libc_fegetround* and
71429         libc_fesetround*.
71430         * sysdeps/i386/configure.in: Check for -msse2avx.
71431         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71432         also if SSE2AVX is defined.
71433         Remove libc_fegetround* and libc_fesetround*.
71434         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71435         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71437         of HAS_YMM_USABLE.
71438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71440         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71441         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71444         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71446 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71448         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71449         size is not set.
71450         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71452 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71454         [BZ #13618]
71455         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71456         relocation.
71457         * Makeconfig (libm): Define.
71458         * elf/Makefile: Add rules to build and run tst-relsort1.
71459         * elf/tst-relsort1.c: New file.
71460         * elf/tst-relsort1mod1.c: New file.
71461         * elf/tst-relsort1mod2.c: New file.
71463 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71465         * math/s_ldexp.c: Remove __STDC__ conditionals.
71466         * math/s_ldexpf.c: Likewise.
71467         * math/s_ldexpl.c: Likewise.
71468         * math/s_nextafter.c: Likewise.
71469         * math/s_nexttowardf.c: Likewise.
71470         * math/s_significand.c: Likewise.
71471         * math/s_significandf.c: Likewise.
71472         * math/s_significandl.c: Likewise.
71473         * math/w_jnl.c: Likewise.
71474         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71475         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71476         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71477         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71478         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71479         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71480         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71481         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71482         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71483         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71484         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71485         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71486         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71487         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71488         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71489         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71490         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71491         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71493         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71494         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71495         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71496         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71497         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71498         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71499         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71500         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71501         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71502         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71503         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71504         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71505         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71506         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71507         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71508         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71509         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71510         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71511         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71512         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71513         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71514         * sysdeps/ieee754/k_standard.c: Likewise.
71515         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71516         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71517         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71518         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71519         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71520         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71522         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71523         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71524         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71525         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71526         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71527         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71528         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71529         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71531         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71532         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71533         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71534         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71535         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71537         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71538         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71539         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71540         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71541         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71543         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71544         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71545         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71546         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71547         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71548         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71550         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71551         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71552         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71553         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71554         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71555         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71557         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71558         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71559         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71560         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71561         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71562         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71564         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71565         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71568         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71569         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71570         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71571         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71572         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71573         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71574         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71575         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71576         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71577         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71578         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71579         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71580         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71581         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71582         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71583         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71585         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71586         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71587         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71589         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71590         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71591         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71592         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71593         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71594         * sysdeps/ieee754/s_matherr.c: Likewise.
71595         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71596         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71597         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71598         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71602         * crypt/md5.h: Remove __STDC__ conditionals.
71603         * libio/libioP.h: Likewise.
71604         * locale/programs/config.h: Likewise.
71605         * sysdeps/generic/sysdep.h: Likewise.
71606         * sysdeps/i386/asm-syntax.h: Likewise.
71607         * sysdeps/s390/asm-syntax.h: Likewise.
71608         * sysdeps/unix/sysdep.h: Likewise.
71609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71612 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71614         * libio/libio.h: Remove __STDC__ conditionals.
71615         * malloc/obstack.h: Likewise.
71616         * math/complex.h: Likewise.
71617         * math/math.h: Likewise.
71618         * sysdeps/generic/_G_config.h: Likewise.
71619         * sysdeps/gnu/_G_config.h: Likewise.
71620         * sysdeps/mach/hurd/_G_config.h: Likewise.
71621         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71622         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71623         * sysdeps/sparc/bits/mathdef.h: Likewise.
71625 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71627         [BZ #13583]
71628         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71629         Clean up HAS_* macros.
71630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71631         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71632         possible.
71633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71634         HAS_AVX.
71635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71636         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71641 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71643         * elf/tst-unique3.cc (gets): Remove declaration.
71644         * elf/tst-unique3lib.cc (gets): Likewise.
71645         * elf/tst-unique3lib2.cc (gets): Likewise.
71646         * elf/tst-unique4.cc (gets): Likewise.
71648 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71650         * include/stdio.h: Add C++ protection.  Add gets declarations and
71651         definitions.
71652         * debug/tst-chk1.c: Don't declare gets here.
71653         * stdio-common/tst-gets.c: Likewise.
71655 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71657         * posix/glob: Remove directory.
71659 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71661         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71663 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71665         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71666         of the non-standard EPFNOSUPPORT.
71668 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71670         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71671         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71672         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71674 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71676         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71678 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71680         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71681         transient errors.
71682         * nscd/grpcache.c (cache_addgr): Likewise.
71683         * nscd/hstcache.c (cache_addhst): Likewise.
71684         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71685         * nscd/pwdcache.c (cache_addpw): Likewise.
71686         * nscd/servicescache.c (cache_addserv): Likewise.
71688 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71690         * malloc/malloc.c: Various cleanups.
71691         * malloc/hooks.c: Likewise.
71693         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71694         * stdlib/bug-fmtmsg1.c: New file.
71696         * stdlib/fmtmsg.c (init): Add missing unlock.
71697         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71699 2012-01-12  Marek Polacek  <polacek@redhat.com>
71701         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71702         and _GNU_SOURCE.
71704 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71706         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71707         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71708         macro to ensure uniqueness of label name.
71709         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71710         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71712 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71714         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71716         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71717         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71718         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71719         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71721 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71723         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71725         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71726         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71727         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71729         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71731         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71732         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71733         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71736         * math/bits/math-finite.h: Add ldexp support.
71738 2012-01-10  Marek Polacek  <polacek@redhat.com>
71740         * locale/programs/localedef.h (show_archive_content): Add noreturn
71741         attribute.
71743 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71745         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71747 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71749         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71751         * io/Makefile (headers): Add bits/poll2.h.
71753 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71756         typo #include statement.
71758 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71760         * include/sys/cdefs.h: Define __attribute_alloc_size.
71761         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71762         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71763         * elf/pldd.c: Likewise.
71764         * iconv/iconv_charmap.c: Likewise.
71765         * iconv/iconvconfig.c: Likewise.
71766         * iconv/strtab.c: Likewise.
71767         * locale/programs/locale.c: Likewise.
71768         * locale/programs/localedef.h: Likewise.
71769         * locale/programs/simple-hash.c: Likewise.
71770         * nscd/nscd.h: Likewise.
71771         * nss/makedb.c: Likewise.
71772         * sysdeps/generic/ldconfig.h: Likewise.
71773         * locale/programs/localedef.c: Remove xmalloc prototype.
71774         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71776 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71778         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71779         appropriate.
71781 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71783         * math/Makefile (tests): Add tst-CMPLX.
71784         * math/tst-CMPLX.c: New file.
71786         * math/complex.h (CMPLXL): Fix typo.
71788         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71789         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71790         GLIBC_2.16.
71791         * debug/tst-chk1.c: Add poll and ppoll tests.
71792         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71793         * include/sys/poll.h: Add hidden proto for ppoll.
71794         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71795         * sysdeps/mach/hurd/ppoll.c: Likewise.
71796         * io/ppoll.c: Likewise.
71797         * debug/poll_chk.c: New file.
71798         * debug/ppoll_chk.c: New file.
71799         * include/bits/poll2.h: New file.
71800         * io/bits/poll2.h: New file.
71802         [BZ #1350]
71803         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71805         * configure.in: static is always set to yes.  Remove.
71806         * config.make.in: Don't set build-static.
71807         * Makeconfig: Remove use of build-static.
71808         * dlfcn/Makefile: Likewise.
71809         * elf/Makefile: Likewise.
71810         * math/Makefile: Likewise.
71811         * misc/Makefile: Likewise.
71812         * nptl/Makefile: Likewise.
71813         * sysdeps/mach/hurd/Makefile: Likewise.
71815         * configure.in: PWD_P is not used anymore.
71816         * config.make.in: Remove PWD_P entry.
71818         * configure.in: Remove last remnants of RANLIB.
71819         No need to check for signed size_t anymore.
71820         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71821         and IA-64.
71822         Remove __builtin_expect test because we require at least gcc 3.4.
71823         * aclocal.m4: Likewise.
71825         * wcsmbs/mbrtoc16.c: Implement using towc function.
71826         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71827         * wcsmbs/wcsmbsload.c: Likewise.
71828         * iconv/gconv_simple.c: Likewise.
71829         * iconv/gconv_int.h: Likewise.
71830         * iconv/gconv_builtin.h: Likewise.
71831         * iconv/iconv_prog.c: Remove CHAR16 handling.
71833         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71835         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71837         * configure.in: Remove --with-elf and --enable-bounded options.
71838         Dont set base_machine for ia64.  More non-ELF conditions removed.
71839         Remove testing and setting of leading underscore information.
71840         * config.make.in (build-bounded): Set to no.
71841         * config.h.in: Remove NO_UNDERSCORES entry.
71842         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71843         them.
71844         * csu/start.c: Remove !NO_UNDERSCORE code.
71845         * locale/localeinfo.h: Likewise.
71846         * sysdeps/generic/machine-gmon.h: Likewise.
71847         * sysdeps/generic/sysdep.h: Likewise.
71848         * sysdeps/i386/sysdep.h: Likewise.
71849         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71850         * sysdeps/mach/sysdep.h: Likewise.
71851         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71852         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71853         * sysdeps/sh/sysdep.h: Likewise.
71854         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71855         * sysdeps/unix/i386/sysdep.S: Likewise.
71856         * sysdeps/unix/sparc/start.c: Likewise.
71857         * sysdeps/unix/sparc/sysdep.S: Likewise.
71858         * sysdeps/unix/sparc/sysdep.h: Likewise.
71859         * sysdeps/unix/start.c: Likewise.
71860         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71861         * sysdeps/x86_64/sysdep.h: Likewise.
71863 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71865         [BZ #13553]
71866         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71867         for non-gcc.
71868         * argp/argp-fmtstream.h: Use const instead __const.
71869         * argp/argp.h: Likewise.
71870         * assert/assert.h: Likewise.
71871         * bits/fenv.h: Likewise.
71872         * bits/sched.h: Likewise.
71873         * bits/sigset.h: Likewise.
71874         * bits/sigthread.h: Likewise.
71875         * catgets/nl_types.h: Likewise.
71876         * conform/data/pthread.h-data: Likewise.
71877         * crypt/crypt-private.h: Likewise.
71878         * crypt/crypt.h: Likewise.
71879         * crypt/crypt_util.c: Likewise.
71880         * ctype/ctype.h: Likewise.
71881         * debug/execinfo.h: Likewise.
71882         * debug/mbsnrtowcs_chk.c: Likewise.
71883         * debug/mbsrtowcs_chk.c: Likewise.
71884         * debug/wcsnrtombs_chk.c: Likewise.
71885         * debug/wcsrtombs_chk.c: Likewise.
71886         * debug/wcstombs_chk.c: Likewise.
71887         * dirent/dirent.h: Likewise.
71888         * dlfcn/dlfcn.h: Likewise.
71889         * elf/neededtest4.c: Likewise.
71890         * grp/grp.h: Likewise.
71891         * gshadow/gshadow.h: Likewise.
71892         * iconv/gconv.h: Likewise.
71893         * iconv/gconv_int.h: Likewise.
71894         * iconv/gconv_simple.c: Likewise.
71895         * iconv/iconv.h: Likewise.
71896         * iconv/loop.c: Likewise.
71897         * iconv/skeleton.c: Likewise.
71898         * include/aio.h: Likewise.
71899         * include/aliases.h: Likewise.
71900         * include/argz.h: Likewise.
71901         * include/arpa/inet.h: Likewise.
71902         * include/assert.h: Likewise.
71903         * include/dirent.h: Likewise.
71904         * include/dlfcn.h: Likewise.
71905         * include/execinfo.h: Likewise.
71906         * include/fcntl.h: Likewise.
71907         * include/fenv.h: Likewise.
71908         * include/glob.h: Likewise.
71909         * include/grp.h: Likewise.
71910         * include/libintl.h: Likewise.
71911         * include/mntent.h: Likewise.
71912         * include/netdb.h: Likewise.
71913         * include/pwd.h: Likewise.
71914         * include/rpc/netdb.h: Likewise.
71915         * include/sched.h: Likewise.
71916         * include/search.h: Likewise.
71917         * include/shadow.h: Likewise.
71918         * include/signal.h: Likewise.
71919         * include/stdio.h: Likewise.
71920         * include/stdlib.h: Likewise.
71921         * include/string.h: Likewise.
71922         * include/sys/socket.h: Likewise.
71923         * include/sys/stat.h: Likewise.
71924         * include/sys/statfs.h: Likewise.
71925         * include/sys/statvfs.h: Likewise.
71926         * include/sys/syslog.h: Likewise.
71927         * include/sys/time.h: Likewise.
71928         * include/sys/uio.h: Likewise.
71929         * include/time.h: Likewise.
71930         * include/unistd.h: Likewise.
71931         * include/utmp.h: Likewise.
71932         * include/wchar.h: Likewise.
71933         * include/wctype.h: Likewise.
71934         * inet/aliases.h: Likewise.
71935         * inet/arpa/inet.h: Likewise.
71936         * inet/netinet/ether.h: Likewise.
71937         * inet/netinet/in.h: Likewise.
71938         * intl/libintl.h: Likewise.
71939         * io/bits/fcntl2.h: Likewise.
71940         * io/fcntl.h: Likewise.
71941         * io/ftw.h: Likewise.
71942         * io/sys/poll.h: Likewise.
71943         * io/sys/stat.h: Likewise.
71944         * io/sys/statfs.h: Likewise.
71945         * io/sys/statvfs.h: Likewise.
71946         * io/utime.h: Likewise.
71947         * libio/bits/stdio.h: Likewise.
71948         * libio/bits/stdio2.h: Likewise.
71949         * libio/libio.h: Likewise.
71950         * libio/libioP.h: Likewise.
71951         * libio/stdio.h: Likewise.
71952         * locale/lc-ctype.c: Likewise.
71953         * locale/locale.h: Likewise.
71954         * login/utmp.h: Likewise.
71955         * malloc/arena.c: Likewise.
71956         * malloc/malloc.c: Likewise.
71957         * malloc/malloc.h: Likewise.
71958         * malloc/mcheck.c: Likewise.
71959         * malloc/mtrace.c: Likewise.
71960         * math/bits/mathcalls.h: Likewise.
71961         * math/fenv.h: Likewise.
71962         * math/math_private.h: Likewise.
71963         * misc/bits/error.h: Likewise.
71964         * misc/bits/syslog.h: Likewise.
71965         * misc/err.h: Likewise.
71966         * misc/error.h: Likewise.
71967         * misc/fstab.h: Likewise.
71968         * misc/mntent.h: Likewise.
71969         * misc/regexp.h: Likewise.
71970         * misc/search.h: Likewise.
71971         * misc/sgtty.h: Likewise.
71972         * misc/sys/mman.h: Likewise.
71973         * misc/sys/syslog.h: Likewise.
71974         * misc/sys/uio.h: Likewise.
71975         * misc/sys/xattr.h: Likewise.
71976         * misc/ttyent.h: Likewise.
71977         * nis/rpcsvc/ypclnt.h: Likewise.
71978         * nss/nss.h: Likewise.
71979         * posix/bits/unistd.h: Likewise.
71980         * posix/fnmatch.h: Likewise.
71981         * posix/glob.h: Likewise.
71982         * posix/sched.h: Likewise.
71983         * posix/spawn.h: Likewise.
71984         * posix/sys/wait.h: Likewise.
71985         * posix/unistd.h: Likewise.
71986         * posix/wordexp.h: Likewise.
71987         * pwd/pwd.h: Likewise.
71988         * resolv/netdb.h: Likewise.
71989         * resource/sys/resource.h: Likewise.
71990         * rt/aio.h: Likewise.
71991         * rt/bits/mqueue2.h: Likewise.
71992         * rt/mqueue.h: Likewise.
71993         * shadow/shadow.h: Likewise.
71994         * signal/signal.h: Likewise.
71995         * socket/send.c: Likewise.
71996         * socket/sendto.c: Likewise.
71997         * socket/sys/socket.h: Likewise.
71998         * stdio-common/printf.h: Likewise.
71999         * stdlib/bits/stdlib.h: Likewise.
72000         * stdlib/fmtmsg.h: Likewise.
72001         * stdlib/monetary.h: Likewise.
72002         * stdlib/stdlib.h: Likewise.
72003         * stdlib/ucontext.h: Likewise.
72004         * streams/stropts.h: Likewise.
72005         * string/argz.h: Likewise.
72006         * string/bits/string2.h: Likewise.
72007         * string/string.h: Likewise.
72008         * string/strings.h: Likewise.
72009         * sunrpc/rpc/auth.h: Likewise.
72010         * sunrpc/rpc/auth_des.h: Likewise.
72011         * sunrpc/rpc/clnt.h: Likewise.
72012         * sunrpc/rpc/netdb.h: Likewise.
72013         * sunrpc/rpc/pmap_clnt.h: Likewise.
72014         * sunrpc/rpc/xdr.h: Likewise.
72015         * sysdeps/generic/inttypes.h: Likewise.
72016         * sysdeps/generic/net/if.h: Likewise.
72017         * sysdeps/generic/sys/swap.h: Likewise.
72018         * sysdeps/gnu/net/if.h: Likewise.
72019         * sysdeps/gnu/utmpx.h: Likewise.
72020         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72021         * sysdeps/i386/i486/bits/string.h: Likewise.
72022         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72023         * sysdeps/s390/bits/string.h: Likewise.
72024         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72025         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72026         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72027         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72028         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72029         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72030         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72031         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72032         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72033         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72034         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72035         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72036         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72037         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72038         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72039         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72040         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72042         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72043         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72044         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72045         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72046         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72047         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72048         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72049         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72050         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72051         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72052         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72053         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72054         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72055         * sysvipc/sys/ipc.h: Likewise.
72056         * sysvipc/sys/msg.h: Likewise.
72057         * sysvipc/sys/sem.h: Likewise.
72058         * sysvipc/sys/shm.h: Likewise.
72059         * termios/termios.h: Likewise.
72060         * time/sys/time.h: Likewise.
72061         * time/time.h: Likewise.
72062         * wcsmbs/bits/wchar2.h: Likewise.
72063         * wcsmbs/uchar.h: Likewise.
72064         * wcsmbs/wchar.h: Likewise.
72065         * wctype/wctype.h: Likewise.
72067         [BZ #13551]
72068         * Makeconfig: Remove all but ELF support including AIX support.
72069         * Makerules: Likewise.
72070         * config.h.in: Likewise.
72071         * config.make.in: Likewise.
72072         * configure: Likewise.
72073         * configure.in: Likewise.
72074         * csu/Makefile: Likewise.
72075         * csu/version.c: Likewise.
72076         * debug/Makefile: Likewise.
72077         * dlfcn/Makefile: Likewise.
72078         * elf/Makefile: Likewise.
72079         * extra-lib.mk: Likewise.
72080         * iconv/Makefile: Likewise.
72081         * include/libc-symbols.h: Likewise.
72082         * include/shlib-compat.h: Likewise.
72083         * resolv/Makefile: Likewise.
72084         * resolv/res_libc.c: Likewise.
72085         * rt/Makefile: Likewise.
72086         * sysdeps/i386/asm-syntax.h: Likewise.
72087         * sysdeps/i386/sysdep.h: Likewise.
72088         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72089         * sysdeps/mach/sysdep.h: Likewise.
72090         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72091         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72092         * sysdeps/s390/asm-syntax.h: Likewise.
72093         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72094         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72095         * sysdeps/sh/sysdep.h: Likewise.
72096         * sysdeps/unix/sparc/sysdep.h: Likewise.
72097         * sysdeps/wordsize-32/divdi3.c: Likewise.
72098         * sysdeps/x86_64/sysdep.h: Likewise.
72100         * argp/Versions: Remove _argp_unlock_xxx.
72102         [BZ #13559]
72103         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72104         * abilist/libBrokenLocale.abilist: Likewise.
72105         * abilist/libanl.abilist: Likewise.
72106         * abilist/libc.abilist: Likewise.
72107         * abilist/libcrypt.abilist: Likewise.
72108         * abilist/libdl.abilist: Likewise.
72109         * abilist/libm.abilist: Likewise.
72110         * abilist/libnsl.abilist: Likewise.
72111         * abilist/libpthread.abilist: Likewise.
72112         * abilist/libresolv.abilist: Likewise.
72113         * abilist/librt.abilist: Likewise.
72114         * abilist/libthread_db.abilist: Likewise.
72115         * abilist/libutil.abilist: Likewise.
72116         * abilist/libnss_db.abilist: New file.
72118         * scripts/abilist.awk: Add support for indirect functions.
72120         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72122         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72124         * shlib-versions: Remove entries for ports architectures.
72126         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72127         files in ports.
72128         * elf/stackguard-macros.h: Remove support for IA-64.
72129         * elf/tst-auditmod1.c: Likewise.
72130         * sysdeps/generic/ldsodefs.h: Likewise.
72132         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72133         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72134         configure files.
72136         [BZ #13552]
72137         * configure.in: Remove --enable-omitfp support.
72138         * FAQ.in: Adjust.
72139         * config.make.in: Likewise.
72140         * Makeconfig: Likewise.
72141         * manual/install.texi: Likewise.
72143         In case anyone cares, the IA-64 architecture could move to ports.
72144         * sysdeps/ia64/*: Removed.
72145         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72146         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72148         [BZ #13555]
72149         * configure.in: Remove entries for unsupported architectures.
72151         [BZ #13533]
72152         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72153         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72154         routines.
72155         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72156         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72157         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72158         fall back to using wcrtomb.
72159         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72160         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72161         renaming.
72162         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72163         * wcsmbs/tst-c16c32-1.c: New file.
72165         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72166         local variable.
72168         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72170         * elf/tst-unique3.cc: Add explicit declaration of gets.
72171         * elf/tst-unique3lib.cc: Likewise.
72172         * elf/tst-unique3lib2.cc: Likewise.
72173         * elf/tst-unique4.cc: Likewise.
72175         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72177 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72179         [BZ #13566]
72180         * assert/assert.h (static_assert): Don't define for C++.
72181         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72182         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72184 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72186         * iconv/loop.c (single loop): Fix assertion in storing of
72187         remaining bytes.
72189         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72191 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72193         * posix/getconf.c: Update copyright year.
72194         * nss/getent.c: Likewise.
72195         * nss/makedb.c: Likewise.
72196         * iconv/iconvconfig.c: Likewise.
72197         * iconv/iconv_prog.c: Likewise.
72198         * elf/ldconfig.c: Likewise.
72199         * elf/pldd.c: Likewise.
72200         * elf/sotruss.ksh: Likewise.
72201         * catgets/gencat.c: Likewise.
72202         * csu/version.c: Likewise.
72203         * elf/ldd.bash.in: Likewise.
72204         * elf/sprof.c (print_version): Likewise.
72205         * locale/programs/locale.c: Likewise.
72206         * locale/programs/localedef.c: Likewise.
72207         * login/programs/pt_chown.c: Likewise.
72208         * nscd/nscd.c (print_version): Likewise.
72209         * debug/xtrace.sh: Likewise.
72210         * malloc/memusage.sh: Likewise.
72211         * malloc/mtrace.pl: Likewise.
72212         * debug/catchsegv.sh: Likewise.
72214 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72216         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72217         pure attribute.
72219 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72221         [BZ #13533]
72222         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72223         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72224         transformations.
72225         * iconv/gconv_int.h: Likewise.
72226         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72227         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72228         from libc for GLIBC_2.16.
72229         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72230         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72231         * wcsmbs/uchar.h: Really define mbstate_t.
72232         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72233         * wcsmbs/c16rtomb.c: New file.
72234         * wcsmbs/mbrtoc16.c: New file.
72235         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72236         for C/POSIX locale.
72237         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72238         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72240         * wcsmbs/wchar.h: Add missing __restrict.
72242 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72244         [BZ #13532]
72245         * time/Makefile (routines): Add timespec_get.
72246         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72247         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72248         timespec for ISO C11.
72249         * time/timespec_get.c: New file.
72250         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72251         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72253         [BZ #13531]
72254         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72255         * stdlib/stdlib.h: Declare aligned_alloc.
72256         * Versions.def: Add GLIBC_2.16 for libc.
72257         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72259         [BZ 13527]
72260         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72261         ISO C11.
72263         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72264         code.
72266         [BZ #13528]
72267         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72269         [BZ #13529]
72270         * assert/assert.h (static_assert): Define.
72272         * version.h: Update for 2.16 development version.
72274         [BZ #13526]
72275         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72276         _ISOC11_SOURCE.
72278         * version.h (RELEASE): Bump for 2.15 release.
72279         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72281         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72282         Patch by Marek Polacek <mpolacek@redhat.com>.
72284         * bits/byteswap.h: Protect long long constants with __extension__.
72285         * sysdeps/i386/bits/byteswap.h: Likewise.
72286         * sysdeps/ia64/bits/byteswap.h: Likewise.
72287         * sysdeps/s390/bits/byteswap.h: Likewise.
72288         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72290 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72292         [BZ #13540]
72293         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72294         destination buffer.
72295         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72297 2011-12-23  Marek Polacek  <polacek@redhat.com>
72299         * elf/dl-addr.c (determine_info): Add inline keyword.
72300         * elf/tst-auditmod4b.c (check_avx): Likewise.
72301         * elf/tst-auditmod6b.c (check_avx): Likewise.
72302         * elf/tst-auditmod6c.c (check_avx): Likewise.
72303         * elf/tst-auditmod7b.c (check_avx): Likewise.
72305 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72307         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72308         !__SSE_MATH__.
72310 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72312         [BZ #13540]
72313         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72314         processing for last bytes.
72316 2011-08-06  Bruno Haible  <bruno@clisp.org>
72318         [BZ #13061]
72319         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72320         U+0385, not to U+1FEE.
72322         [BZ #13062]
72323         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72324         entry for U+00A5 U+0301.
72326 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72328         [BZ #13166]
72329         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72330         buffer for the output is too small.
72332         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72333         optimization.
72335         [BZ #13185]
72336         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72337         SSE flags if possible.
72339 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72341         [BZ #13540]
72342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72343         processing for last bytes.
72345 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72347         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72348         (syscall-list-default-options, syscall-list-default-condition)
72349         (syscall-list-includes): Define.
72350         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72351         list of ABIs and options and #if conditions for each ABI.  Do not
72352         handle common syscalls between ABIs specially.
72353         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72354         Remove.
72355         (syscall-list-variants, syscall-list-32bit-options)
72356         (syscall-list-32bit-condition, syscall-list-64bit-options)
72357         (syscall-list-64bit-condition): Define.
72358         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72359         (syscall-list-variants, syscall-list-32bit-options)
72360         (syscall-list-32bit-condition, syscall-list-64bit-options)
72361         (syscall-list-64bit-condition): Define.
72362         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72363         Remove.
72364         (syscall-list-variants, syscall-list-32bit-options)
72365         (syscall-list-32bit-condition, syscall-list-64bit-options)
72366         (syscall-list-64bit-condition): Define.
72367         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72368         Remove.
72369         (syscall-list-variants, syscall-list-32bit-options)
72370         (syscall-list-32bit-condition, syscall-list-64bit-options)
72371         (syscall-list-64bit-condition): Define.
72373 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72375         * locale/iso-639.def: Add brx entry.
72377         [BZ #13328]
72378         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72379         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72381         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72382         __feraiseexcept_renamed.
72384 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72386         [BZ #13538]
72387         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72388         EPOLLET with unsigned values.
72389         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72390         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72392         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72393         to large cancellation.
72394         * math/s_cacoshf.c: Likewise.
72395         * math/s_cacoshl.c: Likewise.
72397 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72399         [BZ #13305]
72400         [BZ #12786]
72401         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72402         * math/s_cacoshf.c: Likewise.
72403         * math/s_cacoshl.c: Likewise.
72405 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72407         [BZ #13439]
72408         * iconv/gconv.h: Define __GCONV_SWAP.
72409         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72410         * iconvdata/utf-16.c: Likewise.
72411         * iconvdata/utf-32.c: Likewise.
72413 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72415         [BZ #13524]
72416         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72417         numerator after shifting it by one limb.
72419 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72421         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72422         under [__USE_EXTERN_INLINES].
72424 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72426         [BZ #13446]
72427         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72429 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72431         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72432         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72433         optimized code.
72434         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72435         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72436         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72437         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72438         for strncasecmp/strncasecmp_l compilation.
72439         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72440         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72442 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72444         [BZ #13484]
72445         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72446         of __asm__.
72448 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72450         [BZ #13506]
72451         * time/tzfile.c (__tzfile_read): Check values from file header.
72453 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72455         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72456         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72457         * powerpc/powerpc32/dl-start.S: Likewise.
72458         * powerpc/powerpc32/elf/start.S: Likewise.
72459         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72460         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72461         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72462         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72463         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72464         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72465         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72466         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72467         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72468         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72469         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72470         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72471         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72472         * powerpc/powerpc32/memset.S: Likewise.
72473         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72474         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72475         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72476         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72477         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72478         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72479         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72480         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72481         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72482         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72483         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72484         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72485         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72487 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72489         * math/libm-test.inc: Added more nearbyint tests.
72490         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72492         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72495 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72497         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72498         FD_CLOEXEC.
72500 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72502         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72503         Add wcscpy-ssse3 wcscpy-c.
72504         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72505         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72506         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72507         * sysdeps/x86_64/wcschr.S: New file.
72508         * sysdeps/x86_64/wcsrchr.S: New file.
72509         * string/test-strcmp.c: Remove checking of wcscmp function for
72510         wrong alignments.
72511         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72512         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72513         wcsrchr-sse2 wcsrchr-c.
72514         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72515         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72516         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72517         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72518         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72519         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72520         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72521         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72522         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72523         * wcsmbc/wcschr.c (WCSCHR): New macro.
72525 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72527         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72528         * wcsmbs/test-wcsrchr.c: New file.
72529         * string/test-strrchr.c: Add wcsrchr support.
72530         (WIDE): New macro.
72531         * wcsmbs/test-wcscpy.c: New file.
72532         * string/test-strcpy.c: Add wcscpy support.
72533         (WIDE): New macro.
72535 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72537         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72538         the inner loop.
72540 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72542         [BZ #13472]
72543         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72545 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72547         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72548         Minor optimizations.
72550         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72551         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72552         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72554 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72556         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72557         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72558         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72559         for gcc to avoid warnings.
72560         * inet/Makefile (tests): Add tst-checks.
72561         * inet/tst-checks.c: New file.
72563         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72564         warning.
72566         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72567         __wmemcmp_sse2.
72569         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72570         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72572         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72574 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72576         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72577         problem.
72579         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72581 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72583         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72584         conditional on GCC version.
72585         (__arch_compare_and_exchange_val_8_acq)
72586         (__arch_compare_and_exchange_val_16_acq)
72587         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72588         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72589         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72591 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72593         * sysdeps/sh/backtrace.c: New file.
72595 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72597         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72598         parenthesis.
72600 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72602         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72603         falling back to utime.
72605 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72607         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72608         expectations for float.
72610 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72612         * locale/weight.h (findidx): Add parameter len.
72613         * locale/weightwc.h (findidx): Likewise.
72614         * posix/fnmatch_loop.c (FCT): Adjust caller.
72615         * posix/regcomp.c (build_equiv_class): Likewise.
72616         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72617         * posix/regexec.c (check_node_accept_bytes): Likewise.
72618         * string/strcoll_l.c (STRCOLL): Likewise.
72619         * string/strxfrm_l.c (STRXFRM): Likewise.
72621 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72623         * Makefile.in: Remove CVSOPT handling.
72624         * configure.in: Remove use of AC_REVISION.
72625         * iconvdata/Makefile (distribute): No need to filter out CVS.
72626         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72627         handling.
72629 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72631         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72632         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72633         [USE_AS_STRNCASECMP_L]: Likewise.
72634         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72635         NO_TLS_DIRECT_SEG_REFS.
72636         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72637         Fix argument offsets for non-PIC.
72638         [USE_AS_STRNCASECMP_L]: Likewise.
72639         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72640         NO_TLS_DIRECT_SEG_REFS.
72642 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72644         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72645         O_CLOEXEC.
72646         * locale/loadlocale.c (_nl_load_locale): Likewise.
72648 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72650         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72651         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72652         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72653         (SYSCALL_GETTIME): Set errno on error.
72655         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72656         count references to noai6ai_cached.
72658 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72660         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72662         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72663         FD_CLOEXEC for /proc/self/maps.
72665         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72666         FD_CLOEXEC for /proc/meminfo.
72668         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72669         gai.conf.
72671         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72672         FD_CLOEXEC for given file.
72674         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72676         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72677         FD_CLOEXEC for /etc/hosts.
72678         (_gethtent): Likewise.
72680         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72682         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72683         cancellation and set FD_CLOEXEC for /etc/netgroup.
72685         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72686         reading /etc/publickey.
72688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72689         allow cancellation when reading /etc/group.
72691         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72692         cancellation.
72693         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72695         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72696         when using data file.
72698         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72700         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72701         (write_nis_obj): Use "c" and "e" in fopen.
72703         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72705         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72707         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72709         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72711         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72712         locale.alias.
72714         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72716         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72718         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72720         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72721         file parsing and set FD_CLOEXEC.
72723 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72725         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72727 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72729         * malloc/arena.c (arena_get2): Don't call reused_arena when
72730         _int_new_arena failed.
72732 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72734         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72735         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72736         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72737         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72738         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72739         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72740         to compile strcasecmp and strncasecmp.
72741         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72742         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72744         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72746 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72748         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72749         locale-defines.sym to gen-as-const-headers.
72750         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72751         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72753         to compile strcasecmp and strncasecmp.
72754         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72755         strcasecmp_l and strncasecmp_l.
72756         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72757         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72758         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72759         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72760         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72761         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72762         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72763         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72764         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72765         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72766         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72768 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72770         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72771         result of SYSDEP_GETTIME_CPU to retval.
72772         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72773         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72775         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72776         variable.
72778         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72779         mantissa words.
72780         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72782         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72783         from unused variable.
72785         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72786         DWARF definitions.
72787         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72788         for assembling.
72790         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72791         over namespaces.
72793         * sunrpc/rpc_prot.c (rejected): Fix case value.
72795         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72796         unsigned long long int to avoid warnings in shift.
72798         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72799         of use of trans.
72800         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72801         variable tmp.
72803         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72804         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72805         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72807         * nis/nis_table.c (nis_list): Use variable of correct type for
72808         result of __follow_path call.
72810 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72812         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72813         of math functions ceil, trunc, floor, round, and sqrt, when
72814         avaliable on the platform.
72815         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72816         name clash.
72817         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72818         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72819         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72821 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72823         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72824         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72826 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72828         * include/unistd.h: Fix __readlink return type.
72829         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72831 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72833         * stdlib/ucontext.h: Undo last change for makecontext.
72835 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72837         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72839         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72840         * setjmp/setjmp.h: Mark functions as non-leaf.
72841         * setjmp/bits/setjmp2.h: Likewise.
72842         * stdlib/ucontext.h: Likewise.
72844 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72846         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72847         (reused_arena): Don't check arena limit.
72848         (arena_get2): Atomically check arena limit.
72850 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72852         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72853         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72856         instructions.
72858 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72860         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72861         handler when locking.
72863         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72864         Fix size of allocated buffer.
72866 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72868         [BZ #10103]
72869         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72870         declarations for long double functions.
72871         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72873         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72875 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72877         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72878         installed.
72880         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72881         is disabled.
72883 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72885         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72887 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72889         * include/alloca.h (stackinfo_alloca_round): Define.
72890         (extend_alloca): Use it.
72891         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72892         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72893         here.
72895         * scripts/check-local-headers.sh: Ignore libaudit.h.
72897         * nscd/Makefile (extra-objs): Make recursively expanded.
72899 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72901         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72902         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72904         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72905         * posix/tst-rfc3484-2.c: Likewise.
72906         * posix/tst-rfc3484-3.c: Likewise.
72908         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72909         process_vm_writev.
72910         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72911         process_vm_writev.
72912         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72913         process_vm_writev from libc using GLIBC_2.15 version.
72915         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72917 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72919         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72920         stack usage.
72922 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72924         [BZ #13367]
72925         * nss/getent.c (initgroups_keys): Show error message in case no group
72926         names are given.
72928         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72929         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72930         __bump_nl_timestamp.
72931         * nscd/connections (nscd_init): When host database is served open
72932         netlink socket and request notification about configuration changes.
72933         (main_loop_poll): Track netlink file descriptor and bump timestamp
72934         in case data becomes available.
72935         (main_loop_epoll): Likewise.
72936         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72937         (database_pers_head): Add extra_data fileds.
72938         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72939         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72940         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72941         Adjust caller.
72942         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72943         in6ai data, call __free_in6ai.
72944         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72945         Add -DHAVE_NETLINK.
72946         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72947         interface information.  Reuse previous data if netlink timestamp
72948         is not changed.
72949         (__bump_nl_timestamp): New function.
72950         (__free_in6ai): New function.
72952 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72954         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72955         close_not_cancel_no_status here.
72956         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72958 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72960         [BZ #13276]
72961         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72962         return value.
72964         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72965         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72966         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72968 2011-07-03  Andreas Jaeger  <aj@suse.de>
72970         [BZ #10709]
72971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72972         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72973         * math/libm-test.inc (sin_test): Add test case.
72975 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72977         [BZ #13337]
72978         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72979         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72981         * elf/chroot_canon.c (chroot_canon): Cleanups.
72983         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72985         [BZ #13335]
72986         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72987         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72989         * string/test-strchr.c: Make usable for strchrnul testing.
72990         * string/test-strchrnul.c: New file.
72991         * string/Makefile (strop-tests): Add strchrnul.
72993         * po/it.po: Update from translation team.
72994         * po/es.po: Likewise.
72996 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72998         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72999         the three constants needed as parameters.  Drop the others.
73000         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73001         __m128i_strloadu_tolower.
73002         Create and initialize variable zero and use it in all the places
73003         where _mm_setzero_si128 was used.
73005         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73006         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73007         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73008         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73009         anymore.
73010         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73011         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73012         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73013         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73014         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73015         __mpranred, __mptan.
73016         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73017         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73018         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73019         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73020         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73021         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73022         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73023         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73024         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73026 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73028         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73029         redefine if SHARED.
73030         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73033         wide char related routines to wcsmbs subdir.
73035 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73037         [BZ #13344]
73038         * misc/sys/cdefs.h (__THROWNL): Define.
73039         * posix/unistd.h: Use __THREADNL instead of __THREAD
73040         for memory synchronization functions.
73042 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73044         [BZ #13349]
73045         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73046         doesn't exist.
73047         * manual/stdio.texi (Obstack Streams): Node removed.
73049 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73051         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73052         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73053         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73055         * math/math_private.h (math_force_eval): Allow non-addressable
73056         arguments.
73057         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73059 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73061         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73062         file is not needed.
73064         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73066         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73067         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73068         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73069         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73070         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73071         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73072         Add AVX variants.
73073         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73074         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73075         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73076         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73077         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73078         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73079         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73080         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73081         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73082         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73083         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73084         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73085         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73086         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73087         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73088         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73089         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73090         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73091         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73093         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73094         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73096         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73097         place.  Use VEX encoding when compiling for AVX.
73099 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73101         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73102         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73104         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73106 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73108         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73109         useless if() expression.
73110         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73111         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73112         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73113         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73114         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73115         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73116         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73117         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73118         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73120         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73121         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73122         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73123         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73124         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73125         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73126         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73127         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73128         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73130         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73132 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73134         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73135         condition.
73136         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73138 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73140         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73141         .text section.  Avoid duplicate constants.
73142         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73144         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73145         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73146         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73147         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73149         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73150         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73151         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73152         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73153         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73154         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73155         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73156         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73157         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73158         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73159         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73160         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73161         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73162         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73163         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73164         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73165         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73166         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73167         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73168         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73169         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73170         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73171         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73172         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73173         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73174         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73175         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73176         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73177         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73178         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73179         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73180         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73181         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73182         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73183         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73184         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73185         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73186         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73188 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73190         * sysdeps/x86_64/dla.h: Move to ...
73191         * sysdeps/x86_64/fpu/dla.h: ...here.
73192         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73193         situations.  Use __builtin_fma only for gcc 4.6 and up.
73195         * config.make.in: Add have-mfma4 entry.
73196         * configure.in: Substitute libc_cv_cc_fma4.
73197         * math/Makefile (dbl-only-routines): Add sincostab.
73198         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73199         Use __sincostab not sincos.
73200         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73201         name is a macro.
73202         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73203         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73204         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73206         using __copysign.
73207         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73208         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73209         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73210         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73211         and __inv.
73212         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73213         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73214         __copysign.
73215         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73216         define aliases when function name is a macro.
73217         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73218         sysdeps/ieee754/dbl-64/sincos.tbl.
73219         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73220         fma4-enabled routines.
73221         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73222         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73223         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73224         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73225         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73226         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73227         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73228         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73229         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73230         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73231         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73232         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73233         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73234         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73235         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73236         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73237         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73238         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73239         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73240         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73241         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73242         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73243         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73244         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73245         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73246         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73247         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73248         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73249         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73250         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73252         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73253         rename.
73254         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73258         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73260         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73263 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73265         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73267 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73269         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73271         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73272         prediction.
73273         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73275         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73276         Remove unused variable magic_bits.
73277         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73279         * string/strnlen.c: Define and use STRNLEN macro.
73280         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73281         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73282         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73283         * wcsmbs/wcslen.c: Define and use WCSLEN.
73284         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73285         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73286         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73287         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73288         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73289         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73290         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73292 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73295         strnlen-sse2-no-bsf.
73296         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73297         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73298         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73299         Add strnlen support.
73300         (USE_AS_STRNLEN): New macro.
73301         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73302         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73303         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73304         * sysdeps/x86_64/wcslen.S: New file.
73306 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73308         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73309         XMM-moves are used for copying on small sizes.
73311 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73313         * wcsmbs/Makefile (strop-tests): Add wcschr.
73314         * wcsmbs/test-wcschr.c: New file.
73315         * string/test-strchr.c: Update.
73316         Add wcschr support.
73317         (WIDE): New macro.
73319 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73321         * wcsmbs/Makefile (strop-tests): Add wcslen.
73322         * wcsmbs/test-wcslen.c: New file.
73323         * string/test-strlen.c: Update.
73324         Add wcslen support.
73325         (WIDE): New macro.
73327 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73329         * po/it.po: Update from translation team.
73331 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73333         * sysdeps/x86_64/wcscmp.S: Update.
73334         Fix wrong comparison semantics.
73335         wcscmp shall use signed comparison not unsigned.
73336         Don't use substraction to avoid overflow bug.
73337         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73338         * wcsmbc/wcscmp.c: Likewise.
73339         * string/test-strcmp.c: Likewise.
73340         Add new tests to check cases with negative values.
73342 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73344         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73345         * sysdeps/x86_64/dla.h: ...here.  New file.
73346         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73348         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73350         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73351         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73352         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73353         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73354         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73356 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73359         __ynl_finite aliases.
73361 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73365         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73366         define DLA_FMA.
73367         [DLA_FMA] (EMULV): Use DLA_FMA.
73368         [DLA_FMA] (MUL12): Use EMULV.
73369         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73370         that are not needed.
73371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73379 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73381         * math/s_nan.c: Undef __nan.
73382         * math/s_nanf.c: Undef __nanf.
73383         * math/s_nanl.c: Undef __nanl.
73384         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73385         "math_private.h".
73387 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73389         * math/s_catan.c: Add branch predictions.
73390         * math/s_catanf.c: Likewise.
73391         * math/s_catanh.c: Likewise.
73392         * math/s_catanhf.c: Likewise.
73393         * math/s_catanhl.c: Likewise.
73394         * math/s_catanl.c: Likewise.
73395         * math/s_cexp.c: Likewise.
73396         * math/s_cexpf.c: Likewise.
73397         * math/s_cexpl.c: Likewise.
73398         * math/s_clog.c: Likewise.
73399         * math/s_clog10.c: Likewise.
73400         * math/s_clog10f.c: Likewise.
73401         * math/s_clog10l.c: Likewise.
73402         * math/s_clogf.c: Likewise.
73403         * math/s_clogl.c: Likewise.
73404         * math/s_csqrt.c: Likewise.
73405         * math/s_csqrtf.c: Likewise.
73406         * math/s_csqrtl.c: Likewise.
73407         * math/s_ctanf.c: Likewise.
73408         * math/s_ctanh.c: Likewise.
73409         * math/s_ctanhf.c: Likewise.
73410         * math/s_ctanhl.c: Likewise.
73411         * math/s_ctanl.c: Likewise.
73413         * math/math_private.h: Define __nan, __nanf, __nanl.
73414         * math/s_cacosh.c: Include <math_private.h>.
73415         * math/s_cacoshl.c: Likewise.
73416         * math/s_casinh.c: Likewise.
73417         * math/s_casinhf.c: Likewise.
73418         * math/s_casinhl.c: Likewise.
73419         * math/s_ccos.c: Rely entire on ccosh.
73420         * math/s_ccosf.c: Rely entire on ccoshf.
73421         * math/s_ccosl.c: Rely entirely on ccoshl.
73422         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73423         Remove tests for FE_INVALID.
73424         * math/s_ccoshf.c: Likewise.
73425         * math/s_ccoshl.c: Likewise.
73426         * math/s_csin.c: Likewise.
73427         * math/s_csinf.c: Likewise.
73428         * math/s_csinh.c Likewise.
73429         * math/s_csinhf.c: Likewise.
73430         * math/s_csinhl.c: Likewise.
73431         * math/s_csinl.c: Likewise.
73432         * math/s_ctan.c: Likewise.
73433         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73434         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73435         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73437 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73440         compilation problems.
73442         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73443         __builtin_expect.
73445 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73447         * sysdeps/i386/configure.in: Test for -mfma4 option.
73448         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73449         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73450         COMMON_CPUID_INDEX_80000001.
73451         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73452         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73453         use it if FMA3 is not supported.
73454         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73456         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73457         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73459 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73461         [BZ #12892]
73462         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73463         it would create a cycle with a link time dependency.
73465 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73467         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73468         instruction.
73469         * string/Makefile (strop-tests): Add rawmemchr.
73470         * string/test-rawmemchr.c: New file.
73472         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73473         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73474         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73475         when compiling str{,n}casecmp and when AVX is available.  Hook up
73476         new optimized code in initializers.
73478 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73480         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73481         __feraiseexcept instead of feraiseexcept.
73483 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73485         * math/math_private.h: Define defaults for libc_fetestexcept and
73486         libc_feupdateenv.
73487         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73488         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73489         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73490         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73491         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73492         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73493         libc_fetestexcept and libc_feupdateenv.
73495         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73496         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73497         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73498         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73499         libc_feholdexcept_setround.
73501         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73502         Add s_nearbyint-c and s_nearbyintf-c.
73503         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73504         nearbyintf inlines.
73505         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73506         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73507         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73508         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73510         * math/math_private.h: Define defaults for libc_fegetround,
73511         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73512         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73513         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73514         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73515         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73516         standard functions.
73517         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73518         Remove comments and hacks for old compiler versions.
73519         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73520         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73521         libc_feholdexceptl.
73523 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73525         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73526         (__feraiseexcept_renamed): Add __NTH.
73527         (feraiseexcept): Add __NTH.  Rename local variables to fix
73528         namespace violations.
73530 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73532         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73534         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73536         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73537         recently added interfaces.
73538         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73540         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73541         about macro parameter expansion.
73543         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73544         __NO_MATH_INLINES is defined.  Cleanups.
73546         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73547         and __floorf is target has SSE4.1.
73548         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73549         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73550         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73551         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73553         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73554         name.
73555         (floorf): Likewise.
73557         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73559 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73561         * misc/sys/cdefs.h: Fix last change.
73563         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73564         database lookup.
73566 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73568         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73570         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73571         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73572         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73573         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73574         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73575         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73576         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73577         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73578         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73579         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73580         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73581         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73582         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73583         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73584         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73585         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73586         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73587         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73588         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73589         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73590         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73591         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73593         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73594         ceil, ceilf, floor, floorf.
73596         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73597         Perform IRELATIVE relocations last.
73599         * elf/do-rel.h: Add another parameter nrelative, replacing the
73600         local variable with the same name.  Change name of the function
73601         to end in Rel or Rela (uppercase).
73602         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73603         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73604         elf_dynamic_do_##reloc function.
73606 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73608         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73609         is sufficient, at least on modern CPUs.
73611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73613         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73614         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73616         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73617         __expl_finite.
73618         * math/bits/math-finite.h: Add entries for exp.
73619         * math/e_expl.c: Add __*_finite alias.
73620         * sysdeps/i386/fpu/e_exp.S: Likewise.
73621         * sysdeps/i386/fpu/e_expf.S: Likewise.
73622         * sysdeps/i386/fpu/e_expl.c: Likewise.
73623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73624         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73625         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73626         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73627         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73628         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73631         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73632         is sufficient, at least on modern CPUs.
73634         * ctype/ctype-info.c (__ctype_init): Define.
73635         * include/ctype.h (__ctype_init): Declare.
73636         (__ctype_b_loc): The variable is always initialized.
73637         (__ctype_toupper_loc): Likewise.
73638         (__ctype_tolower_loc): Likewise.
73639         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73640         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73642 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73644         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73646         * configure.in: Also look in $cxxmachine/include for C++ system
73647         headers.
73649 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73651         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73652         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73653         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73654         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73655         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73656         (USE_AS_WMEMCMP): New macro.
73657         Fixing indents.
73658         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73659         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73660         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73661         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73662         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73663         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73664         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73665         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73666         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73667         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73668         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73669         (USE_AS_WMEMCMP): New macro.
73670         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73671         * sysdeps/string/test-memcmp.c: Update.
73672         Fix simple_wmemcmp.
73673         Add new tests.
73674         * wcsmbs/wmemcmp.c: Update.
73675         (WMEMCMP): New macro.
73676         Fix overflow bug.
73678 2011-10-12  Andreas Jaeger  <aj@suse.de>
73680         [BZ #13268]
73681         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73683 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73685         * libio/iofwide.c (do_length): Avoid warning.
73687         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73689 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73691         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73693         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73694         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73695         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73696         * sysdeps/i386/i686/fpu/e_log.S: New file.
73697         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73698         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73700         * ctype/ctype.h: Add support for inlined isXXX functions when
73701         compiling C++ code.
73703 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73705         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73707         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73709 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73711         [BZ #13291]
73712         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73714 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73716         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73717         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73718         feraiseexcept.
73720         * sysdeps/x86_64/memrchr.S: Check for zero size.
73722         * string/stratcliff.c: Add memrchr tests.
73724 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73727         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73728         rawmemchr-sse2 rawmemchr-sse2-bsf.
73729         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73730         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73731         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73732         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73733         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73734         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73735         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73736         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73737         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73738         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73739         * string/memrchr.c (MEMRCHR): New macro.
73741 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73743         Add integration with gcc's -ffinite-math-only and optimize wrapper
73744         functions in libm.
73745         * Versions.def: Define GLIBC_2.15 version for libm.
73746         * math/Makefile (headers): Add bits/math-finite.h.
73747         * math/bits/math-finite.h: New file.
73748         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73749         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73750         * math/e_acoshl.c: Add __*_finite alias.
73751         * math/e_acosl.c: Likewise.
73752         * math/e_asinl.c: Likewise.
73753         * math/e_atan2l.c: Likewise.
73754         * math/e_atanhl.c: Likewise.
73755         * math/e_coshl.c: Likewise.
73756         * math/e_exp10.c: Likewise.
73757         * math/e_exp10f.c: Likewise.
73758         * math/e_exp10l.c: Likewise.
73759         * math/e_exp2l.c: Likewise.
73760         * math/e_fmodl.c: Likewise.
73761         * math/e_gammal_r.c: Likewise.
73762         * math/e_hypotl.c: Likewise.
73763         * math/e_j0l.c: Likewise.
73764         * math/e_j1l.c: Likewise.
73765         * math/e_jnl.c: Likewise.
73766         * math/e_lgammal_r.c: Likewise.
73767         * math/e_log10l.c: Likewise.
73768         * math/e_log2l.c: Likewise.
73769         * math/e_logl.c: Likewise.
73770         * math/e_powl.c: Likewise.
73771         * math/e_sinhl.c: Likewise.
73772         * math/e_sqrtl.c: Likewise.
73773         * math/e_scalb.c: Completely rewritten and optimized.
73774         * math/e_scalbf.c: Likewise.
73775         * math/e_scalbl.c: Likewise.
73776         * math/w_acos.c: Likewise.
73777         * math/w_acosf.c: Likewise.
73778         * math/w_acosl.c: Likewise.
73779         * math/w_acosh.c: Likewise.
73780         * math/w_acoshf.c: Likewise.
73781         * math/w_acoshl.c: Likewise.
73782         * math/w_asin.c: Likewise.
73783         * math/w_asinf.c: Likewise.
73784         * math/w_asinl.c: Likewise.
73785         * math/w_atan2.c: Likewise.
73786         * math/w_atan2f.c: Likewise.
73787         * math/w_atan2l.c: Likewise.
73788         * math/w_atanh.c: Likewise.
73789         * math/w_atanhf.c: Likewise.
73790         * math/w_atanhl.c: Likewise.
73791         * math/w_exp10.c: Likewise.
73792         * math/w_exp10f.c: Likewise.
73793         * math/w_exp10l.c: Likewise.
73794         * math/w_fmod.c: Likewise.
73795         * math/w_fmodf.c: Likewise.
73796         * math/w_fmodl.c: Likewise.
73797         * math/w_j0.c: Likewise.
73798         * math/w_j0f.c: Likewise.
73799         * math/w_j0l.c: Likewise.
73800         * math/w_j1.c: Likewise.
73801         * math/w_j1f.c: Likewise.
73802         * math/w_j1l.c: Likewise.
73803         * math/w_jn.c: Likewise.
73804         * math/w_jnf.c: Likewise.
73805         * math/w_log.c: Likewise.
73806         * math/w_logf.c: Likewise.
73807         * math/w_logl.c: Likewise.
73808         * math/w_log10.c: Likewise.
73809         * math/w_log10f.c: Likewise.
73810         * math/w_log10l.c: Likewise.
73811         * math/w_log2.c: Likewise.
73812         * math/w_log2f.c: Likewise.
73813         * math/w_log2l.c: Likewise.
73814         * math/w_pow.c: Likewise.
73815         * math/w_powf.c: Likewise.
73816         * math/w_powl.c: Likewise.
73817         * math/w_remainder.c: Likewise.
73818         * math/w_remainderf.c: Likewise.
73819         * math/w_remainderl.c: Likewise.
73820         * math/w_scalb.c: Likewise.
73821         * math/w_scalbf.c: Likewise.
73822         * math/w_scalbl.c: Likewise.
73823         * math/w_sqrt.c: Likewise.
73824         * math/w_sqrtf.c: Likewise.
73825         * math/w_sqrtl.c: Likewise.
73826         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73827         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73828         used.
73829         * math/math_private.h: Declare __kernel_standard_f.
73830         * math/w_cosh.c: Remove cruft and optimize a bit.
73831         * math/w_coshf.c: Likewise.
73832         * math/w_coshl.c: Likewise.
73833         * math/w_exp2.c: Likewise.
73834         * math/w_exp2f.c: Likewise.
73835         * math/w_exp2l.c: Likewise.
73836         * math/w_hypot.c: Likewise.
73837         * math/w_hypotf.c: Likewise.
73838         * math/w_hypotl.c: Likewise.
73839         * math/w_lgamma.c: Likewise.
73840         * math/w_lgamma_r.c: Likewise.
73841         * math/w_lgammaf.c: Likewise.
73842         * math/w_lgammaf_r.c: Likewise.
73843         * math/w_lgammal.c: Likewise.
73844         * math/w_lgammal_r.c: Likewise.
73845         * math/w_sinh.c: Likewise.
73846         * math/w_sinhf.c: Likewise.
73847         * math/w_sinhl.c: Likewise.
73848         * math/w_tgamma.c: Likewise.
73849         * math/w_tgammaf.c: Likewise.
73850         * math/w_tgammal.c: Likewise.
73851         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73852         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73853         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73854         Minor optimizations.  Pretty printing.  Remove cruft.
73855         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73856         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73857         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73858         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73859         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73860         * sysdeps/i386/fpu/e_asin.S: Likewise.
73861         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73862         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73863         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73864         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73865         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73866         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73867         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73868         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73869         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73870         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73871         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73872         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73873         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73874         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73875         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73876         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73877         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73878         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73879         * sysdeps/i386/fpu/e_log.S: Likewise.
73880         * sysdeps/i386/fpu/e_log10.S: Likewise.
73881         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73882         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73883         * sysdeps/i386/fpu/e_log2.S: Likewise.
73884         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73885         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73886         * sysdeps/i386/fpu/e_logf.S: Likewise.
73887         * sysdeps/i386/fpu/e_logl.S: Likewise.
73888         * sysdeps/i386/fpu/e_pow.S: Likewise.
73889         * sysdeps/i386/fpu/e_powf.S: Likewise.
73890         * sysdeps/i386/fpu/e_powl.S: Likewise.
73891         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73892         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73893         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73894         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73895         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73896         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73897         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73898         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73899         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73900         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73901         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73903         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73904         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73905         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73906         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73907         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73908         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73909         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73910         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73911         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73913         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73914         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73915         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73916         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73917         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73918         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73919         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73920         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73921         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73922         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73923         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73924         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73925         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73926         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73927         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73928         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73929         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73930         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73931         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73932         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73933         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73934         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73935         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73936         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73937         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73938         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73939         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73940         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73941         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73942         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73944         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73947         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73948         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73949         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73950         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73952         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73953         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73956         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73957         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73958         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73978         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73979         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73980         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73983         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73985         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73986         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73988         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73991         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73992         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73993         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73994         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73995         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73996         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73997         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73998         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73999         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74000         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74001         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74002         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74003         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74004         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74005         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74006         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74007         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74008         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74009         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74010         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74011         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74012         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74013         (__isnanf): Likewise.
74014         (__isinf_ns): Likewise.
74015         (__isinf_nsf): Likewise.
74016         (__finite): Likewise.
74017         (__finitef): Likewise.
74018         (__ieee754_sqrt): Define as macro.
74019         (__ieee754_sqrtf): Define as macro.
74020         (__ieee754_sqrtl): Define as macro.
74021         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74022         inlined copy.
74023         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74024         __FINITE_MATH_ONLY__ consistent.
74025         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74027 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74029         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74030         of rawmemchr.
74032         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74034 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74036         * po/ja.po: Update from translation team.
74038 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74040         * locale/programs/locarchive.c (prepare_address_space): New function.
74041         (create_archive, enlarge_archive, open_archive): Use it.
74043         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74044         inside [SHARED], where it is used.
74046         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74048         * nss/getent.c (netgroup_keys): Remove unused variable.
74049         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74051 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74053         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74054         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74056         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74057         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74058         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74059         * math/Makefile (libm-calls): Add s_isinf_ns.
74060         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74061         * math/multc3.c: Likewise.
74062         * math/s_casin.c: Likewise.
74063         * math/s_casinf.c: Likewise.
74064         * math/s_casinl.c: Likewise.
74065         * math/s_ccos.c: Likewise.
74066         * math/s_ccosf.c: Likewise.
74067         * math/s_ccosl.c: Likewise.
74068         * math/s_ctan.c: Likewise.
74069         * math/s_ctanf.c: Likewise.
74070         * math/s_ctanh.c: Likewise.
74071         * math/s_ctanhf.c: Likewise.
74072         * math/s_ctanhl.c: Likewise.
74073         * math/s_ctanl.c: Likewise.
74074         * math/w_fmod.c: Likewise.
74075         * math/w_fmodf.c: Likewise.
74076         * math/w_fmodl.c: Likewise.
74077         * math/w_remainder.c: Likewise.
74078         * math/w_remainderf.c: Likewise.
74079         * math/w_remainderl.c: Likewise.
74080         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74081         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74082         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74083         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74084         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74085         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74086         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74087         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74089         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74090         of the number.
74091         * stdio-common/printf_fphex.c: Likewise.
74092         * stdio-common/printf_size.c: Likewise.
74094         * math/e_exp10.c: Include math_private.h using <...> not "...".
74095         * math/e_exp10f.c: Likewise.
74096         * math/e_exp10l.c: Likewise.
74097         * math/e_exp2l.c: Likewise.
74098         * math/e_j0l.c: Likewise.
74099         * math/e_j1l.c: Likewise.
74100         * math/e_jnl.c: Likewise.
74101         * math/e_lgammal_r.c: Likewise.
74102         * math/e_rem_pio2l.c: Likewise.
74103         * math/e_scalb.c: Likewise.
74104         * math/e_scalbf.c: Likewise.
74105         * math/e_scalbl.c: Likewise.
74106         * math/k_cosl.c: Likewise.
74107         * math/k_sinl.c: Likewise.
74108         * math/k_tanl.c: Likewise.
74109         * math/s_cacoshf.c: Likewise.
74110         * math/s_catan.c: Likewise.
74111         * math/s_catanf.c: Likewise.
74112         * math/s_catanh.c: Likewise.
74113         * math/s_catanhf.c: Likewise.
74114         * math/s_catanhl.c: Likewise.
74115         * math/s_catanl.c: Likewise.
74116         * math/s_ccosh.c: Likewise.
74117         * math/s_ccoshf.c: Likewise.
74118         * math/s_ccoshl.c: Likewise.
74119         * math/s_cexp.c: Likewise.
74120         * math/s_cexpf.c: Likewise.
74121         * math/s_cexpl.c: Likewise.
74122         * math/s_clog.c: Likewise.
74123         * math/s_clog10.c: Likewise.
74124         * math/s_clog10f.c: Likewise.
74125         * math/s_clog10l.c: Likewise.
74126         * math/s_clogf.c: Likewise.
74127         * math/s_clogl.c: Likewise.
74128         * math/s_csin.c: Likewise.
74129         * math/s_csinf.c: Likewise.
74130         * math/s_csinh.c: Likewise.
74131         * math/s_csinhf.c: Likewise.
74132         * math/s_csinhl.c: Likewise.
74133         * math/s_csinl.c: Likewise.
74134         * math/s_csqrt.c: Likewise.
74135         * math/s_csqrtf.c: Likewise.
74136         * math/s_csqrtl.c: Likewise.
74137         * math/s_ctan.c: Likewise.
74138         * math/s_ctanf.c: Likewise.
74139         * math/s_ctanh.c: Likewise.
74140         * math/s_ctanhf.c: Likewise.
74141         * math/s_ctanhl.c: Likewise.
74142         * math/s_ctanl.c: Likewise.
74143         * math/s_ldexp.c: Likewise.
74144         * math/s_ldexpf.c: Likewise.
74145         * math/s_ldexpl.c: Likewise.
74146         * math/s_significand.c: Likewise.
74147         * math/s_significandf.c: Likewise.
74148         * math/s_significandl.c: Likewise.
74149         * math/w_acos.c: Likewise.
74150         * math/w_acosf.c: Likewise.
74151         * math/w_acosh.c: Likewise.
74152         * math/w_acoshf.c: Likewise.
74153         * math/w_acoshl.c: Likewise.
74154         * math/w_acosl.c: Likewise.
74155         * math/w_asin.c: Likewise.
74156         * math/w_asinf.c: Likewise.
74157         * math/w_asinl.c: Likewise.
74158         * math/w_atan2.c: Likewise.
74159         * math/w_atan2f.c: Likewise.
74160         * math/w_atan2l.c: Likewise.
74161         * math/w_atanh.c: Likewise.
74162         * math/w_atanhf.c: Likewise.
74163         * math/w_atanhl.c: Likewise.
74164         * math/w_cosh.c: Likewise.
74165         * math/w_coshf.c: Likewise.
74166         * math/w_coshl.c: Likewise.
74167         * math/w_dremf.c: Likewise.
74168         * math/w_exp10.c: Likewise.
74169         * math/w_exp10f.c: Likewise.
74170         * math/w_exp10l.c: Likewise.
74171         * math/w_exp2.c: Likewise.
74172         * math/w_exp2f.c: Likewise.
74173         * math/w_fmod.c: Likewise.
74174         * math/w_fmodf.c: Likewise.
74175         * math/w_fmodl.c: Likewise.
74176         * math/w_hypot.c: Likewise.
74177         * math/w_hypotf.c: Likewise.
74178         * math/w_hypotl.c: Likewise.
74179         * math/w_j0.c: Likewise.
74180         * math/w_j0f.c: Likewise.
74181         * math/w_j0l.c: Likewise.
74182         * math/w_j1.c: Likewise.
74183         * math/w_j1f.c: Likewise.
74184         * math/w_j1l.c: Likewise.
74185         * math/w_jn.c: Likewise.
74186         * math/w_jnf.c: Likewise.
74187         * math/w_jnl.c: Likewise.
74188         * math/w_lgamma.c: Likewise.
74189         * math/w_lgamma_r.c: Likewise.
74190         * math/w_lgammaf.c: Likewise.
74191         * math/w_lgammaf_r.c: Likewise.
74192         * math/w_lgammal.c: Likewise.
74193         * math/w_lgammal_r.c: Likewise.
74194         * math/w_log.c: Likewise.
74195         * math/w_log10.c: Likewise.
74196         * math/w_log10f.c: Likewise.
74197         * math/w_log10l.c: Likewise.
74198         * math/w_log2.c: Likewise.
74199         * math/w_log2f.c: Likewise.
74200         * math/w_log2l.c: Likewise.
74201         * math/w_logf.c: Likewise.
74202         * math/w_logl.c: Likewise.
74203         * math/w_pow.c: Likewise.
74204         * math/w_powf.c: Likewise.
74205         * math/w_powl.c: Likewise.
74206         * math/w_remainder.c: Likewise.
74207         * math/w_remainderf.c: Likewise.
74208         * math/w_remainderl.c: Likewise.
74209         * math/w_scalb.c: Likewise.
74210         * math/w_scalbf.c: Likewise.
74211         * math/w_scalbl.c: Likewise.
74212         * math/w_sinh.c: Likewise.
74213         * math/w_sinhf.c: Likewise.
74214         * math/w_sinhl.c: Likewise.
74215         * math/w_sqrt.c: Likewise.
74216         * math/w_sqrtf.c: Likewise.
74217         * math/w_sqrtl.c: Likewise.
74218         * math/w_tgamma.c: Likewise.
74219         * math/w_tgammaf.c: Likewise.
74220         * math/w_tgammal.c: Likewise.
74222         * po/ja.po: Update from translation team.
74224 2011-09-29  Andreas Jaeger  <aj@suse.de>
74226         [BZ #13179]
74227         * sunrpc/netname.c (netname2host): Fix logic.
74229         [BZ #6779]
74230         [BZ #6783]
74231         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74232         correctly.
74233         * math/w_remainder.c (__remainder): Likewise.
74234         * math/w_remainderf.c (__remainderf): Likewise.
74235         * math/libm-test.inc (remainder_test): Add test cases.
74237 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74239         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74240         sdiv_qrnnd.
74242 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74244         * string/test-memcmp.c: Avoid unncessary #defines.
74245         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74247 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74249         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74250         Use new sse2 version for core i3 - i7 as it's faster
74251         than sse42 version.
74252         (bit_Prefer_PMINUB_for_stringop): New.
74253         * sysdeps/x86_64/rawmemchr.S: Update.
74254         Replace with faster SSE2 version.
74255         * sysdeps/x86_64/memrchr.S: New file.
74256         * sysdeps/x86_64/memchr.S: Update.
74257         Replace with faster SSE2 version.
74259 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74261         * elf/dl-load.c (lose): Add cast to avoid warning.
74263 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74265         * po/ca.po: Update from translation team.
74267         * inet/getnetgrent_r.c: Hook up nscd.
74268         * nscd/Makefile (routines): Add nscd_netgroup.
74269         (nscd-modules): Add netgroupcache.
74270         (CFLAGS-netgroupcache.c): Define.
74271         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74272         (cache_search): Add const to second parameter.
74273         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74274         INNETGR.
74275         (dbs): Add netgrdb entry.
74276         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74277         (verify_persistent_db): Handle netgrdb.
74278         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74279         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74280         GETFDNETGR.
74281         (netgroup_response_header): Define.
74282         (innetgroup_response_header): Define.
74283         (datahead): Add netgroup_response_header and innetgroup_response_header
74284         elements.
74285         * nscd/nscd.conf: Add entries for netgroup cache.
74286         * nscd/nscd.h (dbtype): Add netgrdb.
74287         (_PATH_NSCD_NETGROUP_DB): Define.
74288         (netgroup_iov_disabled): Declare.
74289         (xmalloc, xcalloc, xrealloc): Move declarations here.
74290         (cache_search): Adjust prototype.
74291         Add netgroup-related prototypes.
74292         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74293         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74294         (__nscd_innetgr): Declare.
74295         * nscd/selinux.c (perms): Use access_vector_t as element type and
74296         add netgroup-related initializers.
74297         * nscd/netgroupcache.c: New file.
74298         * nscd/nscd_netgroup.c: New file.
74299         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74300         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74301         For four parameters use innetgr.
74302         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74303         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74304         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74305         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74307         * nscd/connections.c (register_traced_file): Don't register file
74308         for disabled databases.
74310 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74312         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74314         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74315         from tree and freeing node.
74317 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74319         * nss/nsswitch.c (__nss_database_lookup): Handle
74320         nss_parse_service_list out of memory case.
74322 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74324         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74325         out of memory case.
74327 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74329         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74330         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74331         pass it down.
74332         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74333         elf_machine_rela, elf_machine_lazy_rel.
74334         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74335         (ELF_DYNAMIC_DO_REL): Likewise.
74336         (ELF_DYNAMIC_DO_RELA): Likewise.
74337         (ELF_DYNAMIC_RELOCATE): Likewise.
74338         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74339         to ELF_DYNAMIC_DO_REL.
74340         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74341         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74342         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74343         elf_machine_rela.
74344         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74345         skip_ifunc, don't call ifunc function if non-zero.
74346         (elf_machine_rela): Likewise.
74347         (elf_machine_lazy_rel): Likewise.
74348         (elf_machine_lazy_rela): Likewise.
74349         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74350         (elf_machine_lazy_rel): Likewise.
74351         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74352         Likewise.
74353         (elf_machine_lazy_rel): Likewise.
74354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74355         Likewise.
74356         (elf_machine_lazy_rel): Likewise.
74357         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74358         (elf_machine_lazy_rel): Likewise.
74359         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74360         (elf_machine_lazy_rel): Likewise.
74361         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74362         (elf_machine_lazy_rel): Likewise.
74363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74364         (elf_machine_lazy_rel): Likewise.
74365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74366         (elf_machine_lazy_rel): Likewise.
74367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74368         (elf_machine_lazy_rel): Likewise.
74370 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74372         * nss/nss_files/files-init.c (_nss_files_init): Use static
74373         initialization for all the *_traced_file variables.
74375 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74377         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74379 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74381         [BZ #13226]
74382         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74384 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74386         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74387         Reread the line before reparsing it.
74389 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74391         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74393 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74394             Maxim Kuvyrkov  <maxim@codesourcery.com>
74395             Joseph Myers  <joseph@codesourcery.com>
74397         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74398         if needed for __stack_chk_guard.
74400 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74402         * sysdeps/posix/spawni.c (script_execute): Always define it.
74403         It will be optimized away if unused.
74404         (maybe_script_execute): New function.
74405         (__spawni): Call it.
74407         * Makerules: Don't include tls.make.
74408         (config-tls): Always set to thread.
74409         * tls.make.c: File removed.
74411 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74413         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74414         * config.make.in (CPPFLAGS-config): New substituted variable.
74416 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74418         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74420         [BZ #13192]
74421         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74422         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74424 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74426         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74427         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74428         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74429         (CALL_FAIL): Likewise.
74430         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74431         (CALL_FAIL): Macro removed.
74432         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74434 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74436         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74437         for __FINITE_MATH_ONLY__ == 1.
74439 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74441         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74442         __ieee754_sqrt instead of sqrt.
74443         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74444         __ieee754_sqrtf instead of sqrtf.
74445         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74446         __floorf instead of floorf.
74447         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74448         __floorf, __truncf instead of floorf, truncf.
74450 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74452         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74454         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74455         __extern_always_inline.
74456         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74457         32-bit.
74459 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74461         * elf/rtld.c (dl_main): Also relocate in dependency order when
74462         doing symbol dependency testing.
74464 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74466         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74467         Always define `refsym'.
74469 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74471         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74472         (__FD_ELT): Renamed from __FDELT.
74473         * misc/bits/select2.h (__FD_ELT): Likewise.
74474         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74475         __FD_MASK instead of __FDELT, __FDMASK.
74476         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74477         Likewise.
74478         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74479         Likewise.
74481         * elf/Makefile (gen-ldd): Fix pattern.
74483         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74484         (init_tls): Likewise.
74486 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74488         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74490 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74492         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74493         `struct cmsghdr *' instead of `void *'.
74494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74495         Likewise.
74497 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74499         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74500         if non-absolute.
74501         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74502         ldd_rewrite_script.
74504 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74506         * configure.in: Remove --with-tls option.
74507         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74508         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74509         out in case it is missing.
74510         * sysdeps/ia64/elf/configure.in: Likewise.
74511         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74512         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74513         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74514         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74515         * sysdeps/sh/elf/configure.in: Likewise.
74516         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74517         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74518         * sysdeps/x86_64/elf/configure.in: Likewise.
74519         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74520         * sysdeps/mach/hurd/tls.h: Likewise.
74522         [BZ #13067]
74523         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74525         [BZ #13090]
74526         * configure.in: Fix use of AC_INIT.
74528         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74530 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74532         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74533         __set_errno.
74534         * malloc/hooks.c: Likewise.
74536         [BZ #11929]
74537         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74538         variables statically.
74539         (narenas): Initialize.
74540         (list_lock): Initialize.
74541         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74542         initializtion of main_arena and list_lock.  Small cleanups.
74543         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74544         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74545         Add initializers to main_arena and mp_.
74546         (malloc_state): Remove pagesize member.  Change all users to use
74547         GLRO(dl_pagesize).
74549         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74550         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74551         is always initialized.
74553         * malloc/malloc.c: Removed unused configurations and dead code.
74554         * malloc/arena.c: Likewise.
74555         * malloc/hooks.c: Likewise.
74556         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74558         * include/tls.h: Removed.  USE___THREAD must always be defined.
74559         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74560         * elf/dl-libc.c: Likewise.
74561         * elf/dl-tsd.c: Likewise.
74562         * include/errno.h: Likewise.
74563         * include/netdb.h: Likewise.
74564         * include/resolv.h: Likewise.
74565         * inet/herrno-loc.c: Likewise.
74566         * inet/herrno.c: Likewise.
74567         * malloc/arena.c: Likewise.
74568         * malloc/hooks.c: Likewise.
74569         * malloc/malloc.c: Likewise.
74570         * resolv/res-state.c: Likewise.
74571         * resolv/res_libc.c: Likewise.
74572         * sysdeps/i386/dl-machine.h: Likewise.
74573         * sysdeps/ia64/dl-machine.h: Likewise.
74574         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74575         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74576         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74577         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74578         * sysdeps/sh/dl-machine.h: Likewise.
74579         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74580         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74581         * sysdeps/unix/i386/sysdep.S: Likewise.
74582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74583         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74584         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74588         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74592         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74593         * sysdeps/x86_64/dl-machine.h: Likewise.
74594         * tls.make.c: Likewise.
74596         * configure.in: Remove --with-__thread option.  Make tests for
74597         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74598         tls_model attribute fail if no support is available.  Remove
74599         USE_IN_LIBIO.
74600         * Makeconfig: Adjust for dropped configure option.  All features are
74601         now mandatory.
74602         * Makerules: Likewise.
74603         * Versions.def: Likewise.
74604         * argp/argp-fmtstream.c: Likewise.
74605         * argp/argp-fmtstream.h: Likewise.
74606         * argp/argp-help.c: Likewise.
74607         * assert/assert.c: Likewise.
74608         * config.h.in: Likewise.
74609         * config.make.in: Likewise.
74610         * configure: Likewise.
74611         * configure.in: Likewise.
74612         * csu/Versions: Likewise.
74613         * csu/init.c: Likewise.
74614         * elf/tst-audit2.c: Likewise.
74615         * elf/tst-tls10.c: Likewise.
74616         * elf/tst-tls10.h: Likewise.
74617         * elf/tst-tls11.c: Likewise.
74618         * elf/tst-tls12.c: Likewise.
74619         * elf/tst-tls14.c: Likewise.
74620         * elf/tst-tlsmod11.c: Likewise.
74621         * elf/tst-tlsmod12.c: Likewise.
74622         * elf/tst-tlsmod13.c: Likewise.
74623         * elf/tst-tlsmod13a.c: Likewise.
74624         * elf/tst-tlsmod14a.c: Likewise.
74625         * elf/tst-tlsmod15b.c: Likewise.
74626         * elf/tst-tlsmod16a.c: Likewise.
74627         * elf/tst-tlsmod16b.c: Likewise.
74628         * elf/tst-tlsmod7.c: Likewise.
74629         * elf/tst-tlsmod8.c: Likewise.
74630         * elf/tst-tlsmod9.c: Likewise.
74631         * gmon/gmon.c: Likewise.
74632         * grp/fgetgrent_r.c: Likewise.
74633         * grp/putgrent.c: Likewise.
74634         * hurd/fopenport.c: Likewise.
74635         * include/libc-symbols.h: Likewise.
74636         * include/tls.h: Likewise.
74637         * intl/gettextP.h: Likewise.
74638         * intl/loadinfo.h: Likewise.
74639         * locale/global-locale.c: Likewise.
74640         * locale/localeinfo.h: Likewise.
74641         * mach/devstream.c: Likewise.
74642         * malloc/arena.c: Likewise.
74643         * malloc/set-freeres.c: Likewise.
74644         * misc/err.c: Likewise.
74645         * misc/getttyent.c: Likewise.
74646         * misc/mntent_r.c: Likewise.
74647         * posix/getopt.c: Likewise.
74648         * posix/wordexp.c: Likewise.
74649         * pwd/fgetpwent_r.c: Likewise.
74650         * resolv/Versions: Likewise.
74651         * resolv/res_hconf.c: Likewise.
74652         * shadow/fgetspent_r.c: Likewise.
74653         * shadow/putspent.c: Likewise.
74654         * stdio-common/printf_fphex.c: Likewise.
74655         * stdio-common/tmpfile.c: Likewise.
74656         * stdlib/abort.c: Likewise.
74657         * stdlib/fmtmsg.c: Likewise.
74658         * sunrpc/auth_unix.c: Likewise.
74659         * sunrpc/clnt_perr.c: Likewise.
74660         * sunrpc/clnt_tcp.c: Likewise.
74661         * sunrpc/clnt_udp.c: Likewise.
74662         * sunrpc/clnt_unix.c: Likewise.
74663         * sunrpc/openchild.c: Likewise.
74664         * sunrpc/svc_simple.c: Likewise.
74665         * sunrpc/svc_tcp.c: Likewise.
74666         * sunrpc/svc_udp.c: Likewise.
74667         * sunrpc/svc_unix.c: Likewise.
74668         * sunrpc/xdr.c: Likewise.
74669         * sunrpc/xdr_array.c: Likewise.
74670         * sunrpc/xdr_rec.c: Likewise.
74671         * sunrpc/xdr_ref.c: Likewise.
74672         * sunrpc/xdr_stdio.c: Likewise.
74674 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74676         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74678 2011-07-03  Andreas Jaeger  <aj@suse.de>
74680         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74681         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74682         regenerate with gen-libm-tests.pl.
74684 2010-05-12  Petr Baudis  <pasky@suse.cz>
74686         [BZ #11589]
74687         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74688         around j0() zero points by switching to j1().
74689         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74690         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74691         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74692         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74694 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74696         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74697         instead of 0.
74698         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74699         instead of 0.
74700         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74701         Patch in part by Pavel Roskin <proski@gnu.org>.
74703         [BZ #13138]
74704         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74705         realloc.
74706         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74707         Free memory block if necessary.
74709         [BZ #12847]
74710         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74711         be NULL.  Don't lock in this case.
74713 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74715         * elf/elf.h (ELFOSABI_GNU): New macro.
74716         (ELFOSABI_LINUX): Define to that.
74718 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74720         * string/strncat.c (strncat): Undef the symbol in case it has been
74721         defined in bits/string.h.
74723 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74725         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74727         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74728         link map.
74730 2011-08-17  Andreas Jaeger  <aj@suse.de>
74732         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74734 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74735             Ian Lance Taylor  <iant@google.com>
74737         * math/libm-test.inc (lround_test): New testcase.
74738         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74740 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74742         * Makefile: Remove support for automatic cvs check-ins.
74743         * Makerules: Likewise.
74744         * config.make.in: Likewise.
74745         * configure.in: Likewise.
74746         * intl/Makefile: Likewise.
74747         * locale/Makefile: Likewise.
74748         * po/Makefile: Likewise.
74749         * posix/Makefile: Likewise.
74750         * sysdeps/gnu/Makefile: Likewise.
74751         * sysdeps/mach/hurd/Makefile: Likewise.
74752         * sysdeps/sparc/sparc32/Makefile: Likewise.
74754         [BZ #13118]
74755         * posix/Makefile (bug-regex32-ENV): Define.
74756         Patch by John Stanley <jpsinthemix@verizon.net>.
74758         * misc/Makefile (headers): Add bits/select2.h.
74759         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74760         * misc/bits/select2.h: New file.
74761         * include/bits/select2.h: New file.
74762         * debug/Makefile (routines): Add fdelt_chk.
74763         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74764         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74765         FD_ISSET.
74766         * debug/fdelt_chk.c: New file.
74768         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74769         * wcsmbs/test-wmemcmp.c: Likewise.
74770         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74771         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74773 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74775         * string/Makefile (strop-tests): Add memcmp.
74776         * string/test-wmemcmp.c: New file.
74777         * string/test-memcmp.c: Add wmemcmp support.
74779 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74781         [BZ #13153]
74782         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74783         2011-07-19 change.
74785         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74786         garbage value in a __mach_port_mod_refs call in the cases of the
74787         task-self and thread-self ports.
74789 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74791         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74793 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74795         * elf/dl-load.c (lose): Check for non-null L.
74797 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74799         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74801         * elf/dl-libc.c (dlerror_run): Pass back error code from
74802         dl_catch_error.
74804         [BZ #13123]
74805         * elf/dl-load.c (lose): Free l_origin if it is valid.
74807         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74808         names.
74809         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74810         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74811         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74812         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74813         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74814         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74816 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74818         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74819         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74820         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74821         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74822         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74823         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74824         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74825         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74826         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74827         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74829 2011-08-15  Alan Modra  <amodra@gmail.com>
74831         [BZ #13092]
74832         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74833         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74834         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74835         ppc_mcount to static-only-routines.
74836         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74837         __mcount_internal.
74838         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74839         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74841 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74843         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74844         for finite and infinity parameters.
74846 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74849         and add nop instructions for throughput optimization.
74850         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74852 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74854         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74855         aligned copy for power7 with vector-scalar instructions.
74856         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74858 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74861         AVX check.
74863 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74865         [BZ #13144]
74866         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74867         last change.
74869 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74871         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74872         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74873         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74874         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74875         clock_gettime.
74877 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74879         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74880         Forgot to demangle the pointer.
74882         * sysdeps/i386/sysdep.h: Define atom_text_section.
74883         * sysdeps/x86_64/sysdep.h: Likewise.
74884         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74885         section with atom_text_section.
74886         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74887         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74888         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74889         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74890         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74892         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74893         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74894         already be defined.  Change to take two parameters and don't assign
74895         result to variable.  Adjust all users.
74896         Define INTERNAL_GETTIME if not already defined.
74897         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74898         call.
74899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74900         HAVE_CLOCK_GETTIME_VSYSCALL.
74901         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74904         gettimeofday vsyscall, just use time.
74906 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74908         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74909         <errno.h>.
74911 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74913         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74914         syscall on x86-64.
74915         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74916         syscall.
74917         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74918         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74919         syscall if possible.
74921 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74923         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74924         e_ident.  Don't pass to find_mapsXX.
74925         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74927 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74930         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74931         * sysdeps/x86_64/multiarch/strchr.S: Update.
74932         Check bit_slow_BSF bit.
74933         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74934         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74935         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74937 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74939         [BZ #13134]
74940         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74941         before glibc 2.15.
74942         (tryshell): Define.
74943         (__spawni): Change last parameter to be flag.  Test
74944         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74945         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74946         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74947         * posix/spawni.c: Likewise.
74948         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74949         * posix/spawnp.c: Likewise.  Change normal version to use
74950         SPAWN_XFLAGS_USE_PATH.
74951         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74952         SPAWN_XFLAGS_TRY_SHELL.
74954         [BZ #13150]
74955         * posix/glob.h: Remove gcc 1.x support.
74957         [BZ #13068]
74958         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74960 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74963         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74964         strrchr-sse2-bsf
74965         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74966         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74967         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74968         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74969         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74970         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74972 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74974         * sysdeps/x86_64/wcscmp.S: New file.
74976         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74977         wcscmp-c wcscmp-sse2
74978         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74979         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74980         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74981         * wcsmbs/wcscmp.c: Allow renaming.
74983 2011-09-05  David S. Miller  <davem@davemloft.net>
74985         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74986         stack slot, rather than the struct return pointer slot.
74987         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74988         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74990         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74992 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74994         * po/ja.po: Update from translation team.
74996         [BZ #13144]
74997         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74998         kernel in 64-bit binaries.
75000 2011-09-01  David S. Miller  <davem@davemloft.net>
75002         * elf/elf.h (HWCAP_SPARC_*): Move to..
75003         * sysdeps/sparc/sysdep.h: this new file and add new values.
75004         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75005         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75006         _DL_HWCAP_COUNT to 24.
75007         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75008         entries.
75009         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75010         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75011         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75013         instead of magic constants.
75014         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75016 2011-08-31  David S. Miller  <davem@davemloft.net>
75018         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75020         Reimplement to do errno handling inline.
75021         (SYSCALL_ERROR_HANDLER): New macro.
75022         (__SYSCALL_STRING): Do not do errno handling in asm.
75023         (__CLONE_SYSCALL_STRING): Delete.
75024         (__INTERNAL_SYSCALL_STRING): Delete.
75025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75026         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75027         (PSEUDO): Reimplement to do errno handling inline.
75028         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75029         (SYSCALL_ERROR_HANDLER): New macro.
75030         (__SYSCALL_STRING): Do not do errno handling in asm.
75031         (__CLONE_SYSCALL_STRING): Delete.
75032         (__INTERNAL_SYSCALL_STRING): Delete.
75033         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75034         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75035         i386.
75036         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75037         (inline_syscall*): Add 'err' argument.
75038         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75039         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75040         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75041         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75043         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75044         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75046 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75048         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75050 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75052         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75053         directive.
75055 2011-08-24  David S. Miller  <davem@davemloft.net>
75057         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75059 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75061         * elf/Makefile: Add rules to build and run unload8 test.
75062         * elf/unload8.c: New file.
75063         * elf/unload8mod1.c: New file.
75064         * elf/unload8mod1x.c: New file.
75065         * elf/unload8mod2.c: New file.
75066         * elf/unload8mod3.c: New file.
75068         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75069         it wasn't used.
75071 2011-08-23  David S. Miller  <davem@davemloft.net>
75073         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75074         subtract stack bias.
75075         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75076         %sp not %fp in calculations.
75077         (_JMPBUF_UNWINDS_ADJ): Likewise.
75079         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75080         (aio_suspend): Call it to force an exception region around the
75081         AIO_MISC_WAIT() invocation.
75083 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75085         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75086         backslash.
75088 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75090         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75091         protection macro.
75092         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75093         and <dl-machine.h>.
75094         (Elf64_FuncDesc): Remove.
75096 2011-08-22  David S. Miller  <davem@davemloft.net>
75098         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75099         sigaltstack check, add missing cfi directives.
75100         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75101         missing cfi directives, and sigaltstack handling.
75103 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75105         [BZ #11724]
75106         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75107         object is seen twice.
75108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75110         * elf/Makefile (distribute): Add tst-initorder2.c.
75111         (tests): Add tst-initorder2.
75112         (modules-names): Add tst-initorder2a tst-initorder2b
75113         tst-initorder2c tst-initorder2d.  Add rules to build them.
75114         ($(objpfx)tst-initorder2.out): New rule.
75115         * elf/tst-initorder2.c: New file.
75116         * elf/tst-initorder2.exp: New file.
75118 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75120         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75122         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75123         dependencies back to end of function.
75125         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75126         $(elfobjdir)/ld.so.
75128 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75131         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75133         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75134         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75135         of __vdso_gettimeofday.
75136         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75137         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75138         attribute_hidden.
75139         (_libc_vdso_platform_setup): Remove initialization of
75140         __vdso_gettimeofday and __vdso_time.
75142 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75144         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75145         and fgetc_unlocked.
75146         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75147         getc_unlocked.
75149         * elf/dl-open.c (add_to_global): Report additions to the global scope
75150         for LD_DEBUG=scopes.
75151         (dl_open_worker): Also print scope of newly loaded dependencies.
75152         (_dl_show_scope): Indicate if there is no scope.
75154         [BZ #13114]
75155         * stdio-common/Makefile (tests): Add bug24.
75156         * stdio-common/bug24.c: New file.
75158 2011-08-19  Andreas Jaeger  <aj@suse.de>
75160         [BZ #13114]
75161         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75162         non-existant file when using close-on-exec mode.
75164 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75166         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75167         the very first instruction.
75169         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75170         the CFI state in the end.
75171         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75172         inclusion of dl-trampoline.h.
75173         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75175 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75177         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75178         expectations for long double.
75180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75181         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75183 2011-08-14  David S. Miller  <davem@davemloft.net>
75185         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75186         artificual limit depends upon the system page size.
75188 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75190         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75191         * resolv/Makefile: Define CFLAGS-libresolv.
75193 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75195         * nss/makedb.c (compute_tables): Make variables used in nested
75196         function static.
75198 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75200         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75201         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75202         if buffer was too small.
75204         * elf/pldd.c (main): Attach to all threads in the process.
75205         Rewrite /proc handling to use *at functions.
75207 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75209         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75210         specifies first scope to show.
75211         (dl_open_worker): Update callers.  Move printing scope of new
75212         object to before the relocation.
75213         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75214         * sysdeps/generic/ldsodefs.h: Update declaration.
75216         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75217         string for the scope number.
75219 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75221         * nscd/servicescache.c (cache_addserv): Make sure written is always
75222         initialized.
75224 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75226         * sysdeps/i386/i486/bits/atomic.h
75227         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75228         statement expression, so as to suppress "set but not used" warning.
75229         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75231         * string/strncat.c (STRNCAT): Use prototype definition.
75233         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75234         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75235         -Iprograms here.
75236         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75237         (localedef-modules): Add localedef.
75238         (locale-modules): Add locale.
75240         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75241         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75242         to avoid a warning.
75244 2011-08-14  David S. Miller  <davem@davemloft.net>
75246         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75247         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75249 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75251         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75252         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75253         * elf/rtld.c (dl_main): Set l_name of vDSO.
75254         Call _dl_show_scope when DL_DEBUG_SCOPES.
75255         (process_dl_debug): Recognize scopes flag and also set it for all.
75256         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75257         Declare _dl_show_scope.
75259         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75260         (do_dlopen): Pass caller_dlopen to dl_open.
75261         (__libc_dlopen_mode): Initialize caller_dlopen.
75263         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75264         of libc.  Make tolower call locale-independent.  Optimize a bit by
75265         using isdigit instead of isalnum.
75266         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75268 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75270         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75271         was a dependency or dynamically loaded.
75273 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75275         * intl/l10nflist.c: Allow architecture-specific pop function.
75276         * sysdeps/x86_64/l10nflist.c: New file.
75278         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75279         classification.
75281 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75283         * include/dirent.h: Add libc_hidden_proto for scandirat and
75284         scandirat64.  Don't declare __scandirat64.
75285         * dirent/scandirat.c: Add libc_hidden_def.
75286         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75287         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75289 2011-08-10  David S. Miller  <davem@davemloft.net>
75291         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75292         enum.
75293         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75294         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75297 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75299         * Versions.def [libc]: Add GLIBC_2.15.
75300         * dirent/Makefile (routines): Add scandirat and scandirat64.
75301         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75302         GLIBC_2.15.
75303         * dirent/dirent.h: Declare scandirat and scandirat64.
75304         * dirent/scandirat.c: New file.
75305         * dirent/scandirat64.c: New file.
75306         * sysdeps/wordsize-64/scandirat.c: New file.
75307         * sysdeps/wordsize-64/scandirat64.c: New file.
75308         * dirent/opendir.c: Define opendirat.
75309         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75310         using scandirat.
75311         * dirent/scandir64.c: Adjust for scandir.c change.
75312         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75313         __scandirat64, and __scandir_cancel_handler.
75314         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75315         additional parameter and use openat instead of open (outside of ld.so).
75316         Add new __opendir as wrapper around __opendirat.
75317         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75318         here without requiring old scandirat implementation.
75320 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75322         * dirent/scandir.c (cancel_handler): Renamed to
75323         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75324         defined.  Adjust users.
75325         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75326         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75328 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75330         * string/test-string.h (IMPL): Use __STRING to expand name and then
75331         stringify it.
75333         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75334         of cleanups.
75336 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75338         * string/Makefile: Update.
75339         (strop-tests): Append strncat.
75340         * string/test-wcscmp.c: New file.
75341         New comprehensive test for wcscmp.
75342         * string/test-strcmp.c: Update.
75343         (WIDE): New define.
75345 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75347         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75348         line.
75350 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75353         encoding to ACE if AI_IDN.
75355 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75357         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75358         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75360 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75362         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75363         Fix overflow bug in strncat.
75364         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75366         * string/test-strncat.c: Update.
75367         Add new tests for checking overflow bugs.
75369 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75371         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75372         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75373         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75374         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75375         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75376         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75377         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75378         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75379         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75381         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75382         (USE_AS_STRCAT): Define.
75383         Add strcat and strncat support.
75384         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75386 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75388         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75389         __n bigger than INT_MAX+1.
75390         (__strncmp_g): Likewise.
75392 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75394         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75395         * libio/stido.h: Likewise.
75397         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75398         (AF_NFC): Define.
75399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75400         (AF_NFC): Define.
75402         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75403         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75404         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75405         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75408         [BZ #13021]
75409         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75410         installed.
75412         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75413         typo.
75414         (_dl_x86_64_save_sse): Likewise.
75416 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75419         OSXSAVE.
75420         (_dl_x86_64_save_sse): Likewise.
75422         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75424         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75426 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75429         change.
75430         (_dl_x86_64_save_sse): Use correct AVX check.
75432 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75434         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75435         bug in strncpy/strncat.
75436         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75438 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75440         * string/tester.c (test_strcat): Add tests for different alignments
75441         of source and destination.
75442         (test_strncat): Likewise.
75444 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75446         [BZ #12852]
75447         * posix/glob.c (glob): Check passed in values before using them in
75448         expressions to avoid some overflows.
75449         (glob_in_dir): Likewise.
75451         [BZ #13007]
75452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75453         check for AVX enablement so that we don't crash with old kernels and
75454         new hardware.
75455         * elf/tst-audit4.c: Add same checks here.
75456         * elf/tst-audit6.c: Likewise.
75458         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75460 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75462         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75464 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75466         * po/cs.po: Update from translation team.
75467         * po/bg.po: Likewise.
75469 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75471         * misc/sys/cdefs.h: Add support for const attribute.
75472         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75473         to gnu_dev_{major,minor,makedev} functions.
75475 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75477         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75479 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75481         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75482         strlen results.
75484 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75487         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75488         register in order to avoid conflicts with the soft frame pointer
75489         being held in r11 when necessary.
75490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75491         (INTERNAL_VSYSCALL_NCS): Likewise.
75493 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75495         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75496         * elf/dl-fini.c (_dl_fini): Adjust caller.
75497         * elf/dl-close.c (_dl_close_worker): Likewise.
75498         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75500 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75502         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75503         "aux_cache->nlibs < 0".
75505         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75506         in the reload-count case.
75508 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75511         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75512         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75513         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75514         * sysdeps/x86_64/multiarch/strcat.S: New file.
75515         * sysdeps/x86_64/multiarch/strncat.S: New file.
75516         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75517         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75518         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75519         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75521         (USE_AS_STRCAT): Define.
75522         Add strcat and strncat support.
75523         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75524         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75525         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75526         * string/strncat.c: Update.
75527         (USE_AS_STRNCAT): Define.
75528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75529         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75530         and i7.
75531         * sysdeps/x86_64/multiarch/init-arch.h
75532         (bit_Prefer_PMINUB_for_stringop): New.
75533         (index_Prefer_PMINUB_for_stringop): Likewise.
75534         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75535         bit_Prefer_PMINUB_for_stringop.
75537 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75539         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75540         buffer64.
75541         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75542         of casting of buffer.
75543         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75544         buffer32 and buffer64.
75545         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75546         writes instead of casting of buffer.
75547         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75548         buffer32.
75549         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75550         casting of buffer.
75552 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75554         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75556 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75558         * nscd/nscd.c (termination_handler): Don't do anything for a database
75559         if it has not yet been initialized.
75561 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75563         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75565 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75567         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75569 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75571         * po/nl.po: Update from translation team.
75572         * po/sv.po: Likewise.
75574 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75576         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75577         now disallowed by GCC.
75579         * configure.in (use-default-link): Default to yes if a test -shared
75580         link meets our qualifications.
75581         * configure: Regenerated.
75583         * config.make.in (output-format): New variable.
75584         * configure.in: Check for ld --print-output-format support.
75585         * configure: Regenerated.
75586         * Makerules ($(common-objpfx)format.lds)
75587         [$(output-format) != unknown]: Just use $(output-format),
75588         instead of the linker-script munging.
75590 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75592         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75593         of $(common-objpfx)shlib.lds.
75594         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75596         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75597         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75599         * configure.in (-z relro check): Adjust test code to add a large
75600         writable data section after it.
75601         * configure: Regenerated.
75603 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75605         * configure.in (-z relro check): Fix test code to make the variable
75606         truly const.
75607         * configure: Regenerated.
75609 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75611         * nscd/nscd.h (struct traced_file): Define.
75612         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75613         elements.  Add traced_files.
75614         (inotify_fd): Declare.
75615         (register_traced_file): Declare.
75616         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75617         (inotify_fd): Export.
75618         (resolv_conf_descr): Remove.
75619         (nscd_init): Move inotify descriptor creation to main.
75620         Don't register files for notification here.
75621         (register_traced_file): New function.
75622         (invalidate_cache): Don't use reset_res to determine whether to call
75623         res_init, go through the list of registered files.
75624         (main_loop_poll): The inotify descriptors are now stored in the
75625         structures for the traced files.
75626         (main_loop_epoll): Likewise.
75627         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75628         to __nss_disable_nscd.
75629         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75630         for a database anymore.  Check the records for all the registered
75631         files instead.
75632         * nss/Makefile (libnss_files-routines): Add files-init.
75633         (libnss_db-routines): Add db-init.
75634         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75635         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75636         * nss/nss_db/db-init.c: New file.
75637         * nss/nss_files/files-init.c: New file.
75638         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75639         __nss_lookup_function.
75640         (__nss_lookup_function): Call nss_load_library.
75641         (nss_load_all_libraries): New function.
75642         (__nss_disable_nscd): Take parameter with callback function for files
75643         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75644         used for the cached services.
75645         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75646         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75647         options for features to all the files in nscd.
75649         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75651 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75653         * csu/elf-init.c (__libc_csu_init): Comment typo.
75655 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75657         * po/pl.po: Update from translation team.
75658         * po/ja.po: Likewise.
75659         * po/ru.po: Likewise.
75660         * po/ko.po: Likewise.
75661         * po/fr.po: Likewise.
75663 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75665         * configure.in (.ctors/.dtors header and trailer check):
75666         Use an empirical test on a built program.
75667         * configure: Regenerated.
75669         * configure.in (-z relro check): Use an empirical test on a built DSO.
75670         Detect, but do not require, on ia64.
75671         * configure: Regenerated.
75673         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75674         Update tests that use readelf to use $READELF instead.
75675         * configure: Regenerated.
75677 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75679         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75680         if the result is not used.
75682 2011-07-05  Andreas Jaeger  <aj@suse.de>
75684         [BZ#9696]
75685         * stdlib/tst-strtod.c: Add testcase.
75687 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75689         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75690         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75691         The latter has a higher limit.  Take additional parameter to pass to
75692         the new function.
75693         (__pathconf): Pass file to __statfs_link_max.
75694         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75695         __statfs_link_max.
75696         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75697         __statfs_link_max.
75699         [BZ #12868]
75700         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75701         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75702         Handle Lustre.
75703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75704         (__statfs_filesize_max): Likewise.
75705         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75707 2011-07-05  Andreas Jaeger  <aj@suse.de>
75709         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75711 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75713         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75714         `status' variable.
75715         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75716         Likewise.
75718 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75720         * Makefile (strop-tests): Add strncat.
75721         * string/test-strncat.c: New file.
75723 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75725         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75727 2011-06-21  Andreas Jaeger  <aj@suse.de>
75729         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75730         Copy rule from iconvdata/Makefile.
75732 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75734         [BZ #12922]
75735         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75736         but no long options are defined, just return 'W'.
75738 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75740         [BZ #9696]
75741         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75743 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75745         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75746         netgroups to read.
75747         (innetgr): Likewise.
75749 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75751         * config.make.in (install_root): Default to $(DESTDIR).
75753 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75755         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75757 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75759         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75761         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75762         containing directory rather than embedding absolute directory names.
75764         * scripts/check-local-headers.sh: Rewritten using awk.
75765         Match by word, not by line.  Print error messages for matches.
75766         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75768         * Makerules [shlib-lds-flags empty]:
75769         ($(common-objpfx)libc_pic.opts): New target.
75770         ($(common-objpfx)libc_pic.os.clean): New target.
75771         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75773         * config.make.in (OBJCOPY): New variable.
75774         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75775         * configure: Regenerated.
75777         * config.make.in (use-default-link): New variable.
75778         * configure.in (use_default_link): Grok --with-default-link to set it.
75779         * configure: Regenerated.
75780         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75781         (shlib-lds, shlib-lds-flags): Define to empty.
75783         * Makerules (shlib-lds): New variable.
75784         (shlib-lds-flags): New variable.
75785         (build-shlib, build-moduile, build-module-asneeded): Use it.
75786         ($(common-objpfx)libc.so): Use $(shlib-lds).
75787         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75788         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75790         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75791         DT_FLAGS/DT_FLAGS_1 with zero flags.
75793         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75794         linker script munging.
75796 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75798         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75799         as 128-bit value.
75800         * crypt/sha512.c (sha512_process_block): Perform total addition using
75801         128-bit if possible.
75802         (__sha512_finish_ctx): Likewise.
75803         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75804         as 64-bit value.
75805         * crypt/sha256.c (SWAP64): Define.
75806         (sha256_process_block): Perform total addition using 64-bit if
75807         possible.
75808         (__sha256_finish_ctx): Likewise.
75810 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75812         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75813         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75814         * nscd/hstcache.c (cache_addhst): Likewise.
75815         * nscd/grpcache.c (cache_addgr): Likewise.
75816         * nscd/aicache.c (addhstaiX): Likewise.
75817         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75819 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75821         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75822         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75823         * nscd/hstcache.c (cache_addhst): Likewise.
75824         * nscd/grpcache.c (cache_addgr): Likewise.
75825         * nscd/aicache.c (addhstaiX): Likewise.
75827 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75829         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75830         domain only when needed.
75832 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75835         is always restored.
75837 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75839         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75840         are re-adding the entry.
75841         * nscd/servicescache.c (cache_addserv): Likewise.
75843 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75845         * sysdeps/generic/dl-irel.h: fix protection against multiple
75846         inclusions.
75847         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75849 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75851         [BZ #12935]
75852         * malloc/memusage.sh: Fix quoting in message.
75853         * debug/xtrace.sh: Likewise.
75855         * configure.in: Remove support for --experimental-malloc option, make
75856         it the default.
75857         * config.make.in: Likewise.
75858         * malloc/Makefile: Likewise.
75860 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75862         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75863         two-byte characters.
75865 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75867         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75868         AC_CACHE_CHECK invocation.
75869         * configure: Regenerated.
75871         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75873 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75875         [BZ #12350]
75876         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75877         bit from old_res_options.
75879         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75881         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75882         value type for setfct.
75884 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75886         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75887         __gettimeofday instead of gettimeofday.
75889 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75891         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75893 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75895         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75897         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75898         info.
75900 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75903         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75904         strcpy-sse2-unaligned strncpy-sse2-unaligned
75905         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75906         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75907         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75908         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75909         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75910         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75911         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75912         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75913         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75914         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75915         (STRCPY): Support SSE2 and SSSE3 versions.
75917 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75919         [BZ #12874]
75920         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75921         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75922         kernels which artificially limit size of requests.
75924 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75927         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75928         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75929         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75930         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75931         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75932         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75933         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75934         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75936         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75937         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75938         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75939         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75940         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75942         Enable unaligned load optimization for Intel Core i3, i5 and i7
75943         processors.
75944         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75945         Define.
75946         (index_Fast_Unaligned_Load): Define.
75947         (HAS_FAST_UNALIGNED_LOAD): Define.
75949 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75951         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75953 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75955         [BZ #12907]
75956         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75957         until it is clear that the information is realy needed.
75958         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75960 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75964 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75966         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75967         /sys/devices/system/cpu/online if it is usable.
75969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75970         reading the information from the /proc filesystem to once a second.
75972 2011-06-21  Andreas Jaeger  <aj@suse.de>
75974         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75975         NULL after inclusion of kernel headers.
75977 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75979         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75980         calls to internal_setent.
75982         [BZ #12885]
75983         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75984         addresses using gethostbyname4_r ignore IPv4 addresses.
75986         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75987         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75989         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75991 2011-06-20  David S. Miller  <davem@davemloft.net>
75993         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75994         inclusions.
75995         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75997         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75998         (elf_irel): Use it.
75999         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76000         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76001         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76002         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76003         * sysdeps/x86_64/dl-irel.h: Likewise.
76005         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76006         * elf/dl-sym.c: Likewise.
76008 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76010         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76011         need to dereference resplen2.
76013 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76015         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76017 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76019         * Makeconfig: Define vardbdir and inst_vardbdir.
76020         * nss/Makefile: Add rules to install db-Makefile.
76022         * nss/nss_db/db-XXX.c: Cleanup.
76024         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76025         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76026         GLIBC_PRIVATE.
76027         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76028         * nss/makedb.c: Implement -g option to specify that value strings
76029         are generated and should not be added to table iterated over for
76030         get*ent calls.
76031         * nss/nss_db/db-initgroups.c: New file.
76033         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76034         interface.
76036         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76037         (internal_getgrouplist): Adjust to name change.
76038         Update use_initgroups_entry if this is not the first call.
76039         * nss/databases.def: Add initgroups entry.
76041         * nss/makedb.c (compute_tables): Check result of multiple hash table
76042         sizes to minimize maximum chain length.
76044 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76046         * Versions.def: Add entry for libnss_db.
76047         * shlib-versions: Likewise.
76048         * nss/Makefile: Add rules to build libnss_db.
76049         * nss/Versions: Add libnss_db information.  Organize libnss_files
76050         entries better.
76051         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76052         makedb progra.  Some minor improvements to generate smaller files.
76053         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76054         here from...
76055         * nss/makedb.c: ...here.
76056         Improve database format to be smaller and require less memory at
76057         runtime.
76058         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76059         db anymore.
76060         * nss/nss_db/db-netgrp.c: Likewise.
76061         * nss/nss_db/db-open.c: Likewise.
76062         * nss/nss_files/flies-XXX.x: Adjust comments.
76063         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76064         * nss/nss_files/files-grp.c: Likewise.
76065         * nss/nss_files/files-hosts.c: Likewise.
76066         * nss/nss_files/files-network.c: Likewise.
76067         * nss/nss_files/files-proto.c: Likewise.
76068         * nss/nss_files/files-pwd.c: Likewise.
76069         * nss/nss_files/files-rpc.c: Likewise.
76070         * nss/nss_files/files-service.c: Likewise.
76071         * nss/nss_files/files-sgrp.c: Likewise.
76072         * nss/nss_files/files-spwd.c: Likewise.
76073         * nss/nss_db/db-alias.c: Removed.
76074         * nss/nss_db/dummy-db.h: Removed.
76076 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76078         * nss/makedb.c: Rewritten to not use database library.
76079         * nss/Makefile: Update to build new makedb program.
76081 2011-06-14  Andreas Jaeger  <aj@suse.de>
76083         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76084         memset declaration.
76086 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76089         tmpbuf.
76091 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76093         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76094         * elf/Makefile ($(objpfx)ld.so): Likewise.
76096         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76097         Don't list ld.so twice in dependencies.
76099         * posix/bug-regex31.c: Include <stdlib.h>.
76101         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76103         * nis/nss_compat/compat-spwd.c
76104         (getspent_next_nss_netgr): Remove unused variable.
76105         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76107         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76108         nonmembers" output to use the right array.
76110         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76112         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76114         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76115         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76116         * catgets/gencat.c (read_input_file): Likewise.
76117         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76119         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76120         variable definition inside #if's controlling its use.
76122         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76124         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76126         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76128         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76129         unreachable code.
76131         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76133         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76134         * configure: Regenerated.
76136         * Makerules: Revert last change.
76137         * elf/Makefile: Likewise.
76139 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76141         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76142         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76143         (reloc-link): Likewise.
76145 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76147         * elf/Makefile: Add rules to build pldd.
76148         * elf/pldd.c: New file.
76149         * elf/pldd-xx.c: New file.
76151 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76153         * version.h: Update for 2.15 development version.
76155 2011-06-07  David S. Miller  <davem@davemloft.net>
76157         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76158         ifuncs.
76159         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76160         elf_machine_lazy_rel): Likewise.
76161         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76162         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76163         elf_machine_lazy_rel): Likewise.
76164         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76165         dl_hwcap via passed in argument.
76166         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76167         Likewise.
76169 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76171         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76173 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76175         [BZ #12849]
76176         * manual/fdl-1.1.texi: New file, verbatim from:
76177         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76178         * manual/lgpl-2.1.texi: New file, verbatim from:
76179         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76180         * manual/Makefile (licenses): New variable, list those new file names.
76181         (texis): Use it.
76182         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76184         * manual/fdl.texi: File removed.
76185         * manual/lesser.texi: File removed.
76186         * manual/libc.texinfo (Copying, Documentation License):
76187         Use new @include file names, put @appendix directive before @include.
76189 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76191         [BZ #12841]
76192         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76193         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76194         (mq_open): Add __NTH.
76196 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76199         Assume Intel Core i3/i5/i7 processor if AVX is available.
76201 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76204         typo.
76206 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76208         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76209         memory.  Use alloca_account.  Fix memory leak when retrying.
76211 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76213         * version.h (RELEASE): Bump for 2.14 release.
76214         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76216         * config.make.in (RANLIB): Remove entry.
76218 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76220         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76221         (libc.pot): Work around missing support for .ksh extension in xgettext.
76223         [BZ #12684]
76224         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76225         if both request failed.
76226         (send_dg): In case of server errors clear resplen or *resplen2.
76228         [BZ #12454]
76229         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76230         when there are multiple maps.
76231         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76232         (_dl_fini): Remove test here.
76234         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76236 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76238         [BZ #12350]
76239         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76240         bit from old_res_options.
76241         (gaih_inet): Likewise.
76243         [BZ #11099]
76244         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76245         as signed.
76247         * resolv/res_init.c (res_setoptions): Make the code more compact.
76249         [BZ #11558]
76250         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76251         set RES_USEVC.
76253         [BZ #11634]
76254         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76256         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76258         [BZ #11781]
76259         * malloc/malloc.h: Declare malloc hook variables as volatile.
76261         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76262         in last patch.
76264         [BZ #11799]
76265         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76266         raise in the comment.
76267         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76268         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76269         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76271 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76273         [BZ #12811]
76274         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76275         grow the buffers more if it already has to be sufficient.
76276         (build_wcs_upper_buffer): Likewise.
76277         * posix/regexec.c (check_matching): Likewise.
76278         (clean_state_log_if_needed): Likewise.
76279         (extend_buffers): Don't enlarge buffers beyond size of the input
76280         buffer.
76281         Patches mostly by Emil Wojak <emil@wojak.eu>.
76282         * posix/bug-regex32.c: New file.
76283         * posix/Makefile (tests): Add bug-regex32.
76285         * locale/findlocale.c (_nl_find_locale): Return right away if
76286         _nl_explode_name failed.
76287         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76289         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76291         * debug/xtrace.sh: Unify messages.
76292         * malloc/memusage.sh: Likewise.
76294         [BZ #12813]
76295         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76296         time symbol from vDSO.  Substitute with vsyscall if not available.
76297         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76298         __vdso_time.
76300         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76301         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76302         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76303         Add sendmmsg and internal_sendmmsg.
76304         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76305         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76306         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76308         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76309         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76310         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76312 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76314         [BZ #12813]
76315         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76316         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76317         available.
76318         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76319         __vdso_getcpu.
76321         [BZ #12814]
76322         * iconvdata/Makefile (tests): Add bug-iconv9.
76323         * iconvdata/bug-iconv9.c: New file.
76325 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76327         [BZ #12814]
76328         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76330 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76333         (struct user_regs_struct): Change intcs field back to cs.
76335 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76337         * po/ja.po: Update from translation team.
76339 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76341         [BZ #12795]
76342         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76343         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76345 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76347         * stdlib/longlong.h: Update from GCC.
76349 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76351         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76352         parameter name.
76353         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76354         Add parameter name.
76355         (__sysconf): Pass it down.
76357 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76359         [BZ #12671]
76360         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76361         some situations.
76362         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76363         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76364         add in in __libc_use_alloca calls.  Adjust callers.
76365         (glob): Use malloc in some situations.
76367         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76368         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76369         pltexit.
76371 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76373         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76374         and CLOCK_BOOTTIME_ALARM.
76376         [BZ #12782]
76377         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76378         is returned.
76380         * string/_strerror.c (__strerror_r): Print negative errors as signed
76381         numbers.
76383         [BZ #12777]
76384         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76385         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76386         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76388         * configure.in: Fix typo in redirection and correct removal of test
76389         files in two cases.
76391         [BZ #12788]
76392         * locale/setlocale.c (new_composite_name): Fix test to check for
76393         identical name of all categories.
76395         [BZ #12792]
76396         * libio/filedoalloc.c (local_isatty): New function.
76397         (_IO_file_doallocate): Use local_isatty.
76398         * stdio-common/perror.c (perror): In case a new stream is used
76399         forward the stream error.
76400         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76401         error flag.
76403 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76405         [BZ #11884]
76406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76407         alloca.
76408         * include/alloca.h (extend_alloca_account): Define.
76410         [BZ #11857]
76411         * posix/regex.h: Fix comments with documentation of user-accessible
76412         fields after compilation and describe correct free'ing of pattern
76413         after re_compile_pattern.
76414         Patch by Reuben Thomas <rrt@sc3d.org>.
76416 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76418         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76419         and -mno-altivec to prevent the compiler from using Altivec and/or
76420         VSX instructions when the corresponding registers are not available.
76422 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76424         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76426 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76428         * libio/freopen.c (freopen): Use __dup2, not dup2.
76429         * libio/freopen64.c (freopen64): Likewise.
76431 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76433         [BZ #12775]
76434         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76435         * math/Makefile (tests): Add test-powl.
76436         (CFLAGS-test-powl.c): Define.
76437         * math/test-powl.c: New file.
76439 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76441         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76443 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76445         [BZ #11837]
76446         * iconvdata/gb18030.c: Update to GB18020-2005.
76448 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76450         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76451         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76452         Patch by Aharon Robbins <arnold@skeeve.com>.
76454         [BZ #11892]
76455         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76456         on the stack.
76458         [BZ #11895]
76459         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76460         through underflows.
76462         [BZ #12766]
76463         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76464         point to strings before performing equality test for error_one_per_line
76465         mode.
76467         [BZ #11697]
76468         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76470         [BZ #11820]
76471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76472         (struct user_fpregs_struct): Avoid __uint*_t types.
76474         [BZ #6420]
76475         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76476         symbol info.  Use it instead of calling _dl_addr locally.
76477         (lock_and_info): New function.
76478         (tr_freehook): Call lock_and_info and pass symbol info as additional
76479         parameter to tr_where.
76480         (tr_mallochook): Likewise.
76481         (tr_reallochook): Likewise.
76482         (tr_memalignhook): Likewise.
76484         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76485         used and couldn't be at all thread-safe.
76487 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76489         * libio/freopen.c (freopen): Don't close old file descriptor
76490         before the new one is opened.  Instead dup the new file descriptor
76491         to the old one after the new stream is created.
76492         * libio/freopen64.c (freopen64): Likewise.
76493         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76494         * libio/fileops.c (_IO_new_file_close_it): Handle new
76495         _IO_FLAGS2_NOCLOSE flag.
76496         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76497         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76498         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76499         _IO_FLAGS2_NOCLOSE flag.
76500         * include/unistd.h: Add hidden_proto for dup3.
76501         Define __have_dup3.
76502         * io/dup3.c: Define hidden symbol.
76503         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76505         [BZ #7101]
76506         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76507         when an incomplete long option is used.
76508         * posix/tst-getopt_long1.c: New file.
76509         * posix/Makefile (tests): Add tst-getopt_long1.
76511         [BZ #10138]
76512         * scripts/config.guess: Update from autoconf-2.68.
76513         * scripts/config.sub: Likewise.
76515         [BZ #10157]
76516         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76517         tests into ...
76518         (has_cpuclock): ...this.  New function.
76519         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76520         macro here based on has_cpuclock code.
76522         [BZ #10149]
76523         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76524         First byte (not low byte) is now always NUL.
76525         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76528         Use non-cancelable interfaces.
76530         [BZ #9809]
76531         * locale/iso-639.def: Add entry for Sorani.
76533         [BZ #11901]
76534         * include/stdlib.h: Move include protection to the right place.
76535         Define abort_msg_s.  Declare __abort_msg with it.
76536         * stdlib/abort.c (__abort_msg): Adjust type.
76537         * assert/assert.c (__assert_fail_base): New function.  Majority
76538         of code from __assert_fail.  Allocate memory for __abort_msg with
76539         mmap.
76540         (__assert_fail): Now call __assert_fail_base.
76541         * assert/assert-perr.c: Remove bulk of implementation.  Use
76542         __assert_fail_base.
76543         * include/assert.hL Declare __assert_fail_base.
76544         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76545         mmap.
76546         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76548 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76550         [BZ #11952]
76551         [BZ #12453]
76552         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76553         until all modules are registered in the DTV.
76554         * elf/Makefile: Add rules to build and run tst-tls19.
76555         * elf/tst-tls19.c: New file.
76556         * elf/tst-tls19mod1.c: New file.
76557         * elf/tst-tls19mod2.c: New file.
76558         * elf/tst-tls19mod3.c: New file.
76559         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76561         [BZ #12083]
76562         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76563         correctly.
76565         [BZ #12601]
76566         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76567         two-byte sequence errors.
76568         * iconvdata/Makefile (tests): Add bug-iconv8.
76569         * iconvdata/bug-iconv8.c: New file.
76571         [BZ #12626]
76572         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76573         buf2 definition.
76575         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76577         [BZ #12432]
76578         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76579         (dummy_getcfa): New function.
76580         (init): Get _Unwind_GetCFA address, use dummy if not found.
76581         (backtrace_helper): In recursion check, also check whether CFA changes.
76582         (__backtrace): Completely initialize arg.
76584         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76585         storing incomplete byte sequence in state object.  Avoid testing for
76586         guaranteed too small input if we know there is enough data available.
76588 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76590         * Makeconfig (+link-pie): Indent.
76591         * Rules (binaries-pie): Define if $(have-fpie) and
76592         $(build-shared).
76593         (binaries-shared): Also filter out $(binaries-pie).
76594         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76595         * nscd/Makefile (others-pie): Add nscd.
76596         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76597         ($(objpfx)nscd): Remove command override.
76598         * login/Makefile (others-pie): Add pt_chown.
76599         ($(objpfx)pt_chown): Remove command override.
76600         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76601         remove command overrides.
76603 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76605         * libio/tst_putwc.c: Fix error messages.
76607         [BZ #12724]
76608         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76609         currently writing and seek to current position when not.
76610         * libio/Makefile (tests): Add bug-fclose1.
76611         * libio/bug-fclose1.c: New file.
76613 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76615         [BZ #12511]
76616         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76617         don't set DF_1_NODELETE here.
76618         (do_lookup_x): When entering new entry test for copy relocation
76619         and if necessary set DF_1_NODELETE flag.
76620         * elf/tst-unique4.cc: New file.
76621         * elf/tst-unique4.h: New file.
76622         * elf/tst-unique4lib.cc: New file.
76623         * elf/Makefile: Add rules to build and run tst-unique4.
76624         Patch by Piotr Bury <pbury@goahead.com>.
76626 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76628         [BZ #12052]
76629         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76631         [BZ #12625]
76632         * misc/mntent_r.c (addmntent): Flush the stream after the output
76634         [BZ #12393]
76635         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76636         (is_trusted_path_normalize): Skip initial colon.  Append slash
76637         to empty buffer.  Duplicate is_trusted_path code but allow
76638         constructed patch to be prefix.
76639         (is_dst): Allow $ORIGIN followed by /.
76640         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76641         Correct testing of result of is_trusted_path_normalize
76642         (decompose_rpath): Fix warning.
76644 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76646         [BZ #11257]
76647         * grp/initgroups.c (internal_getgrouplist): When we found the service
76648         list through the initgroups entry in nsswitch.conf do not always
76649         continue on a successful lookup.  Don't always use the
76650         __nss_group_database value if it is set.
76651         * nss/nsswitch.conf (initgroups): Change action for successful db
76652         lookup to continue for compatibility.
76654 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76656         [BZ #11532]
76657         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76658         and CP774 modules.
76659         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76660         and CP774 modules.
76661         * iconvdata/tst-tables.sh: Likewise.
76662         * iconvdata/cp770.c: New file.
76663         * iconvdata/cp771.c: New file.
76664         * iconvdata/cp772.c: New file.
76665         * iconvdata/cp773.c: New file.
76666         * iconvdata/cp774.c: New file.
76667         * iconvdata/testdata/CP770: New file.
76668         * iconvdata/testdata/CP770..UTF8: New file.
76669         * iconvdata/testdata/CP771: New file.
76670         * iconvdata/testdata/CP771..UTF8: New file.
76671         * iconvdata/testdata/CP772: New file.
76672         * iconvdata/testdata/CP772..UTF8: New file.
76673         * iconvdata/testdata/CP773: New file.
76674         * iconvdata/testdata/CP773..UTF8: New file.
76675         * iconvdata/testdata/CP774: New file.
76676         * iconvdata/testdata/CP774..UTF8: New file.
76678         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76679         END CHARMAP line.
76680         * iconvdata/gen-8bit-gap.sh: Likewise.
76681         * iconvdata/gen-8bit.sh: Likewise.
76683         * locale/iso-639.def: Add ary entry.
76685         [BZ #11258]
76686         * locale/C-translit.h.in: Add U20A1 transliteration.
76688         [BZ #12178]
76689         * locale/iso-639.def: Add wae entry.
76690         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76692         [BZ #12545]
76693         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76694         for n.
76696         [BZ #12711]
76697         * locale/C-translit.h.in: Add entry for U20B9.
76698         Patch by pravin.d.s@gmail.com.
76700 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76702         [BZ #12713]
76703         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76704         ENAMETOOLONG use generic getcwd.
76705         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76706         in rtld.  Use *stat64.
76707         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76708         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76709         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76710         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76711         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76712         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76713         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76714         __fstatat64 macros.
76715         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76716         * dirent/rewinddir.c: Add libc_hidden_def.
76717         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76718         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76720         * include/dirent.h (__alloc_dir): Add flags parameter.
76721         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76722         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76723         __alloc_dir.
76724         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76725         from fdopendir if O_CLOEXEC is already set.
76727 2011-03-15  Alan Modra  <amodra@gmail.com>
76729         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76730         l_tls_firstbyte_offset non-zero.  Save padding offset in
76731         l_tls_firstbyte_offset for later use.
76732         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76733         freeing static tls block.
76735 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76737         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76738         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76739         being defined by the kernel headers.
76741 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76743         [BZ #12734]
76744         * resolv/resolv.h: Define RES_NOTLDQUERY.
76745         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76746         no-tld-query and set RES_NOTLDQUERY.
76747         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76748         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76749         modern BIND to search name as TLD unless forbidden.
76751 2011-05-07  Petr Baudis  <pasky@suse.cz>
76752             Ulrich Drepper  <drepper@gmail.com>
76754         [BZ #12393]
76755         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76756         (is_trusted_path): ...to here.
76757         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76758         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76759         using is_trusted_path_normalize() in setuid scripts.
76761 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76763         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76764         __BEGIN/__END_DECLS.
76766 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76768         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76769         NSS_STATUS_NOTFOUND if no record was found.
76771 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76773         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76774         (headers-not-in-tirpc): Remove rpc/netdb.h
76775         * resolv/netdb.h: Revert last change.
76777 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76779         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76780         circular dependency between libgcc.a and libc.a.
76782 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76784         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76785         * nis/Makefile: Don't install rpcsvc/*.
76786         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76787         instead of <rpc/types.h>.
76788         (MAXHOSTNAMELEN): Define.
76790 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76792         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76794 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76796         [BZ #12714]
76797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76798         gethostbyname4_r when IPv6 results are possible.
76800 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76802         [BZ #12723]
76803         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76804         _PC_PIPE_BUF handling.
76806 2011-04-30  Bruno Haible  <bruno@clisp.org>
76808         [BZ #12717]
76809         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76810         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76811         to 'int'.
76812         * inet/getnameinfo.c (getnameinfo): Likewise.
76814 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76816         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76817         to groups setting in database lookup.
76818         * nss/nsswitch.conf: Add initgroups entry.
76820 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76822         [BZ #12685]
76823         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76824         mode string.
76825         Patch by Eric Blake <eblake@redhat.com>.
76827 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76829         * sunrpc/Makefile (need-export-routines): Add svc_run.
76830         (routines): Remove svc_run.
76831         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76832         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76833         * sunrpc/svc_run.c (svc_run): Likewise.
76834         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76836 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76838         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76839         problem in reallocation in last patch.
76841 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76843         * sunrpc/Makefile: Move inclusion of Rules.
76845 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76847         * nss/nss_files/files-initgroups.c: New file.
76848         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76849         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76850         _nss_files_initgroups_dyn.
76852 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76854         * elf/elf.h (R_ARM_IRELATIVE): Define.
76856 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76858         * po/ru.po: Update from translation team.
76860 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76862         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76863         dependencies.
76865 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76867         [BZ #12653]
76868         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76869         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76870         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76871         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76872         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76874 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76877         differing bytes.
76878         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76880         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76882 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76884         [BZ #12420]
76885         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76886         storing it.
76887         * stdlib/bug-getcontext.c: New file.
76888         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76890 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76892         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76893         instructions into .machine "z9-109".
76894         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76895         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76897 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76899         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76900         between environment variables and auxiliary vector.
76902 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76904         * Makefile: Add rules to build linkobj/libc.so.
76905         * include/libc-symbols.h: Define libc_hidden_nolink.
76906         * include/rpc/auth.h: Mark functions which are to be hidden.
76907         * include/rpc/auth_des.h: Likewise.
76908         * include/rpc/auth_unix.h: Likewise.
76909         * include/rpc/clnt.h: Likewise.
76910         * include/rpc/des_crypt.h: Likewise.
76911         * include/rpc/key_prot.h: Likewise.
76912         * include/rpc/pmap_clnt.h: Likewise.
76913         * include/rpc/pmap_prot.h: Likewise.
76914         * include/rpc/pmap_rmt.h: Likewise.
76915         * include/rpc/rpc_msg.h: Likewise.
76916         * include/rpc/svc.h: Likewise.
76917         * include/rpc/svc_auth.h: Likewise.
76918         * include/rpc/xdr.h: Likewise.
76919         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76920         * nss/Makefile: Likewise.
76921         * sunrpc/Makefile: Don't install headers.  Build library with normal
76922         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76923         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76924         for the compat linking library.  Remove use of INTDEF/INTUSE.
76925         * sunrpc/auth_none.c: Likewise.
76926         * sunrpc/auth_unix.c: Likewise.
76927         * sunrpc/authdes_prot.c: Likewise.
76928         * sunrpc/authuxprot.c: Likewise.
76929         * sunrpc/clnt_gen.c: Likewise.
76930         * sunrpc/clnt_perr.c: Likewise.
76931         * sunrpc/clnt_raw.c: Likewise.
76932         * sunrpc/clnt_simp.c: Likewise.
76933         * sunrpc/clnt_tcp.c: Likewise.
76934         * sunrpc/clnt_udp.c: Likewise.
76935         * sunrpc/clnt_unix.c: Likewise.
76936         * sunrpc/des_crypt.c: Likewise.
76937         * sunrpc/des_soft.c: Likewise.
76938         * sunrpc/get_myaddr.c: Likewise.
76939         * sunrpc/key_call.c: Likewise.
76940         * sunrpc/key_prot.c: Likewise.
76941         * sunrpc/netname.c: Likewise.
76942         * sunrpc/pm_getmaps.c: Likewise.
76943         * sunrpc/pm_getport.c: Likewise.
76944         * sunrpc/pmap_clnt.c: Likewise.
76945         * sunrpc/pmap_prot.c: Likewise.
76946         * sunrpc/pmap_prot2.c: Likewise.
76947         * sunrpc/pmap_rmt.c: Likewise.
76948         * sunrpc/publickey.c: Likewise.
76949         * sunrpc/rpc_cmsg.c: Likewise.
76950         * sunrpc/rpc_common.c: Likewise.
76951         * sunrpc/rpc_dtable.c: Likewise.
76952         * sunrpc/rpc_prot.c: Likewise.
76953         * sunrpc/rpc_thread.c: Likewise.
76954         * sunrpc/rtime.c: Likewise.
76955         * sunrpc/svc.c: Likewise.
76956         * sunrpc/svc_auth.c: Likewise.
76957         * sunrpc/svc_authux.c: Likewise.
76958         * sunrpc/svc_raw.c: Likewise.
76959         * sunrpc/svc_run.c: Likewise.
76960         * sunrpc/svc_simple.c: Likewise.
76961         * sunrpc/svc_tcp.c: Likewise.
76962         * sunrpc/svc_udp.c: Likewise.
76963         * sunrpc/svc_unix.c: Likewise.
76964         * sunrpc/svcauth_des.c: Likewise.
76965         * sunrpc/xcrypt.c: Likewise.
76966         * sunrpc/xdr.c: Likewise.
76967         * sunrpc/xdr_array.c: Likewise.
76968         * sunrpc/xdr_float.c: Likewise.
76969         * sunrpc/xdr_intXX_t.c: Likewise.
76970         * sunrpc/xdr_mem.c: Likewise.
76971         * sunrpc/xdr_rec.c: Likewise.
76972         * sunrpc/xdr_ref.c: Likewise.
76973         * sunrpc/xdr_sizeof.c: Likewise.
76974         * sunrpc/xdr_stdio.c: Likewise.
76976 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76978         [BZ #12650]
76979         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76980         * sysdeps/ia64/dl-tls.h: Likewise.
76981         * sysdeps/powerpc/dl-tls.h: Likewise.
76982         * sysdeps/s390/dl-tls.h: Likewise.
76983         * sysdeps/sh/dl-tls.h: Likewise.
76984         * sysdeps/sparc/dl-tls.h: Likewise.
76985         * sysdeps/x86_64/dl-tls.h: Likewise.
76986         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76988 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76990         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76991         rpath element also skip the following colon.
76992         (expand_dynamic_string_token): Add is_path parameter and pass
76993         down to DL_DST_REQUIRED and _dl_dst_substitute.
76994         (decompose_rpath): Call expand_dynamic_string_token with
76995         non-zero is_path.  Ignore empty rpaths.
76996         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76997         with zero is_path.
76999 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77002         Make cancelable.
77004 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77006         [BZ #12655]
77007         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77008         Patch by Filipe David Manana <fdmanana@apache.org>.
77010 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77013         Maintain aligned stack.
77014         (CHECK_RSP): Remove unused macro.
77016 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77018         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77019         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77021 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77023         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77025         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77027 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77029         [BZ #12518]
77030         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77031         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77032         * sysdeps/x86_64/memmove.c: New file.
77033         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77034         (memcpy): Renamed to ...
77035         (__new_memcpy): This.
77036         (memcpy): Provide GLIBC_2_14 memcpy.
77037         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77038         (memcpy): Provide GLIBC_2_2_5 memcpy.
77040 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77042         [BZ #12631]
77043         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77045 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77047         * misc/syncfs.c: New file.
77048         * misc/Makefile (routines): Add syncfs.
77049         * posix/unistd.h: Declare syncfs.
77050         * sysdeps/unix/syscalls.list: Add syncfs.
77052 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77054         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77055         open_by_handle_at.
77056         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77057         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77059         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77061         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77064 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77067         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77068         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77069         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77070         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77072         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77074         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77075         sync_file_range.c with -fexceptions.
77076         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77077         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77078         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77079         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77080         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77081         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77082         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77083         sync_file_range as cancellation point
77084         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77085         now a wrapper around __call_sync_file_range with cancellation handling.
77086         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77087         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77088         function name to __call_sync_file_range.
77089         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77090         Add call_sync_file_range.
77092 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77095         bits/timex.h.
77097 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77099         * iconv/iconv.h: Fix typo in comment.
77100         * io/fcntl.h: Likewise.
77101         * libio/stdio.h: Likewise.
77102         * posix/spawn.h: Likewise.
77103         * posix/unistd.h: Likewise.
77104         * stdlib/stdlib.h: Likewise.
77105         * time/time.h: Likewise.
77106         * wcsmbs/wchar.h: Likewise.
77108         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77109         open_by_handle): Add.
77110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77111         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77112         Augment a few comments.
77113         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77115         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77118         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77119         open_by_handle.
77121         * io/fcntl.h (AT_EMPTY_PATH): Define.
77123 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77125         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77126         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77127         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77128         to...
77129         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77130         * Versions.def: Add GLIBC_2.14.
77131         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77132         Export.
77134 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77136         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77137         round counter.
77138         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77140 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77142         [BZ #12597]
77143         * string/test-strncmp.c (do_page_test): New function.
77144         (check2): Likewise.
77145         (test_main): Call check2.
77146         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77148 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77150         [BZ #12587]
77151         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77152         Handle cache information in CPU leaf 4.
77153         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77155 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77157         [BZ #12583]
77158         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77159         character representation.
77160         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77162 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77164         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77165         END(__isnan) to END(__isnanf) to match function entry point/label
77166         EALIGN(__isnanf,...).
77168 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77170         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77172 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77174         [BZ #12510]
77175         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77176         copy from the symbol referenced in the relocation to initialize the
77177         used variable.
77178         Patch by Piotr Bury <pbury@goahead.com>.
77179         * elf/Makefile: Add rules to build and tst-unique3.
77180         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77181         * elf/tst-unique3.cc: New file.
77182         * elf/tst-unique3.h: New file.
77183         * elf/tst-unique3lib.cc: New file.
77184         * elf/tst-unique3lib2.cc: New file.
77186         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77188 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77190         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77191         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77192         to _start.
77194 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77196         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77197         to-be-loaded object along a path to loader is ld.so.
77199 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77200             Ulrich Drepper  <drepper@gmail.com>
77202         * sysdeps/x86_64/memset.S: After aligning destination, code
77203         branches to different locations depending on the value of
77204         misalignment, when multiarch is enabled. Fix this.
77206 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77208         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77209         Set _x86_64_preferred_memory_instruction for AMD processsors.
77210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77211         Set bit_Prefer_SSE_for_memop for AMD processors.
77213 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77215         * libio/fmemopen.c (fmemopen): Optimize a bit.
77217 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77219         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77221 2011-03-03  Roland McGrath  <roland@redhat.com>
77223         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77225 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77227         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77228         __bzero_ultra1 instead of __memset_ultra1.
77230 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77231             Ulrich Drepper  <drepper@gmail.com>
77233         [BZ #12509]
77234         * include/link.h (struct link_map): Add l_orig_initfini.
77235         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77236         returning unsuccessfully.
77237         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77238         close of a file loaded at startup, restore the original l_initfini
77239         list.
77240         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77241         list, store the pointer.
77242         * elf/Makefile ($(objpfx)noload-mem): New rule.
77243         (noload-ENV): Define.
77244         (tests): Add $(objpfx)noload-mem.
77245         * elf/noload.c: Include <memcheck.h>.
77246         (main): Call mtrace.  Close all opened handles.
77248 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77250         [BZ #12454]
77251         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77252         dependencies are missing.
77254 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77256         Fix __if_freereq crash: Unlike the generic version which uses free,
77257         Hurd needs munmap.
77258         * sysdeps/mach/hurd/ifreq.h: New file.
77260 2011-01-27  Petr Baudis  <pasky@suse.cz>
77261             Ulrich Drepper  <drepper@gmail.com>
77263         [BZ 12445]#
77264         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77265         to extend_alloca().
77266         * stdio-common/bug23.c: New file.
77267         * stdio-common/Makefile (tests): Add bug23.
77269 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77270             Ulrich Drepper  <drepper@gmail.com>
77272         [BZ #12489]
77273         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77274         before performing relro protection.  At old place add assertion
77275         to make sure nothing changed.
77277 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77278             Glauber de Oliveira Costa  <glommer@gmail.com>
77280         * elf/elf.h: Add new ARM TLS relocs.
77282 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77285         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77286         cast from r3.
77287         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77288         'tests' variable.
77289         * sysdeps/wordsize-64/tst-writev.c: New file.
77291 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77293         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77294         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77295         insns in _dl_start to prevent a TOC reference before relocs are
77296         resolved.
77298 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77300         [BZ #12469]
77301         * Makeconfig: Remove RANLIB definition.
77302         * Makerules: Don't use RANLIB.
77303         * aclocal.m4: Remove ranlib test.
77304         * configure.in: No need to check for ranlib.
77305         * elf/rtld-Rules: Don't use RANLIB.
77307 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77309         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77310         protection macro.
77311         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77312         inclusion protection macro.
77314         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77315         SIGRTMIN and SIGRTMAX and print information in that case only when
77316         SIGRTMIN is defined.
77318 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77320         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77321         arginfo fn returning -1.
77323         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77324         and thousands string is zero terminated.
77326 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77328         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77329         sysdeps/unix/sysv/linux/bits/socket.h.
77331 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77333         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77334         (__CPU_COUNT): Remove old macros.
77335         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77336         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77337         (__CPU_ALLOC, __CPU_FREE): Add macros.
77338         (__sched_cpualloc, __sched_cpufree): Add declarations.
77340 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77342         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77343         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77344         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77345         (readdhstai): Return value of addhstaiX call.
77346         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77347         (addgrbyX): Return value returned by cache_addgr.
77348         (readdgrbyname): Return value returned by addgrbyX.
77349         (readdgrbygid): Likewise.
77350         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77351         (addpwbyX): Return value returned by cache_addpw.
77352         (readdpwbyname): Return value returned by addhstbyX.
77353         (readdpwbyuid): Likewise.
77354         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77355         (addservbyX): Return value returned by cache_addserv.
77356         (readdservbyname): Return value returned by addservbyX:
77357         (readdservbyport): Likewise.
77358         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77359         (addhstbyX): Return value returned by cache_addhst.
77360         (readdhstbyname): Return value returned by addhstbyX.
77361         (readdhstbyaddr): Likewise.
77362         (readdhstbynamev6): Likewise.
77363         (readdhstbyaddrv6): Likewise.
77364         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77365         (readdinitgroups): Return value returned by addinitgroupsX.
77366         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77367         (prune_cache): Keep track of timeout value of re-added entries.
77368         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77369         * nscd/nscd.h: Adjust prototypes of readd* functions.
77371 2011-02-04  Roland McGrath  <roland@redhat.com>
77373         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77374         (nis_stats): Likewise.
77375         * nis/nis_modify.c (nis_modify): Likewise.
77376         * nis/nis_remove.c (nis_remove): Likewise.
77377         * nis/nis_add.c (nis_add): Likewise.
77379         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77381         * posix/fnmatch_loop.c: Add some consts.
77383         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77385 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77387         [BZ #12460]
77388         * config.make.in (config-cflags-novzeroupper): Define.
77389         * configure.in: Substitute libc_cv_cc_novzeroupper.
77390         * elf/Makefile (AVX-CFLAGS): Define.
77391         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77392         (CFLAGS-tst-auditmod4a.c): Likewise.
77393         (CFLAGS-tst-auditmod4b.c): Likewise.
77394         (CFLAGS-tst-auditmod6b.c): Likewise.
77395         (CFLAGS-tst-auditmod6c.c): Likewise.
77396         (CFLAGS-tst-auditmod7b.c): Likewise.
77397         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77399 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77401         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77402         function to the callback.
77403         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77405 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77407         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77408         of errno.
77410 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77412         [BZ #11724]
77413         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77414         of constructors.
77415         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77416         of destructors.
77417         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77419         [BZ #11724]
77420         * elf/Makefile: Add rules to build and run new test.
77421         * elf/tst-initorder.c: New file.
77422         * elf/tst-initorder.exp: New file.
77423         * elf/tst-initordera1.c: New file.
77424         * elf/tst-initordera2.c: New file.
77425         * elf/tst-initordera3.c: New file.
77426         * elf/tst-initordera4.c: New file.
77427         * elf/tst-initorderb1.c: New file.
77428         * elf/tst-initorderb2.c: New file.
77429         * elf/tst-order-a1.c: New file.
77430         * elf/tst-order-a2.c: New file.
77431         * elf/tst-order-a3.c: New file.
77432         * elf/tst-order-a4.c: New file.
77433         * elf/tst-order-b1.c: New file.
77434         * elf/tst-order-b2.c: New file.
77435         * elf/tst-order-main.c: New file.
77436         New test case by George Gensure <werkt0@gmail.com>.
77438 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77441         decoding ACE if AI_CANONIDN.
77443 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77445         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77447 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77449         * version.h (RELEASE): Bump for 2.13 release.
77450         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77452         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77454         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77455         MADV_NOHUGEPAGE.
77456         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77457         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77458         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77459         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77461         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77463         * posix/getconf.c: Update copyright year.
77464         * catgets/gencat.c: Likewise.
77465         * csu/version.c: Likewise.
77466         * debug/catchsegv.sh: Likewise.
77467         * debug/xtrace.sh: Likewise.
77468         * elf/ldconfig.c: Likewise.
77469         * elf/ldd.bash.in: Likewise.
77470         * elf/sprof.c (print_version): Likewise.
77471         * iconv/iconv_prog.c: Likewise.
77472         * iconv/iconvconfig.c: Likewise.
77473         * locale/programs/locale.c: Likewise.
77474         * locale/programs/localedef.c: Likewise.
77475         * malloc/memusage.sh: Likewise.
77476         * malloc/mtrace.pl: Likewise.
77477         * nscd/nscd.c (print_version): Likewise.
77478         * nss/getent.c: Likewise.
77480         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77481         PF_CAIF, and PF_ALG.
77482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77484 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77486         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77487         (modules-names): Use them.
77488         (ifunc-test-modules, ifunc-pie-tests): Define.
77489         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77490         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77491         (test-extras): Likewise.
77492         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77493         $(compile-command.c).
77494         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77495         (all-built-dso): Define.
77496         (check-textrel.out, check-execstack.out): Depend on it.
77498         * configure.in: Don't override --enable-multi-arch.
77500 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77502         [BZ #6812]
77503         * nscd/hstcache.c (tryagain): Define.
77504         (cache_addhst): Return tryagain not notfound for temporary errors.
77505         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77506         failed.
77508 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77510         [BZ #10563]
77511         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77512         to make the syscall.
77513         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77515         [BZ #12378]
77516         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77517         and fall back to matching as normal character if the string ends before
77518         the matching ']' is found.  This is what POSIX requires.
77519         * posix/testfnm.c: Adjust test result.
77520         * posix/globtest.sh: Adjust test result.  Add new test.
77521         * posix/tst-fnmatch.input: Likewise.
77522         * posix/tst-fnmatch2.c: Add new test.
77524 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77526         * elf/Makefile (check-execstack): Revert last change.  Depend on
77527         check-execstack.h.
77528         (check-execstack.h): New target.
77529         (generated): Add check-execstack.h.
77530         * elf/check-execstack.c: Include "check-execstack.h".
77531         (main): Revert last change.
77532         (handle_file): Return zero if GNU_STACK is absent and
77533         DEFAULT_STACK_PERMS doesn't include PF_X.
77535 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77537         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77538         in child fails because the descriptor is already closed.
77539         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77540         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77541         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77543         [BZ #12397]
77544         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77545         syscall.
77547         [BZ #10484]
77548         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77549         temporary buffer used to handle multi lookups locally.
77550         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77552 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77554         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77555         loader is ld.so.
77557 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77559         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77560         alignment for SSE2.
77562 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77564         [BZ #12394]
77565         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77566         characters.  When rounding increased number of integer digits recompute
77567         number of groups.
77568         * stdio-common/tst-grouping.c: New file.
77569         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77571 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77573         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77574         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77576         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77577         void.
77578         * bits/select.h: Likewise.
77580 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77582         * po/ja.po: Update from translation team.
77584 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77586         [BZ #11155]
77587         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77588         implementation just like for lxstat, fxstatat, et al.
77590 2010-12-27  Jim Meyering  <meyering@redhat.com>
77592         [BZ #12348]
77593         * posix/regexec.c (build_trtable): Return failure indication upon
77594         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77596 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77598         [BZ #12201]
77599         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77600         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77601         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77602         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77604         [BZ #12207]
77605         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77607         [BZ #12204]
77608         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77609         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77611 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77613         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77614         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77615         script has SORT_BY_INIT_PRIORITY.
77616         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77617         NO_CTORS_DTORS_SECTIONS is defined.
77618         * elf/soinit.c: Likewise.
77619         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77620         NO_CTORS_DTORS_SECTIONS is defined.
77621         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77622         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77623         * sysdeps/sh/init-first.c: Likewise.
77624         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77626 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77628         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77629         always use the slow path.
77631 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77633         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77634         similar rule which adds the sysdep directories to the header search in
77635         order to pick up the correct platform stackinfo.h.
77636         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77637         perform test if it is, otherwise return successfully without testing.
77638         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77639         DEFAULT_STACK_PERMS define in stackinfo.h.
77640         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77641         defined in stackinfo.h.
77642         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77643         DEFAULT_STACK_PERMS defined in stackinfo.h.
77644         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77645         * sysdeps/ia64/stackinfo.h: Likewise.
77646         * sysdeps/s390/stackinfo.h: Likewise.
77647         * sysdeps/sh/stackinfo.h: Likewise.
77648         * sysdeps/sparc/stackinfo.h: Likewise.
77649         * sysdeps/x86_64/stackinfo.h: Likewise.
77650         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77651         PF_X for powerpc64.  Retain PF_X for powerpc32.
77653 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77655         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77656         accurately.
77657         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77658         GETDENTS_64BIT_ALIGNED.
77660 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77662         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77664 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77666         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77667         _GNU_SOURCE.
77669         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77670         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77671         Remove __restrict.
77672         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77673         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77675 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77677         [BZ #11655]
77678         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77679         are initialized.
77681 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77683         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77685 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77687         * po/it.po: Update from translation team.
77689 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77691         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77692         unused codes.
77694 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77696         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77698 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77700         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77701         specially.
77702         (gaih_getanswer_slice): Likewise.
77704 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77708 2010-05-31  Petr Baudis  <pasky@suse.cz>
77710         [BZ #11149]
77711         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77712         silently even in the chroot mode.
77714 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77716         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77717         last patch a bit.  Pretty printing
77719 2010-05-31  Petr Baudis <pasky@suse.cz>
77721         [BZ #10085]
77722         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77723         initialization of skip_initgroups_dyn.
77725 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77727         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77730 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77732         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77734 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77736         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77737         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77738         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77739         ($(objpfx)tst-fnmatch-mem): New rule.
77740         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77741         * posix/tst-fnmatch.c (main): Call mtrace.
77743 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77746         Support Intel processor model 6 and model 0x2c.
77748 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77750         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77751           signed comparison.
77753 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77755         [BZ #12205]
77756         * string/test-strncasecmp.c (check_result): New function.
77757         (do_one_test): Use it.
77758         (check1): New function.
77759         (test_main): Use it.
77760         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77761         Support strcasecmp and strncasecmp.
77763 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77765         [BZ #12194]
77766         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77767         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77769 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77771         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77772         IFUNC support.
77773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77774         memset-x86-64.
77775         * sysdeps/x86_64/multiarch/bzero.S: New file.
77776         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77777         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77778         * sysdeps/x86_64/multiarch/memset.S: New file.
77779         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77781         Set bit_Prefer_SSE_for_memop for Intel processors.
77782         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77783         Define.
77784         (index_Prefer_SSE_for_memop): Define.
77785         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77787 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77789         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77790         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77792 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77794         [BZ #12191]
77795         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77796         (__x86_64_raw_data_cache_size_half): Likewise.
77797         (__x86_64_raw_shared_cache_size): Likewise.
77798         (__x86_64_raw_shared_cache_size_half): Likewise.
77800         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77801         (__x86_64_raw_data_cache_size_half): Likewise.
77802         (__x86_64_raw_shared_cache_size): Likewise.
77803         (__x86_64_raw_shared_cache_size_half): Likewise.
77804         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77805         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77806         and __x86_64_raw_shared_cache_size_half.  Round
77807         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77808         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77809         to multiple of 256 bytes.
77811 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77813         [BZ #12167]
77814         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77815         of inacessible symlinks.  Verify result of symlink before returning it.
77816         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77817         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77819 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77821         * math/math.h (isinf): Fix typo in comment.
77823 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77825         * po/da.po: Update from translation team.
77827 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77829         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77830         is added to the list.
77832 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77833             Ulrich Drepper  <drepper@gmail.com>
77835         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77836         the global list here.  Move code to...
77837         (_dl_add_to_namespace_list): ...here.  New function.
77838         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77839         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77840         * elf/dl-load.c (lose): Don't remove the element from the list.
77841         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77842         (_dl_map_object): Likewise.
77844 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77846         [BZ #12159]
77847         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77848         into all bytes of SSE register.
77849         Patch by Richard Li <richardpku@gmail.com>.
77851 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77853         [BZ #12140]
77854         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77855         perturbing.
77857 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77859         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77860         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77861         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77862         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77864         submachine.
77865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77867 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77869         * include/dlfcn.h (__RTLD_SECURE): Define.
77870         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77871         mode & __RTLD_SECURE instead.
77872         (open_path): Rename preloaded parameter to secure.
77873         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77874         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77875         * elf/dl-deps.c (openaux): Likewise.
77876         * elf/rtld.c (struct map_args): Remove is_preloaded.
77877         (map_doit): Don't use it.
77878         (dl_main): Likewise.
77879         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77880         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77882 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77884         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77885         (sysd-rules-targets): Remove duplicates.
77886         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77887         rtld-%.$o dependency.
77889 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77891         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77892         _dl_map_object do it.
77894 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77896         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77897         fast fma builtins, define the macros in the C99 standard.
77898         (FP_FAST_FMAF): Likewise.
77899         (FP_FAST_FMAL): Likewise.
77900         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77902         * bits/mathdef.h: Update copyright year.
77903         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77905 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77907         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77908         builtins, define the macros in the C99 standard.
77909         (FP_FAST_FMAF): Likewise.
77910         (FP_FAST_FMAL): Likewise.
77911         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77912         multiply/add.
77913         (FP_FAST_FMAF): Likewise.
77915 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77917         [BZ #3268]
77918         * math/libm-test.inc (fma_test): Some new testcases.
77919         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77921         y and infinite z.  Do multiplication by C already in long double.
77922         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77924         y and infinite z.  Do bitwise or of inexact bit into u.d.
77925         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77926         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77927         * sysdeps/i386/fpu/s_fma.S: Removed.
77928         * sysdeps/i386/fpu/s_fmal.S: Removed.
77930 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77932         [BZ #3268]
77933         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77935         computation is not scheduled after fetestexcept.  Fix value
77936         of minimum denormal long double.
77938 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77940         [BZ #3268]
77941         * math/libm-test.inc (fma_test): Add some more tests.
77942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77943         correctly.
77945 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77947         * scripts/data/localplt-s390-linux-gnu.data: New file.
77948         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77950 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77952         [BZ #3268]
77953         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77954         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77955         instead of dbl-64.
77956         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77957         inlines.
77958         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77960         if one of x and y is very large and the other is subnormal.
77961         * sysdeps/s390/fpu/s_fmaf.c: New file.
77962         * sysdeps/s390/fpu/s_fma.c: New file.
77963         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77964         * sysdeps/powerpc/fpu/s_fma.S: New file.
77965         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77966         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77967         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77969 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77971         [BZ #3268]
77972         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77973         fma tests.
77974         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77975         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77976         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77977         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77978         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77979         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77980         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77982 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77984         [BZ #12078]
77985         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77986         * posix/bug-regex31.input: Add test case.
77988 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77990         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77991         * posix/bug-regex31.input: New file.
77993         [BZ #12078]
77994         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77995         (parse_sub_exp): Fix last change, use postorder.
77997         * posix/bug-regex31.c: New file.
77998         * posix/Makefile: Add rules to build and run bug-regex31.
78000         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78002         [BZ #12078]
78003         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78005         [BZ #12108]
78006         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78007         to have entries in sys_siglist.
78009         [BZ #12093]
78010         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78011         be NULL.
78013 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78015         [BZ #3268]
78016         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78017         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78018         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78019         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78020         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78021         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78022         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78023         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78024         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78025         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78026         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78027         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78028         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78029         * math/ftestexcept.c (fetestexcept): Likewise.
78030         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78031         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78032         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78033         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78034         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78035         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78036         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78038 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78040         [BZ #12107]
78041         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78042         newline.
78044 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78046         * string/bug-strstr1.c: New file.
78047         * string/Makefile: Add rules to build and run bug-strstr1.
78049 2010-10-05  Eric Blake  <eblake@redhat.com>
78051         [BZ #12092]
78052         * string/str-two-way.h (two_way_long_needle): Always clear memory
78053         when skipping input due to the shift table.
78055 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78057         [BZ #12005]
78058         * malloc/mcheck.c: Handle large requests.
78060         [BZ #12077]
78061         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78062         for strncmp and strncasecmp.
78063         * string/stratcliff.c: Add tests for strcmp and strncmp.
78064         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78066 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78068         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78069         __set_fpscr.
78071 2010-09-30  Andreas Jaeger  <aj@suse.de>
78073         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78074         (CGROUP_SUPER_MAGIC): Define.
78075         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78076         Handle btrfs and cgroup file systems.
78077         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78078         Likewise.
78080 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78082         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78083         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78085 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78087         [BZ #12067]
78088         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78089         trying to locate the ELF header.
78091 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78093         [BZ #11611]
78094         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78095         Mask out sign-bit copies when constructing f_fsid.
78097 2010-09-24  Petr Baudis <pasky@suse.cz>
78099         * debug/stack_chk_fail_local.c: Add missing licence exception.
78100         * debug/warning-nop.c: Likewise.
78102 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78104         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78105         implementing getdents64 using getdents syscall, set d_type if
78106         __ASSUME_GETDENTS32_D_TYPE.
78108 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78110         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78111         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78113 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78115         [BZ #12037]
78116         * posix/unistd.h: Undo change of feature selection for ftruncate from
78117         2010-01-11.
78119 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78121         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78122         detection.
78124 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78126         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78127         fanotify_mark.
78128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78130 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78132         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78133         variables after CHECK_SP call.
78134         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78136 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78137             Ulrich Drepper  <drepper@redhat.com>
78139         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78140         re-relocationg ld.so.
78141         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78142         _dl_init_paths call.
78143         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78144         here anymore.
78146 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78148         * resolv/res_init.c (__res_vinit): Count the default server we added.
78150 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78151             Ulrich Drepper  <drepper@redhat.com>
78153         [BZ #11968]
78154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78155         (____longjmp_chk): Use %ebx for saving value across system call.
78156         Add unwind info.
78158 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78160         * manual/Makefile: Don't mix pattern rules with normal rules.
78162 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78164         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78165         operation.
78166         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78167         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78168         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78169         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78170         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78171         Likewise.
78173 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78175         [BZ #11979]
78176         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78177         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78179 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78181         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78182         * sysdeps/x86_64/addmul_1.S: Likewise.
78183         * sysdeps/x86_64/lshift.S: Likewise.
78184         * sysdeps/x86_64/mul_1.S: Likewise.
78185         * sysdeps/x86_64/rshift.S: Likewise.
78186         * sysdeps/x86_64/sub_n.S: Likewise.
78187         * sysdeps/x86_64/submul_1.S: Likewise.
78189 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78191         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78192         Define __sched_param instead of SCHED_* and sched_param when
78193         <bits/sched.h> is included with __need_schedparam defined.
78194         * bits/sched.h [__need_schedparam]
78195         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78196         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78197         (__defined_schedparam): Define to 1.
78198         (__sched_param): New structure, identical to sched_param.
78199         (__need_schedparam): Undefine.
78201 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78203         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78204         (epoll_create1): Declare.
78206         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78208 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78210         [BZ #7066]
78211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78212         shifting retval into place.
78214 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78216         * nis/rpcsvc/nis.h: Update copyright notice.
78217         * nis/rpcsvc/nis.x: Likewise.
78218         * nis/rpcsvc/nis_callback.h: Likewise.
78219         * nis/rpcsvc/nis_callback.x: Likewise.
78220         * nis/rpcsvc/nis_object.x: Likewise.
78221         * nis/rpcsvc/nis_tags.h: Likewise.
78222         * nis/rpcsvc/yp.h: Likewise.
78223         * nis/rpcsvc/yp.x: Likewise.
78224         * nis/rpcsvc/ypupd.h: Likewise.
78225         * nis/yp_xdr.c: Likewise.
78226         * nis/ypupdate_xdr.c: Likewise.
78228         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78229         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78230         (pmap_getport): Use __libc_rpc_getport.
78231         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78232         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78233         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78235 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78238         fanotify_mark.
78240 2010-08-27  Roland McGrath  <roland@redhat.com>
78242         * sysdeps/i386/i686/multiarch/Makefile
78243         (CFLAGS-varshift.c): New variable.
78245 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78247         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78248         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78252         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78254 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78256         * sysdeps/x86_64/strlen.S: Unroll the loop.
78257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78258         strlen-sse2 strlen-sse2-bsf.
78259         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78260         __strlen_no_bsf if bit_Slow_BSF is set.
78261         (__strlen_sse42): Removed.
78262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78263         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78265 2010-08-25  Roland McGrath  <roland@redhat.com>
78267         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78268         * sysdeps/x86_64/multiarch/varshift.c: New file.
78269         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78270         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78271         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78272         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78274 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78277         strlen-sse2 strlen-sse2-bsf.
78278         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78279         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78280         (__strlen_sse2): Removed.
78281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78282         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78284         bit_Slow_BSF for Atom.
78285         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78286         (index_Slow_BSF): Define.
78287         (HAS_SLOW_BSF): Define.
78289 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78291         [BZ #10851]
78292         * resolv/res_init.c (__res_vinit): When no server address at all
78293         is given default to loopback.
78295 2010-08-24  Roland McGrath  <roland@redhat.com>
78297         * configure.in: Remove config-name.h generation.
78298         * configure: Regenerated.
78299         * config-name.in: File removed.
78300         * scripts/config-uname.sh: New file.
78301         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78302         ($(objdir)config-name.h): New target.
78304         * sunrpc/rpc_parse.h: Avoid nested comment.
78306 2010-08-24  Richard Henderson  <rth@redhat.com>
78307             Ulrich Drepper  <drepper@redhat.com>
78308             H.J. Lu  <hongjiu.lu@intel.com>
78310         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78312         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78313         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78314         _mm_alignr_epi8 with _mm_loadu_si128.
78315         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78316         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78317         (__m128i_shift_right): Removed.
78318         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78319         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78320         * sysdeps/x86_64/multiarch/varshift.h: New file.
78321         * sysdeps/x86_64/multiarch/varshift.S: New file.
78323 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78325         * configure.in: Move assembler checks to before sysdep dir checking.
78327 2010-08-20  Petr Baudis  <pasky@suse.cz>
78329         * LICENSES: Sync the sunrpc license.
78331 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78333         * sunrpc/auth_des.c: Update copyright notice once again.
78334         * sunrpc/auth_none.c: Likewise.
78335         * sunrpc/auth_unix.c: Likewise.
78336         * sunrpc/authdes_prot.c: Likewise.
78337         * sunrpc/authuxprot.c: Likewise.
78338         * sunrpc/bindrsvprt.c: Likewise.
78339         * sunrpc/clnt_gen.c: Likewise.
78340         * sunrpc/clnt_perr.c: Likewise.
78341         * sunrpc/clnt_raw.c: Likewise.
78342         * sunrpc/clnt_simp.c: Likewise.
78343         * sunrpc/clnt_tcp.c: Likewise.
78344         * sunrpc/clnt_udp.c: Likewise.
78345         * sunrpc/clnt_unix.c: Likewise.
78346         * sunrpc/des_crypt.c: Likewise.
78347         * sunrpc/des_soft.c: Likewise.
78348         * sunrpc/get_myaddr.c: Likewise.
78349         * sunrpc/getrpcport.c: Likewise.
78350         * sunrpc/key_call.c: Likewise.
78351         * sunrpc/key_prot.c: Likewise.
78352         * sunrpc/openchild.c: Likewise.
78353         * sunrpc/pm_getmaps.c: Likewise.
78354         * sunrpc/pm_getport.c: Likewise.
78355         * sunrpc/pmap_clnt.c: Likewise.
78356         * sunrpc/pmap_prot.c: Likewise.
78357         * sunrpc/pmap_prot2.c: Likewise.
78358         * sunrpc/pmap_rmt.c: Likewise.
78359         * sunrpc/rpc/auth.h: Likewise.
78360         * sunrpc/rpc/auth_unix.h: Likewise.
78361         * sunrpc/rpc/clnt.h: Likewise.
78362         * sunrpc/rpc/des_crypt.h: Likewise.
78363         * sunrpc/rpc/key_prot.h: Likewise.
78364         * sunrpc/rpc/netdb.h: Likewise.
78365         * sunrpc/rpc/pmap_clnt.h: Likewise.
78366         * sunrpc/rpc/pmap_prot.h: Likewise.
78367         * sunrpc/rpc/pmap_rmt.h: Likewise.
78368         * sunrpc/rpc/rpc.h: Likewise.
78369         * sunrpc/rpc/rpc_des.h: Likewise.
78370         * sunrpc/rpc/rpc_msg.h: Likewise.
78371         * sunrpc/rpc/svc.h: Likewise.
78372         * sunrpc/rpc/svc_auth.h: Likewise.
78373         * sunrpc/rpc/types.h: Likewise.
78374         * sunrpc/rpc/xdr.h: Likewise.
78375         * sunrpc/rpc_clntout.c: Likewise.
78376         * sunrpc/rpc_cmsg.c: Likewise.
78377         * sunrpc/rpc_common.c: Likewise.
78378         * sunrpc/rpc_cout.c: Likewise.
78379         * sunrpc/rpc_dtable.c: Likewise.
78380         * sunrpc/rpc_hout.c: Likewise.
78381         * sunrpc/rpc_main.c: Likewise.
78382         * sunrpc/rpc_parse.c: Likewise.
78383         * sunrpc/rpc_parse.h: Likewise.
78384         * sunrpc/rpc_prot.c: Likewise.
78385         * sunrpc/rpc_sample.c: Likewise.
78386         * sunrpc/rpc_scan.c: Likewise.
78387         * sunrpc/rpc_scan.h: Likewise.
78388         * sunrpc/rpc_svcout.c: Likewise.
78389         * sunrpc/rpc_tblout.c: Likewise.
78390         * sunrpc/rpc_util.c: Likewise.
78391         * sunrpc/rpc_util.h: Likewise.
78392         * sunrpc/rpcinfo.c: Likewise.
78393         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78394         * sunrpc/rpcsvc/key_prot.x: Likewise.
78395         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78396         * sunrpc/rpcsvc/mount.x: Likewise.
78397         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78398         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78399         * sunrpc/rpcsvc/rex.x: Likewise.
78400         * sunrpc/rpcsvc/rstat.x: Likewise.
78401         * sunrpc/rpcsvc/rusers.x: Likewise.
78402         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78403         * sunrpc/rpcsvc/spray.x: Likewise.
78404         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78405         * sunrpc/rtime.c: Likewise.
78406         * sunrpc/svc.c: Likewise.
78407         * sunrpc/svc_auth.c: Likewise.
78408         * sunrpc/svc_authux.c: Likewise.
78409         * sunrpc/svc_raw.c: Likewise.
78410         * sunrpc/svc_run.c: Likewise.
78411         * sunrpc/svc_simple.c: Likewise.
78412         * sunrpc/svc_tcp.c: Likewise.
78413         * sunrpc/svc_udp.c: Likewise.
78414         * sunrpc/svc_unix.c: Likewise.
78415         * sunrpc/svcauth_des.c: Likewise.
78416         * sunrpc/xcrypt.c: Likewise.
78417         * sunrpc/xdr.c: Likewise.
78418         * sunrpc/xdr_array.c: Likewise.
78419         * sunrpc/xdr_float.c: Likewise.
78420         * sunrpc/xdr_mem.c: Likewise.
78421         * sunrpc/xdr_rec.c: Likewise.
78422         * sunrpc/xdr_ref.c: Likewise.
78423         * sunrpc/xdr_sizeof.c: Likewise.
78424         * sunrpc/xdr_stdio.c: Likewise.
78426         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78427         handling.
78429 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78431         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78433 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78435         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78436         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78437         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78438         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78439         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78440         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78441         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78442         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78444         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78445         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78446         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78447         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78448         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78450 2010-07-26  Anton Blanchard  <anton@samba.org>
78452         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78453         * malloc/arena.c (heap_trim): Likewise.
78455 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78457         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78458         here.  Not...
78459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78460         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78462 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78464         * sysdeps/i386/elf/Makefile: New file.
78466 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78468         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78469         from fanotify_init.
78470         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78473 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78475         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78476         of strncasecmp_l.
78477         * sysdeps/multiarch/strcmp.S: Likewise.
78479 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78481         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78482         strncase_l-nonascii.
78483         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78484         Add strncase_l-ssse3.
78485         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78486         * sysdeps/x86_64/strcmp.S: Likewise.
78487         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78488         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78489         * sysdeps/x86_64/strncase.S: New file.
78490         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78491         * sysdeps/x86_64/strncase_l.S: New file.
78492         * string/Makefile (strop-tests): Add strncasecmp.
78493         * string/test-strncasecmp.c: New file.
78495         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78496         warning.
78498         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78499         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78501 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78503         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78505 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78507         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78508         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78509         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78511 2010-05-01  Alan Modra  <amodra@gmail.com>
78513         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78514         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78515         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78516         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78517         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78518         tidying.  Don't tail-call __sigjmp_save for static lib.
78519         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78520         save location.
78521         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78522         (CALL_MCOUNT): Add eh info, and nop after bl.
78523         (TAIL_CALL_SYSCALL_ERROR): New macro.
78524         (PSEUDO_RET): Use it.
78525         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78526         Correct save location of integer regs and cr.
78527         (_dl_profile_resolve): Correct cr save location.  Delete nops
78528         after bl when SHARED.  Reduce cfi size a little by better
78529         placement of cfi directives.
78530         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78531         make a stack frame.  Instead use parm save area as a temp.
78532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78533         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78535         Don't make a stack frame for parent, use parm save area.
78536         Increase child stack frame to 112 bytes.  Don't save unused reg,
78537         and adjust reg usage.  Set up cfi on error recovery and
78538         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78540         (__makecontext): Add dummy nop after jump to exit.
78541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78542         Use correct parm save area and cr save, reduce stack frame.
78543         Correct cfi for possible PSEUDO_RET frame setup.
78544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78545         Branch to local label emitted by PSEUDO_RET rather than
78546         __syscall_error.
78548 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78550         [BZ #11904]
78551         * locale/programs/locale.c (print_assignment): New function.
78552         (show_locale_vars): Use it.
78554 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78556         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78557         field.
78558         (struct statfs64): Likewise.
78559         (_STATFS_F_FLAGS): Define.
78560         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78561         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78562         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78563         (ST_VALID): Define locally.
78564         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78565         __statvfs_getflags, use the provided value.
78566         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78567         __ASSUME_STATFS_F_FLAGS.
78569         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78571         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78572         Add sys/fanotify.h.
78573         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78574         fanotify_mask for GLIBC_2.13.
78575         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78576         fanotify_init and fanotify_mark.
78577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78578         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78580         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78581         Add prlimit.
78582         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78583         prlimit64 for GLIBC_2.13.
78584         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78585         prlimit64.
78586         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78587         syscall.
78588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78589         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78590         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78591         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78593         add prlimit alias.
78594         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78596         [BZ #11903]
78597         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78598         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78600         * nss/Makefile: Add rules to build and run tst-nss-test1.
78601         * shlib-versions: Add entry for libnss_test1.
78602         * nss/nss_test1.c: New file.
78603         * nss/tst-nss-test1.c: New file.
78605         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78606         (__nss_configure_lookup): Set appropriate entry in
78607         __nss_configure_lookup to true.
78608         * nss/nsswitch.h: Define enum with indeces of databases in
78609         databases and __nss_database_custom arrays.  Declare
78610         __nss_database_custom.
78611         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78612         to avoid using nscd when custom rules are installed.
78613         * nss/getXXbyYY_r.c: Likewise.
78614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78616         * nss/nss_files/files-parse.c: Whitespace fixes.
78618 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78620         [BZ #11883]
78621         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78622         * posix/fnmatch_loop.c: Likewise.
78624 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78626         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78627         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78628         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78629         * Versions.def [GLIBC_2.13]: Add.
78631 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78633         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78634         Also fail if tpwd after pwuid call is NULL.
78636 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78638         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78639         when converting to ms.
78641 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78643         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78644         EOPNOTSUPP errors with ENOTTY.
78645         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78646         EOPNOTSUPP errors with ENOTTY.
78648 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78650         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78651         Add strcasecmp_l-ssse3.
78652         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78653         strcasecmp.
78654         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78655         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78656         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78658 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78660         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78662         * string/Makefile (strop-tests): Add strcasecmp.
78663         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78664         strcasecmp_l-nonascii.
78665         (gen-as-const-headers): Add locale-defines.sym.
78666         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78667         * sysdeps/x86_64/strcasecmp.S: New file.
78668         * sysdeps/x86_64/strcasecmp_l.S: New file.
78669         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78670         * sysdeps/x86_64/locale-defines.sym: New file.
78671         * string/test-strcasecmp.c: New file.
78673         * string/test-strcasestr.c: Test both ends of the range of characters.
78674         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78676 2010-07-29  Roland McGrath  <roland@redhat.com>
78678         [BZ #11856]
78679         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78681 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78683         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78684         for ld.so.
78686 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78688         * manual/memory.texi (Malloc Tunable Parameters): Document
78689         M_PERTURB.
78691 2010-07-26  Roland McGrath  <roland@redhat.com>
78693         [BZ #11840]
78694         * configure.in (-fgnu89-inline check): Set and substitute
78695         gnu89_inline, not libc_cv_gnu89_inline.
78696         * configure: Regenerated.
78697         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78699 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78701         * string/test-strnlen.c: New file.
78702         * string/Makefile (strop-tests): Add strnlen.
78703         * string/tester.c (test_strnlen): Add a few more test cases.
78704         * string/tst-strlen.c: Better error reporting.
78706         * sysdeps/x86_64/strnlen.S: New file.
78708 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78710         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78711         lower-latency instructions.
78713 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78715         * string/test-strcasestr.c: New file.
78716         * string/test-strstr.c: New file.
78717         * string/Makefile (strop-tests): Add strstr and strcasestr.
78718         * string/str-two-way.h: Don't undefine MAX.
78719         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78721 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78724         strcasestr-nonascii.
78725         (CFLAGS-strcasestr-nonascii.c): Define.
78726         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78728         Remove unused attribute.
78730 2010-07-20  Roland McGrath  <roland@redhat.com>
78732         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78733         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78734         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78735         like LD_HWCAP_MASK can disable hwcaps.
78737 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78739         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78741 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78743         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78744         call in strcasestr.
78745         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78746         __strcasestr_sse42_nonascii.
78747         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78748         strcasestr-nonascii.c.
78749         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78751 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78753         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78754         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78755         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78756         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78758 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78760         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78761         fcntl.
78763 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78765         [BZ #11577]
78766         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78767         dl_signal_cerror.
78769 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78771         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78772         _PC_PIPE_BUF using F_GETPIPE_SZ.
78774 2010-07-05  Roland McGrath  <roland@redhat.com>
78776         * manual/arith.texi (Rounding Functions): Fix rint description
78777         implicit in round description.
78779 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78781         * elf/Makefile: Fix linking for a few tests to make recent linker
78782         happy.
78784 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78786         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78787         $(common-objpfx)libc_nonshared.a.
78789 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78791         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78792         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78793         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78794         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78795         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78796         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78797         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78798         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78813         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78814         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78815         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78816         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78817         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78818         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78819         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78820         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78821         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78822         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78823         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78824         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78840 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78842         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78843         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78844         * string/memmove.c (memmove): Renamed to ...
78845         (MEMMOVE): ...this.  Default to memmove.
78846         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78847         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78848         (END_CHK): Define.
78849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78850         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78851         mempcpy-ssse3-back memmove-ssse3-back.
78852         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78853         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78854         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78855         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78856         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78857         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78858         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78859         * sysdeps/x86_64/multiarch/memmove.c: New file.
78860         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78861         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78862         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78863         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78864         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78865         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78866         Define.
78867         (index_Fast_Copy_Backward): Define.
78868         (HAS_ARCH_FEATURE): Define.
78869         (HAS_FAST_REP_STRING): Define.
78870         (HAS_FAST_COPY_BACKWARD): Define.
78872 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78874         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78875         Restore proper fallback handling.
78877 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78879         [BZ #11701]
78880         * posix/group_member.c (__group_member): Correct checking loop.
78882         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78883         OOM in getpwuid_r correctly.  Return error number when the caller
78884         should return, otherwise -1.
78885         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78886         call returning > 0 value.
78887         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78889 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78891         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78892         libc_nonshared.a from targets in modules-names.
78894 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78896         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78897         requires it.
78899 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78902         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78903         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78904         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78906 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78908         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78910 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78912         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78913         and F_GETPIPE_SZ.
78914         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78915         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78918         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78919         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78921 2010-06-14  Roland McGrath  <roland@redhat.com>
78923         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78925 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78927         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78928         __REDIRECT followed by __THROW.
78929         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78930         * posix/getopt.h (getopt): Likewise.
78932 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78934         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78935         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78936         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78937         in AT_FLAGS.
78938         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78939         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78941 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78943         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78945 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78947         [BZ #11640]
78948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78949         Properly check family and model.
78951 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78953         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78955 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78957         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78959 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78961         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78962         symbol reference.
78964 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78966         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78967         symbol reference.
78969 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78971         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78972         and internal_recvmmsg.
78973         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78974         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78975         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78976         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78978         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78979         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78980         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78982 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78984         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78986 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78988         POWER7 optimizations.
78989         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78990         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78992 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78994         * version.h: Update for 2.13 development version.
78996 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78998         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78999         exceptions.  Return 0.
79001 2010-05-07  Roland McGrath  <roland@redhat.com>
79003         * elf/ldconfig.c (main): Add a const.
79005 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79007         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79008         (args_options): Add no-idn option.
79009         (ahosts_keys_int): Add idn_flags to ai_flags.
79010         (parse_option): Handle 'i' option to clear idn_flags.
79012         * malloc/malloc.c (_int_free): Possible race in the most recently
79013         added check.  Only act on the data if no current modification
79014         happened.
79016 See ChangeLog.17 for earlier changes.