Use do_sin for sin(x) where 0.25 < |x| < 0.855469
[glibc.git] / ChangeLog
blob66bb46d05024a90bcaeef850d0056be7943ca209
1 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
5         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6         arguments.  Consolidate input partitioning from callers here.
7         (do_cos_slow): Likewise.
8         (do_sin): Likewise.
9         (do_sin_slow): Likewise.
10         (do_sincos_1): Remove the no longer necessary input partitioning.
11         (do_sincos_2): Likewise.
12         (__sin): Likewise.
13         (__cos): Likewise.
14         (slow1): Likewise.
15         (slow2): Likewise.
16         (sloww1): Likewise.
17         (sloww2): Likewise.
18         (bsloww1): Likewise.
19         (bsloww2): Likewise.
20         (cslow2): Likewise.
22 2016-09-02  Florian Weimer  <fweimer@redhat.com>
24         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
25         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
26         outside of allocated array.
28 2016-09-02  Florian Weimer  <fweimer@redhat.com>
30         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
31         instead of MB_CUR_MAX to avoid variable-length array.
33 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
35         * math/Makefile (libm-calls): Remove k_rem_pio2F.
36         (type-double-routines): Add k_rem_pio2.
37         (type-float-routines): Add k_rem_pio2f.
39         * sysdeps/generic/math_private.h:
40         (__kernel_rem_pio2l): Removed.
42         * math/k_rem_pio2l.c: Removed.
43         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
44         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
45         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
46         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
48 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
50         * math/Makefile (gen-libm-calls): Add s_fmin
51         (libm-calls): Remove above.
53         * math/s_fmin.c: Refactor into ...
54         * math/s_fmin_template.c: New file.
56         * math/s_fminf.c: Removed.
57         * math/s_fminl.c: Removed.
58         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
59         (LDOUBLE_fmin_libm_version): New macro.
61         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
62         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
64 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
66         * math/Makefile: (gen-libm-calls): Add s_fmax.
67         (libm-calls): Remove above.
69         * math/s_fmax.c: Refactor into ...
70         * math/s_fmax_template.c: New file.
71         * math/s_fmaxf.c: Removed.
72         * math/s_fmaxl.c: Removed.
74         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
75         (LDOUBLE_fmaxl_libm_version): New macro.
77         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
78         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
80         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
81         s_fmin.c to pick the aarch64 version of the file.
82         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
83         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
85 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
87         * math/Makefile: (gen-libm-calls): Add s_nextdown.
88         (libm-calls): Remove above.
90         * math/s_nextdown.c: Refactor into ...
91         * math/s_nextdown_template.c: New file.
92         * math/s_nextdownf.c: Removed.
93         * math/s_nextdownl.c: Removed.
95         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
97 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
99         * math/Makefile (gen-libm-calls): Add s_fdim.
100         (libm-calls): Move to above.
102         * math/s_fdim.c: Renamed and refactored into to ...
103         * math/s_fdim_template.c: New file.
104         * math/s_fdiml.c: Removed.
105         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
106         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
108         * sysdeps/generic/math-type-macros-double.h:
109         (declare_mgen_alias): Don't declare if already declared.
110         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
111         Likewise.
113         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
114         (declare_mgen_alias): Don't declare if already declared.
115         (M_LIBM_NEED_COMPAT): Likewise.
116         (declare_mgen_libm_compat): Likewise.
117         (LDOUBLE_fdiml_libm_version): New macro.
119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
120         Include math/s_fdim.c now that ldbl-opt version is not needed.
121         (declare_mgen_alias): New macro to disable aliasing.
123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
124         (declare_mgen_alias): Likewise.
125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
126         (declare_mgen_alias): Likewise.
127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
128         (declare_mgen_alias): Likewise.
129         (M_LIBM_NEED_COMPAT): Likewise.
131 2016-09-01  Florian Weimer  <fweimer@redhat.com>
133         [BZ #20525]
134         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
135         Include <linux/quota.h>.
136         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
137         and btodb.
138         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
139         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
140         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
141         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
142         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
143         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
144         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
145         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
146         types.
147         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
148         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
150 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
152         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
153         (gammal_positive): Fix spacing.
154         (__ieee754_gammal_r): Likewise.
156 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
158         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
159         (_Float128): Define as long double, always.
160         (L): Apply long double type suffix, always.
162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
163         _Float128, excepting comments.
165         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
166         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
167         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
168         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
169         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
170         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
171         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
172         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
173         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
174         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
175         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
176         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
177         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
179         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
180         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
181         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
182         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
183         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
184         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
185         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
186         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
187         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
188         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
189         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
190         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
191         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
192         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
193         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
194         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
195         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
196         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
197         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
198         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
200         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
201         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
202         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
203         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
204         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
205         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
206         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
207         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
208         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
211         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
212         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
213         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
214         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
215         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
216         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
217         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
218         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
219         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
220         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
221         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
222         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
223         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
224         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
225         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
226         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
227         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
228         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
229         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
230         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
231         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
232         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
234         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
235         _Float128, and include math_private.h.
236         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
239         long double semantics.
240         (_Float128): Likewise.
241         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
242         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
243         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
244         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
246 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
248         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
249         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
250         * sysdeps/s390/configure: Regenerated.
251         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
252         instruction for raising over-/underflow if z196 zarch is supported
253         by default.
254         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
256 2016-08-30  Svante Signell  <svante.signell@gmail.com>
258         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
259         it point to a dumb buffer for RPC to fill it.
261 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
263         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
264         instead of if/else.
265         (do_sin_slow): Likewise.
266         (do_sincos_1): Use fabs instead of if/else.
267         (do_sincos_2): Likewise.
268         (__sin): Likewise.
269         (__cos): Likewise.
270         (slow2): Likewise.
271         (sloww): Likewise.
272         (sloww1): Likewise.  Drop argument M.
273         (sloww2): Use fabs instead of if/else.
274         (bsloww): Likewise.
275         (bsloww1): Likewise.
276         (bsloww2): Likewise.
278         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
279         fall through comment.
280         (do_sincos_1): Likewise.
282         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
283         Consolidate switch cases 0 and 2.
285 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
287         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
288         (libm-calls): Remove the above.
290         * math/s_cexp_template.c: Update using type-generic macros.
291         * math/s_clog10_template.c: Likewise.
292         * math/s_cpow_template.c: Likewise.
293         * math/s_clog_template.c: Likewise.
294         * math/s_cproj_template.c: Likewise.
295         * math/s_csqrt_template.c: Likewise.
297         * math/s_cexp.c: Removed.
298         * math/s_cexpf.c: Removed.
299         * math/s_cexpl.c: Removed.
300         * math/s_clog10.c: Removed.
301         * math/s_clog10f.c: Removed.
302         * math/s_clog10l.c: Removed.
303         * math/s_cpow.c: Removed.
304         * math/s_cpowf.c: Removed.
305         * math/s_cpowl.c: Removed.
306         * math/s_clog.c: Removed.
307         * math/s_clogf.c: Removed.
308         * math/s_clogl.c: Removed.
309         * math/s_cproj.c: Removed.
310         * math/s_cprojf.c: Removed.
311         * math/s_cprojl.c: Removed.
312         * math/s_csqrt.c: Removed.
313         * math/s_csqrtf.c: Removed.
314         * math/s_csqrtl.c: Removed.
316         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
317         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
318         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
319         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
320         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
321         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
323         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
324         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
325         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
326         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
327         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
328         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
329         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
330         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
331         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
332         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
333         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
335         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
336         version.
338         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
339         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
340         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
341         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
343 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
345         * s_cexp_template.c: Copy of s_cexp.c.
346         * s_clog_template.c: Copy of s_clog.c.
347         * s_clog10_template.c: Copy of s_clog10.c.
348         * s_cpow_template.c: Copy of s_cpow.c.
349         * s_cproj_template.c: Copy of s_cproj.c.
350         * s_csqrt_template.c: Copy of s_csqrt.c.
352 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
354         [BZ #20517]
355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
356         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
357         exported.
359 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
361         * math/fetestexceptflag.c: New file.
362         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
363         Stefan Liebler.
364         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
365         (fetestexceptflag): New function declaration.
366         * manual/arith.texi (fetestexceptflag): Document function.
367         * math/Versions (fetestexceptflag): New libm symbol at version
368         GLIBC_2.25.
369         * math/Makefile (libm-support): Add fetestexceptflag.
370         (tests): Add test-fetestexceptflag.
371         * math/test-fetestexceptflag.c: New file.
372         * sysdeps/nacl/libm.abilist: Update.
373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
386         Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
388         Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
390         Likewise.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
392         Likewise.
393         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
399         Likewise.
400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
401         Likewise.
402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
406 2016-08-26  Florian Weimer  <fweimer@redhat.com>
408         [BZ #20432]
409         Avoid strong references to malloc-internal symbols when linking
410         statically, to support statically interposed mallocs.
411         * include/libc-symbols.h (call_function_static_weak): New macro.
412         * malloc/Makefile (tests): Add tst-interpose-nothread,
413         tst-interpose-thread, tst-interpose-static-nothread,
414         tst-interpose-static-thread.
415         (tests-static): Add tst-interpose-static-nothread,
416         tst-interpose-static-thread.
417         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
418         tst-interpose-aux-thread.o.
419         (test-extras): Add tst-interpose-aux-nothread,
420         tst-interpose-aux-thread.
421         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
422         tst-interpose-aux-nothread.o.
423         (tst-interpose-thread, tst-interpose-static-thread): Link with
424         tst-interpose-aux-thread.o and libthread.
425         * malloc/tst-interpose-aux-nothread.c: New file.
426         * malloc/tst-interpose-aux-thread.c: Likewise.
427         * malloc/tst-interpose-aux.c: Likewise.
428         * malloc/tst-interpose-aux.h: Likewise.
429         * malloc/tst-interpose-nothread.c: Likewise.
430         * malloc/tst-interpose-skeleton.c: Likewise.
431         * malloc/tst-interpose-static-nothread.c: Likewise.
432         * malloc/tst-interpose-static-thread.c: Likewise.
433         * malloc/tst-interpose-thread.c: Likewise.
434         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
435         * sysdeps/mach/hurd/fork.c (__fork): Only call
436         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
437         __malloc_fork_unlock_child if defined.
438         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
440 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
442         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
443         timespec C99 designated initialization.
445 2016-08-26  Florian Weimer  <fweimer@redhat.com>
447         [BZ #19946]
448         Avoid expected SIGALRM signals.
449         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
450         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
451         (xpthread_create, xpthread_detach, xpthread_join)
452         (delayed_exit_thread, delayed_exit): New functions.
453         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
454         (tf): Use xpthread_cond_wait.
455         (do_test): Likewise.  Replace alarm with delayed_exit.
456         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
457         (do_test): Call delayed_exit.  Report failure.
458         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
459         (do_test): Call delayed_exit.
460         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
461         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
462         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
463         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
464         error.
465         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
466         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
467         error.
468         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
469         (do_test): Call delayed_exit.
470         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
471         (do_test): Call delayed_exit.
472         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
473         (do_test): Call delayed_exit instead of alarm.  Use
474         xpthread_mutex_lock.
475         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
476         (do_test): Call delayed_exit instead of alarm.  Use
477         xpthread_mutex_lock.
478         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
479         (do_test): Call delayed_exit instead of alarm.
480         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
481         (do_test): Call delayed_exit instead of alarm.  Use
482         xpthread_spin_lock.
483         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
484         (do_test): Call delayed_exit instead of alarm.  Use
485         xpthread_join.
487 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
489         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
490         adjust CFA when allocating register save area on re-aligned
491         stack.
493 2016-08-26  Florian Weimer  <fweimer@redhat.com>
495         * string/tst-cmp.c: New test.
496         * string/Makefile (tests): Add it.
498 2016-08-25  Mark Wielaard  <mark@klomp.org>
500         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
501         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
502         (check_tree_recurse): Use newly defined accessors.
503         (check_tree): Likewise.
504         (maybe_split_for_insert): Likewise.
505         (__tfind): Likewise.
506         (__tdelete): Likewise.
507         (trecurse): Likewise.
508         (tdestroy_recurse): Likewise.
509         (__tsearch): Likewise. And add asserts for malloc alignment.
510         (__twalk): Cast root to node in case CHECK_TREE is defined.
512 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
514         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
516 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
518         * math/Makefile (libm-gen-calls): Add
519         catan, catanh, ctan, ctanh.
520         (libm-calls): Remove the above.
522         * math/s_catan_template.c: Update using type-generic macros.
523         * math/s_catanh_template.c: Likewise.
524         * math/s_ctan_template.c: Likewise.
525         * math/s_ctanh_template.c: Likewise.
527         * math/s_catanf.c: Removed.
528         * math/s_catan.c: Removed.
529         * math/s_catanl.c: Removed.
530         * math/s_catanhf.c: Removed.
531         * math/s_catanh.c: Removed.
532         * math/s_catanhl.c: Removed.
533         * math/s_ctanf.c: Removed.
534         * math/s_ctan.c: Removed.
535         * math/s_ctanl.c: Removed.
536         * math/s_ctanhf.c: Removed.
537         * math/s_ctanh.c: Removed.
538         * math/s_ctanhl.c: Removed.
540         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
541         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
542         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
543         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
544         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
545         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
547         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
548         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
549         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
550         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
552 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
554         * s_catan_template.c: Copy of s_catan.c.
555         * s_catanh_template.c: Copy of s_catanh.c.
556         * s_ctan_template.c: Copy of s_ctan.c.
557         * s_ctanh_template.c: Copy of s_ctanh.c.
559 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
561         * math/Makefile (gen-libm-calls): Move
562         casin, casinh, csin, csinh here.
563         (libm-calls): Remove the above.
565         * math/s_casin_template.c: Update using type-generic macros.
566         * math/s_casinh_template.c: Likewise.
567         * math/s_csin_template.c: Likewise.
568         * math/s_csinh_template.c: Likewise.
569         * math/k_casinh_template.c: Likewise.
571         * math/s_casinf.c: Removed.
572         * math/s_casin.c: Removed.
573         * math/s_casinl.c: Removed.
574         * math/s_casinh.c: Removed.
575         * math/s_casinhf.c: Removed.
576         * math/s_casinhl.c: Removed.
577         * math/s_csin.c: Removed.
578         * math/s_csinf.c: Removed.
579         * math/s_csinl.c: Removed.
580         * math/s_csinh.c: Removed.
581         * math/s_csinhf.c: Removed.
582         * math/s_csinhl.c: Removed.
583         * math/k_casinh.c: Removed.
584         * math/k_casinhf.c: Removed.
585         * math/k_casinhl.c: Removed.
587         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
588         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
589         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
590         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
592         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
593         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
594         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
595         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
596         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
597         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
598         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
599         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
601         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
602         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
603         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
604         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
606         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
607         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
608         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
609         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
611 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
613         * s_casin_template.c: Copy of s_casin.c.
614         * s_casinh_template.c: Copy of s_casinh.c.
615         * s_csin_template.c: Copy of s_csin.c.
616         * s_csinh_template.c: Copy of s_csinh.c.
617         * k_casinh_template.c: Copy of k_casinh.c.
619 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
621         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
623 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
625         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
626         (mul_split) Remove, rename as mul_splitl, remove
627         redundant float.h include, and include via mul_splitl.h
629         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
630         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
631         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
632         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
633         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
635         * math/mul_splitl.h: New file.
637         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
638         Move into mul_split.h, and remove redundant float.h include.
640         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
641         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
642         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
643         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
645         * math/mul_split.h: New file.
647 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
649         * math/Makefile (libm-gen-calls): Move
650         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
651         (libm-calls): Remove above.
653         * math/s_cacos_template.c: Update using type-generic macros.
654         * math/s_cacosh_template.c: Likewise.
655         * math/s_ccos_template.c: Likewise.
656         * math/s_ccosh_template.c: Likwise.
658         * math/s_cacosf.c: Removed.
659         * math/s_cacos.c: Removed.
660         * math/s_cacosl.c: Removed.
661         * math/s_cacoshf.c: Removed.
662         * math/s_cacosh.c: Removed.
663         * math/s_cacoshl.c: Removed.
664         * math/s_ccosf.c: Removed.
665         * math/s_ccos.c: Removed.
666         * math/s_ccosl.c: Removed.
667         * math/s_ccoshf.c: Removed.
668         * math/s_ccosh.c: Removed.
669         * math/s_ccoshl.c: Removed.
671         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
672         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
673         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
674         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
675         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
676         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
678         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
679         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
680         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
681         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
683         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
684         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
685         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
686         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
688 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
690         * s_cacos_template.c: Copy of s_cacos.c.
691         * s_cacosh_template.c: Copy of s_cacosh.c.
692         * s_ccos_template.c: Copy of s_ccos.c.
693         * s_ccosh_template.c: Copy of s_ccosh.c.
695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
697         * stdlib/tst-strtod-round-skeleton.c:
698         Refactored from tst-strtod-round.c.
700         (L_): New macro to apply literal modifier.
701         (FNPFX): New macro to select str or wcs prefix.
702         (CHAR): New macro to choose wchar_t or char.
703         (STRM): New macro to choose printf for tested character type.
705         (STRTO): New macro to choose appropriate string -> real function.
706         (FNPFXS): Stringitized version of FNPFX.
707         (STR): Support for above macro.
708         (STRX): Likewise.
710         (TEST): Update with above macros.
711         (test): Likewise.
712         (GEN_ONE_TEST): Likewise.
713         (test_in_one_mode): Likewise.
715         * stdlib/tst-strtod-round.c: New file.
716         * wcsmbs/tst-wcstod-round.c: New file.
718         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
719         (tst-wcstod-round): Add libm depencency for fesetround.
721 2016-08-19  Zack Weinberg  <zackw@panix.com>
723         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
725 2016-08-18  Torvald Riegel  <triegel@redhat.com>
727         [BZ #20477]
728         * resolv/res_hconf.c (do_init): Use atomic access.
729         * resolv/res_hconf.h: Add comments.
730         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
731         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
734 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
736         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
737         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
739         Likewise.
741 2016-08-18  Florian Weimer  <fweimer@redhat.com>
743         [BZ #16907]
744         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
745         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
746         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
747         (__attribute__): Remove definition.
749 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
751         * sysdeps/ieee754/ldbl-128/e_asinl.c:
752         Remove unused sqrtl declaration.
754 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
756         * math/Makefile: (gen-libm-templates.stmp): New rule.
757         (libm-calls): Move carg conj cimag and cabs into ...
758         (gen-libm-calls): New variable.
759         (generated): Inform Make objects from gen-libm-calls
760         may be generated.
762         * sysdeps/generic/math-type-macros.h: New file.
763         * sysdeps/generic/math-type-macros-float.h: Likewise.
764         * sysdeps/generic/math-type-macros-double.h: Likewise.
765         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
766         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
767         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
769         * math/cabs.c: Refactor into
770         * math/cabs_template.c: new file.
771         * math/cabsf.c: Removed.
772         * math/cabsl.c: Removed.
773         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
774         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
776         * math/carg.c: Refactor into
777         * math/carg_template.c: new file.
778         * math/cargf.c: Removed.
779         * math/cargl.c: Removed.
780         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
781         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
783         * math/conj.c: Refactor into
784         * math/conj_template.c: new file.
785         * math/conjf.c: Removed.
786         * math/conjl.c: Removed.
787         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
788         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
790         * math/cimag.c: Refactor into
791         * math/cimag_template.c: new file.
792         * math/cimagf.c: Removed.
793         * math/cimagl.c: Removed.
794         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
795         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
797         * math/cimag.c: Refactor into
798         * math/cimag_template.c: new file.
799         * math/cimagf.c: Removed.
800         * math/cimagl.c: Removed.
801         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
802         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
804 2016-08-17  Florian Weimer  <fweimer@redhat.com>
806         Reduce time to expected nptl/tst-once5 failure.
807         * nptl/tst-once5.cc (TIMEOUT): Define.
809 2016-08-17  Florian Weimer  <fweimer@redhat.com>
811         [BZ #20452]
812         Avoid additional copies of objects in libc.a in static libraries.
813         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
814         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
815         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
816         rt-sysdep.
817         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
818         Add nptl-sysdep.
819         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
820         Add ptw-sysdep.
821         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
822         rt-sysdep.
823         * sysdeps/unix/sysv/linux/alpha/Makefile
824         (libpthread-shared-only-routines): Add ptw-sysdep,
825         ptw-sigprocmask, ptw-rt_sigaction.
826         * sysdeps/unix/sysv/linux/ia64/Makefile
827         (librt-shared-only-routines): Add rt-sysdep.
828         * sysdeps/unix/sysv/linux/i386/Makefile
829         (libpthread-shared-only-routines): Add libc-do-syscall.
830         * sysdeps/unix/sysv/linux/microblaze/Makefile
831         (libpthread-shared-only-routines): Add sysdep.
832         * sysdeps/unix/sysv/linux/powerpc/Makefile
833         (librt-shared-only-routines): Add rt-sysdep.
834         (libpthread-shared-only-routines): Add sysdep.
835         * sysdeps/unix/sysv/linux/s390/Makefile
836         (librt-shared-only-routines): Add rt-sysdep.
837         * sysdeps/unix/sysv/linux/sparc/Makefile
838         (librt-shared-only-routines): Add rt-sysdep.
839         (libpthread-shared-only-routines): Add sysdep.
840         * sysdeps/unix/sysv/linux/tile/Makefile
841         (libpthread-shared-only-routines): Likewise.
843 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
845         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
846         Mask implicit bit out of unpacked value.
847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
851         * sysdeps/sparc/fpu/fesetexcept.c: New file.
853         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
855         * sysdeps/s390/fpu/fesetexcept.c: New file.
857         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
858         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
859         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
861         * sysdeps/mips/fpu/fesetexcept.c: New file.
863         * sysdeps/m68k/fpu/fesetexcept.c: New file.
865         * sysdeps/ia64/fpu/fesetexcept.c: New file.
867         * sysdeps/hppa/fpu/fesetexcept.c: New file.
869         * sysdeps/arm/fesetexcept.c: New file.
871         * sysdeps/alpha/fpu/fesetexcept.c: New file.
873         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
875         * math/fesetexcept.c: New file.
876         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
877         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
878         * math/fenv.h: Define
879         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
880         <bits/libc-header-start.h> instead of including <features.h>.
881         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
882         declaration.
883         * manual/arith.texi (fesetexcept): Document function.
884         * math/Versions (fesetexcept): New libm symbol at version
885         GLIBC_2.25.
886         * math/Makefile (libm-support): Add fesetexcept.
887         (tests): Add test-fesetexcept and test-fesetexcept-traps.
888         * math/test-fesetexcept.c: New file.
889         * math/test-fesetexcept-traps.c: Likewise.
890         * sysdeps/nacl/libm.abilist: Update.
891         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
892         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
893         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
895         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
897         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
898         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
899         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
900         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
901         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
904         Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
906         Likewise.
907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
908         Likewise.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
910         Likewise.
911         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
915         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
917         Likewise.
918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
919         Likewise.
920         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
924 2016-08-16  Florian Weimer  <fweimer@redhat.com>
926         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
927         New.
928         (do_test): Apply default_stack_size_in_mb if not set.
929         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
931 2016-08-15  Andreas Schwab  <schwab@suse.de>
933         [BZ #20435]
934         CVE-2016-6323
935         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
936         as .cantunwind.
938 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
940         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
941         comment from fraiseexcpt.c.
943         * math/test-fexcept.c (feraiseexcept_exact): New function.
944         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
945         (test_except): Likewise.
947 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
949         [BZ #20455]
950         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
951         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
952         to be restored.
954         * math/test-fexcept-traps.c: New file.
955         * math/test-fexcept.c: Likewise.
956         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
957         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
958         macro.
959         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
960         (EXCEPTION_SET_FORCES_TRAP): Likewise.
962 2016-08-09  Torvald Riegel  <triegel@redhat.com>
964         * include/atomic.h (atomic_fetch_and_relaxed,
965         atomic_fetch_and_release, atomic_fetch_or_release,
966         atomic_fetch_xor_release): New.
968 2016-08-06  Christian Seiler  <christian@iwakd.de>
970         [BZ #20444]
971         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
972         MACH_PORT_NULL.
974 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
976         * math/s_fdim.c: Avoid alias renamed.
977         * math/s_fdimf.c: Likewise.
978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
979         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
980         Add s_fdimf-vis3, s_fdim-vis3.
981         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
982         (CFLAGS-s_fdim-vis3.c): Likewise.
983         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
984         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
986 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
989         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
990         Remove s_fdimf-vis3, s_fdim-vis3.
991         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
992         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
999         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1000         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1002 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1004         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1005         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1006         -Wa,-Av9a -mvis.
1008 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1010         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1011         LIT() to individual constants in simple expressions
1012         after splitting on spaces.
1013         (_apply_lit): Rename replaced version, and use it to
1014         apply to what appears to be a token.
1016         * math/libm-test.inc: Fix many, many issues with
1017         spacing.
1019 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1021         * math/math.h: Move comment about <bits/mathdef.h> definitions
1022         above inclusion of <bits/mathdef.h>.  Do not mention
1023         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1025 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1027         * include/atomic.h (atomic_exchange_relaxed): New.
1029 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1031         * math/e_scalb.c: Do not include <fenv.h>.
1032         (invalid_fn): Do calculation resulting in NaN instead of raising
1033         FE_INVALID and returning a NaN explicitly.
1034         * math/e_scalbf.c: Do not include <fenv.h>.
1035         (invalid_fn): Do calculation resulting in NaN instead of raising
1036         FE_INVALID and returning a NaN explicitly.
1037         * math/e_scalbl.c: Do not include <fenv.h>.
1038         (invalid_fn): Do calculation resulting in NaN instead of raising
1039         FE_INVALID and returning a NaN explicitly.
1041 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1043         * po/de.po: Updated from Translation Project.
1044         * po/fi.po: Likewise.
1045         * po/sv.po: Likewise.
1047 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1049         [BZ #20452]
1050         Use sysdep.o from libc.a in static libraries.
1051         * sysdeps/unix/sysv/linux/i386/Makefile
1052         (libpthread-shared-only-routines): Add sysdep.
1053         (librt-shared-only-routines): Likewise.
1055 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1057         * math/tgmath.h (nextdown): Define if
1058         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1059         (nextup): Likewise.
1061         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1062         macro.
1063         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1064         Document.
1065         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1066         Document macro.
1067         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1068         (exp10f): Likewise.
1069         (exp10l): Likewise.
1070         * math/bits/mathcalls.h (exp10): Declare if
1071         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1073         * manual/arith.texi (nextup): Fix typo in last change.
1075 2016-08-03  Zack Weinberg  <zackw@panix.com>
1077         [BZ #19239]
1078         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1079         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1080         define major, minor, and makedev to issue deprecation warnings on use.
1081         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1082         previously-activated deprecation warnings for these macros and prevent
1083         subsequent inclusions of this header from having any effect.
1084         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1085         including <sys/sysmacros.h>, and undefine it again afterward.
1087 2016-08-03  Zack Weinberg  <zackw@panix.com>
1089         * sysdeps/generic/sys/sysmacros.h: Delete file.
1090         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1091         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1092         * bits/sysmacros.h: ... here; this encoding is now the generic
1093         encoding.  Now defines only the following macros:
1094         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1095         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1096         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1098         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1099         bits/sysmacros.h and the above new macros to generate the
1100         public implementations of major, minor, and makedev.
1101         * misc/tst-makedev.c: New test.
1102         * include/sys/sysmacros.h: New wrapper.
1104         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1105         (routines): Add makedev.
1106         (tests): Add tst-makedev.
1107         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1108         gnu_dev_makedev.
1109         * posix/Makefile (headers): Remove sys/sysmacros.h.
1110         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1112         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1113         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1114         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1115         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1116         * sysdeps/unix/sysv/linux/arm/libc.abilist
1117         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1118         * sysdeps/unix/sysv/linux/i386/libc.abilist
1119         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1120         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1121         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1122         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1123         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1124         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1125         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1126         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1127         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1132         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1133         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1134         * sysdeps/unix/sysv/linux/sh/libc.abilist
1135         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1139         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1142         Add GLIBC_2.25.
1144         * include/features.h (__glibc_clang_prereq): New macro.
1145         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1146         (__attribute_deprecated_msg__): New macros.
1148 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1150         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1151         macro.
1152         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1153         * manual/arith.texi (issignaling): Document as ISO from TS
1154         18661-1:2014.
1155         (nextup): Likewise.
1156         (nextupf): Likewise.
1157         (nextupl): Likewise.
1158         (nextdown): Likewise.
1159         (nextdownf): Likewise.
1160         (nextdownl): Likewise.
1161         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1162         macro.
1163         * math/math.h: Define
1164         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1165         <bits/libc-header-start.h> instead of including <features.h>.
1166         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1167         [__USE_GNU].
1168         * math/bits/mathcalls.h (nextdown): Declare if
1169         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1170         (nextup): Likewise.
1171         (__issignaling): Likewise.
1173 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1175         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1176         check, and remove __glibc_likely hint
1177         from FP_INFINITE check.
1178         * s_csinhf.c (__csinhf): Likewise.
1180         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1181         hint from FP_INFINITE check.
1182         * s_csinhl.c (__csinhl): Likewise.
1184 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1186         * math/Makefile (libm-calls): Insert F placeholder into
1187         object names.  Move w_lgamma_compat* routines into
1188         (libm-compat-calls): New variable.
1189         (libm-compat-calls-ldouble-yes): New variable.
1190         (calls): Insert F placeholder.
1191         (generated): Redefine using new type-foreach macro call.
1192         (routines): Likewise.
1194         (types): New variable to hold a list of symbolic names
1195         for each type supported by the target machine.
1196         (libm-routines): Redefine using new types variable.
1197         (type-foreach): macro to replace fooF with the
1198         appropriately suffixed foo for each types.
1200         (type-ldouble-suffix): New variable.
1201         (type-ldouble-routines): Likewise.
1202         (type-ldouble-yes): Likewise.
1203         (type-double-suffix): Likewise.
1204         (type-double-routines): Likewise.
1205         (type-float-suffix): Likewise.
1206         (type-float-routines): Likewise.
1208         (dbl-only-routines): Remove.
1209         (long-c-yes): Likewise.
1210         (long-m-routines): Likewise.
1211         (long-m-support): Likewise.
1212         (long-m-yes): Likewise.
1213         (test-longdouble-yes): Likewise.
1215         (test-float.o): Simplify by increasing the scope of the
1216         recipe which adds libm-test.stmp to the vector types.
1217         (test-ifloat.o): Likewise.
1218         (test-float-finite.o): Likewise.
1219         (test-double.o): Likewise
1220         (test-idouble.o): Likewise.
1221         (test-double-finite.o): Likewise.
1222         (test-ldouble.o): Likewise
1223         (test-ildoubl.o): Likewise.
1224         (test-ldouble-finite.o): Likewise.
1226         (libm-tests): Redefine type tests using foreach and the
1227         list of types in types.
1229         (CPPFLAGS-test-ildoubl.c): Rename to
1230         (CPPFLAGS-test-ildouble.c): New variable
1232         * math/test-ildoubl.c: Rename to
1233         * math/test-ildouble.c: New file.
1235 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1237         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1238         Use fabsl instead of fabs.
1239         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1240         Likewise.
1241         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1242         Add long double suffix to constant to ensure proper
1243         promotion to long double.
1245 2016-08-03  Tom Tromey  <tom@tromey.com>
1247         [BZ #20311]
1248         * nptl_db/Makefile (headers): Add proc_service.h.
1249         * nptl_db/proc_service.h: Add include guard.  Use
1250         __BEGIN/__END_DECLS.
1251         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1252         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1253         arguments.
1256 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1258         [BZ #17730]
1259         Avoid using memalign for TCB allocations.
1260         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1261         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1262         Avoid alignment gap in the TLS_DTV_AT_TP case.
1263         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1264         determine the pointer to free.
1265         * nptl/tst-tls3-malloc.c: New test.
1266         * nptl/Makefile (tests): Add it.
1267         (tst-tls3-malloc): Link with libdl, libpthread.
1268         (LDFLAGS-tst-tls3-malloc): Set.
1269         (tst-tls3-malloc.out): Depend on DSO used in test.
1271 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1273         [BZ #17730]
1274         Avoid using memalign for TLS allocations.
1275         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1276         is_static member with to_free member.
1277         (union dtv): Use struct dtv_pointer.
1278         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1279         dtv_pointer instead of is_static.
1280         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1281         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1282         instead of val.
1283         (allocate_dtv_entry): New function.
1284         (allocate_and_init): Return struct dtv_pointer.  Call
1285         allocate_dtv_entry instead of __libc_memalign.
1286         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1287         instead of val.
1288         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1289         instead of is_static.  Adjust call to allocate_and_init.
1290         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1291         struct dtv_pointer instead of val.
1293 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1295         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1296         (MALLOC_ALIGN_MASK): Move ...
1297         * malloc/malloc-internal.h: ... to here.
1298         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1300 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1302         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1303         (UDP_ENCAP_GTP1U): Likewise.
1305         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1306         (PF_MAX): Update value.
1307         (AF_QIPCRTR): New macro.
1309 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1311         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1312         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1313         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1315         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1316         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1317         s_truncf-vis3, s_trunc-vis3.
1318         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1319         (CFLAGS-s_ceil-vis3.c): Likewise.
1320         (CFLAGS-s_floorf-vis3.c): Likewise.
1321         (CFLAGS-s_floor-vis3.c): Likewise.
1322         (CFLAGS-s_truncf-vis3.c): Likewise.
1323         (CFLAGS-s_trunc-vis3.c): Likewise.
1324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1332         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1333         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1334         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1335         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1337 2016-08-02  David S. Miller  <davem@davemloft.net>
1339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1340         (__nearbyint_vis3): Don't check for sNaN before float register is
1341         loaded with the incoming argument.
1342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1343         (__nearbyintf_vis3): Likewise.
1344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1345         Likewise.
1346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1347         Likewise.
1349         * string/test-strncmp.c (do_test_limit): Make sure the test data
1350         stream is aligned as required for the type "CHAR".
1351         (do_test): Likewise.
1353 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1355         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1356         by beq instructions jumping to the end of the function.
1357         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1358         clobber list. Use "i" constraint instead of "X".
1359         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1360         of "X".
1362 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1364         * bits/libc-header-start.h: New file.
1365         * Makefile (headers): Add bits/libc-header-start.h.
1366         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1367         (__GLIBC_USE): New macro.
1368         * libio/stdio.h: Define
1369         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1370         <bits/libc-header-start.h> instead of including <features.h>.
1371         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1372         (open_memstream): Likewise.
1373         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1374         (__asprintf): Likewise.
1375         (asprintf): Likewise.
1376         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1377         (getdelim): Likewise.
1378         (getline): Likewise.
1379         * string/string.h: Define
1380         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1381         <bits/libc-header-start.h> instead of including <features.h>.
1382         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1383         (strndup): Likewise.
1384         * wcsmbs/wchar.h: Define
1385         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1386         <bits/libc-header-start.h> instead of including <features.h>.
1387         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1388         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1390 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1392         Support linking against compatibility symbols, for use in tests.
1393         * include/libc-symbols.h (symbol_version_reference): New macro.
1394         (symbol_version): Use it.
1395         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1396         (compat_symbol): Use compat_symbol_reference.
1397         (compat_symbol_1, compat_symbol_2): Remove.
1398         (compat_symbol_reference, compat_symbol_reference_1)
1399         (compat_symbol_reference_2): New macro.  Use
1400         symbol_version_reference.
1402 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1404         [BZ #19469]
1405         * malloc/Makefile (CPPFLAGS): Compile tests with
1406         -DTEST_NO_MALLOPT.
1407         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1409 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1411         [BZ #20033]
1412         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1413         finite version.
1414         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1416         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1417         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1418         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1419         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1420         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1421         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1424         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1425         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1426         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1427         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1429         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1430         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1431         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1432         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1433         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1434         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1435         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1436         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1437         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1438         in zero power.
1440 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1442         [BZ #20370]
1443         * malloc/arena.c (get_free_list): Update comment.  Assert that
1444         arenas on the free list have no attached threads.
1445         (remove_from_free_list): New function.
1446         (reused_arena): Call it.
1448 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1450         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1451         when it is a NaN.
1452         [_IEEE_FP_INEXACT] Remove.
1453         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1454         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1455         when it is a NaN.
1456         [_IEEE_FP_INEXACT] Remove.
1457         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1458         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1459         when it is a NaN.
1460         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1461         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1462         when its absolute value is greater than 0x1.0p52.
1463         [_IEEE_FP_INEXACT] Remove.
1464         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1465         when its absolute value is greater than 0x1.0p23.
1466         [_IEEE_FP_INEXACT] Remove.
1468 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1470         * version.h (RELEASE): Set to "development"
1471         (VERSION): Set to 2.24.90.
1472         * NEWS: Add 2.25 section.
1474         * version.h (RELEASE): Set to "stable"
1475         (VERSION): Set to 2.24.
1476         * include/features.h (__GLIBC_MINOR__): Set to 24.
1478         * NEWS: Add 2.24 fixed bugs.
1479         * po/libc.pot: Regenerate.
1481 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1484         [$(subdir) = math] (libm-sysdep_routines): Remove.
1485         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1486         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1487         s_truncf-vis3, s_trunc-vis3.
1488         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1490         file.
1491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1524         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1525         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1526         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1527         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1528         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1529         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1530         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1531         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1532         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1533         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1535 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1537         [BZ #20384]
1538         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1539         test-double-libmvec-sincos-avx-main.o,
1540         test-double-libmvec-sincos-avx2-main.o,
1541         test-double-libmvec-sincos-main.o,
1542         test-float-libmvec-sincosf-avx-main.o,
1543         test-float-libmvec-sincosf-avx2-main.o and
1544         test-float-libmvec-sincosf-main.o.
1545         test-float-libmvec-sincosf-avx512-main.o.
1546         ($(objpfx)test-double-libmvec-sincos): Also link with
1547         $(objpfx)test-double-libmvec-sincos-main.o.
1548         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1549         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1550         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1551         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1552         ($(objpfx)test-float-libmvec-sincosf): Also link with
1553         $(objpfx)test-float-libmvec-sincosf-main.o.
1554         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1555         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1556         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1557         test-double-libmvec-sincos-avx512-main.o and
1558         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1559         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1560         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1561         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1562         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1563         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1564         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1565         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1566         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1567         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1568         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1569         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1570         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1571         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1572         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1573         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1574         -DREQUIRE_AVX2.
1575         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1576         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1577         -DREQUIRE_AVX512F.
1578         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1579         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1580         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1581         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1582         file.
1583         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1584         Likewise.
1585         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1586         Likewise.
1587         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1588         Likewise.
1589         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1590         Likewise.
1591         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1592         Likewise.
1593         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1594         Likewise.
1595         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1596         Likewise.
1598 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1600         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1602 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1604         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1605         and typo in a comment about AT_HWCAP entry.
1607 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1609         * sysdeps/aarch64/libm-test-ulps: Updated.
1611 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1613         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1614         of r13 as it is not restored in mvcle case.
1616 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1618         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1619         Rename "ret" to "__ret".
1620         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1621         inline_syscall5, inline_syscall6): Likewise.
1623 2016-07-19   Will Newton  <will.newton@gmail.com>
1625         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1626         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1627         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1628         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1629         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1631 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1633         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1634         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1635         -mfpmath=387 with $(rtld-CFLAGS).
1636         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1637         $(rtld-CFLAGS).
1639 2016-07-18   Ross Burton  <ross.burton@intel.com>
1640              Khem Raj  <raj.khem@gmail.com>
1642         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1643         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1644         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1645         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1646         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1647         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1648         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1649         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1650         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1651         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1652         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1653         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1654         R_METAG_TLS_DTPOFF): New.
1656 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1657             Matt Clay  <mclay@lycos.com>
1659         [BZ #20357]
1660         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1661         to call __mpsin/__mpcos and to negate values.
1662         * math/auto-libm-test-in: Add test.
1663         * math/auto-libm-test-out: Regenerate.
1665 2016-07-18  Zack Weinberg  <zackw@panix.com>
1667         * grp/Makefile: Don't install the internal header grp-merge.h.
1669 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1671         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1673 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1675         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1677 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1679         [BZ #15368]
1680         * sysdeps/unix/sysv/linux/nptl-signals.h
1681         (__nptl_clear_internal_signals): New function.
1682         (__libc_signal_block_all): Likewise.
1683         (__libc_signal_block_app): Likewise.
1684         (__libc_signal_restore_set): Likewise.
1685         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1686         implementation.
1687         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1688         the cached pid/tid value in pthread structure.
1690 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1692         [BZ #20347]
1693         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1695 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1697         [BZ #20348]
1698         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1699         preadv64, pwrite64 and pwritev64.
1701 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1703         [BZ #20350]
1704         * posix/tst-preadwrite.c: Renamed to ...
1705         * posix/tst-preadwrite-common.c: This.
1706         (PREAD): Removed.
1707         (PWRITE): Likewise.
1708         (STRINGIFY): Likewise.
1709         (STRINGIFY2): Likewise.
1710         (do_prepare): Make it static and remove function arguments.
1711         (do_test): Likewise.
1712         (PREPARE): Updated.
1713         (TEST_FUNCTION): New.
1714         (name): Make it static.
1715         (fd): Likewise.
1716         (do_prepare): Use create_temp_file.
1717         (do_test): Renamed to ...
1718         (do_test_with_offset): This.  Make it static and accept offset.
1719         Properly check return value of PWRITE and PREAD.  Return bytes
1720         read.  Don't close fd nor unlink name.
1721         * posix/tst-preadwrite.c: Rewrite.
1722         * posix/tst-preadwrite64.c: Likewise.
1724 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1726         [BZ #20309]
1727         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1728         -mtls-dialect=gnu2 works.
1729         * configure: Regenerated.
1730         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1731         (tests): Add tst-gnu2-tls1.
1732         (modules-names): Add tst-gnu2-tls1mod.
1733         ($(objpfx)tst-gnu2-tls1): New.
1734         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1735         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1736         * elf/tst-gnu2-tls1.c: New file.
1737         * elf/tst-gnu2-tls1mod.c: Likewise.
1738         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1739         bytes for push in the PLT entry to align the stack.
1741 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1743         [BZ #20349]
1744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1746 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1748         [BZ #18707]
1749         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1750         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1752 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1754         * sysdeps/unix/sysv/linux/sysdep.h
1755         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1756         guards.
1757         * misc/tst-preadvwritev-common.c: New file.
1758         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1759         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1760         a check for files larger than 2GB.
1762         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1763         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1764         * sysdeps/unix/sysv/linux/pread.c
1765         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1766         __OFF_T_MATCHES_OFF64_T.
1767         * sysdeps/unix/sysv/linux/pread64.c
1768         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1769         * sysdeps/unix/sysv/linux/preadv.c
1770         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1771         * sysdeps/unix/sysv/linux/preadv64.c
1772         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1773         * sysdeps/unix/sysv/linux/pwrite.c
1774         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1775         * sysdeps/unix/sysv/linux/pwrite64.c
1776         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1777         * sysdeps/unix/sysv/linux/pwritev.c
1778         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1779         * sysdeps/unix/sysv/linux/pwritev64.c
1780         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1782 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1784         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1785         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1787 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1789         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1791 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1793         [BZ #20240]
1794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1795         (CFLAGS-s_modf-ppc32.c): New variable.
1796         (CFLAGS-s_modff-ppc32.c): Likewise.
1797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1798         (CFLAGS-s_modf-ppc64.c): Likewise.
1799         (CFLAGS-s_modff-ppc64.c): Likewise.
1801 2016-07-07  Andreas Schwab  <schwab@suse.de>
1803         [BZ #20263]
1804         * nptl/tst-robust10.c: New test.
1805         * nptl/Makefile (tests): Add tst-robust10.
1807 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1809         [BZ #20263]
1810         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1812 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1814         * sysdeps/s390/linkmap.h (struct link_map_machine):
1815         Remove member gotplt and add member jmprel.
1816         * sysdeps/s390/s390-32/dl-machine.h
1817         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1818         instead of gotplt with &got[3].
1819         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1820         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1822 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1824         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1826 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1828         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1829         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1830         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1831         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1832         * libio/vtables.c (_IO_vtable_check)
1833         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1834         * libio/libioP.h (IO_set_accept_foreign_vtables)
1835         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1837 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1839         [BZ #20314]
1840         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1841         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1842         $(common-objpfx)cmath.
1843         ($(common-objpfx)cstdlib): New target.
1844         ($(common-objpfx)cmath): Likewise.
1846 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1848         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1850 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1852         [BZ #20327]
1853         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1854         are not part of the string.
1856 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1858         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1859         * nptl/tst-cancel4-common.h (fifoname): New variable.
1860         (fifofd): Likewise.
1861         (cl_fifo): New function.
1862         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1863         SIGINT.
1864         (tf_open): Add early cancel test.
1866 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1868         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1870 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1872         * sysdeps/generic/ldsodefs.h
1873         (dl_symbol_visibility_binds_local_p): New inline function.
1874         * elf/dl-addr.c (determine_info): Treat hidden and internal
1875         symbols as local.
1876         * elf/dl-lookup.c (do_lookup_x): Likewise.
1877         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1879 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1881         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1882         invalid exception for a sNaN input.
1883         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1884         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1885         (__nearbyint_vis3): Likewise
1886         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1887         (__nearbyintf_vis3): Likewise
1888         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1889         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1890         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1891         Likewise.
1892         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1893         Likewise.
1895 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1897         [BZ #20139]
1898         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1899         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1900         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1901         2.24 or above.
1902         (HAVE_AVX512_ASM_SUPPORT): Removed.
1903         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1904         * sysdeps/x86_64/configure: Regenerated.
1905         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1906         check unconditional.
1907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1908         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1909         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1910         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1911         Likewise.
1912         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1913         Likewise.
1914         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1915         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1916         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1917         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1918         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1919         Likewise.
1920         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1921         Likewise.
1922         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1925         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1926         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1927         Likewise.
1928         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1929         Likewise.
1930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1931         Likewise.
1932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1933         Likewise.
1934         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1935         Likewise.
1936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1937         Likewise.
1938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1939         Likewise.
1940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1941         Likewise.
1942         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1943         Likewise.
1944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1945         Likewise.
1946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1947         Likewise.
1949 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1951         [BZ #20024]
1952         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1954         of this implementation of vector function.
1955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1958         Likewise.
1959         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1961         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1962         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1963         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1964         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1965         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1966         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1967         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1968         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1969         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1970         for testing vector sincos with fixed ABI.
1971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1972         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1973         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1974         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1975         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1977         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1978         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1979         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1980         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1981         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1982         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1983         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1984         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1985         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1986         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1988 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1990         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1992 2016-06-30  Anton Blanchard  <anton@samba.org>
1994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1995         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1996         s_sinf-ppc64.
1997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2000         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2002 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2006         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2007         e_expf-ppc64.
2008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2009         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2011         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2013 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2015         [BZ #20277]
2016         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2017         when SHARED is defined.
2019 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2021         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2022         (index_arch_Prefer_ERMS): Likewise.
2023         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2024         __memcpy_erms for Prefer_ERMS.
2025         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2026         (__memmove_erms): Enabled for libc.a.
2027         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2028         __memmove_erms or Prefer_ERMS.
2029         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2030         __mempcpy_erms for Prefer_ERMS.
2031         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2032         __memset_erms for Prefer_ERMS.
2034 2016-06-30  Andreas Schwab  <schwab@suse.de>
2036         [BZ #20262]
2037         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2038         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2039         of memory.
2041 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2043         [BZ #18645]
2044         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2045         (test-extras): Add tst-cleanupx4aux.
2046         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2047         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2048         tst-cleanupx4aux.o.
2049         * nptl/tst-cleanupx4aux.c: New file.
2051 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2053         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2055 2016-06-29  Andreas Schwab  <schwab@suse.de>
2057         [BZ #20260]
2058         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2059         address before the beginning of the string as an integer to avoid
2060         array-bounds warning.
2062 2016-06-28  Richard Henderson  <rth@redhat.com>
2064         * elf/elf.h (EM_BPF): New.
2065         (EM_NUM): Update.
2066         (R_BPF_NONE, R_BPF_MAP_FD): New.
2068         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2069         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2070         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2071         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2072         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2073         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2074         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2075         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2076         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2077         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2078         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2079         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2080         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2081         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2082         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2083         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2084         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2085         (EM_NUM): Update.
2087 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2089         [BZ #18960]
2090         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2091         Set _nl_current_LC_CATEGORY_used to two instead of one.
2093 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2095         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2096         (do_test): ... this.
2097         (TEST_FUNCTION): New macro.
2098          Include test-skeleton.c.
2099         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2100         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2102 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #15479]
2105         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2106         floating-point environment rather than just control word.
2107         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2108         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2109         floating-point environment, with "invalid" exceptions merged in,
2110         rather than just control word.
2111         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2112         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2113         "inexact" exceptions.
2115         [BZ #15479]
2116         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2117         floating-point environment rather than just control word.
2118         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2119         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2120         floating-point environment, with "invalid" exceptions merged in,
2121         rather than just control word.
2122         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2123         * math/libm-test.inc (floor_test_data): Do not allow spurious
2124         "inexact" exceptions.
2126         [BZ #15479]
2127         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2128         floating-point environment rather than just control word.
2129         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2130         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2131         floating-point environment, with "invalid" exceptions merged in,
2132         rather than just control word.
2133         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2134         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2135         "inexact" exceptions.
2137 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2139         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2140         __libc_vfork.
2141         (__vfork) [IS_IN (libc)]: Remove alias.
2142         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2143         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2144         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2146 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2148         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2149         of atomic_compare_and_exchange_bool_rel.
2150         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2151         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2152         catomic_compare_and_exchange_bool_rel): Remove.
2153         * sysdeps/aarch64/atomic-machine.h
2154         (atomic_compare_and_exchange_bool_rel): Likewise.
2155         * sysdeps/alpha/atomic-machine.h
2156         (atomic_compare_and_exchange_bool_rel): Likewise.
2157         * sysdeps/arm/atomic-machine.h
2158         (atomic_compare_and_exchange_bool_rel): Likewise.
2159         * sysdeps/mips/atomic-machine.h
2160         (atomic_compare_and_exchange_bool_rel): Likewise.
2161         * sysdeps/microblaze/atomic-machine.h
2162         ( __arch_compare_and_exchange_bool_8_rel,
2163         __arch_compare_and_exchange_bool_16_rel): Likewise.
2164         * sysdeps/powerpc/atomic-machine.h
2165         ( __arch_compare_and_exchange_bool_8_rel,
2166         __arch_compare_and_exchange_bool_16_rel): Likewise.
2167         * sysdeps/powerpc/powerpc32/atomic-machine.h
2168         ( __arch_compare_and_exchange_bool_32_rel,
2169         __arch_compare_and_exchange_bool_64_rel): Likewise.
2170         * sysdeps/powerpc/powerpc64/atomic-machine.h
2171         ( __arch_compare_and_exchange_bool_32_rel,
2172         __arch_compare_and_exchange_bool_64_rel): Likewise.
2173         * sysdeps/tile/atomic-machine.h
2174         (atomic_compare_and_exchange_bool_rel): Likewise.
2176 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2178         [BZ #20296]
2179         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2180         when either argument is a NaN.
2181         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2182         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2184         * math/libm-test.inc (snan_value_ld): New macro.
2185         (isgreater_test_data): Add sNaN tests.
2186         (isgreaterequal_test_data): Likewise.
2187         (isless_test_data): Likewise.
2188         (islessequal_test_data): Likewise.
2189         (islessgreater_test_data): Likewise.
2190         (isunordered_test_data): Likewise.
2191         (nextafter_test_data): Likewise.
2192         (nexttoward_test_data): Likewise.
2193         (remainder_test_data): Likewise.
2194         (remquo_test_data): Likewise.
2195         (significand_test_data): Likewise.
2196         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2198 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2200         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2201         environment macros are defined.
2202         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2204 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2206         [BZ #20191]
2207         Implement vtable verification in libio.
2208         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2209         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2210         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2211         _IO_new_file_init_internal instead of _IO_file_init.
2212         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2213         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2214         * libio/Makefile (routines): Add vtables.
2215         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2216         (_IO_init): Remove, not for internal use.
2217         (_IO_init_internal): Declare, internal replacement for _IO_init.
2218         (_IO_file_init): Remove, not for internal use.
2219         (_IO_new_file_init): Remove, not for internal use.
2220         (_IO_new_file_init_internal): Declare, internal replacement for
2221         _IO_new_file_init.
2222         (_IO_old_file_init): Remove, not for internal use.
2223         (_IO_old_file_init_internal): Declare, internal replacement for
2224         _IO_old_file_init.
2225         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2226         internal use.
2227         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2228         Declare.
2229         (libio_vtable): New macro.
2230         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2231         functions.
2232         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2233         _IO_new_file_init.
2234         (_IO_new_file_init): New externally visible wrapper which disables
2235         vtable verification.
2236         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2237         Define as vtables.
2238         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2239         (_IO_init): New externally visible wrapper which disables
2240         vtable verification.
2241         * libio/iofdopen.c (_IO_new_fdopen): Call
2242         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2243         comment.
2244         * libio/iofopen.c (__fopen_internal): Call
2245         _IO_new_file_init_internal instead of _IO_file_init.
2246         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2247         Define as vtables.
2248         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2249         _IO_new_file_init_internal instead of _IO_file_init.
2250         * libio/iopopen.c (_IO_new_popen): Likewise.
2251         (_IO_proc_jumps): Define as vtable.
2252         * libio/iovdprintf.c (_IO_vdprintf): Call
2253         _IO_new_file_init_internal instead of _IO_file_init.
2254         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2255         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2256         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2257         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2258         _IO_old_file_init.
2259         (_IO_old_file_init): New externally visible wrapper which disables
2260         vtable verification.
2261         (_IO_old_file_jumps): Define as vtable.
2262         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2263         _IO_old_file_init_internal instead of _IO_old_file_init.
2264         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2265         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2266         (_IO_old_proc_jumps): Define as vtable.
2267         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2268         Define as vtables.
2269         * libio/vtables.c: New file.
2270         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2271         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2272         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2273         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2274         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2275         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2276         instead of _IO_init.
2278 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2280         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2282 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2284         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2285         potentially unused.
2287 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2289         * test-skeleton.c (write_message): New function.
2290         * malloc/tst-mallocfork2.c (write_message): Remove.
2291         * debug/tst-longjmp_chk2.c (write_indented): New function.
2292         (write_message): Remove.
2293         (stackoverflow_handler): Call write_indented.
2295 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2297         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2298         "inexact" exceptions after fnstenv.
2299         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2300         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2301         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2303 2015-06-22  Zack Weinberg  <zackw@panix.com>
2305         * sysdeps/generic/bits/hwcap.h: Moved to ...
2306         * bits/hwcap.h: Here.
2308 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2310         * sysdeps/aarch64/memcpy.S (memcpy):
2311         Further tuning for performance.
2313 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2315         [BZ #20284]
2316         * malloc/arena.c (reused_arena): Do not return NULL if we start
2317         out with a non-corrupted arena.
2319 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2321         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2322         * misc/tst-preadvwritev.c: New file.
2323         * misc/tst-preadvwritev64.c: Likewise.
2324         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2325         usage.
2326         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2327         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2328         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2329         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2331 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2333         [BZ #19654]
2334         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2335         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2336         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2337         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2338         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2339         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2340         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2341         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2342         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2343         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2344         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2345         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2346         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2347         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2348         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2349         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2350         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2351         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2352         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2353         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2354         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2355         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2356         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2357         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2358         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2359         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2361 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2363         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2364         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2366 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2368         * sysdeps/aarch64/memcpy.S (memcpy):
2369         Rewrite of optimized memcpy and memmove.
2370         * sysdeps/aarch64/memmove.S (memmove): Remove
2371         memmove code (merged into memcpy.S).
2373 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2375         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2376         * sysdeps/generic/dl-dtv.h: New file.
2377         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2378         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2379         (dtv_t): Remove.
2380         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2381         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2382         (dtv_t): Remove.
2383         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2384         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2385         (dtv_t): Remove.
2386         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2387         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2388         (dtv_t): Remove.
2389         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2390         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2391         (dtv_t): Remove.
2392         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2393         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2394         (dtv_t): Remove.
2395         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2396         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2397         (dtv_t): Remove.
2398         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2399         (dtv_t): Remove.
2400         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2401         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2402         (dtv_t): Remove.
2403         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2404         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2405         (dtv_t): Remove.
2406         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2407         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2408         (dtv_t): Remove.
2409         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2410         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2411         (dtv_t): Remove.
2412         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2413         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2414         (dtv_t): Remove.
2415         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2416         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2417         (dtv_t): Remove.
2418         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2419         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2420         (dtv_t): Remove.
2421         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2422         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2423         (dtv_t): Remove.
2425 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2427         Revert symbol poisoning of  __malloc_initialize_hook.
2428         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2429         poisoning.
2430         * malloc/Makefile: Remove un-poisoning.
2431         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2432         instead of old__malloc_initialize_hook.
2433         * malloc/malloc-hooks.h: Likewise.
2434         * malloc/malloc.c: Likewise.
2435         * malloc/mcheck-init.c: Likewise.
2437 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2439         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2441 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2443         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2444         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2445         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2446         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2448 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2450         * NEWS: Mention addition of nextup and nextdown.
2451         * manual/arith.texi: Document nextup and nextdown.
2452         * manual/libm-err-tab.pl: Add nextup and nextdown.
2453         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2454         * math/Versions (libm): Add GLIBC_2.24.
2455         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2456         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2457         Add new test.
2458         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2459         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2460         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2461         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2462         (nextup_test_data): Likewise.
2463         (nextdown_test_data): Likewise.
2464         * math/s_nextdown.c: New file.
2465         * math/s_nextdownf.c: Likewise.
2466         * math/s_nextdownl.c: Likewise.
2467         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2468         F(nextup): New function.
2469         F(nextdown): Likewise.
2470         * math/tgmath.h: Add nextup and nextdown.
2471         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2472         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2473         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2474         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2476         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2477         Add nextup and nextdown.
2478         (CFLAGS-nldbl-nextup.c): New variable.
2479         (CFLAGS-nldbl-nextdown.c): Likewise.
2480         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2481         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2482         * sysdeps/nacl/libm.abilist: Update.
2483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2487         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2490         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2491         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2492         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2493         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2507         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2512 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2514         * manual/pattern.texi: Fix typos & grammar errors.
2516 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2518         * manual/search.texi: Fix typos & grammar errors.
2520 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2522         * manual/message.texi: Fix typos & grammar errors.
2524 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2526         * manual/contrib.texi: Fix spelling typos.
2527         * manual/crypt.texi: Likewise.
2528         * manual/filesys.texi: Likewise.
2529         * manual/locale.texi: Likewise.
2530         * manual/message.texi: Likewise.
2531         * manual/nss.texi: Likewise.
2532         * manual/string.texi: Likewise.
2534 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2536         * manual/locale.texi: Fix typos & grammar errors.
2538 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2540         * manual/charset.texi: Fix typos & grammar errors.
2542 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2544         * manual/string.texi: Fix typos.
2546 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2548         * manual/ctype.texi: Fix typos.
2550 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2552         * manual/memory.texi: Fix various typos & grammar errors.
2554 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2556         [BZ #20255]
2557         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2558         * math/libm-test.inc (fdim_test_data): Add another test.
2560         [BZ #6796]
2561         [BZ #20255]
2562         [BZ #20256]
2563         * math/s_fdim.c: Include <math_private.h>.
2564         (__fdim): Use math_narrow_eval on result.
2565         * math/s_fdimf.c: Include <math_private.h>.
2566         (__fdimf): Use math_narrow_eval on result.
2567         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2568         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2569         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2570         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2571         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2572         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2573         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2574         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2575         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2576         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2577         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2578         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2579         overflow.  Add sNaN tests.
2581         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2582         fpclassify.
2583         * math/s_fdimf.c (__fdimf): Likewise.
2584         * math/s_fdiml.c (__fdiml): Likewise.
2586 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2588         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2589         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2591         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2592         ifunc'ed strcasecmp/strncasecmp.
2593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2594         [EALIGN]: Removed.
2595         [END]: Likewise.
2596         [__strcasecmp]: Define instead of the above to control symbol name.
2597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2598         for __strcasecmp_power8.
2599         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2600         for __strncasecmp_power8.
2601         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2602         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2603         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2604         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2605         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2606         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2608 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2610         [BZ #20252]
2611         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2612         arguments when second argument is a NaN.
2613         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2614         qNaN tests.
2616         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2617         (conj_test_data): Likewise.
2618         (copysign_test_data): Likewise.
2619         (creal_test_data): Likewise.
2620         (fma_test_data): Likewise.
2621         (fmod_test_data): Likewise.
2623         [BZ #20250]
2624         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2625         itself.
2626         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2627         zero input to itself.
2628         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2629         Likewise.
2630         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2631         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2632         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2633         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2634         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2636 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2638         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2639         * nptl/tst-cancel4-common.c: New file.
2640         * nptl/tst-cancel4-common.h: Likewise.
2641         * nptl/tst-cancel4.c: Move common definitions to
2642         tst-cancel4-common.{c,h} file.
2643         * nptl/tst-cancel4_1.c: New test.
2644         * nptl/tst-cancel4_2.c: New test.
2646 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2648         [BZ #20248]
2649         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2650         (write_message): New function.
2651         (stackoverflow_handler): Call it instead of printf, to avoid
2652         excessive stack usage by printf.
2653         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2655 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2657         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2658         (prio_inherit_missing): Remove define.
2659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2660         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2664         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2665         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2666         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2667         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2668         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2670 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2672         [BZ #19670]
2673         [BZ #19672]
2675         * io/test-lfs.c (do_prepare): Use xmalloc.
2676         * io/tst-fcntl.c (do_prepare): Likewise.
2677         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2678         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2679         * login/tst-utmp.c (do_prepare): Likewise.
2680         * posix/tst-exec.c (do_prepare): Likewise.
2681         * posix/tst-pathconf.c (prepare): Likewise.
2682         * posix/tst-spawn.c (do_prepare): Likewise.
2683         * posix/tst-truncate.c (do_prepare): Likewise.
2684         * rt/tst-aio.c (do_prepare): Likewise.
2685         * rt/tst-aio64.c (do_prepare): Likewise.
2687 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2689         [BZ #20237]
2690         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2691         (get*ent): Set entidx to NULL during initialization.  If entidx is
2692         NULL, start iteration from the beginning.
2694 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2696         * malloc/malloc.c (musable): Return correct size for dumped fake
2697         mmapped chunk.
2699 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2701         [BZ #20222]
2702         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2703         (_IO_cookie_write): Likewise.
2704         (_IO_cookie_seek): Likewise.
2705         (_IO_cookie_close): Likewise.
2706         (_IO_old_cookie_seek): Likewise.
2707         (set_callbacks): New function.
2708         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2710 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2712         * locale/programs/localedef.c (oldstyle_tables): Remove.
2713         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2715 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2717         [BZ #20240]
2718         * math/Makefile (CFLAGS-s_modf.c): New variable.
2719         (CFLAGS-s_modff.c): Likewise.
2720         (CFLAGS-s_modfl.c): Likewise.
2721         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2723 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2725         [BZ #20215]
2726         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2727         [!__GNUC_PREREQ (3,2)]: Likewise.
2729 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2731         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2732         (msghdr.msg_controllen): Likewise.
2733         (cmsghdr.cmsg_len): Likewise.
2734         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2735         ptw-oldsendmsg.
2736         (CFLAGS-oldrecvmsg.c): Remove rule.
2737         (CFLAGS-oldsendmsg.c): Likewise.
2738         (CFLAGS-recvmsg.c): Add rule.
2739         (CFLAGS-sendmsg.c): Likewise.
2740         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2741         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2742         (CFLAGS-recvmsg.c): Remove rule.
2743         (CFLAGS-sendmsg.c): Likewise.
2744         (CFLAGS-oldrecvmsg.c): Likewise.
2745         (CFLAGS-oldsendmsg.c): Likewise.
2746         (CFLAGS-recvmmsg.c): Likewise.
2747         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2748         to kernel defined interfaces.
2749         (msghdr.msg_controllen): Likewise.
2750         (cmsghdr.cmsg_len): Likewise.
2751         (msghdr.__glibc_reserved1): Remove member.
2752         (msghdr.__glibc_reserved2): Likewise.
2753         (cmsghdr.__glibc_reserved1): Likewise.
2754         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2755         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2756         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2757         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2758         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2759         version.
2760         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2761         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2762         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2763         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2764         Remove recvmsg and sendmsg.
2765         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2766         Likewise.
2767         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2768         Likewise.
2769         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2770         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2771         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2776         [libc] (GLIBC_2.24): Likewise.
2777         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2778         Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2780         Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2782         [libc] (GLIBC_2.24): Likewise.
2783         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2784         Likewise.
2785         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2786         Likewise.
2787         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2788         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2789         Likewise.
2790         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2793         Likewise.
2794         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2795         Likewise.
2796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2797         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2798         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2799         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2800         version for {recv,send,recm,sendm}msg.
2801         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2802         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2803         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2804         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2805         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2806         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2807         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2808         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2809         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2810         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2811         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2812         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2814         Likewise.
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2816         Likewise.
2817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2820         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2821         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2822         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2823         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2824         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2827         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2829         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2831 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2833         [BZ #19564]
2834         Remove __malloc_initialize_hook from the API.
2835         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2836         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2837         #pragma GCC poison.
2838         * malloc/malloc-hooks.h: New file.
2839         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2840         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2841         (old__malloc_initialize_hook): Rename from
2842         __malloc_initialize_hook to evade poisoning.  Turn into compat
2843         symbol.
2844         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2845         __malloc_initialize_hook.
2846         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2847         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2848         * manual/memory.texi (Hooks for Malloc): Remove
2849         __malloc_initialize_hook.  Adjust hook example.
2851 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2853         [BZ #20235]
2854         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2855         itself.
2856         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2857         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2859         [BZ #20234]
2860         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2861         infinity or NaN input to itself.
2863         [BZ #20233]
2864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2865         to itself.
2867         [BZ #20232]
2868         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2869         itself.
2871 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2873         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2874         __libc_start_main via GOT.
2876 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2878         * sysdeps/x86_64/memcopy.h: New file.
2879         * sysdeps/x86_64/wordcopy.c: Likewise.
2881 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2883         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2884         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2885         <cstdlib>.
2886         (optimization_barrier): New.
2887         (do_test): Use it.  Call quick_exit in the global namespace.
2888         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2889         instead of <cstdlib>, <thread>.
2890         (optimization_barrier): New.
2891         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2892         Call quick_exit in the global namespace.
2893         (do_test): Call optimization_barrier.  Use pthread_create,
2894         pthread_join instead of std::thread.
2896 2016-06-09  Andreas Schwab  <schwab@suse.de>
2898         [BZ #19755]
2899         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2900         new entries in auto-propagate mode.
2901         * nscd/grpcache.c (cache_addgr): Likewise.
2903 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2905         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2906         New functions.
2907         (add_temp_file): Use them.
2909 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2911         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2913 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2915         [BZ #20229]
2916         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2917         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2918         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2920         [BZ #20228]
2921         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2922         itself.
2923         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2924         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2926         [BZ #20227]
2927         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2928         itself.
2929         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2930         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2931         * math/libm-test.inc (log_test_data): Add sNaN tests.
2933         [BZ #20226]
2934         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2935         itself.
2936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2937         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2938         (exp10_test_data): Likewise.
2939         (expm1_test_data): Likewise.
2941         [BZ #20225]
2942         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2943         itself.
2944         * math/s_ldexpf.c (__ldexpf): Likewise.
2945         * math/s_ldexpl.c (__ldexpl): Likewise.
2946         * math/w_scalbln.c (__w_scalbln): Likewise.
2947         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2948         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2949         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2950         (scalbln_test_data): Likewise.
2952         [BZ #20224]
2953         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2954         argument to itself.
2955         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2957 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2959         [BZ #19776]
2960         * sysdeps/x86_64/memcpy.S: Make it dummy.
2961         * sysdeps/x86_64/mempcpy.S: Likewise.
2962         * sysdeps/x86_64/memmove.S: New file.
2963         * sysdeps/x86_64/memmove_chk.S: Likewise.
2964         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2965         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2966         * sysdeps/x86_64/memmove.c: Removed.
2967         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2968         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2969         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2970         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2971         Likewise.
2972         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2973         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2975         memcpy-sse2-unaligned, memmove-avx-unaligned,
2976         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2978         (__libc_ifunc_impl_list): Replace
2979         __memmove_chk_avx512_unaligned_2 with
2980         __memmove_chk_avx512_unaligned.  Remove
2981         __memmove_chk_avx_unaligned_2.  Replace
2982         __memmove_chk_sse2_unaligned_2 with
2983         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2984         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2985         with __memmove_avx512_unaligned.  Replace
2986         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2987         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2988         with __memcpy_chk_avx512_unaligned.  Remove
2989         __memcpy_chk_avx_unaligned_2.  Replace
2990         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2991         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2992         Replace __memcpy_avx512_unaligned_2 with
2993         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2994         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2995         with __mempcpy_chk_avx512_unaligned.  Remove
2996         __mempcpy_chk_avx_unaligned_2.  Replace
2997         __mempcpy_chk_sse2_unaligned_2 with
2998         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2999         Replace __mempcpy_avx512_unaligned_2 with
3000         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3001         Replace __mempcpy_sse2_unaligned_2 with
3002         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3003         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3004         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3005         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3006         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3007         (ENTRY): Removed.
3008         (END): Likewise.
3009         (ENTRY_CHK): Likewise.
3010         (libc_hidden_builtin_def): Likewise.
3011         Don't include ../memcpy.S.
3012         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3013         __memcpy_chk_avx512_unaligned_erms and
3014         __memcpy_chk_avx512_unaligned.  Use
3015         __memcpy_chk_avx_unaligned_erms and
3016         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3017         Default to __memcpy_chk_sse2_unaligned.
3018         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3019         Change function suffix from unaligned_2 to unaligned.
3020         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3021         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3022         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3023         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3024         (ENTRY): Removed.
3025         (END): Likewise.
3026         (ENTRY_CHK): Likewise.
3027         (libc_hidden_builtin_def): Likewise.
3028         Don't include ../mempcpy.S.
3029         (mempcpy): New.  Add a weak alias.
3030         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3031         __mempcpy_chk_avx512_unaligned_erms and
3032         __mempcpy_chk_avx512_unaligned.  Use
3033         __mempcpy_chk_avx_unaligned_erms and
3034         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3035         Default to __mempcpy_chk_sse2_unaligned.
3037 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3039         [BZ #19881]
3040         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3041         into ...
3042         * sysdeps/x86_64/memset.S: This.
3043         (__bzero): Removed.
3044         (__memset_tail): Likewise.
3045         (__memset_chk): Likewise.
3046         (memset): Likewise.
3047         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3048         defined.
3049         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3050         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3051         (__memset_zero_constant_len_parameter): Check SHARED instead of
3052         PIC.
3053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3054         memset-avx2 and memset-sse2-unaligned-erms.
3055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3056         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3057         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3058         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3059         (__bzero): Enabled.
3060         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3061         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3062         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3063         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3064         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3065         (memset): Removed.
3066         (__memset_chk): Likewise.
3067         (MEMSET_SYMBOL): New.
3068         (libc_hidden_builtin_def): Replace __memset_sse2 with
3069         __memset_sse2_unaligned.
3070         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3071         __memset_chk_sse2 and __memset_chk_avx2 with
3072         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3073         Use __memset_chk_sse2_unaligned_erms or
3074         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3075         __memset_chk_avx512_unaligned_erms and
3076         __memset_chk_avx512_unaligned.
3078 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3080         * math/gen-auto-libm-test.c (fp_format_desc): remove
3081         suffix member.
3082         (output_generic_value): Remove usage of suffix member,
3083         and the resulting unuse of the fp_format argument.
3084         (output_for_one_input_case): Remove unused fp_format
3085         parameter.
3087         * math/auto-libm-test-out: Regenerate.
3089         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3090         usage with TEST_COND_ibm128.
3091         (TEST_COND_flt_32): Remove.
3092         (TEST_COND_dbl_64): Remove.
3093         (TEST_COND_ldbl_96_intel): Remove.
3094         (TEST_COND_ldbl_96_m68k): Remove.
3095         (TEST_COND_ldbl_128): Remove.
3097 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3099         * auto-libm-test-in:
3100         Replace flt-32 usage with binary32.
3101         Replace dbl-64 usage with binary64.
3102         Replace ldbl-intel-96 usage with intel96.
3103         Replace ldbl-m68k-96 usage with m68k96.
3104         Replace ldbl-128ibm usage with ibm128.
3105         Replace ldbl-128 usage with binary128.
3107         * auto-libm-test-out: Regenerate.
3109 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3111         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3112         (parse_ulps): Dynamically generate type name matching
3113         string from all_floats.
3114         (get_ulps): Generate the ulps as an array instead.
3115         (output_ulps): Dynamically compose the type based
3116         on the number of supported formats, and print
3117         the indices as type specific helper macros.
3119         * math/libm-test.inc: Remove comment about CHOOSE.
3120         (ulp_data): Generate the type in libm-test-ulps.h.
3121         (ULP_IDX): New macro.
3122         (find_ulps): Update usage of max_ulp.
3124         * math/test-double-vlen2.h (CHOOSE): Remove.
3125         * math/test-double-vlen4.h (CHOOSE): Likewise.
3126         * math/test-double-vlen8.h (CHOOSE): Likewise.
3127         * math/test-float.c (CHOOSE): Likewise.
3128         * math/test-float-finite.c (CHOOSE): Likewise.
3129         * math/test-double.c (CHOOSE): Likewise.
3130         * math/test-double-finite.c (CHOOSE): Likewise.
3131         * math/test-idouble.c (CHOOSE): Likewise.
3132         * math/test-ifloat.c (CHOOSE): Likewise.
3133         * math/test-ildoubl.c (CHOOSE): Likewise.
3134         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3135         * math/test-ldouble.c (CHOOSE): Likewise.
3137         * math/test-float.h (TEST_FLOAT): Remove.
3138         * math/test-double.h (TEST_DOUBLE): Likewise.
3139         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3141 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3143         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3144         (parse_args): Strip C suffix from floating point literals
3145         typed with 'f' and wrap them with LIT().
3147         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3148         (test_ff_f_data_nexttoward): Rename to
3149         (test_fj_f_data): New struct.
3150         (nexttoward_test_data): Relabel tests as
3151         TEST_fj_f instead of TEST_ff_f.
3153 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3155         Emacs bug 23726.
3156         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3157         (__libc_realloc): Correct size computation for dumped fake mmapped
3158         chunks.
3160 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3162         [BZ #20219]
3163         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3164         to itself.
3165         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3167         [BZ #20218]
3168         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3169         to itself.
3170         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3172 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3174         [BZ #20195]
3175         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3176         check to ...
3177         (init_cpu_features): Here.
3179 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3181         [BZ #20214]
3182         * sysdeps/unix/sysv/linux/bits/in.h
3183         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3184          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3185         Define to 1.
3186         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3187          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3188         Define to 0.
3189         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3190         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3192 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3194         [BZ #20198]
3195         * stdlib/Makefile (tests): Add tst-quick_exit, and
3196         tst-thread-quick_exit.
3197         [ifeq ($(have-cxx-thread_local),yes)]
3198         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3199         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3200         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3201         (LDLIBS-tst-thread-quick_exit): Likewise.
3202         [ifneq ($(have-cxx-thread_local),yes)]
3203         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3204         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3205         If run_dtors is true call __call_tls_dtors.
3206         (exit): Call __run_exit_handlers with run_dtors set to true.
3207         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3208         definition.
3209         * stdlib/quick_exit.c (quick_exit): Remove function.
3210         (__new_quick_exit): New function.
3211         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3212         function.
3213         * stdlib/tst-quick_exit.cc: New file.
3214         * stdlib/tst-thread-quick_exit.cc: New file.
3215         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3216         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3218         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3219         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3220         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3221         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3222         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3223         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3224         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3225         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3226         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3227         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3228         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3229         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3230         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3235         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3236         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3237         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3242         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3243         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3244         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3246 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3248         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3249         a typo in comments.
3251 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3253         [BZ #20213]
3254         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3255         argument to itself.
3256         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3258 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3260         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3261         required flags.
3262         (CFLAGS-pwritev64.c): Likewise.
3263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3266         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3267         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3268         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3269         syscall from auto-generation.
3270         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3271         [WORDSIZE == 64] (pwritev64): Remove macro.
3272         [!PWRITEV] (PWRITEV): Likewise.
3273         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3274         [!PWRITEV] (PWRITE): Likewise.
3275         [!PWRITEV] (OFF_T): Likewise.
3276         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3277         (LO_HI_LONG): Remove macro.
3278         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3279         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3280         (PWRITEV): Remove macro.
3281         (PWRITEV_REPLACEMENTE): Likewise.
3282         (PWRITE): Likewise.
3283         (OFF_T): Likewise.
3284         (pwritev64): New function.
3285         * nptl/tst-cancel4.c (tf_writev): Add test.
3287         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3288         required flags.
3289         (CFLAGS-preadv64.c): Likewise.
3290         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3291         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3292         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3293         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3294         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3295         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3296         syscall from auto-generation.
3297         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3298         [WORDSIZE == 64] (preadv64): Remove macro.
3299         [!PREADV] (PREADV): Likewise.
3300         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3301         [!PREADV] (PREAD): Likewise.
3302         [!PREADV] (OFF_T): Likewise.
3303         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3304         (LO_HI_LONG): Remove macro.
3305         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3306         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3307         (PREADV): Remove macro.
3308         (PREADV_REPLACEMENTE): Likewise.
3309         (PREAD): Likewise.
3310         (OFF_T): Likewise.
3311         (preadv64): New function.
3312         * nptl/tst-cancel4.c (tf_preadv): Add test.
3314 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3316         [BZ #20212]
3317         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3318         argument to itself.
3319         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3321 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3323         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3324         New symbol defined as libc_hidden_def.
3325         (strcasestr): Became a weak alias to __strcasestr.
3326         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3327         according to multi-arch support.  Move __stpncpy hidden
3328         definition from here to...
3329         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3330         symbol stpncpy.
3331         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3332         libc_hidden_builtin_def.
3333         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3334         memset symbol to use when multi-arch support is available.
3336 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3338         * dlfcn/tst-rec-dlopen.c: Include string.h.
3340 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3342         * manual/install.texi: Remove mention of --without-tls
3343         * INSTALL: Regenerate.
3345 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3347         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3348         Remove.
3349         (call_function, interposed_malloc_called): New variables.
3350         (malloc): New function.
3351         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3352         and clear call_function as needed.
3354 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3356         * include/wchar.h (__wmemset): Use __typeof.
3358 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3360         * include/wchar.h (__wmemset): Declare function without typeof.
3362 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3364         [BZ #20205]
3365         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3366         exponent when incrementing negative subnormal with low mantissa
3367         word zero.
3368         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3369         Add another test.
3371 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3373         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3374         __wmemset instead of wmemset.
3376 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3378         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3379         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3380         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3381         __USE_KERNEL_IPV6_DEFS to 0.
3382         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3383         Update comment.
3385 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3387         [BZ #19861]
3388         Do not use IFUNC resolver with potentially unrelocated symbol.
3389         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3390         (DEFINE_FORK): Remove macro and inline definition.
3391         (fork_alias): Renamed from fork_ifunc.
3392         (__fork_alias): Renamed from __fork_ifunc.
3394 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3396         [BZ 19653]
3397         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3398         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3400 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3402         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3403         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3404         i386-linux-gnu).
3405         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3406         Set to no.
3407         * sysdeps/mach/hurd/configure: Refresh.
3409 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3411         [BZ #20178]
3412         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3413         on failure instead of exit.
3415 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3417         [BZ #3629]
3418         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3419         of POSIX.1-2008.
3421 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3423         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3424           Use PLT entry for calling _hurd_self_sigstate.
3426 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3428         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3429         available logical processors with SMT level type sharing L2
3430         cache for Intel processors.
3432 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3434         [BZ #20160]
3435         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3436         argument to itself before returning the result.
3437         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3438         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3439         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3441         Likewise.
3442         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3443         Likewise.
3444         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3445         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3446         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3447         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3448         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3449         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3451         [BZ #20160]
3452         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3453         argument to itself before returning the result.
3454         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3455         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3456         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3457         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3458         Likewise.
3459         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3460         Likewise.
3461         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3462         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3463         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3464         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3465         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3466         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3468 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3470         * libm-test.inc: Replace usage of M_El with
3471         (lit_e): New macro.
3473 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3475         * libm-test.inc: Replace usage of M_PI_4l with
3476         (lit_pi_4_d): New macro.
3478 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3480         * libm-test.inc: Replace usage of M_PIl with
3481         (lit_pi): New macro.
3483 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3485         * libm-test.inc: Replace usage of M_PI2l with
3486         (lit_pi_2_d): New macro.
3488         * math/test-double.h (LITM): New macro.
3489         * math/test-float.h (LITM): Likewise.
3490         * math/test-ldouble.h (LITM): Likewise.
3492 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3494         * libm-test.inc (M_PI_34l): Rename to
3495         (lit_pi_3_m_4_d): New Macro.
3496         (M_PI_34_LOG10El): Rename to
3497         (lit_pi_3_m_4_ln10_m_d): New Macro.
3498         (M_PI2_LOG10El): Rename to
3499         (lit_pi_2_ln10_m_d):  New Macro.
3500         (M_PI4_LOG10El): Rename to
3501         (lit_pi_4_ln10_m_d):  New Macro.
3502         (M_PI_LOG10El): Rename to
3503         (lit_pi_ln10_d):  New Macro.
3505 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3507         [BZ #20157]
3508         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3509         determine whether to negate low half if [_ARCH_PPCGR], and integer
3510         comparison otherwise.
3511         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3512         determine whether to negate low half.
3514         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3515         (NO_TEST_INLINE_DOUBLE): Likewise.
3516         (TEST_COND_x86_64): Likewise.
3517         (TEST_COND_x86): Likewise.
3518         (M_PI_6l): Likewise.
3520 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3522         * math/libm-test.inc:
3523         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3524         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3525         (TEST_LDOUBLE): Update usage to evaluate as true if
3526         the guarded tests match the property being tested.
3527         (LDBL_MAX_EXP): Change to MAX_EXP.
3528         (LDBL_MIN_EXP): Change to MIN_EXP.
3529         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3530         nexttoward tests.
3532 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3534         * math/libm-test.inc:
3535         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3536         (TYPE_MIN): Likewise.
3537         (TYPE_TRUE_MIN): Likewise.
3538         (TYPE_MAX): Likewise.
3539         (MIN_EXP): Likewise.
3540         (MAX_EXP): Likewise.
3541         (MANT_DIG): Likewise.
3543         (FSTR_MAX): New macro.
3544         (__CONCATX): Likewise.
3545         (QTYPE_STR): Likewise.
3546         (TEST_COND_binary32): Likewise.
3547         (TEST_COND_binary64): Likewise.
3548         (TEST_COND_binary128): Likewise.
3549         (TEST_COND_ibm128): Likewise.
3550         (TEST_COND_intel96): Likewise.
3551         (TEST_COND_m68k96): Likewise.
3553         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3554         (TEST_COND_dbl_64): Likewise.
3555         (TEST_COND_ldbl_96_intel): Likewise.
3556         (TEST_COND_ldbl_96_m68k): Likewise.
3557         (TEST_COND_ldbl_128): Likewise.
3558         (TEST_COND_ldbl_128ibm): Likewise.
3560         (plus_zero): Redefine using LIT macro.
3561         (minus_zero): Likewise.
3562         (plus_infty): Redefine as (INF).
3563         (minux_infty): Redefine as (-INF).
3564         (max_value): Redefine as TYPE_MAX.
3565         (min_value): Redefine as TYPE_MIN.
3566         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3568         (print_float): Refactor to use snprintf to convert FLOAT values
3569         to string. This brings it closer to dropin replacement of strtof
3570         for the TS 18661 defined types.
3571         (update_stats): Likewise.
3572         (print_complex_function_ulps): Likewise.
3573         (print_max_error): Likewise.
3574         (print_complex_max_error): Likewise.
3575         (check_float_internal): Likewise.
3577         * math/test-float.h (PREFIX): New macro.
3578         (LIT): Likewise.
3579         (TYPE_STR): Likewise.
3580         (FTOSTR): Likewise.
3582         * math/test-double.h (PREFIX): New macro.
3583         (LIT): Likewise.
3584         (TYPE_STR): Likewise.
3585         (FTOSTR): Likewise.
3587         * math/test-ldouble.h (PREFIX): New macro.
3588         (LIT): Likewise.
3589         (TYPE_STR): Likewise.
3590         (FTOSTR): Likewise.
3592 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3594         [BZ #20156]
3595         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3596         to itself when zero or not finite.
3597         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3598         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3599         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3600         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3602 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3604         [BZ #20153]
3605         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3606         x * x + x for infinities and NaNs.
3608         [BZ #20151]
3609         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3610         argument to itself before returning result.
3611         (__ieee754_y0l): Likewise.
3612         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3613         (__ieee754_y1l).
3615         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3616         (atan_test_data): Likewise.
3617         (ceil_test_data): Likewise.
3618         (cos_test_data): Likewise.
3619         (cosh_test_data): Likewise.
3620         (erf_test_data): Likewise.
3621         (exp2_test_data): Likewise.
3622         (fabs_test_data): Likewise.
3623         (floor_test_data): Likewise.
3624         (ilogb_test_data): Likewise.
3625         (j0_test_data): Likewise.
3626         (j1_test_data): Likewise.
3627         (jn_test_data): Likewise.
3628         (lgamma_test_data): Likewise.
3629         (lrint_test_data): Likewise.
3630         (llrint_test_data): Likewise.
3631         (logb_test_data): Likewise.
3632         (lround_test_data): Likewise.
3633         (llround_test_data): Likewise.
3634         (nearbyint_test_data): Likewise.
3635         (rint_test_data): Likewise.
3636         (round_test_data): Likewise.
3637         (sin_test_data): Likewise.
3638         (sincos_test_data): Likewise.
3639         (sinh_test_data): Likewise.
3640         (sqrt_test_data): Likewise.
3641         (tan_test_data): Likewise.
3642         (tanh_test_data): Likewise.
3643         (tgamma_test_data): Likewise.
3644         (trunc_test_data): Likewise.
3645         (y0_test_data): Likewise.
3646         (y1_test_data): Likewise.
3647         (yn_test_data): Likewise.
3649         * math/libm-test.inc: Update comment about NaN testing.
3650         (TEST_SNAN): New macro.
3651         (snan_value): Likewise.
3652         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3653         (fpclassify_test_data): Add sNaN tests.
3654         (isfinite_test_data): Likewise.
3655         (isinf_test_data): Likewise.
3656         (isnan_test_data): Likewise.
3657         (isnormal_test_data): Likewise.
3658         (issignaling_test_data): Likewise.
3659         (signbit_test_data): Likewise.
3660         * math/gen-libm-test.pl (%beautify): Add snan_value.
3661         (show_exceptions): Add argument $test_snan.
3662         (parse_args): Handle snan_value as non-finite.  Update call to
3663         show_exceptions.
3664         * math/Makefile (libm-test-no-inline-cflags): Add
3665         -fsignaling-nans.
3667 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3669         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3670         (CFLAGS-oldsendmsg.c): Add rule.
3671         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3672         Correct recvmsg symbol name.
3673         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3674         Likewise.
3676 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3678         * sysdeps/unix/sysv/linux/Makefile
3679         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3680         oldsendmmsg.
3681         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3682         sendmmsg.
3683         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3684         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3686         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3691         Likewise.
3692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3694         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3695         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3696         iovlen and controllen fields to adjust to POSIX specification.
3697         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3699         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3700         and change to correct expected type.
3701         (msghdr.msg_controllen): Likewise.
3702         (cmsghdr.cmsg_len): Likewise.
3703         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3704         expected POSIX assumption about the size.
3705         (msghdr.msg_controllen): Likewise.
3706         (msghdr.__glibc_reserved1): Likewise.
3707         (msghdr.__glibc_reserved2): Likewise.
3708         (cmsghdr.cmsg_len): Likewise.
3709         (cmsghdr.__glibc_reserved1): Likewise.
3710         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3711         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3712         (CFLAGS-sendmsg.c): Remove rule.
3713         (CFLAGS-recvmsg.c): Likewise.
3714         (CFLAGS-oldsendmsg.c): Add rule.
3715         (CFLAGS-oldrecvmsg.c): Likewise.
3716         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3717         recvmsg and sendmsg.
3718         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3719         Likewise.
3720         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3721         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3722         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3723         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3724         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3725         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3728         Likewise.
3729         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3730         Likewise.
3731         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3732         Likewise.
3733         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3734         Likewise.
3735         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3736         Likewise.
3737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3738         (GLIBC_2.24): Likewise.
3739         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3740         Likewise.
3741         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3742         Likewise.
3743         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3744         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3745         Likewise.
3746         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3747         Likewise.
3748         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3749         Likewise.
3750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3751         (GLIBC_2.24): Likewise.
3752         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3753         Likewise.
3754         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3755         Likewise.
3756         * sysdeps/unix/sysv/linux/Makefile
3757         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3758         (CFLAGS-sendmsg.c): Add rule.
3759         (CFLAGS-recvmsg.c): Likewise.
3760         (CFLAGS-oldsendmsg.c): Likewise.
3761         (CFLAGS-oldrecvmsg.c): Likewise.
3762         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3763         initialization.
3764         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3765         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3766         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3767         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3768         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3769         iovlen and controllen fields to adjust to POSIX specification.
3770         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3771         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3772         added recvmsg and sendmsg.
3773         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3774         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3776         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3778         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3779         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3780         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3781         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3782         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3783         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3784         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3786         Likewise.
3787         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3789         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3790         Likewise.
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3793         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3794         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3795         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3801         Likewise.
3802         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3803         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3805         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3806         from auto-generation.
3807         (sendmsg): Likewise.
3808         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3809         (sendmsg): Likewise.
3810         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3811         (sendmsg): Likewise.
3812         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3813         (sendmsg): Likewise.
3814         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3815         (sendmsg): Likewise.
3816         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3817         (sendmsg): Likewise.
3818         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3819         Likewise.
3820         (sendmsg): Likewise.
3821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3822         (sendmsg): Likewise.
3823         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3825         Remove.
3826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3827         Likewise.
3828         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3829         Undefine.
3830         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/kernel-features.h
3833         (__ASSUME_SENDMSG_SYSCALL): Define.
3834         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3835         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3836         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3837         Remove.
3838         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3839         Likewise.
3840         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3841         Undefine.
3842         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3843         Likewise.
3844         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3846         Remove.
3847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3848         Likewise.
3849         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3850         Undefine.
3851         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3852         Likewise.
3853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3854         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3855         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3856         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3857         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3858         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3859         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3860         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3861         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3863 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3865         * stdlib/gen-tst-strtod-round.c: Add backslash to
3866         compile command in comment.
3867         (printfp): Remove the literal suffix, and define an infinite
3868         value as INF to avoid expansion clash with INFINITY.
3869         (round_str): Remove the literal suffix.
3870         (round_for_all): Likewise, remove the now duplicate ldbl-64
3871         entry, and remove some magic constants.
3873         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3874         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3875         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3876         (_CONCAT): New macro.
3877         (CONCAT): Likewise.
3878         (CHOOSE_ld): Likewise.
3879         (CHOOSE_f): Likewise.
3880         (CHOOSE_d): Likewise.
3881         (FTYPE_MEMBER): Likewise.
3882         (BOOL_MEMBER): Likewise.
3883         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3884         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3885         (_XNTRY): Likewise.
3886         (XNTRY): Likewise.
3887         (_ENTRY): Likewise.
3888         (ENTRY): Likewise.
3889         (test_exactness): Generate members via macro.
3890         (test_results): Likewise.
3891         (test): Update members.
3892         (TEST): Redefine using new macros.
3893         (INF): New macro.
3894         (fetestmodes): New structure.
3895         (do_test): Refactor to be type generic.
3896         (test_in_one_mode): Refactor duplicate code into
3897         (GEN_ONE_TEST): New macro.
3899         * stdlib/tst-strtod-round-data.h: Regenerate.
3901         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3902         Extend to pass additional arbitrary parameters to
3903         generators.
3905 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3907         [BZ #15479]
3908         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3909         floating-point state after first floating-point operation on
3910         input.  Restore full floating-point state instead of just rounding
3911         mode.
3912         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3913         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3914         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3915         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3916         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3918         [BZ #15479]
3919         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3920         floating-point state after first floating-point operation on
3921         input.  Restore full floating-point state instead of just rounding
3922         mode.
3923         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3924         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3925         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3926         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3927         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3929 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3931         [BZ #19727]
3932         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3933         valid high surrogate.
3934         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3935         of an utf16 surrogate.
3936         * iconv/gconv_simple.c (BODY): Likewise.
3937         * iconvdata/bug-iconv12.c: New file.
3938         * iconvdata/Makefile (tests): Add bug-iconv12.
3940 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3942         [BZ #19726]
3943         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3944         outptrp in case of an illegal input.
3945         * iconv/tst-iconv6.c: New file.
3946         * iconv/Makefile (tests): Add tst-iconv6.
3948 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3950         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3951         an error in case of a value in range of an utf16 low surrogate.
3953 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3955         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3956         an error in case of a value in range of an utf16 low surrogate.
3958 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3960         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3961         Move to ...
3962         * sysdeps/s390/Makefile: ... here.
3963         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3964         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3965         (BRANCH_ON_COUNT): New define.
3966         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3967         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3968         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3969         run on s390-32, too.
3970         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3971         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3972         run on s390-32, too.
3973         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3974         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3975         run on s390-32, too.
3977 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3979         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3980         etf3eh or new vector loop-variant.
3982 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3984         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3985         etf3eh or new vector loop-variant.
3987 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3989         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3990         or new vector loop-variant.
3992 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3994         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3995         Rename to TR_LOOP and usage of tr instead of troo instruction.
3997 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3999         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4000         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4002 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4004         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4005         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4006         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4007         New override define.
4008         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4010 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4012         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4013         * sysdeps/s390/configure.ac: Add test for S390 vector register
4014         support in gcc.
4015         * sysdeps/s390/configure: Regenerated.
4017 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4019         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4020         Install file from $(objpfx)gconv-modules.
4021         ($(objpfx)gconv-modules): Concatenate architecture specific file
4022         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4023         * sysdeps/s390/gconv-modules: New file.
4024         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4025         Deleted.
4026         ($(objpfx)gconv-modules-s390): Deleted.
4027         (sysdeps-gconv-modules): New variable.
4029 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4031         [BZ #15479]
4032         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4033         of immediate operand to rounding instruction.
4034         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4035         Likewise.
4036         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4037         Likewise.
4038         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4039         Likewise.
4041 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4043         * math/libm-test.inc (MIN_EXP): Directly define as
4044         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4046 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4048         * math/libm-test.inc (MANT_DIG): Directly define as
4049         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4051 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4053         * stdlib/gen-tst-strtod-round.c (main):
4054           Change usage to more closely match the generated
4055           output.  Add usage and compilation instructions.
4056           (string_to_fp): Add and use FILE* parameter as
4057           output target.
4058           (print_fp): Likewise.
4059           (round_str): Likewise.
4060           (round_for_all): Likewise.
4061         * stdlib/tst-strtod-round.c (tests): Move into
4062         * stdlib/tst-strtod-round-data.h: New file.
4064 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4066         [BZ #15479]
4067         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4068         (__round): Do not force "inexact" exception.
4069         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4070         variable.
4071         (__round): Do not force "inexact" exception.
4072         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4073         (__roundf): Do not force "inexact" exception.
4074         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4075         (__roundl): Do not force "inexact" exception.
4076         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4077         (__roundl): Do not force "inexact" exception.
4078         * math/libm-test.inc (round_test_data): Do not allow spurious
4079         "inexact" exceptions.
4081         [BZ #15479]
4082         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4083         exception in comment.
4084         (huge): Remove variable.
4085         (__floor): Do not force "inexact" exception.
4086         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4087         "inexact" exception in comment.
4088         (huge): Remove variable.
4089         (__floor): Do not force "inexact" exception.
4090         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4091         exception in comment.
4092         (huge): Remove variable.
4093         (__floorf): Do not force "inexact" exception.
4094         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4095         exception in comment.
4096         (huge): Remove variable.
4097         (__floorl): Do not force "inexact" exception.
4099         [BZ #15479]
4100         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4101         exception in comment.
4102         (huge): Remove variable.
4103         (__ceil): Do not force "inexact" exception.
4104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4105         "inexact" exception in comment.
4106         (huge): Remove variable.
4107         (__ceil): Do not force "inexact" exception.
4108         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4109         (__ceilf): Do not force "inexact" exception.
4110         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4111         exception in comment.
4112         (huge): Remove variable.
4113         (__ceill): Do not force "inexact" exception.
4115 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4117         * config.h.in (BIND_NOW): New.
4118         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4119         * configure: Regenerated.
4120         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4121         indirect branch via the GOT slot.
4123 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4125         [BZ #19765]
4126         * sysdeps/s390/mempcpy.S: New File.
4127         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4128         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4129         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4130         Add mempcpy variants.
4131         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4132         (memcpy): Adjust to be usable from mempcpy entry point.
4133         (__memcpy_mvcle): Likewise.
4134         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4135         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4136         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4137         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4138         (__memcpy_z10): Likewise.
4139         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4141 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4143         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4144         Remove __GI_ symbol.
4145         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4146         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4147         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4148         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4149         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4150         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4152 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4154         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4155         Use cghi instead of chi to compare 64bit value.
4157 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4159         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4160         Jump to 1MB check before executing mvc-loop.
4162 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4164         [BZ #6527]
4165         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4166         unconditionally.
4167         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4169 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4171         * stdlib/tst-strtod6.c (do_test): Use new type generic
4172         invocation of the test function.
4173         (test): Refactor into ...
4174         (TEST_STRTOD): New macro base function.
4176 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4178         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4179         (TEST_STRTOD): New macro.
4180         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4182 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4184         * stdlib/tst-strtod6.c (do_test): Use new type generic
4185         invocation of the test function.
4186         (test): Refactor into ...
4187         (TEST_STRTOD): New macro base function.
4189 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4191         CVE-2016-4429
4192         [BZ #20112]
4193         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4194         payload.
4196 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4198         [BZ #20111]
4199         * bits/sockaddr.h (_SS_SIZE): Define.
4200         * bits/socket.h (_SS_SIZE): Remove.
4201         (_SS_PADSIZE): Adjust to account for all padding.
4202         (struct sockaddr_storage): Update comment.  Avoid implicit
4203         padding.
4204         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4205         (_SS_PADSIZE): Adjust to account for all padding.
4206         (struct sockaddr_storage): Update comment.  Avoid implicit
4207         padding.
4208         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4209         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4210         (_SS_PADSIZE): Adjust to account for all padding.
4211         (struct sockaddr_storage): Update comment.  Avoid implicit
4212         padding.
4213         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4214         __SS_SIZE is 126 in this version.
4215         * inet/tst-sockaddr.c: New file.
4216         * inet/Makefile (tests): Add tst-sockaddr.c
4217         (tst-sockaddr.c): Compile with non-strict aliasing.
4219 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4221         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4222         [XPG3 || XPG4].
4223         (NL_ARGMAX): Also expect for [XPG3].
4224         (NL_LANGMAX): Likewise.
4225         (NL_MSGMAX): Likewise.
4226         (NL_NMAX): Likewise.
4227         (NL_SETMAX): Likewise.
4228         (NL_TEXTMAX): Likewise.
4229         (NZERO): Likewise.
4230         (TMP_MAX): Likewise.
4231         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4232         variable.
4234         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4235         (PF_MAX): Update value.
4236         (AF_KCM): New macro.
4237         (SOL_NETBEUI): Likewise.
4238         (SOL_LLC): Likewise.
4239         (SOL_DCCP): Likewise.
4240         (SOL_NETLINK): Likewise.
4241         (SOL_TIPC): Likewise.
4242         (SOL_RXRPC): Likewise.
4243         (SOL_PPPOL2TP): Likewise.
4244         (SOL_BLUETOOTH): Likewise.
4245         (SOL_PNPIPE): Likewise.
4246         (SOL_RDS): Likewise.
4247         (SOL_IUCV): Likewise.
4248         (SOL_CAIF): Likewise.
4249         (SOL_ALG): Likewise.
4250         (SOL_NFC): Likewise.
4251         (SOL_KCM): Likewise.
4252         (MSG_BATCH): New enum value and macro.
4254 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4256         [BZ #18185]
4257         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4258         sharing L2 cache to 2 for Knights Landing.
4260 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4262         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4263         (FTW_DP): Do not expect for [XPG3 || XPG4].
4264         (FTW_SL): Do not expect for [XPG3].
4265         (FTW_SLN): Likewise.
4266         (FTW_PHYS): Likewise.
4267         (FTW_MOUNT): Likewise.
4268         (FTW_DEPTH): Likewise.
4269         (FTW_CHDIR): Likewise.
4270         (nftw): Likewise.
4271         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4272         variable.
4274 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4276         * manual/errno.texi: Fix various typos & grammar errors.
4278 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4280         * manual/intro.texi: Fix duplicated typo.
4282 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4284         [BZ #13304]
4285         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4286         <float.h>, <math_private.h> and <stdlib.h>.
4287         (add_split): New function.
4288         (mul_split): Likewise.
4289         (ext_val): New typedef.
4290         (store_ext_val): New function.
4291         (mul_ext_val): New function.
4292         (compare): New function.
4293         (add_split_ext): New function.
4294         (__fmal): After checking for Inf, NaN and zero, compute result as
4295         an exact sum of scaled double values in round-to-nearest before
4296         adding those up and adjusting for other rounding modes.
4297         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4298         tests of fma.
4299         * math/auto-libm-test-out: Regenerated.
4301 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4303         [BZ #20119]
4304         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4305         processor level type mask for CPUID with EAX == 11.
4307 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4309         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4310         logical threads if the HTT bit is 0.
4311         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4312         (index_cpu_HTT): Likewise.
4313         (reg_HTT): Likewise.
4315 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4317         [BZ #20115]
4318         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4319         Remove alignments on jump targets.
4321 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4323         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4324         (getpwent): Likewise.
4325         (setpwent): Likewise.
4326         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4327         variable.
4329         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4330         (remque): Likewise.
4331         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4332         variable.
4334 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4336         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4337         not being tested.
4339 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4341         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4342         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4343         call.
4344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4345         (__condvar_cleanup1): Likewise.
4347 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4349         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4350         New
4351         (__pthread_unwind): Renamed to ...
4352         (PTHREAD_UNWIND): This.
4353         (__pthread_enable_asynccancel): Replace
4354         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4356 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4358         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4359         (CLONE_NEWCGROUP): New macro.
4361         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4362         (Q_GETNEXTQUOTA): New macro.
4364 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4366         [BZ #19907]
4367         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4368         buffer updated by the previous run.
4369         * string/test-memcpy.c (do_one_test): Likewise.
4370         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4371         * string/test-memmove.c (do_one_test): Likewise.
4373 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4375         [BZ #20094]
4376         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4377         not [__USE_XOPEN].
4378         (unlockpt): Likewise.
4379         (ptsname): Likewise.
4380         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4381         variable.
4383         [BZ #20076]
4384         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4385         instead of [__USE_UNIX98].
4386         (S_ISSOCK): Likewise.
4387         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4388         variable.
4390         [BZ #20074]
4391         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4392         [__USE_POSIX].
4393         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4394         variable.
4396         [BZ #20051]
4397         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4398         (ttyslot): Do not declare.
4399         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4400         (ttyslot): New prototype.
4401         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4402         variable.
4403         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4405 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4407         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4409 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4411         Fix race condition in tst-mallocfork2, use fewer resources.
4412         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4413         to current process group.
4414         (signal_sender): Yield in the non-sleeping case.
4416 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4418         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4419         (ecvt): Likewise.
4420         (fcvt): Likewise.
4421         (gcvt): Likewise.
4422         (getsubopt): Likewise.
4423         (grantpt): Likewise.
4424         (initstate): Likewise.
4425         (l64a): Likewise.
4426         (mktemp): Likewise.
4427         (mkstemp): Likewise.
4428         (ptsname): Likewise.
4429         (random): Likewise.
4430         (realpath): Likewise.
4431         (setstate): Likewise.
4432         (srandom): Likewise.
4433         (ttyslot): Likewise.
4434         (unlockpt): Likewise.
4435         (valloc): Likewise.
4437         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4438         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4439         variable.
4441 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4443         [BZ #20072]
4444         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4445         init_cpu_features only if SHARED is defined.
4446         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4448 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4450         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4451         non-inclusive caches on Intel processors.
4453 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4455         * malloc/malloc.c (dumped_main_arena_start)
4456         (dumped_main_arena_end): New variables.
4457         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4458         (do_check_chunk): Skip dumped fake mmapped chunks.
4459         (munmap_chunk): Likewise.
4460         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4461         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4462         mmapped chunks.
4463         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4464         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4465         and dumped_main_arena_end to cover the dumped heap.
4467 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4469         * conform/data/time.h-data (getdate_err): Do not expect for
4470         [XPG3].
4471         (getdate): Likewise.
4472         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4473         variable.
4475         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4476         (F_ULOCK): Likewise.
4477         (F_TEST): Likewise.
4478         (F_TLOCK): Likewise.
4479         (useconds_t): Likewise.
4480         (intptr_t): Do not expect for [XPG3] or [XPG4].
4481         (brk): Do not expect for [XPG3]
4482         (fchown): Likewise.
4483         (fchdir): Likewise.
4484         (ftruncate): Likewise.
4485         (getdtablesize): Likewise.
4486         (gethostid): Likewise.
4487         (getpagesize): Likewise.
4488         (getpgid): Likewise.
4489         (getsid): Likewise.
4490         (getwd): Likewise.
4491         (lchown): Likewise.
4492         (lockf): Likewise.
4493         (readlink): Likewise.
4494         (sbrk): Likewise.
4495         (setpgrp): Likewise.
4496         (setregid): Likewise.
4497         (setreuid): Likewise.
4498         (symlink): Likewise.
4499         (sync): Likewise.
4500         (truncate): Likewise.
4501         (ualarm): Likewise.
4502         (usleep): Likewise.
4503         (vfork): Likewise.
4504         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4505         variable.
4507         [BZ #20054]
4508         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4509         not [__USE_UNIX98].
4510         * conform/data/unistd.h-data (gethostname): Do not expect for
4511         [XPG3].
4513         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4514         [!POSIX] (S_IFBLK): Likewise.
4515         [!POSIX] (S_IFCHR): Likewise.
4516         [!POSIX] (S_IFIFO): Likewise.
4517         [!POSIX] (S_IFREG): Likewise.
4518         [!POSIX] (S_IFDIR): Likewise.
4519         [!POSIX] (S_IFLNK): Likewise.
4520         [!POSIX] (S_IFSOCK): Likewise.
4521         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4522         variable.
4523         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4525 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4527         * sysdeps/aarch64/memset.S (__memset):
4528         Rewrite of optimized memset.
4530 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4532         [BZ #19703]
4533         Partially async-signal-safe fork for single-threaded processes.
4534         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4535         variable.  Do not acquire and reset/release malloc and libio locks
4536         in single-threaded processes.
4537         * malloc/tst-mallocfork2.c: New file.
4538         * malloc/Makefile (tests): Add it.
4540 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4542         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4543         argument.  Use scratch buffer instead of extend_alloca.
4544         (gethosts): Use scratch buffer instead of extend_alloca.
4545         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4546         extend_alloca.
4547         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4549 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #20055]
4552         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4553         instead of [__USE_UNIX98].
4554         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4555         [__USE_UNIX98].
4556         * conform/data/termios.h-data (tcgetsid): Do not expect for
4557         [XPG3].
4558         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4559         variable.
4560         (test-xfail-XPG4/termios.h/conform): Likewise.
4562 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4564         Do not use mcheck in localedef.
4565         * locale/programs/localedef.c (turn_on_mcheck)
4566         (__malloc_initialize_hook): Remove.
4568 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4570         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4571         * sysdeps/s390/s390-64/Makefile: Likewise.
4573 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4575         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4576         Remove ifunc-defines.sym.
4577         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4578         Likewise.
4579         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4580         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4581         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4582         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4583         rtld-global-offsets.sym.
4584         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4585         * sysdeps/x86/cpu-features-offsets.sym: This.
4586         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4587         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4589 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4591         [BZ #20073]
4592         * io/sys/stat.h (fchmod): Declare for
4593         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4594         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4595         variable.
4597         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4598         [XPG3] (S_IFSOCK): Likewise.
4599         [XPG3] (S_ISVTX): Likewise.
4600         [XPG3] (S_ISLNK): Likewise.
4601         [XPG3] (S_ISSOCK): Likewise.
4602         [XPG3] (fchmod): Likewise.
4603         [XPG3] (lstat): Likewise.
4604         [XPG3] (mknod): Likewise.
4606         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4607         [XPG3].  Expect type long and XFAIL for [XPG4].
4608         (st_blocks): Likewise.
4610         [BZ #20044]
4611         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4612         (pthread_atfork): New prototype.
4613         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4614         variable.
4616         [BZ #20043]
4617         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4618         prototype.
4620 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4622         [BZ #20017]
4623         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4624         gmtime.
4626 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4628         [BZ #19994]
4629         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4630         flag in _res.options.
4632 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4634         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4635         [XPG3 || XPG4].
4636         (blksize_t): Likewise.
4637         (clockid_t): Likewise.
4638         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4639         variable.
4640         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4642 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4644         * sysdeps/unix/sysv/linux/s390/init-first.c:
4645         Add VDSO_SYMBOL(getcpu).
4646         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4647         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4648         Add VDSO_SYMBOL(getcpu).
4649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4650         New define HAVE_GETCPU_VSYSCALL.
4651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4653 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4655         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4656         instead of <sysdeps/x86_64/cacheinfo.c>.
4657         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4658         * sysdeps/x86/cacheinfo.c: Here.
4660 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4662         * malloc/malloc-internal.h: Adjust header file guard.
4664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4666         [BZ #19787]
4667         * inet/getnameinfo.c (check_sprintf_result): New function.
4668         (CHECKED_SNPRINTF): New macro.
4669         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4670         to the host buffer.
4671         (gni_host_local): Use checked_copy to copy the host name.
4672         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4673         (gni_serv_local): Use checked_copy to copy the service name.
4674         (getnameinfo): Remove unnecessary truncation of result buffers.
4676 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4678         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4679         in case of inet_ntop failure.
4681 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4683         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4684         avoid long lines.
4685         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4686         variables.
4687         (gni_host_inet, gni_host_local): Add comment.
4688         (gni_host): Add comment.  Use temporary to avoid long lines.
4690 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4692         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4693         registers specifiers where general purpose registers specifiers should
4694         have been used.
4696 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4698         [BZ #19779]
4699         CVE-2016-1234
4700         Avoid copying names of directory entries.
4701         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4702         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4703         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4704         (struct readdir_result): New type.
4705         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4706         (GL_READDIR): New macros.
4707         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4708         (convert_dirent, convert_dirent64): New functions.
4709         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4710         convert_dirent64.  Adjust references to the readdir result.
4711         * sysdeps/unix/sysv/linux/i386/glob64.c:
4712         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4713         * posix/bug-glob2.c (LONG_NAME): Define.
4714         (filesystem): Add LONG_NAME.
4715         (my_DIR): Increase the size of room_for_dirent.
4717 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4719         [BZ #20041]
4720         * misc/sys/select.h (__need_timespec): Only define if
4721         [__USE_XOPEN2K].
4722         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4723         variable.
4724         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4725         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4726         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4728 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4729             Segher Boessenkool  <segher@gcc.gnu.org>
4731         [BZ #20004]
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4733         (__novec_swapcontext): Add missing load.
4735 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4737         [BZ #20023]
4738         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4739         <time.h>.
4740         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4741         variable.
4742         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4744 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4747         flags CLONE_VM compare.
4749 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4751         [BZ #20031]
4752         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4753         completely empty.
4755 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4757         [BZ #19573]
4758         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4759         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4760         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4761         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4762         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4763         (hesiod_free_list): Mark as hidden.
4764         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4765         res_set, res_get.
4766         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4767         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4768         (hesiod_init): Remove obsolete res_ninit call.
4769         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4770         (hesiod_bind): Do not call init.
4771         (get_txt_records): Use res_mkquery, res_send instead of
4772         res_nmkquery, res_nsend.
4773         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4774         instead of _nss_hesiod_init.
4775         (_nss_hesiod_initgroups_dyn): Likewise.
4776         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4777         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4778         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4780 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4782         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4783         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4785 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4787         * hesiod/hesiod.h: Remove RCS keyword.
4788         * hesiod/hesiod_p.h: Likewise.
4790         * hesiod/hesiod.c: Likewise.
4792 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4794         [BZ #12450]
4795         * locale/iso-639.def: Add Samogitian/sgs.
4797 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4799         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4801         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4803 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4804             Carlos O'Donell  <carlos@redhat.com>
4806         [BZ #19072]
4807         * grp/Makefile (headers): Add grp-merge.h
4808         (routines): Add grp-merge.
4809         * grp/getgrgid_r.c: Include grp-merge.h.
4810         (DEEPCOPY_FN): Define.
4811         (MERGE_FN): Define.
4812         * grp/getgrname_r.c: Include grp-merge.h.
4813         (DEEPCOPY_FN): Define.
4814         (MERGE_FN): Define.
4815         * grp/grp-merge.c: New file.
4816         * grp/grp-merge.h: New file.
4817         * include/grp-merge.h: New file.
4818         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4819         __copy_grp@GLIBC_PRIVATE.
4820         * manual/nss.texi (Actions in the NSS configuration): Describe
4821         return, continue, and merge.
4822         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4823         (DEEPCOPY_FN): Define.
4824         (MERGE_FN): Define.
4825         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4826         (DEEPCOPY_FN): Define.
4827         (MERGE_FN): Define.
4828         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4829         [!MERGE_FN]: Define __merge_einval.
4830         (CHECK_MERGE): Define.
4831         (REENTRANT_NAME): Process merge if do_merge is true.
4832         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4833         (__nss_getent_r): Likewise.
4834         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4835         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4837 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4839         [BZ #20012]
4840         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4841         length to calculate the buffer to read.
4842         (fmemopen_write): Set the buffer position based on bytes written.
4843         (fmemopen_seek): Return EINVAL for invalid whence modes.
4845         [BZ #19957]
4846         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4847         tst-getpid2.
4848         (test): Add tst-clone2.
4849         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4850         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4851         pid/tid fields for CLONE_VM.
4852         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4853         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4854         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4855         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4856         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4857         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4858         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4859         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4861         Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4863         Likewise.
4864         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4865         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4866         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4867         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4868         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4869         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4870         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4871         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4873 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4875         [BZ #19642]
4876         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4877         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4878         (gni_serv_local, gni_serv): New functions extracted from
4879         getnameinfo.
4880         (getnameinfo): Call gni_host and gni_serv to perform the
4881         processing.  Always free scratch buffer.
4883 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4885         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4886         remaining bytes in the dest string, with zeros.
4888 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4890         [BZ #20010]
4891         CVE-2016-3706
4892         * sysdeps/posix/getaddrinfo.c
4893         (convert_hostent_to_gaih_addrtuple): New function.
4894         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4895         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4896         AF_INET data.
4898 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4900         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4901         callback function gl_readdir.
4902         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4903         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4904         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4905         memcpy to copy the name.
4906         * manual/pattern.texi (Calling Glob): Document requirements for
4907         implementations of the gl_readdir callback function.
4908         * manual/examples/mkdirent.c: New example.
4909         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4910         per the manual guidance.
4911         * posix/tst-gnuglob.c (my_readdir): Likewise.
4913 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4915         [BZ #20014]
4916         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4917         not [__USE_POSIX].
4918         (getchar_unlocked): Likewise.
4919         (putc_unlocked): Likewise.
4920         (putchar_unlocked): Likewise.
4921         (flockfile): Likewise.
4922         (ftrylockfile): Likewise.
4923         (funlockfile): Likewise.
4924         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4925         variable.
4926         (test-xfail-XPG4/stdio.h/conform): Likewise.
4928         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4929         Expect constant.
4930         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4931         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4932         variable.
4933         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4934         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4936         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4937         [__USE_LARGEFILE64] (off64_t): Likewise.
4938         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4939         variable.
4941 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4943         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4947         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4948         * resolv/res_init.c: Likewise.
4949         * resolv/res_mkquery.c: Likewise.
4951 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4953         * resolv/res_init.c (isascii): Do not define.  Use definition in
4954         <ctype.h>.
4955         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4956         (LOG_AUTH): Remove.
4957         (SPRINTF): Remove, adjust caller.
4958         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4960 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4963         SUNSECURITY conditional.
4964         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4966 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4968         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4969         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4970         Remove BSD-related preprocessor conditionals.
4971         * conf/portability.h: Remove.
4973 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4975         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4976         * resolv/res_data.c: Likewise.
4978 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4980         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4981         * resolv/res_data.c: Remove code conditional on ultrix.
4983 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4985         * resolv/res_init.c (RFC1535): Do not define.  Remove
4986         RFC1535 preprocessor conditionals.
4987         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4988         because there configuration options which make the resolver
4989         behavior different.
4991 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4993         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4994         RESOLVSORT preprocessor conditionals.
4995         * resolv/nss_dns/dns-host.c: Likewise.
4996         * resolv/res_init.c: Likewise.
4998 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5000         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5001         is never defined.
5003 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5005         * inet/inet_lnaof.c: Remove SCSS keyword.
5006         * inet/inet_mkadr.c: Likewise.
5007         * inet/inet_net.c: Likewise.
5008         * inet/inet_netof.c: Likewise.
5009         * inet/rcmd.c: Likewise.
5010         * inet/rexec.c: Likewise.
5011         * inet/ruserpass.c: Likewise.
5013 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5015         * resolv/inet_addr.c: Remove _LIBC conditionals.
5016         * resolv/res_data.c: Likewise.
5017         * resolv/res_init.c: Likewise.
5018         * resolv/res_mkquery.c: Likewise.
5019         * resolv/res_libc.c: Update comment.
5020         * resolv/README: Update.
5022 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5024         * resolv/gethnamaddr.c: Remove SCSS keyword.
5025         * resolv/herror.c: Likewise.
5026         * resolv/inet_addr.c: Likewise.
5027         * resolv/inet_net_ntop.c: Likewise.
5028         * resolv/inet_net_pton.c: Likewise.
5029         * resolv/inet_neta.c: Likewise.
5030         * resolv/inet_ntop.c: Likewise.
5031         * resolv/inet_pton.c: Likewise.
5032         * resolv/ns_date.c: Remove RCS keyword.
5033         * resolv/ns_name.c: Likewise.
5034         * resolv/ns_netint.c: Likewise.
5035         * resolv/ns_parse.c: Likewise.
5036         * resolv/ns_print.c: Likewise.
5037         * resolv/ns_samedomain.c: Likewise.
5038         * resolv/ns_ttl.c: Likewise.
5039         * resolv/nsap_addr.c: Likewise.
5040         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5041         * resolv/res_data.c: Remove RCS keyword.
5042         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5043         * resolv/res_init.c: Likewise.
5044         * resolv/res_mkquery.c: Likewise.
5045         * resolv/res_query.c: Likewise.
5046         * resolv/res_send.c: Likewise.
5048 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5050         * conform/data/stdio.h-data (fdopen): Expect also for
5051         [XPG3 || XPG4].
5053         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5054         (fseeko): Likewise.
5055         (ftello): Likewise.
5056         (ftrylockfile): Likewise.
5057         (funlockfile): Likewise.
5058         (getc_unlocked): Likewise.
5059         (getchar_unlocked): Likewise.
5060         (putc_unlocked): Likewise.
5061         (putchar_unlocked): Likewise.
5063 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5065         [BZ #19868]
5066         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5067         DNS packet syntax checks (which were not needed before).  Skip
5068         over non-PTR records.
5070 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5072         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5073         definition.  Include <stddef.h> instead.
5075 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5077         [BZ #19831]
5078         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5079         function.
5080         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5081         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5083 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5085         [BZ #19862]
5086         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5087         (getanswer_r): Do not call syslog.
5088         (gaih_getanswer_slice): Likewise.
5089         * resolv/gethnamaddr.c (AskedForGot): Remove.
5090         (getanswer): Do not call syslog.
5091         (gethostbyaddr): Likewise.
5093 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5095         * conform/data/signal.h-data (union sigval): Expect also if
5096         [XOPEN2K].
5097         (struct sigevent): Likewise.
5098         (SIGEV_NONE): Likewise.
5099         (SIGEV_SIGNAL): Likewise.
5100         (SIGEV_THREAD): Likewise.
5101         (SIGRTMIN): Likewise.
5102         (SIGRTMAX): Likewise.
5103         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5104         variable.
5105         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5107 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5109         [BZ #19830]
5110         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5111         (gaih_getanswer_slice): Likewise.
5112         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5113         Also check for availability of RR metadata.
5115 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5117         [BZ #19825]
5118         * resolv/res_send.c (send_vc): Remove early *resplen2
5119         initialization.  Set *resplen2 on socket error.  Call
5120         close_and_return_error for other errors.
5122 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5124         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5125         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5126         (SCM_IUCV_TRGCLS): New define.
5128 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5130         [BZ #20005]
5131         * libio/fmemopen.c (fmemopen_write): Update internal position after
5132         write.
5133         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5134         * stdio-common/tst-fmemopen4.c: New file..
5136 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5138         [BZ #19996]
5139         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5140         not [__USE_XOPEN2K].
5141         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5142         variable.
5144         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5145         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5146         variable.
5148         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5149         [__USE_XOPEN2K8].
5150         [__USE_LARGEFILE64] (off64_t): Likewise.
5151         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5152         variable.
5154 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5156         [BZ #19989]
5157         * libio/stdio.h (cuserid): Do not declare if
5158         [__USE_XOPEN2K && !__USE_GNU].
5159         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5160         variable.
5162 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5164         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5165         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5167         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5168         ifunc'ed strcspn.
5169         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5170         [EALIGN]: Removed.
5171         [END]: Likewise
5172         [STRSPN]: Define instead of the above to control symbol name.
5173         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5174         New file.
5175         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5176         Likewise.
5177         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5178         Likewise.
5179         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5180         Likewise.
5181         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5182         [INITIAL_MASK]: New macro.
5183         [STRCSPN]: Likewise.
5184         [UPDATE_MASK]: Likewise.
5185         [USE_AS_STRCSPN]: Lisewise.
5187 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5189         [BZ #19931]
5190         * stdio-common/tst-vfprintf-width-prec.c: New file.
5191         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5192         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5193         (generated): Add mtrace-related files.
5194         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5195         (tst-%-mem.out): New pattern rule, replaces
5196         tst-printf-bz18872-mem.out.
5197         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5198         specifier, deallocate any previously allocated work buffer.
5200 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5202         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5203         Add nop before __startcontext, add explaining comments.
5205 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5207         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5208         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5209         completely different API.
5211         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5212         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5213         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5214         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5215         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5216         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5217         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5218         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5219         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5220         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5222 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5224         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5226 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5228         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5229         when it is the default of 0.
5231 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5233         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5234         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5235         (sysdep_routines): Add new strcasestr targets.
5236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5237         (__libc_ifunc_impl_list): Likewise.
5238         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5239         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5240         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5241         * sysdeps/powerpc/powerpc64/power8/Makefile:
5242         New file to add strcasestr-ppc64 to sysdep_routines.
5243         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5244         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5246 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5248         * benchtests/Makefile (wcsmbs-benchset): Include only for
5249         native builds and runs.
5250         (LOCALES): Likewise.
5251         (bench-build): Build timing-type here instead of the bench
5252         target.  Generate locale only for native builds.
5253         * benchtests/README: Add note for cross-building.
5255         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5257         * benchtests/README: Update README to include instructions on
5258         using bench-build.
5260         * Makefile.in (bench-build): New target.
5261         * Rules (PHONY): Add bench-build target.
5262         * benchtests/Makefile (bench): Depend on bench-build.
5263         (bench-build): New target.
5265 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5267         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5268         profil_reply_port.
5269         (profile_waiter): Do not initialize profil_reply_port.
5270         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5271         frequency instead of tick length in us.
5273 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5275         [BZ #18712]
5276         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5277         (__old_mempcpy_small): Likewise.
5278         (__old_strcpy_small): Likewise.
5279         (__old_stpcpy_small): Likewise.
5280         (__old_strpbrk_c2): Fix compat symbol name.
5281         (__old_strpbrk_c3): Likewise.
5282         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5283         (__mempcpy_small): Remove.
5284         (__strcpy_small): Remove.
5285         (__stpcpy_small): Remove.
5287 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5289         [BZ #19400]
5290         * locale/iso-639.def: Add the Talossan/tzl language.
5292 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5294         [BZ #16983]
5295         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5296         comment.  Add "ln" to strchr check on postal_fmt.
5298 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5300         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5301         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5302         tel_dom_fmt.
5304 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5306         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5307         (sysdep_routines): Added __strlen_power8.
5308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5309         __strlen_power8 entry.
5310         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5311         Implementation for POWER8.
5312         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5313         for __strlen_power8.
5314         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5315         Implementation for POWER8.
5317 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5319         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5321 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5323         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5324         Goldmont and Airmont processors.
5326 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5328         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5329         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5330         (__STRING2_SMALL_GET32): Remove.
5331         (memset): Remove.
5332         (__memset_1): Remove.
5333         (__memset_gc): Remove.
5334         (__mempcpy): Remove.
5335         (mempcpy): Remove.
5336         (__mempcpy_args): Remove.
5337         (strchr): Remove.
5338         (strcpy): Remove.
5339         (strcpy_args): Remove.
5340         (__stpcpy_args): Remove.
5341         (__strcmp_cc): Remove.
5342         (__strcmp_gc): Remove.
5343         (strstr): Remove.
5345 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5347         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5348         * nis/nis_call.c (nis_server_cache_add): Likewise.
5350 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5352         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5354 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5356         * malloc/arena.c (__malloc_fork_lock_parent)
5357         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5358         internal_function attribute.
5360 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5362         * stdio-common/printf_fp.c (__printf_fp_l):
5363         Rename ___printf_fp_l to __printf_fp_l and
5364         remove strong alias. Use libc_hidden_def instead
5365         of ldbl_hidden_def macro.
5367 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5369         Remove malloc hooks from fork handler.  They are no longer needed
5370         because malloc runs right before fork, and no malloc calls from
5371         other fork handlers are not possible anymore.
5372         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5373         declarations.
5374         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5375         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5376         (atfork_recursive_cntr): Remove.
5377         (__malloc_fork_lock_parent): Do not override malloc hooks and
5378         thread_arena.
5379         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5380         thread_arena.
5381         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5382         thread_arena instead of save_arena.
5384 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5386         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5387         (thread_atfork, thread_atfork_static): Remove.
5388         * sysdeps/mach/hurd/malloc-machine.h:
5389         (thread_atfork, thread_atfork_static): Remove.
5391 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5393         [BZ #19431]
5394         Run the malloc fork handler as late as possible to avoid deadlocks.
5395         * malloc/malloc-internal.h: New file.
5396         * malloc/malloc.c: Include it.
5397         * malloc/arena.c (ATFORK_MEM): Remove.
5398         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5399         Update comment.
5400         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5401         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5402         Remove outdated comment.
5403         (ptmalloc_init): Do not call thread_atfork.  Remove
5404         thread_atfork_static.
5405         * malloc/tst-malloc-fork-deadlock.c: New file.
5406         * Makefile (tests): Add tst-malloc-fork-deadlock.
5407         (tst-malloc-fork-deadlock): Link against libpthread.
5408         * manual/memory.texi (Aligned Memory Blocks): Update safety
5409         annotation comments.
5410         * sysdeps/nptl/fork.c (__libc_fork): Call
5411         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5412         __malloc_fork_unlock_child.
5413         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5415 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5417         [BZ #19613]
5418         Remove union wait.
5419         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5420         (w_stopsig, w_stopval): Remove.
5421         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5422         stat_loc argument.
5423         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5424         (__WAIT_STATUS_DEFN): Remove.
5425         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5426         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5427         (wait, wait3, wait4): Use int * for the stat_loc argument.
5428         * posix/wait.c (__wait): Likewise.
5429         * posix/wait3.c (__wait3): Likewise.
5430         * posix/wait4.c (__wait4): Likewise.
5431         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5432         (__WAIT_STATUS_DEFN): Remove.
5433         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5434         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5435         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5436         argument.
5437         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5438         * sysdeps/posix/wait3.c (__wait3): Likewise.
5439         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5440         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5441         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5442         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5443         stat_loc argument.
5444         * manual/process.texi (BSD Wait Functions): Remove union wait.
5446 2016-04-13  Andreas Schwab  <schwab@suse.de>
5448         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5449         (test-extras): Add tst-tlsalign-vars.
5450         * math/Makefile: Wrap long lines.
5451         (libm-vec-test-wrappers): Define.
5452         (test-extras): Add $(libm-vec-test-wrappers).
5453         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5454         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5455         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5456         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5457         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5458         (extra-test-objs): Add corresponding objects.
5460 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5462         [BZ #19928]
5463         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5464         New.
5465         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5466         times of shared cache size.
5467         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5468         (VMOVNT): New.
5469         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5470         (VMOVNT): Likewise.
5471         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5472         (VMOVNT): Likewise.
5473         (VMOVU): Changed to movups for smaller code sizes.
5474         (VMOVA): Changed to movaps for smaller code sizes.
5475         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5476         comments.
5477         (PREFETCH): New.
5478         (PREFETCH_SIZE): Likewise.
5479         (PREFETCHED_LOAD_SIZE): Likewise.
5480         (PREFETCH_ONE_SET): Likewise.
5481         Rewrite to use forward and backward loops, which move 4 vector
5482         registers at a time, to support overlapping addresses and use
5483         non temporal store if size is above the threshold and there is
5484         no overlap between destination and source.
5486 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5488         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5489         Include dl-vdso.
5490         * sysdeps/unix/sysv/linux/mips/Versions: Add
5491         __vdso_clock_gettime.
5492         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5493         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5494         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5495         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5496         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5497         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5498         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5499         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5500         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5502 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5504         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5505         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5506         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5508         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5509         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5512         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5514         syscalls generation.
5515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5516         [__NR_pwrite64] (__NR_write): Remove define.
5517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5518         [__NR_pwrite64] (__NR_write): Remove define.
5519         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5520         Remove define.
5521         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5522         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5523         Remove define.
5524         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5525         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5526         Linux implementation as base.
5527         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5529         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5530         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5535         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5537         syscall generation.
5538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5539         [__NR_pread64] (__NR_pread): Remove define.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5541         [__NR_pread64] (__NR_pread): Likewise.
5542         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5543         define.
5544         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5545         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5546         Remove define.
5547         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5548         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5549         Linux implementation as base.
5550         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5551         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5552         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5554         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5555         definition.
5556         (__ALIGNMENT_COUNT): Likewise.
5557         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5558         (__ALIGNMENT_COUNT): Likewise.
5559         (SYSCALL_LL): New define.
5560         (SYSCALL_LL64): Likewise.
5561         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5562         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5563         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5564         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5566         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5567         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5568         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5569         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5570         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5571         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5573 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5575         [BZ #19865]
5576         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5577         original buffer before retry.
5579 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5581         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5582         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5583         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5584         GLRO(dl_auxv) list.
5585         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5586         including <ldsodefs.h>.
5587         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5589 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5591         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5592         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5593         $(CPPFLAGS).
5595 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5597         [BZ #17950]
5598         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5599         Add -mfpmath=387.
5601 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5603         * sysdeps/i386/configure.ac: Change == to = when calling test.
5604         * sysdeps/x86_64/configure.ac: Likewise.
5605         * sysdeps/i386/configure: Regenerated.
5606         * sysdeps/x86_64/configure: Likewise.
5608 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5610         [BZ #16137]
5611         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5612         * benchtests/bench-strcoll.c (input_files): Likewise.
5613         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5614         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5615         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5617 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5619         [BZ #19929]
5620         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5621         [__USE_XOPEN2K8 && !__USE_GNU].
5622         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5623         variable.
5625         [BZ #19925]
5626         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5627         define if [!__USE_MISC && __USE_XOPEN2K].
5628         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5629         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5631         Likewise.
5632         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5633         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5634         variable.
5635         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5637 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5639         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5640         (sysdep_routines): Add new strspn targets.
5641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5642         (__libc_ifunc_impl_list): Add strspn.
5643         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5644         New file.
5645         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5646         Likewise.
5647         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5648         Likewise.
5649         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5650         Likewise.
5652 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5654         * misc/hsearch_r.c: Include <limits.h>.
5656 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5658         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5660 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5662         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5663         (MEMCPY_SYMBOL): New.
5664         (MEMPCPY_SYMBOL): Likewise.
5665         (MEMMOVE_CHK_SYMBOL): Likewise.
5666         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5667         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5668         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5669         Provide alias for memcpy in libc.a and ld.so.
5671 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5673         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5674         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5675         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5676         Disabled fro now.
5677         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5678         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5680 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5682         * benchtests/Makefile (string-benchset): Add memcpy-large,
5683         memmove-large and memset-large.
5684         * benchtests/bench-memcpy-large.c: New file.
5685         * benchtests/bench-memmove-large.c: Likewise.
5686         * benchtests/bench-memmove-large.c: Likewise.
5687         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5689 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5691         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5692         32-bit displacement to avoid long nop between instructions.
5694 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5696         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5697         a comment on VMOVU and VMOVA.
5699 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5701         [BZ #19633]
5702         Use specified locale for number formatting in strfmon_l.
5703         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5704         (__nl_lookup_word): New inline functions.
5705         * include/printf.h (__print_fp_l): Declare.
5706         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5707         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5708         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5709         (___printf_fp): New function.
5710         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5711         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5712         * stdlib/tst-strfmon_l.c (do_test): New test.
5713         * stdlib/Makefile (tests): Add kt.
5714         (LOCALES): Build additional locales.
5715         (tst-strfmon_l.out): Require locales.
5717 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5719         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5720         if not in libc.
5721         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5722         Likewise.
5723         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5724         Likewise.
5725         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5726         Likewise.
5728 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5730         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5731         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5732         with unaligned_erms.
5733         (__memmove_erms): Skip if source == destination.
5734         (__memmove_unaligned_erms): Don't check source == destination
5735         first.
5737 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5739         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5740         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5742 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5744         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5745         * string/strspn.c (strspn): Likewise.
5747 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5749         * benchtests/bench-memset.c (do_test): Support 64-byte
5750         alignment.
5751         (test_main): Test 64-byte alignment.
5753 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5755         * benchtests/bench-memmove.c (test_main): Test 64-byte
5756         alignment.
5758 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5760         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5762 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5764         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5765         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5766         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5768         * string/strpbrk.c (strpbrk): Rewrite function.
5769         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5770         (__strpbrk_c2): Likewise.
5771         (__strpbrk_c3): Likewise.
5772         * string/string-inlines.c
5773         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5774         Likewise.
5775         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5776         Likewise.
5778         * string/strspn.c (strcspn): Rewrite function.
5779         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5780         (__strspn_c1): Remove inline function.
5781         (__strspn_c2): Likewise.
5782         (__strspn_c3): Likewise.
5783         * string/string-inlines.c
5784         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5785         compatibility symbol.
5786         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5787         Likewise.
5788         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5789         Likewise.
5790         * string/string-inlines.c: Include generic version.
5792 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5793             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5795         * string/Version (libc): Add GLIBC_2.24.
5796         * string/strcspn.c (strcspn): Rewrite function.
5797         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5798         (__strcspn_c1): Remove inline function.
5799         (__strcspn_c2): Likewise.
5800         (__strcspn_c3): Likewise.
5801         * string/string-inline.c
5802         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5803         compatibility symbol.
5804         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5805         Likewise.
5806         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5807         Likewise.
5808         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5810 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5812         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5813         Use ahi instead of aghi to adjust stack pointer.
5815 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5817         [BZ #19853]
5818         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5819         TEST to take significant digits as second parameter.
5820         [TEST]: Redefine in terms of TEST_N taking 30
5821         significant digits.
5822         (do_test): Add test case to demonstrate precision
5823         failure in the ldbl-128ibm printf.
5824         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5825         (__mpn_extract_long_double): Carry 7 extra intermediate
5826         bits of precision to aide computing difference when
5827         signs differ.
5829 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5831         [BZ #19881]
5832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5833         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5834         memset-avx512-unaligned-erms.
5835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5836         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5837         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5838         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5839         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5840         __memset_sse2_unaligned_erms, __memset_erms,
5841         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5842         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5843         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5844         file.
5845         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5846         Likewise.
5847         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5848         Likewise.
5849         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5850         Likewise.
5852 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5854         [BZ #19776]
5855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5856         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5857         memmove-avx512-unaligned-erms.
5858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5859         (__libc_ifunc_impl_list): Test
5860         __memmove_chk_avx512_unaligned_2,
5861         __memmove_chk_avx512_unaligned_erms,
5862         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5863         __memmove_chk_sse2_unaligned_2,
5864         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5865         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5866         __memmove_avx512_unaligned_erms, __memmove_erms,
5867         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5868         __memcpy_chk_avx512_unaligned_2,
5869         __memcpy_chk_avx512_unaligned_erms,
5870         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5871         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5872         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5873         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5874         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5875         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5876         __mempcpy_chk_avx512_unaligned_erms,
5877         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5878         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5879         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5880         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5881         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5882         __mempcpy_erms.
5883         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5884         file.
5885         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5886         Likwise.
5887         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5888         Likwise.
5889         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5890         Likwise.
5892 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5894         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5895         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5896         (La_s390_64_regs): Likewise.
5897         (La_s390_32_retval): Append vector register lrv_v24.
5898         (La_s390_64_retval): Likeweise.
5899         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5900         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5901         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5902         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5904 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5906         [BZ #19916]
5907         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5908         to create a non-vector/vector version for _dl_runtime_resolve and
5909         _dl_runtime_profile. Move implementation to ...
5910         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5911         (_dl_runtime_resolve) Save and restore fpr/vrs.
5912         (_dl_runtime_profile) Save and restore vrs and fix some issues
5913         if _dl_call_pltexit is called.
5914         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5915         Choose the correct resolver function if running on a machine with vx.
5916         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5917         to create a non-vector/vector version for _dl_runtime_resolve and
5918         _dl_runtime_profile. Move implementation to ...
5919         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5920         (_dl_runtime_resolve) Save and restore fpr/vrs.
5921         (_dl_runtime_profile) Save and restore vrs and fix some issues
5922         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5923         Choose the correct resolver function if running on a machine with vx.
5925 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5927         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5929 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5931         [BZ #19509]
5932         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5933         skip_map != NULL.
5934         * elf/tst-dlsym-error.c: New file.
5935         * elf/Makefile (tests): Add tst-dlsym-error.
5936         (tst-dlsym-error): Link against libdl.
5938 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5941         (__ASSUME_FUTIMESAT): Remove macro.
5942         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5944 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5946         [BZ #19879]
5947         CVE-2016-3075
5948         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5949         copy name.
5951 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5953         [BZ #19837]
5954         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5955         error if parse_line fails.
5957 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5960         (index_cpu_ERMS): Likewise.
5961         (reg_ERMS): Likewise.
5963 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5965         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5966         PER_LINUX_FDPIC): Add.
5968 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5971         memcpy-avx512-no-vzeroupper.
5972         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5973         to ...
5974         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5975         (MEMCPY): Don't define.
5976         (MEMCPY_CHK): Likewise.
5977         (MEMPCPY): Likewise.
5978         (MEMPCPY_CHK): Likewise.
5979         (MEMPCPY_CHK): Renamed to ...
5980         (__mempcpy_chk_avx512_no_vzeroupper): This.
5981         (MEMPCPY_CHK): Renamed to ...
5982         (__mempcpy_chk_avx512_no_vzeroupper): This.
5983         (MEMCPY_CHK): Renamed to ...
5984         (__memmove_chk_avx512_no_vzeroupper): This.
5985         (MEMCPY): Renamed to ...
5986         (__memmove_avx512_no_vzeroupper): This.
5987         (__memcpy_avx512_no_vzeroupper): New alias.
5988         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5990 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5992         [BZ #18858]
5993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5994         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5995         and mempcpy-avx512-no-vzeroupper.
5996         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5997         New.
5998         (MEMPCPY): Likewise.
5999         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6000         (MEMPCPY_CHK): New.
6001         (MEMPCPY): Likewise.
6002         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6003         (MEMPCPY): Likewise.
6004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6005         (MEMPCPY): Likewise.
6006         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6007         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6008         Likewise.
6009         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6010         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6012 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6013              Amit Pawar  <Amit.Pawar@amd.com>
6015         [BZ #19583]
6016         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6017         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6018         processors.  Set Fast_Copy_Backward for AMD Excavator
6019         processors.
6020         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6021         New.
6022         (index_arch_Fast_Unaligned_Copy): Likewise.
6023         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6024         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6026 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6028         [BZ #19791]
6029         * resolv/res_send.c (close_and_return_error): New function.
6030         (send_dg): Initialize *resplen2 after reopen failure.  Call
6031         close_and_return_error for error returns.  On error paths without
6032         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6033         successful return.
6035 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6037         [BZ# 19860]
6038         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6039         zero if the compiler does not provide the AVX512F bit.
6041 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6043         [BZ #19848]
6044         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6045         from 8 to 4.
6046         (__ieee754_powl): Compare integer exponent against 4 not 8.
6047         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6048         from 8 to 4.
6049         (__ieee754_powl): Compare integer exponent against 4 not 8.
6050         * math/auto-libm-test-in: Add more tests of pow.
6051         * math/auto-libm-test-out: Regenerated.
6052         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6055 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6057         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6058         Make code unconditional.
6059         [!__NR_utimensat]: Remove conditional code.
6060         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6061         Make code unconditional.
6062         [!__NR_utimensat]: Remove conditional code.
6063         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6064         Make code unconditional.
6065         [!__NR_utimensat]: Remove conditional code.
6067 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6069         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6070         Make code unconditional.
6072 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6074         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6075         call-clobbered %eax on retry path.
6076         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6078 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6080         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6081         Don't set %rcx twice before "rep movsb".
6083 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6085         [BZ #19583]
6086         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6087         inline.  Check family before setting family, model and
6088         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6089         bits here.
6090         (init_cpu_features): Replace HAS_CPU_FEATURE and
6091         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6092         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6093         for Intel processors with usable AVX2.  Call get_common_indeces
6094         for other processors with family == NULL.
6095         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6096         (CPU_FEATURES_ARCH_P): Likewise.
6097         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6098         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6100 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6102         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6103         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6104         $(shared-thread-library) instead of hardcoding the path to libpthread.
6106 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6108         * sysdeps/unix/sysv/linux/kernel-features.h
6109         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6110         * sysdeps/unix/sysv/linux/getdents.c
6111         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6112         [!have_no_getdents64_defined]: Likewise.
6113         (__GETDENTS): Remove __have_no_getdents64 conditional.
6115 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6118         Remove macro.
6119         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6120         <kernel-features.h>.
6121         (signalfd) [__NR_signalfd4]: Make code unconditional.
6122         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6124 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6126         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6127         style.
6129 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6131         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6132         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6133         __pthread_unwind.
6134         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6135         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6136         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6137         (__condvar_cleanup1): Likewise.
6139 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6141         [BZ #19822]
6142         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6143         move it to the final $@ location.
6145 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6147         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6148         access where posix_spawn success and pid argument is null.
6149         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6150         success case.
6152 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6154         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6156         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6158         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6159         and __fcntl.
6160         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6161         __fcntl only.
6162         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6163         adding attribute_hidden to __open and __fcntl.
6165         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6166         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6167         depend on libc-modules.h,
6168         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6170 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6172         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6173         Remove macro.
6174         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6175         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6176         entry.
6178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6179         Remove macro.
6180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6181         include <kernel-features.h>.
6182         [!__ASSUME_FALLOCATE]: Remove conditional code.
6183         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6185 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6187         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6188         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6190         (_ZGVdN4v_cos_avx2): Likewise.
6191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6192         (_ZGVdN4v_cos): Likewise.
6193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6194         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6196         (_ZGVdN4v_exp_avx2): Likewise.
6197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6198         (_ZGVdN4v_exp): Likewise.
6199         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6200         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6201         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6202         (_ZGVdN4v_log_avx2): Likewise.
6203         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6204         (_ZGVdN4v_log): Likewise.
6205         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6206         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6208         (_ZGVdN4vv_pow_avx2): Likewise.
6209         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6210         (_ZGVdN4vv_pow): Likewise.
6211         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6212         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6214         (_ZGVdN4v_sin_avx2): Likewise.
6215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6216         (_ZGVdN4v_sin): Likewise.
6217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6218         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6219         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6220         (_ZGVdN4vvv_sincos_avx2): Likewise.
6221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6222         (_ZGVdN4vvv_sincos): Likewise.
6223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6224         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6226         (_ZGVbN4v_cosf_sse4): Likewise.
6227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6228         (_ZGVdN8v_cosf_avx2): Likewise.
6229         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6230         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6231         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6232         (_ZGVbN4v_expf_sse4): Likewise.
6233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6234         (_ZGVdN8v_expf_avx2): Likewise.
6235         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6236         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6237         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6238         (_ZGVbN4v_logf_sse4): Likewise.
6239         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6240         (_ZGVdN8v_logf_avx2): Likewise.
6241         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6242         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6244         (_ZGVbN4vv_powf_sse4): Likewise.
6245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6246         (_ZGVdN8vv_powf_avx2): Likewise.
6247         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6248         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6250         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6252         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6253         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6254         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6255         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6256         (_ZGVbN4v_sinf_sse4): Likewise.
6257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6258         (_ZGVdN8v_sinf_avx2): Likewise.
6259         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6260         Use JUMPTARGET to call callee.
6261         (WRAPPER_IMPL_SSE2_ff): Likewise.
6262         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6263         (WRAPPER_IMPL_AVX): Likewise.
6264         (WRAPPER_IMPL_AVX_ff): Likewise.
6265         (WRAPPER_IMPL_AVX_fFF): Likewise.
6266         (WRAPPER_IMPL_AVX512): Likewise.
6267         (WRAPPER_IMPL_AVX512_ff): Likewise.
6268         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6269         Likewise.
6270         (WRAPPER_IMPL_SSE2_ff): Likewise.
6271         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6272         (WRAPPER_IMPL_AVX): Likewise.
6273         (WRAPPER_IMPL_AVX_ff): Likewise.
6274         (WRAPPER_IMPL_AVX_fFF): Likewise.
6275         (WRAPPER_IMPL_AVX512): Likewise.
6276         (WRAPPER_IMPL_AVX512_ff): Likewise.
6277         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6279 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6281         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6282         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6283         qualifier.
6284         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6285         internal_function qualifiers.
6287 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6289         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6290         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6291         * math/atest-exp.c (exp_mpn): Mark chk unused.
6292         * math/atest-exp2.c (exp_mpn): Likwise.
6293         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6294         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6296 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6299         Remove macro.
6300         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6301         <kernel-features.h>.
6302         [__NR_ppoll]: Make code unconditional.
6303         [!__ASSUME_PPOLL]: Remove conditional code.
6305         * sysdeps/unix/sysv/linux/kernel-features.h
6306         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6307         (__ASSUME_ACCEPT4): Likewise.
6308         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6309         Define.
6310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6311         Likewise.
6312         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6313         Likewise.
6314         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6315         Likewise.
6316         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6317         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6319         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6320         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6321         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6322         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6323         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6324         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6326         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6327         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6330         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6331         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6332         Likewise.
6333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6334         Likewise.
6335         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6336         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6337         0x040300].
6338         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6339         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6340         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6341         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6342         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6343         0x030300].
6344         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6346         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6347         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6348         0x040300].
6349         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6350         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6351         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6352         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6354         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6355         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6356         0x030300].
6357         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6358         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6359         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6360         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6361         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6365         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6366         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6367         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6368         0x040300].
6369         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6371         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6372         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6375         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6376         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6377         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6379         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6380         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6381         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6383         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6384         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6385         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6386         Likewise.
6387         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6388         Likewise.
6390 2016-03-15  Andreas Schwab  <schwab@suse.de>
6392         [BZ #19257]
6393         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6394         statp->_u._ext.nscount as loop count.
6396 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6398         * math/test-signgam-finite-c99.c: Also #undef
6399         __LIBC_INTERNAL_MATH_INLINES.
6400         * math/test-signgam-main.c: Likewise.
6402 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6404         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6405         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6406         (MADV_FREE): Likewise.
6407         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6408         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6409         EPOLLEXCLUSIVE.
6411 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6413         * timezone/README: Remove mention of checktab.awk. Mention wiki
6414         SharedSourceFiles.
6416 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6418         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6419         WUNTRACED.
6421 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6423         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6424         order to match the type of p when calling atomic_exchange_acq().
6426 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6428         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6429         cfi_offset calls.
6430         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6431         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6432         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6433         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6434         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6436 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6438         * timezone/checktab.awk: Removed.
6440 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6442         * manual/math.texi (Errors in Math Functions): Document relaxed
6443         accuracy goals for IBM long double.
6444         * math/libm-test.inc (test_exceptions): Always allow spurious
6445         "underflow" and "inexact" exceptions for IBM long double.
6447 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6449         [BZ #19762]
6450         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6451         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6452         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6453         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6454         (bit_arch_*): This for feature array.
6455         (bit_*): Renamed to ...
6456         (bit_cpu_*): This for cpu array.
6457         (index_*): Renamed to ...
6458         (index_arch_*): This for feature array.
6459         (index_*): Renamed to ...
6460         (index_cpu_*): This for cpu array.
6461         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6462         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6463         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6464         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6465         bit_##name with index_cpu_##name and bit_cpu_##name.
6466         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6467         bit_##name with index_arch_##name and bit_arch_##name.
6469 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6471         [BZ #19792]
6472         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6473         Terminate FDE before return label.
6475 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6477         [BZ #19790]
6478         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6479         (rintl): Define as macro.
6480         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6481         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6482         of fesetround.  Ensure results are evaluated before end of scope.
6483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6484         USE_AS_NEARBYINTL and include s_rintl.c.
6485         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6486         Disable exception traps in new environment.
6487         (libc_feholdsetround_ppc_ctx): Likewise.
6489 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6491         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6492         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6493         (tst_audit10_aux) [__AVX512F__]: ... here.
6495 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6497         * include/sys/auxv.h: New file.
6499 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6501         [BZ #19759]
6502         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6504 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6506         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6507         operand modifier.
6508         (feclearexcept): Likewise.
6510 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6513         to reflect the entire 32-bit HWCAP.
6514         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6515         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6517 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6519         [BZ #19783]
6520         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6521         $(test-via-rtld-prefix).
6522         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6524 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6526         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6527         union wait.  Report any non-zero exit status as error.
6529 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6531         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6532         configured with --enable-hardcoded-path-in-tests.
6534 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6536         [BZ #19677]
6537         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6538         (__ieee754_remainderl): Put zero low parts in canonical form.
6539         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6540         file.  Based on
6541         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6542         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6543         with wrapper round test-fmodrem-ldbl-128ibm.c.
6544         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6545         file.
6546         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6547         Likewise.
6548         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6549         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6551 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6553         [BZ #19610]
6554         * elf/ldconfig.c (opt_link): Update comment.
6555         (options): Update help string for option -X.
6556         (search_dir): Unlink stale symbolic link only if updating symbolic
6557         links.
6558         * elf/tst-ldconfig-X.sh: New file.
6559         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6560         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6562 2016-03-07  Andreas Schwab  <schwab@suse.de>
6564         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6565         needed arguments.
6567 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6569         [BZ #15333]
6570         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6571         to lstat64.
6573 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6575         * libio/filedoalloc.c (isatty): Remove.
6576         (local_isatty): Add comment.  Call __isatty directly.
6577         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6578         * libio/wfiledoalloc.c (isatty): Remove.
6579         (_IO_wfile_doallocate): Update comment.
6581 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6583         [BZ #19269]
6584         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6585         tst-audit4-aux.o.
6586         (tst-audit10): Depend on tst-audit10-aux.o.
6587         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6588         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6589         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6590         instead of inline AVX code.
6591         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6592         instead of inline AVX512 code.
6593         * sysdeps/x86_64/tst-audit4-aux.c: New file
6594         * sysdeps/x86_64/tst-audit10-aux.c: New file
6596         [BZ #19648]
6597         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6599 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6601         [BZ #14750]
6602         [BZ #10354]
6603         [BZ #18433]
6604         * include/sched.h (__clone): Add hidden prototype.
6605         (__clone2): Likewise.
6606         * include/unistd.h (__dup): Likewise.
6607         * posix/Makefile (tests): Add tst-spawn2.
6608         * posix/tst-spawn2.c: New file.
6609         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6610         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6611         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6612         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6613         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6614         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6615         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6616         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6617         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6618         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6619         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6621         Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6623         Likewise.
6624         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6625         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6626         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6627         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6628         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6629         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6630         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6631         * sysdeps/unix/sysv/linux/nptl-signals.h
6632         (____nptl_is_internal_signal): New function.
6633         * sysdeps/unix/sysv/linux/spawni.c: New file.
6635         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6636         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6637         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6638         * posix/tst-execvp2.c (do_test): Likewise.
6639         * posix/tst-execvp3.c (do_test): Likewise.
6640         * posix/tst-execvp4.c (do_test): Likewise.
6641         * posix/tst-execvpe1.c: New file.
6642         * posix/tst-execvpe2.c: Likewise.
6643         * posix/tst-execvpe3.c: Likewise.
6644         * posix/tst-execvpe4.c: Likewise.
6645         * posix/tst-execvpe5.c: Likewise.
6646         * posix/tst-execvpe6.c: Likewise.
6648         [BZ #19534]
6649         * posix/execl.c (execl): Remove dynamic memory allocation.
6650         * posix/execle.c (execle): Likewise.
6651         * posix/execlp.c (execlp): Likewise.
6653 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6655         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6656         Replace .text with .text.avx512.
6657         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6658         Likewise.
6660 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6662         * sysdeps/generic/libnsl.abilist: New file.
6663         * sysdeps/generic/libutil.abilist: New file.
6665 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6667         [BZ #19762]
6668         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6669         HAS_ARCH_FEATURE with Fast_Rep_String.
6670         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6671         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6672         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6673         Likewise.
6674         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6675         Likewise.
6676         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6677         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6678         Likewise.
6679         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6680         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6681         Likewise.
6683 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6685         [BZ #19745]
6686         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6687         with *%rax in call.
6689 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6691         [BZ #19745]
6692         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6693         with *__libc_start_main@GOTPCREL(%rip) in call.
6695 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6697         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6698         inside conditional for nonempty $(CXX).
6700         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6701         nonempty.
6703         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6704         to test for empty $(CXX) rather than $(CXX) of "no".
6706 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6708         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6710 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6711             H.J. Lu  <hongjiu.lu@intel.com>
6713         [BZ #18880]
6714         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6715         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6716         enable __memcpy_ssse3_back.
6718 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6720         [BZ #19758]
6721         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6722         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6724 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6726         [BZ #19490]
6727         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6728         (__fentry__): Likewise.
6730 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6732         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6733         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6735 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6737         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6738         __mcount_internal directly.
6739         (C_LABEL(__fentry__)): Likewise.
6740         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6741         directly.
6743 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6745         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6746         (__start_context): Call __setcontext directly.
6748 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6750         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6751         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6752         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6753         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6754         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6755         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6756         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6757         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6758         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6759         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6760         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6761         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6762         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6763         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6764         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6766         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6768         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6769         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6770         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6771         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6772         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6773         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6774         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6775         Remove conditional code.
6776         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6777         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6778         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6779         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6780         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6781         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6782         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6783         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6784         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6785         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6786         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6787         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6789 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6791         * NEWS (2.23): Fix typo in bug 19048 text.
6793 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6795         [BZ #14259]
6796         * Makeconfig: Rename msgcatdir to localedir.
6797         Rename inst_msgcatdir to inst_localedir.
6798         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6799         * config.make.in: Add localedir.
6800         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6801         (ldd-rewrite): Likewise.
6802         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6803         (install-others): Use inst_localedir.
6804         (CPPFLAGS): Use localedir.
6805         * locale/Makefile (locale-CPPFLAGS): Likewise.
6806         * po/Makefile (mo-installed): Use inst_localedir.
6808         [BZ #19575]
6809         * localedata/charmaps/GB18030: Update comments regarding PAU to
6810         non-PUA mappings.
6812 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6814         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6815         test for header.
6816         * sysdeps/unix/sysv/linux/configure: Regenerated.
6817         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6818         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6819         Remove conditional code.
6820         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6822         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6823         Define to 3.2.0.
6824         (arch_minimum_kernel): Likewise.
6825         * sysdeps/unix/sysv/linux/configure: Regenerated.
6826         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6827         Define to 2.6.32.
6828         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6829         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6830         (arch_minimum_kernel): Define to 2.6.32.
6831         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6832         * README: Document Linux 3.2 requirement.
6833         * manual/install.texi (Linux): Document Linux 3.2 headers
6834         requirement.
6835         * INSTALL: Regenerated.
6837 2016-02-24  Andreas Schwab  <schwab@suse.de>
6839         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6840         if !NO_LONG_DOUBLE.
6842 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6844         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6845         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6847 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6849         [BZ #19512]
6850         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6852 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6854         * posix/tst-dir.c: Include libc-internal.h.
6856 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6858         [BZ #19056]
6859         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6860         * manual/filesys.texi (Reading/Closing Directory): Mention
6861         deprecaion.
6862         * posix/tst-dir.c (main): Disable deprecation warning in test.
6864 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6866         [BZ #19679]
6867         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6868         Renamed to ...
6869         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6870         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6871         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6872         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6873         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6874         * sysdeps/x86_64/dl-trampoline.h
6875         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6876         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6878 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6880         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6882 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6884         * elf/elf.h (R_386_GOT32X): New.
6885         (R_386_NUM): Update.
6886         (R_X86_64_GOTPCRELX: New.
6887         (R_X86_64_REX_GOTPCRELX): New.
6888         (R_X86_64_NUM): Update.
6890 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6892         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6894 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6896         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6897         assign attr->stackaddr to it, and adjust it down when
6898         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6899         [_STACK_GROWS_UP]: Delete assert.
6900         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6901         Implement stack grows up logic.
6902         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6903         stack grows up logic.
6905 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6907         * NEWS: Update with 2.24 template.
6909 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #19678]
6912         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6913         Ensure +0.0 is returned when taking the next value below the least
6914         positive value.
6916 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6918         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6919         available.  Do not define NO_THREADS.
6920         * malloc/malloc.c: Do not check NO_THREADS.
6921         * malloc/arena.c: Likewise.
6923 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6925         * malloc/malloc.c (__libc_mallinfo): Update comment.
6926         (struct malloc_par): Remove max_total_mem member, it was always 0.
6927         (int_mallinfo): Store 0 into usmblks (no functional change).
6928         * malloc/hooks.c (struct malloc_state): Document that
6929         max_total_mem is always 0.
6930         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6931         always 0.
6932         * manual/memory.texi (Statistics of Malloc): Likewise.
6934 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6936         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6937         * malloc/arena.c (arena_max): Remove.
6938         (heap_trim, _int_new_arena): Do not update arena_max.
6940 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6942         * resolv/res_init.c (res_ninit): Update comment.
6944 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6946         [BZ #19505]
6947         * posix/spawn_int.h: Add headers and include guard.
6948         (__spawn_valid_fd): New function.
6949         * posix/spawn_faction_addopen.c
6950         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6951         * posix/spawn_faction_addclose.c
6952         (posix_spawn_file_actions_addclose): Likewise.
6953         * posix/spawn_faction_adddup2.c
6954         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6955         second file descriptor.
6956         * posix/spawn_valid_fd.c: New file.
6957         * posix/tst-posix_spawn-fd.c: New file.
6958         * posix/Makefile (routines): Add spawn_valid_fd.
6959         (tests): Add tst-posix_spawn-fd.
6961 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6963         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6964         (do_test): Limit the number of arenas, so that we can use fewer
6965         outer threads.  Limit timeout to 3 seconds, in preparation for a
6966         larger TIMEOUT value.
6968 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6970         [BZ #19674]
6971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6972         sign in overflowing and underflowing results when overflow or
6973         underflow is detected early.  Include sign in result before rather
6974         than after scaling.
6976         [BZ #19603]
6977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6978         (__ieee754_remainderl): Adjust sign of integer version of low part
6979         when taking absolute value of high part.
6980         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6981         * math/libm-test.inc (remainder_test_data): Add another test.
6982         (remquo_test_data): Likewise.
6984 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6986         [BZ #19602]
6987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6988         equal high parts and both low parts zero specially.
6989         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6990         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6991         Add test-fmodl-ldbl-128ibm.
6993         [BZ #19595]
6994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6995         common logic for all cases of shifting subnormal results.  Do not
6996         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6997         exponent to ldbl_insert_mantissa in subnormal case.
6999         [BZ #19594]
7000         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7001         on high and low parts then adjust result and use
7002         ldbl_canonicalize_int if needed.
7004         [BZ #19593]
7005         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7006         on high part and __floor or __ceil on low part then use
7007         ldbl_canonicalize_int if needed.
7009         [BZ #19592]
7010         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7011         high and low parts then use ldbl_canonicalize_int if needed.
7013         [BZ #17899]
7014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7015         New function.
7016         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7017         on high and low parts then use ldbl_canonicalize_int if needed.
7019 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7021         * configure: Regenerated.
7023         * po/libc.pot: Regenerated.
7025         * po/be.po: Updated translation.
7026         * po/bg.po: Likewise.
7027         * po/ca.po: Likewise.
7028         * po/cs.po: Likewise.
7029         * po/da.po: Likewise.
7030         * po/el.po: Likewise.
7031         * po/eo.po: Likewise.
7032         * po/es.po: Likewise.
7033         * po/fi.po: Likewise.
7034         * po/fr.po: Likewise.
7035         * po/gl.po: Likewise.
7036         * po/hr.po: Likewise.
7037         * po/hu.po: Likewise.
7038         * po/ia.po: Likewise.
7039         * po/id.po: Likewise.
7040         * po/it.po: Likewise.
7041         * po/ja.po: Likewise.
7042         * po/lt.po: Likewise.
7043         * po/nb.po: Likewise.
7044         * po/nl.po: Likewise.
7045         * po/pt_BR.po: Likewise.
7046         * po/rw.po: Likewise.
7047         * po/sk.po: Likewise.
7048         * po/sl.po: Likewise.
7049         * po/sv.po: Likewise.
7050         * po/tr.po: Likewise.
7051         * po/zh_CN.po: Likewise.
7052         * po/zh_TW.po: Likewise.
7054         * version.h (RELEAES): Set to "development".
7055         (VERSION): Set to 2.23.90.
7057         * version.h (RELEASE): Set to "stable".
7058         (VERSION): Set to 2.23.
7059         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7061         * NEWS: Updated fixed bugs.
7063 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7064             Wilco Dijkstra  <wdijkstr@arm.com>
7066         [BZ #19462]
7067         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7068         (_STRING_INLINE_unaligned): This.
7069         * include/string.h: Include <string_private.h>.
7070         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7071         _STRING_INLINE_unaligned.
7072         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7073         (_STRING_INLINE_unaligned): New.
7074         * sysdeps/aarch64/string_private.h: New file.
7075         * sysdeps/generic/string_private.h: Likewise.
7076         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7077         * sysdeps/s390/string_private.h: Likewise.
7078         * sysdeps/x86/string_private.h: Likewise.
7079         * sysdeps/m68k/m680x0/m68020/bits/string.h
7080         (_STRING_ARCH_unaligned): Renamed to ...
7081         (_STRING_INLINE_unaligned): This.
7082         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7083         to ...
7084         (_STRING_INLINE_unaligned): This.
7085         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7086         to ...
7087         (_STRING_INLINE_unaligned): This.
7088         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7089         to ...
7090         (_STRING_INLINE_unaligned): This.
7092 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7093             H.J. Lu  <hongjiu.lu@intel.com>
7095         [BZ #19590]
7096         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7097         relocation.
7099 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7101         [BZ #18665]
7102         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7103         *herrno_p.
7104         (gaih_getanswer): Document functional behviour. Return tryagain
7105         if any result is tryagain.
7106         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7107         when freed.
7108         * resolv/res_send.c: Add copyright text.
7109         (__libc_res_nsend): Document that MAXPACKET is expected.
7110         (send_vc): Document. Remove buffer reuse.
7111         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7112         size of the buffer. Add Dprint for truncated UDP buffer.
7114 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7116         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7117         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7118         * INSTALL: Regenerate.
7120 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7121             Jonathan Wakely  <jwakely@redhat.com>
7122             Carlos O'Donell  <carlos@redhat.com>
7124         [BZ 19439]
7125         * math/Makefile (tests): Add test-math-isinff.
7126         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7127         * math/bits/mathcalls.h [__USE_MISC]: Use
7128         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7129         functions not in C++11 and which don't conflict e.g. isinff,
7130         isinfl etc.
7131         * math/test-math-isinff.cc: New file.
7133 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7135         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7137 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7139         [BZ #19529]
7140         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7142 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7144         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7146 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7148         [BZ #19550]
7149         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7150         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7151         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7152         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7153         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7154         New syscall entry.
7155         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7156         New syscall entry.
7157         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7158         syscall entry.
7160 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7162         [BZ #18240]
7163         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7164         unsigned int wraparound.
7166 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7168         [BZ #18240]
7169         * misc/bug18240.c: New test.
7170         * misc/Makefile (tests): Add it.
7172 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7173             Joseph Myers  <joseph@codesourcery.com>
7175         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7176         load in branch delay slot when less than a word of input left.
7178 2016-01-27  Andreas Schwab  <schwab@suse.de>
7180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7181         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7182         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7183         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7185 2016-01-26  David S. Miller  <davem@davemloft.net>
7187         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7189 2016-01-25  David S. Miller  <davem@davemloft.net>
7191         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7192         __sqrtl_finite.
7193         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7194         instead using versioned_symbol.
7195         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7196         of entries.
7198         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7199         __sqrtl_finite to GLIBC_2.23
7201 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7203         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7205 2016-01-25  Andreas Schwab  <schwab@suse.de>
7207         [BZ #17514]
7208         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7209         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7210         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7211         * nptl/tst-mutex-errorcheck.c: New file.
7213 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7215         [BZ #18560]
7216         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7217         (IPCOP_semop): Likewise.
7218         (IPCOP_semget): Likewise.
7219         (IPCOP_semctl): Likewise.
7220         (IPCOP_msgsnd): Likewise.
7221         (IPCOP_msgrcv): Likewise.
7222         (IPCOP_msgget): Likewise.
7223         (IPCOP_msgctl): Likewise.
7224         (IPCOP_shmat): Likewise.
7225         (IPCOP_shmdt): Likewise.
7226         (IPCOP_shmget): Likewise.
7227         (IPCOP_shmctl): Likewise.
7229 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7231         * string/tst-endian.c: Include <libc-internal.h>.
7232         (do_test): Ignore tautological-compare warnings around
7233         "htobeXX (beXXtoh (i)) != i" and
7234         "htoleXX (leXXtoh (i)) != i" if-statements.
7236 2016-01-24  David S. Miller  <davem@davemloft.net>
7238         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7239         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7240         alias.
7241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7242         __sqrtl_finite.
7244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7246 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7248         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7249         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7250         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7252 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7254         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7255         (thread_func): Use new function to simplify barrier check.
7256         (do_test): Use new function to simplify checking barrier exit
7257         code, and actually join the child thread.
7259 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7261         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7262         semicolon.
7263         (__libc_tend): Likewise.
7264         (__libc_tabort): Likewise.
7266 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7268         * sysdeps/nios2/libm-test-ulps: Update.
7269         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7270         (__gtsf2): Likewise.
7271         (__unorddf2): Likewise.
7272         (__unordsf2): Likewise.
7273         (__ledf2): Likewise.
7275 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7277         * nis/nis_table.c (__follow_path): Disable diagnostic for
7278         uninitialized variable that is a false positive for gcc 4.7.
7279         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7281 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7283         * sysdeps/nacl/lowlevellock-futex.h
7284         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7285         Always evaluate PRIVATE argument.
7287 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7289         [BZ #19490]
7290         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7291         (pthread_cond_broadcast): Use ENTRY/END
7292         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7293         (pthread_cond_signal): Likewise.
7294         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7295         Likewise.
7296         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7297         Likewise.
7298         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7299         Likewise.
7301 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7303         * sysdeps/ieee754/dbl-64/s_finite.c
7304         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7305         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7306         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7307         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7308         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7311         (__gtsf2): Add as optional for libc.so.
7312         (__unordsf2): Likewise.
7313         (__signbit): Remove for libc.so.
7314         (__signbitl): Likewise.
7316 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7318         * iconvdata/bug-iconv11.c (test_ibm93x):
7319         Use %zu printf format specifier for size_t argument.
7321 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7323         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7324         already-recorded ulps.
7325         * sysdeps/arm/libm-test-ulps: Regenerated.
7326         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7327         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7328         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7330 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7331             Paul Pluzhnikov  <ppluzhnikov@google.com>
7333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7334         assembler not supporting AVX-512.
7336 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7338         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7340 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7342         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7343         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7345         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7347         * sysdeps/arm/libm-test-ulps: Regenerated.
7349 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7351         [BZ #19451]
7352         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7354 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7356         [BZ #19486]
7357         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7358         * sysdeps/generic/fix-fp-int-convert-overflow.h
7359         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7360         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7361         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7362         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7363         Likewise.
7364         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7365         Avoid conversions to long int where inexact exceptions
7366         could be raised.
7367         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7368         Likewise.
7369         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7370         Avoid conversions to long long int where inexact exceptions
7371         could be raised.
7372         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7373         Likewise.
7375 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7377         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7378         * configure: Regenerated.
7380 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7382         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7384 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7386         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7387         outside of comment.
7389 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7391         * nptl/tst-barrier1.c: Add description on first line.
7392         * nptl/tst-barrier2.c: Likewise.
7393         * nptl/tst-barrier3.c: Likewise.
7394         * nptl/tst-barrier4.c: Likewise.
7395         * nptl/tst-barrier5.c: Likewise.
7397 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7399         [BZ #18868]
7400         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7402 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7406         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7407         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7408         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7409         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7410         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7411         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7412         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7413         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7414         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7416 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7418         [BZ #13065]
7419         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7420         new implementation.
7421         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7422         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7423         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7424         (BARRIER_IN_THRESHOLD): New macro.
7425         * nptl/pthread_barrierattr_setpshared.c
7426         (pthread_barrierattr_setpshared): Clean up.
7427         * nptl/tst-barrier4.c: Correct comment.
7428         * nptl/tst-barrier5.c: New file.
7429         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7430         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7431         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7432         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7433         * nptl/lowlevelbarrier.sym: Remove.
7434         * nptl/DESIGN-barrier.txt: Remove.
7435         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7436         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7437         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7438         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7439         error.
7440         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7441         implementation.
7443 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7445         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7446         (do_child): Mask SIGRTMIN while thr is running.
7448 2016-01-15  Martin Sebor  <msebor@redhat.com>
7450         [BZ #19432]
7451         * iconvdata/Makefile: Add bug-iconv11.
7452         * iconvdata/bug-iconv11.c: New test.
7453         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7454         * iconvdata/ibm933.c: Same.
7455         * iconvdata/ibm935.c: Same.
7456         * iconvdata/ibm937.c: Same.
7457         * iconvdata/ibm939.c: Same.
7459 2016-01-15  Martin Sebor  <msebor@redhat.com>
7461         [BZ #19443]
7462         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7463         [DEBUG] (_ufc_set_bits): Declare used.
7464         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7465         [DEBUG] (print_all): Declare used.
7466         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7467         operands of the ternary ?: expression to target type.
7468         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7469         calling the undeclared abort.
7470         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7472 2016-01-15  Martin Sebor  <msebor@redhat.com>
7474         [BZ #18755]
7475         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7476         warnings.
7477         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7478         (__gai_create_helper_thread): Same.
7479         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7480         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7481         to suppress -Wmaybe-uninitialized warnings.
7483 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7485         [BZ #19465]
7486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7487         inside if.
7488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7489         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7490         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7492 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7494         [BZ #19466]
7495         * time/tst-mktime2.c (time_t_max): Removed.
7496         (time_t_min): Likewise.
7497         (TYPE_SIGNED): New.
7498         (TYPE_MINIMUM): Likewise.
7499         (TYPE_MAXIMUM): Likewise.
7500         (TIME_T_MIN): Likewise.
7501         (TIME_T_MAX): Likewise.
7502         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7503         and TIME_T_MIN.
7504         (do_test): Likewise.
7506 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7508         [BZ #19467]
7509         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7510         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7512 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7514         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7516 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7518         * benchtests/Makefile (PYTHON): Define.
7519         (bench-func): Use $(PYTHON) to run python scripts.
7520         ($(objpfx)bench-%.c): Likewise.
7522 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7524         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7525         leading slash when `file_name' is "/".
7527 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7529         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7530         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7531         Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7533         Likewise.
7534         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7535         Likewise.
7536         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7537         enum constant and macro.
7538         (PTRACE_SETSIGMASK): Likewise.
7539         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7540         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7541         (PTRACE_GETSIGMASK): Likewise.
7542         (PTRACE_SETSIGMASK): Likewise.
7543         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7544         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7545         Likewise.
7546         (PTRACE_SETSIGMASK): Likewise.
7547         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7548         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7549         (PTRACE_GETSIGMASK): Likewise.
7550         (PTRACE_SETSIGMASK): Likewise.
7551         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7553         Likewise.
7554         (PTRACE_SETSIGMASK): Likewise.
7555         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7556         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7557         Likewise.
7558         (PTRACE_SETSIGMASK): Likewise.
7559         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7560         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7561         Likewise.
7562         (PTRACE_SETSIGMASK): Likewise.
7563         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7565 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7566             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7568         [BZ #19439]
7569         * math/bits/mathcalls.h
7570         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7571         prototype.
7572         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7574 2016-01-11  Andreas Schwab  <schwab@suse.de>
7576         [BZ #19253]
7577         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7578         cache when TZDEFRULES was used.
7579         * time/tst-tzname.c: New file.
7580         * time/Makefile (test): Add tst-tzname.
7581         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7582         * timezone/Makefile (test-zones): Add $(posixrules-file).
7583         ($(testdata)/$(posixrules-file)): New rule.
7585 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7587         Fix doc quoting problems with Texinfo 5
7588         Without this change, in the info file output, Texinfo 5 quotes code
7589         in text with undirected single quotes 'like this' and generates
7590         code examples that with many PDF readers cannot be cut out of PDFs
7591         and pasted into code.
7592         * manual/libc.texinfo: Configure the libc manual like the GNU
7593         Emacs manual, by using @documentencoding and setting
7594         txicodequoteundirected and txicodequotebacktick.  This way,
7595         Texinfo 5 quotes code in text with directed single quotes ‘like
7596         this’ and produces examples that can be cut out of PDFs.  This
7597         change causes Texinfo 5 to generate info files that contain UTF-8
7598         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7599         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7601 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7603         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7604         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7605         barriers to their respective compiler built-ins.
7606         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7607         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7608         * sysdeps/powerpc/sysdep.h: Likewise.
7609         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7610         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7613 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7615         * scripts/config.guess: Revert previous shebang change.
7616         * scripts/config.sub: Likewise.
7617         * scripts/mkinstalldirs: Likewise.
7619 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7621         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7622         PPC_FEATURE2_HAS_IEEE128.
7623         * sysdeps/powerpc/dl-procinfo.c:
7624         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7626 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7628         [BZ #19415]
7629         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7630         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7631         (_dl_lookup_address): Rewrite using function resolver trampoline.
7632         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7633         two bits in address.
7635 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7637         * longlong.h: Change !__SHMEDIA__ to
7638         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7639         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7641 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7642             Joseph Myers  <joseph@codesourcery.com>
7643             Mark Shinwell  <shinwell@codesourcery.com>
7644             Andrew Stubbs  <ams@codesourcery.com>
7645             Rich Felker <dalias@libc.org>
7647         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7649 2016-01-07  Richard Henderson  <rth@redhat.com>
7651         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7653 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7655         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7656         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7657         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7658         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7659         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7661 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7662             Joseph Myers  <joseph@codesourcery.com>
7664         * timezone/private.h: Update from tzcode 2015g.
7665         * timezone/tzfile.h: Likewise.
7666         * timezone/tzselect.ksh: Likewise.
7667         * timezone/zdump.c: Likewise.
7668         * timezone/zic.c: Likewise.
7669         * timezone/ialloc.c: Remove file.
7670         * timezone/scheck.c: Likewise.
7671         * timezone/Makefile (extra-objs): Remove variable.
7672         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7673         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7674         -Wno-maybe-uninitialized.
7675         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7676         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7677         (CFLAGS-ialloc.c): Remove variable.
7678         (CFLAGS-scheck.c): Likewise.
7679         * timezone/README: Update list of files from tzcode.
7681 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7683         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7684         instead of __fxprintf when _LIBC is undefined.
7686 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7688         * catgets/test-gencat.sh: Remove space after shebang.
7689         * conform/GlibcConform.pm: Likewise.
7690         * conform/check-header-lists.sh: Likewise.
7691         * conform/conformtest.pl: Likewise.
7692         * conform/linknamespace.pl: Likewise.
7693         * conform/list-header-symbols.pl: Likewise.
7694         * debug/catchsegv.sh: Likewise.
7695         * elf/genrtldtbl.awk: Likewise.
7696         * elf/tst-pathopt.sh: Likewise.
7697         * elf/tst-rtld-load-self.sh: Likewise.
7698         * grp/tst_fgetgrent.sh: Likewise.
7699         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7700         * iconvdata/gen-8bit-gap.sh: Likewise.
7701         * iconvdata/gen-8bit.sh: Likewise.
7702         * iconvdata/run-iconv-test.sh: Likewise.
7703         * intl/tst-gettext.sh: Likewise.
7704         * intl/tst-gettext2.sh: Likewise.
7705         * intl/tst-gettext4.sh: Likewise.
7706         * intl/tst-gettext6.sh: Likewise.
7707         * intl/tst-translit.sh: Likewise.
7708         * io/ftwtest-sh: Likewise.
7709         * libio/test-freopen.sh: Likewise.
7710         * locale/gen-translit.pl: Likewise.
7711         * malloc/tst-mtrace.sh: Likewise.
7712         * manual/check-safety.sh: Likewise.
7713         * manual/libc-texinfo.sh: Likewise.
7714         * manual/tsort.awk: Likewise.
7715         * manual/xtract-typefun.awk: Likewise.
7716         * nptl/tst-cancel-wrappers.sh: Likewise.
7717         * nptl/tst-tls6.sh: Likewise.
7718         * posix/globtest.sh: Likewise.
7719         * posix/tst-getconf.sh: Likewise.
7720         * posix/wordexp-tst.sh: Likewise.
7721         * scripts/check-c++-types.sh: Likewise.
7722         * scripts/check-local-headers.sh: Likewise.
7723         * scripts/config.guess: Likewise.
7724         * scripts/config.sub: Likewise.
7725         * scripts/cpp: Likewise.
7726         * scripts/cross-test-ssh.sh: Likewise.
7727         * scripts/documented.sh: Likewise.
7728         * scripts/evaluate-test.sh: Likewise.
7729         * scripts/gen-libc-abis: Likewise.
7730         * scripts/gen-sorted.awk: Likewise.
7731         * scripts/list-fixed-bugs.py: Likewise.
7732         * scripts/merge-test-results.sh: Likewise.
7733         * scripts/mkinstalldirs: Likewise.
7734         * scripts/rellns-sh: Likewise.
7735         * scripts/test-installation.pl: Likewise.
7736         * scripts/update-copyrights: Likewise.
7737         * stdio-common/tst-printf.sh: Likewise.
7738         * stdio-common/tst-unbputc.sh: Likewise.
7739         * stdlib/tst-fmtmsg.sh: Likewise.
7740         * stdlib/tst-setcontext3.sh: Likewise.
7741         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7742         * sysdeps/unix/make-syscalls.sh: Likewise.
7744 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7746         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7747         asm stw with atomic_exchange_rel.  Add explanatory comment.
7748         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7749         Likewise.
7751 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7753         [BZ #19122]
7754         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7755         * sysdeps/generic/dl-unistd.h: New file.
7756         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7758 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7760          [BZ #19122]
7761          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7762          * sysdeps/generic/dl-mman.h: New file.
7763          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7765 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7767         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7768         trailing whitespace removed.
7769         * scripts/config.guess: Update to version 2016-01-01.
7770         * scripts/config.sub: Update to version 2016-01-01.
7771         * scripts/move-if-change: Update from gnulib.
7773 2016-01-04  Anton Blanchard  <anton@samba.org>
7775         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7776         for array indices.
7777         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7779 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7781         * NEWS: Update copyright dates.
7782         * catgets/gencat.c (print_version): Likewise.
7783         * csu/version.c (banner): Likewise.
7784         * debug/catchsegv.sh: Likewise.
7785         * debug/pcprofiledump.c (print_version): Likewise.
7786         * debug/xtrace.sh (do_version): Likewise.
7787         * elf/ldconfig.c (print_version): Likewise.
7788         * elf/ldd.bash.in: Likewise.
7789         * elf/pldd.c (print_version): Likewise.
7790         * elf/sotruss.sh: Likewise.
7791         * elf/sprof.c (print_version): Likewise.
7792         * iconv/iconv_prog.c (print_version): Likewise.
7793         * iconv/iconvconfig.c (print_version): Likewise.
7794         * locale/programs/locale.c (print_version): Likewise.
7795         * locale/programs/localedef.c (print_version): Likewise.
7796         * login/programs/pt_chown.c (print_version): Likewise.
7797         * malloc/memusage.sh (do_version): Likewise.
7798         * malloc/memusagestat.c (print_version): Likewise.
7799         * malloc/mtrace.pl: Likewise.
7800         * manual/libc.texinfo: Likewise.
7801         * nptl/version.c (banner): Likewise.
7802         * nscd/nscd.c (print_version): Likewise.
7803         * nss/getent.c (print_version): Likewise.
7804         * nss/makedb.c (print_version): Likewise.
7805         * posix/getconf.c (main): Likewise.
7806         * scripts/test-installation.pl: Likewise.
7807         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7809         * All files with FSF copyright notices: Update copyright dates
7810         using scripts/update-copyrights.
7811         * intl/plural.c: Regenerated.
7812         * locale/programs/charmap-kw.h: Likewise.
7813         * locale/programs/locfile-kw.h: Likewise.
7815 2016-01-02  Helge Deller  <deller@gmx.de>
7817         [BZ #19285]
7818         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7819         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7820         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7821         (MADV_xxK_PAGES): Remove.
7823 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7825         [BZ #15421]
7826         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7827         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7828         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7829         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7831 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7833         [BZ #19408]
7834         * sysdeps/unix/sysv/linux/personality.c: New file.
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7836         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7837         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7838         (sysdep_routines): Add personality.
7839         (tests): Add tst-personality.
7840         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7842         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7843         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7844         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7845         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7846         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7847         Likewise.
7848         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7849         Likewise.
7850         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7851         Likewise.
7852         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7853         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7854         Likewise.
7856 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7858         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7859         (PATH_ARM_SYSTYPE): Remove.
7860         (PATH_CPUINFO): Likewise.
7861         (IO_BASE_FOOTBRIDGE): Likewise.
7862         (IO_SHIFT_FOOTBRIDGE): Likewise.
7863         (struct platform): Likewise.
7864         (init_iosys): Remove compatibility code for 2.4 kernels.
7865         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7867 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7869         * malloc/tst-malloc-thread-fail.c: New file.
7870         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7871         (tst-malloc-thread-fail): Link against libpthread.
7873 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7875         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7876         (get_parser): New function.
7877         (main): New function.
7879 2015-12-29  Rob Wu  <rob@robwu.nl>
7881         [BZ #19369]
7882         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7884 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7886         [BZ #19270]
7887         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7889 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7891         [BZ #15421]
7892         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7894 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7896         [BZ #13690]
7897         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7898         after releasing it.
7899         (__lll_robust_unlock): Likewise.
7900         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7902         (lll_robust_unlock): Likewise.
7903         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7904         Prevent warnings in callers.
7906 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7908         * malloc/arena.c (list_lock): Update comment.
7910 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7912         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7913         __parse_hwcap_and_convert_at_platform to libc.a.
7915 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7917         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7918         platform and feature support for POWER9.
7919         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7920         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7921         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7922         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7923         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7924         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7925         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7926         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7928 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7930         Harmonize generic stdio-lock support with nptl
7932         This fixes build when _IO_funlockfile is a macro, fixes build where
7933         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7934         stack unwind.
7936         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7937         _IO_release_lock ): Use cleanup attribute on new
7938         _IO_acquire_lock_file variable instead of assuming that
7939         _IO_release_lock will be called.
7940         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7941         _IO_acquire_lock_needs_exceptions_enabled.
7942         (_IO_acquire_lock_clear_flags2): New macro.
7944 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7946         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7948 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7950         [BZ #19182]
7951         * malloc/arena.c (list_lock): Document lock ordering requirements.
7952         (free_list_lock): New lock.
7953         (ptmalloc_lock_all): Comment on free_list_lock.
7954         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7955         (detach_arena): Update comment.  free_list_lock is now needed.
7956         (_int_new_arena): Use free_list_lock around detach_arena call.
7957         Acquire arena lock after list_lock.  Add comment, including FIXME
7958         about incorrect synchronization.
7959         (get_free_list): Switch to free_list_lock.
7960         (reused_arena): Acquire free_list_lock around detach_arena call
7961         and attached threads counter update.  Add two FIXMEs about
7962         incorrect synchronization.
7963         (arena_thread_freeres): Switch to free_list_lock.
7964         * malloc/malloc.c (struct malloc_state): Update comments to
7965         mention free_list_lock.
7967 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7969         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7970         Remove functions.
7971         (sloww, sloww1): Accept argument to offset quadrant.
7972         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7973         quadrant.
7974         (__sin, __cos): Consolidate common code into new functions.
7975         (reduce_sincos_1, do_sincos_1): New functions.
7976         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7979         code to new functions.
7980         (reduce_sincos_2, do_sincos_2): New functions.
7981         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7984         common code for sincos.
7985         (__cos) [!IN_SINCOS]: Likewise.
7986         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7987         New function.
7988         (__sincos): Use it.
7990 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7992         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7993         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7994         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7996 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7998         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8001         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8002         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8003         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8004         index_Prefer_No_VZEROUPPER): New feature.
8005         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8006         Prefer_No_VZEROUPPER for Knights Landing.
8008 015-12-18  Torvald Riegel  <triegel@redhat.com>
8010         * math/atest-exp2.c (mp_exp_m1): Remove.
8012 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8014         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8015         syscalls.
8016         (__SYSCALL0): New macro.
8017         (__SYSCALL1): Likewise.
8018         (__SYSCALL2): Likewise.
8019         (__SYSCALL3): Likewise.
8020         (__SYSCALL4): Likewise.
8021         (__SYSCALL5): Likewise.
8022         (__SYSCALL6): Likewise.
8023         (__SYSCALL_CONCAT_X): Likewise.
8024         (__SYSCALL_CONCAT): Likewise.
8025         (__SYSCALL_DIST): Likewise.
8026         (__SYSCALL_CALL): Likewise.
8028 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8030         [BZ #19363]
8031         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8033 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8035         [BZ #19375]
8036         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8037         negative subnormals.
8039 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8042         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8043         (INTERNAL_SYSCALL_NCS): Use it.
8044         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8046 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8048         [BZ #19243]
8049         * malloc/arena.c (get_free_list): Remove assert and adjust
8050         reference count handling.  Add comment about reused_arena
8051         interaction.
8052         (reused_arena): Add comments abount get_free_list interaction.
8053         * malloc/tst-malloc-thread-exit.c: New file.
8054         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8055         (tst-malloc-thread-exit): Link against libpthread.
8057 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8059         [BZ #19367]
8060         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8061         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8062         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8063         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8064         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8066 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8068         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8069         Silvermont optimizations for Knights Landing.
8071 2015-12-15  Andreas Schwab  <schwab@suse.de>
8073         [BZ #17197]
8074         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8075         immediately after emitting SI.
8076         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8077         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8078         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8079         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8080         * iconvdata/bug-iconv10.c: New file.
8081         * iconvdata/Makefile (tests): Add bug-iconv10.
8082         ($(objpfx)bug-iconv10.out): New rule.
8084 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8086         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8087         aliasing violation.
8089 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8091         [BZ #18472]
8092         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8093         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8094         conditionals for them.
8095         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8096         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8098         sys/kdaemon.h.
8099         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8100         compat-only syscall, obsoleted in glibc 2.23.
8101         (create_module): Likewise.
8102         (get_kernel_syms): Likewise.
8103         (query_module): Likewise.
8104         (uselib): Likewise.
8105         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8107 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8109         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8110         <linux/version.h>.
8111         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8112         conditional code.
8113         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8114         and ioshift_name initialization.
8116 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8118         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8119         Fix indentation.
8121 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8123         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8125 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8127         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8129 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8130             Jakub Wilk  <jwilk@debian.org>
8132         [BZ #19347]
8133         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8134         to change the group of the device to the tty group.
8136 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8138         Split large string section; add truncation advice
8139         * manual/examples/strncat.c: Remove.
8140         This example was misleading, as the code would have undefined
8141         behavior if "hello" was longer than SIZE.  Anyway, the manual
8142         shouldn't encourage strncpy+strncat for this sort of thing.
8143         * manual/string.texi (Copying Strings and Arrays): Split into
8144         three sections Copying Strings and Arrays, Concatenating Strings,
8145         and Truncating Strings, as this section was way too long.  All
8146         cross-referenced changed.  Add advice about string-truncation
8147         functions.  Remove misleading strncat example.
8149 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8151         * manual/nss.texi (NSS Modules Interface): Document
8152         NSS_STATUS_NOTFOUND and SUCCESS.
8154 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8156         [BZ 18568]
8157         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8158         201505L, for Unicode 8.
8160 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8162         * locale/C-translit.h: Regenerate.
8164 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8166         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8167         and U+0153.
8169 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8171         [BZ #19351]
8172         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8173         expanding log(1+z), compare z rather than its square with epsilon
8174         to determine when to avoid evaluating the expansion.
8176         [BZ #19350]
8177         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8178         Increase overflow threshold.
8180         [BZ #19349]
8181         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8182         when small.
8184         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8186         New macro.
8187         [__LINUX_KERNEL_VERSION >= 0x040300]
8188         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8190         Likewise.
8191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8192         Likewise.
8193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8194         Likewise.
8195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8196         Likewise.
8197         [__LINUX_KERNEL_VERSION >= 0x040300]
8198         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8199         [__LINUX_KERNEL_VERSION >= 0x040300]
8200         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8201         [__LINUX_KERNEL_VERSION >= 0x040300]
8202         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8203         [__LINUX_KERNEL_VERSION >= 0x040300]
8204         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8205         [__LINUX_KERNEL_VERSION >= 0x040300]
8206         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8208         Likewise.
8209         [__LINUX_KERNEL_VERSION >= 0x040300]
8210         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8211         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8212         Likewise.
8213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8214         Likewise.
8215         [__LINUX_KERNEL_VERSION >= 0x040300]
8216         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8218         Likewise.
8219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8220         Likewise.
8221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8222         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8223         Likewise.
8224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8225         Likewise.
8226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8227         Likewise.
8228         [__LINUX_KERNEL_VERSION >= 0x040300]
8229         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8231         Likewise.
8232         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8233         Likewise.
8234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8235         Likewise.
8236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8237         Likewise.
8238         [__LINUX_KERNEL_VERSION >= 0x040300]
8239         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8240         [__LINUX_KERNEL_VERSION >= 0x040300]
8241         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8242         [__LINUX_KERNEL_VERSION >= 0x040300]
8243         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8244         [__LINUX_KERNEL_VERSION >= 0x040300]
8245         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8246         [__LINUX_KERNEL_VERSION >= 0x040300]
8247         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8249         Likewise.
8250         [__LINUX_KERNEL_VERSION >= 0x040300]
8251         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8253         Likewise.
8254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8255         Likewise.
8256         [__LINUX_KERNEL_VERSION >= 0x040300]
8257         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8259         Likewise.
8260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8261         Likewise.
8262         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8263         (__ASSUME_SOCKET_SYSCALL): Likewise.
8264         (__ASSUME_BIND_SYSCALL): Likewise.
8265         (__ASSUME_CONNECT_SYSCALL): Likewise.
8266         (__ASSUME_LISTEN_SYSCALL): Likewise.
8267         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8268         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8269         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8270         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8271         (__ASSUME_SEND_SYSCALL): Likewise.
8272         (__ASSUME_SENDTO_SYSCALL): Likewise.
8273         (__ASSUME_RECV_SYSCALL): Likewise.
8274         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8275         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8276         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8277         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8278         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8279         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8280         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8281         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8282         Likewise.
8283         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8284         Likewise.
8285         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8286         Likewise.
8287         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8288         Likewise.
8289         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8290         Likewise.
8291         [__LINUX_KERNEL_VERSION >= 0x020625]
8292         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8293         [__LINUX_KERNEL_VERSION >= 0x020625]
8294         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8295         [__LINUX_KERNEL_VERSION >= 0x020625]
8296         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8297         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8298         Likewise.
8299         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8300         Likewise.
8301         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8302         Likewise.
8303         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8304         Likewise.
8305         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8306         Likewise.
8307         [__LINUX_KERNEL_VERSION >= 0x020625]
8308         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8309         [__LINUX_KERNEL_VERSION >= 0x020625]
8310         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8311         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8312         Likewise.
8313         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8314         Likewise.
8316 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8318         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8319         record the current if the current ABI and CPU support the FP64
8320         extension.
8321         (has-modd-spreg): Define to record the current if the current ABI and
8322         CPU support 32-bit floating point values in odd FPU registers.
8323         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8324         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8325         $(has-modd-spreg) equals yes.
8326         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8327         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8328         $(has-modd-spreg) equal yes.
8330 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8332         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8333         basename.
8335 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8337         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8338         (bench-string): ... here.
8339         (bench): Add bench-string.
8340         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8341         to *-benchset to reflect what they are.
8342         (benchset): Adjust.
8344         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8345         cos-inputs.
8347 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8349         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8350         __attribute__ ((__simd__)) for vector math function declarations.
8352 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8354         Fix typo in strncat, wcsncat manual entries
8355         * manual/string.texi (Copying and Concatenation): Fix typos in
8356         sample implementations of strncat and wcsncat, by having them use
8357         the old value of the destination length, not the new one.
8359 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8361         [BZ #16961]
8362         [BZ #16962]
8363         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8364         string on the stack for strtod.
8365         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8366         a string on the stack for strtof.
8367         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8368         constructing a string on the stack for strtold.
8369         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8370         __strtold_nan to GLIBC_PRIVATE.
8371         * math/test-nan-overflow.c: New file.
8372         * math/test-nan-payload.c: Likewise.
8373         * math/Makefile (tests): Add test-nan-overflow and
8374         test-nan-payload.
8376 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8378         Consistency about byte vs character in string.texi
8379         * manual/string.texi (String and Array Utilities):
8380         Distinguish more carefully among bytes, multibyte characters,
8381         and wide characters.  Use "byte" when talking about C 'char',
8382         to distinguish it more clearly from multibyte characters.
8383         Say "wide character" or "multibyte character" instead of
8384         "character", when a wide or multibyte character is intended.
8385         Similarly for "multibyte string" versus "string".
8386         Define these terms more carefully.
8388 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8390         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8391         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8392         Likewise.
8393         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8394         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8395         * sysdeps/sh/math_private.h: New file.
8396         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8397         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8398         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8399         long double function name.
8400         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8401         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8403         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8406         Remove __finitel, __isinfl, and __isnanl.
8407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8408         Likewise.
8409         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8411         Remove __finitel.
8412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8413         Likewise.
8414         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8416 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8418         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8419         installed libmvec_nonshared.a.
8421 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8423         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8424         (sysdep_routines): Likewise.
8425         (sysdep-rtld-routines): Likewise.
8426         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8427         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8428         * sysdeps/powerpc/Versions: Added new
8429         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8430         * sysdeps/powerpc/hwcapinfo.c: New file.
8431         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8432         and parse hwcap, hwcap2 and platform number information.
8433         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8434         to store HWCAP+HWCAP2 and platform number.
8435         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8436         for HWCAP+HWCAP2 and platform number in the TCB.
8437         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8438         the HWCAP, HWCAP2 and platform number in the TCB.
8439         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8440         (TLS_INIT_TP): Included calls to add the hwcap and
8441         at_platform values in the TCB in TP initialization.
8442         (TLS_DEFINE_INIT_TP): Likewise.
8443         (THREAD_GET_HWCAP): New macro.
8444         (THREAD_SET_HWCAP): Likewise.
8445         (THREAD_GET_AT_PLATFORM): Likewise.
8446         (THREAD_SET_AT_PLATFORM): Likewise.
8447         * sysdeps/powerpc/powerpc32/dl-machine.h:
8448         (dl_platform_init): New function that calls
8449         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8450         powerpc32.
8451         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8452         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8453         this functionality, static linking case.
8454         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8455         linking case.
8456         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8457         __parse_hwcap_and_convert_at_platform for the static linking case.
8458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8459         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8460         ABI list for GLIBC 2.23.
8461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8462         Likewise.
8463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8464         Likewise.
8466 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8468         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8469         * configure: Regenerate.
8470         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8471         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8473 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8475         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8476         * iconvdata/ibm933.c: Likewise.
8477         * iconvdata/ibm935.c: Likewise.
8478         * iconvdata/ibm937.c: Likewise.
8479         * iconvdata/ibm939.c: Likewise.
8481 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8483         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8484         pthread_join.
8485         * nptl/tst-cancel21.c (tf): Likewise.
8487 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8489         [BZ #19313]
8490         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8491         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8492         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8493         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8494         Likewise.
8495         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8496         Likewise.
8497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8498         Likewise.
8499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8500         Likewise.
8501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8502         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8503         unsigned long int with __CPU_MASK_TYPE.
8505 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8507         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8509 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8511         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8512         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8513         t512.x.
8514         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8516 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8518         [BZ #19214]
8519         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8520         argument to return extended model.  Update family and model
8521         with extended family and model when family == 0x0f.
8522         (init_cpu_features): Updated.
8524 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8526         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8527         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8529         * sysdeps/mach/hurd/mmap64.c: New file.
8531 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8533         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8534         rights for its main user thread in NEWTASK.
8536 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8538         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8539         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8541 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8543         [BZ #14259]
8544         * Makeconfig: Rename localedir to complocaledir.
8545         Rename inst_localedir to inst_complocaledir.
8546         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8547         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8548         * configure.ac: Use libc_cv_complocaledir.
8549         * configure: Regenerate.
8550         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8551         -DCOMPLOCALEDIR.
8552         * locale/findlocale.c: Use COMPLOCALEDIR.
8553         * locale/loadarchive.c: Likewise.
8554         * locale/programs/locale.c: Likewise.
8555         * locale/programs/localedef.c: Likewise.
8556         * locale/programs/locarchive.c: Likewise.
8557         * localedata/Makefile: Use inst_complocaledir.
8558         * sysdeps/gnu/configure: Regenerate.
8559         * sysdeps/hppa/configure: Regenerate.
8560         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8561         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8563         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8564         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8565         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8566         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8568 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8570         [BZ #19058]
8571         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8572         AS_NEEDED.
8573         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8574         workaround.
8575         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8576         libmvec-static-only-routines): Added new file.
8577         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8579 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8581         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8582         of interrupted RPC instead of restoring it.
8584         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8585         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8586         libc_hidden_def.
8587         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8588         into initialized data instead of common. Define rtld_hidden_data_def.
8589         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8590         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8591         libc_hidden_def.
8592         (if_freenameindex): Add libc_hidden_weak.
8593         (if_nameindex): Add libc_hidden_weak.
8594         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8595         __open64.
8596         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8597         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8598         * sysdeps/mach/nanosleep.c: Include <time.h>
8599         (__nanosleep): Rename to __libc_nanosleep.
8600         (__nanosleep): Add weak_alias.
8601         (nanosleep): Update alias.
8603 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8605         * stdlib/strtod_nan.c: New file.
8606         * stdlib/strtod_nan_double.h: Likewise.
8607         * stdlib/strtod_nan_float.h: Likewise.
8608         * stdlib/strtod_nan_main.c: Likewise.
8609         * stdlib/strtod_nan_narrow.h: Likewise.
8610         * stdlib/strtod_nan_wide.h: Likewise.
8611         * stdlib/strtof_nan.c: Likewise.
8612         * stdlib/strtold_nan.c: Likewise.
8613         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8614         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8615         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8616         * wcsmbs/wcstod_nan.c: Likewise.
8617         * wcsmbs/wcstof_nan.c: Likewise.
8618         * wcsmbs/wcstold_nan.c: Likewise.
8619         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8620         strtold_nan.
8621         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8622         wcstof_nan.
8623         * include/stdlib.h (__strtof_nan): Declare and use
8624         libc_hidden_proto.
8625         (__strtod_nan): Likewise.
8626         (__strtold_nan): Likewise.
8627         (__wcstof_nan): Likewise.
8628         (__wcstod_nan): Likewise.
8629         (__wcstold_nan): Likewise.
8630         * include/wchar.h (____wcstoull_l_internal): Declare.
8631         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8632         (____strtoull_l_internal): Remove declaration.
8633         (STRTOF_NAN): Define macro.
8634         (SET_MANTISSA): Remove macro.
8635         (STRTOULL): Likewise.
8636         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8637         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8638         (STRTOF_NAN): Define macro.
8639         (SET_MANTISSA): Remove macro.
8640         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8641         (SET_MANTISSA): Remove macro.
8642         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8643         macro.
8644         (SET_MANTISSA): Remove macro.
8645         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8646         macro.
8647         (SET_MANTISSA): Remove macro.
8648         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8649         (SET_MANTISSA): Remove macro.
8650         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8651         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8652         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8654         [BZ #19266]
8655         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8656         upper case and lower case letters inside NAN(), not using TOLOWER.
8657         * stdlib/tst-strtod-nan-locale-main.c: New file.
8658         * stdlib/tst-strtod-nan-locale.c: Likewise.
8659         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8660         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8661         Depend on $(gen-locales).
8662         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8663         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8664         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8665         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8666         Depend on $(gen-locales).
8667         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8669 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8671         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8673         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8675         __finitel, __isinfl, and __isnanl.
8676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8677         Likewise.
8678         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8680         __finitel.
8681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8685 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8687         * malloc/memusage.c (me): Remove redundant getenv call.
8689 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8691         [BZ #19143]
8692         [BZ #19164]
8693         * nptl/check-cpuset.h: Remove.
8694         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8695         Remove CPU set size check.
8696         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8699         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8700         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8701         (__pthread_setaffinity_new): Remove CPU set size check.
8702         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8703         (__kernel_cpumask_size): Remove.
8704         (__sched_setaffinity_new): Remove CPU set size check.
8705         * manual/threads.texi (Default Thread Attributes): Remove stale
8706         reference to check_cpuset_attr, determine_cpumask_size in comment.
8707         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8708         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8709         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8710         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8711         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8712         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8713         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8714         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8715         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8716         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8717         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8718         skeleton test file.
8719         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8720         tst-affinity-pid.
8722 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8724         * scripts/update-abilist.sh: New file.
8725         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8726         * Makerules (update-all-abi-%, update-all-abi)
8727         (subdir_update-all-abi): New targets.
8728         * elf/Makefile (update-all-abi): New target.
8730 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8732         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8733         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8734         (__libc_lock_define_initialized): Use it.
8735         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8736         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8737         * malloc/malloc.c (main_arena): Likewise.
8738         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8739         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8741 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8743         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8744         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8745         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8746         (PTRACE_O_MASK): Update value.
8747         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8748         New value in enum __ptrace_setoptions.
8749         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8750         (PTRACE_O_MASK): Update value.
8751         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8752         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8753         (PTRACE_O_MASK): Update value.
8754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8755         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8756         (PTRACE_O_MASK): Update value.
8757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8758         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8759         (PTRACE_O_MASK): Update value.
8760         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8761         New value in enum __ptrace_setoptions.
8762         (PTRACE_O_MASK): Update value.
8763         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8764         New value in enum __ptrace_setoptions.
8765         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8766         (PTRACE_O_MASK): Update value.
8768         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8769         New macro.
8770         (PACKET_AUXDATA): Likewise.
8771         (PACKET_ORIGDEV): Likewise.
8772         (PACKET_VERSION): Likewise.
8773         (PACKET_HDRLEN): Likewise.
8774         (PACKET_RESERVE): Likewise.
8775         (PACKET_TX_RING): Likewise.
8776         (PACKET_LOSS): Likewise.
8777         (PACKET_VNET_HDR): Likewise.
8778         (PACKET_TX_TIMESTAMP): Likewise.
8779         (PACKET_TIMESTAMP): Likewise.
8780         (PACKET_FANOUT): Likewise.
8781         (PACKET_TX_HAS_OFF): Likewise.
8782         (PACKET_QDISC_BYPASS): Likewise.
8783         (PACKET_ROLLOVER_STATS): Likewise.
8784         (PACKET_FANOUT_DATA): Likewise.
8785         (PACKET_MR_UNICAST): Likewise.
8787         [BZ #19242]
8788         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8789         (TOUPPER): Likewise.
8790         * stdlib/tst-strtol-locale-main.c: New file.
8791         * stdlib/tst-strtol-locale.c: Likewise.
8792         * stdlib/Makefile (tests): Add tst-strtol-locale.
8793         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8794         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8795         Depend on $(gen-locales).
8796         * wcsmbs/tst-wcstol-locale.c: New file.
8797         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8798         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8799         tr_TR.ISO-8859-9.
8800         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8801         Depend on $(gen-locales).
8803 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8805         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8806         __glibc_likely instead of __builtin_expect.  After falling back to
8807         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8808         system interface to register the code pages as occupied.
8810 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8812         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8813         [!ARM_MATH_PRIVATE_H].
8814         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8815         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8816         [!HPPA_MATH_PRIVATE_H].
8817         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8818         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8819         to [!I386_MATH_PRIVATE_H].
8820         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8821         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8822         Change guard to [!M68K_MATH_PRIVATE_H].
8823         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8824         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8825         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8826         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8827         macro.
8828         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8829         [!MIPS_MATH_PRIVATE_H].
8830         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8831         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8832         [!NIO2_MATH_PRIVATE_H].
8833         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8834         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8835         [!TILE_MATH_PRIVATE_H].
8836         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8838         [BZ #15421]
8839         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8840         initialize with 0 and define as weak alias of __signgam.
8841         * include/math.h [!_ISOMAC] (__signgam): Declare.
8842         * math/Makefile (libm-calls): Add w_lgamma_compat.
8843         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8844         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8845         test-signgam-ullong-init.
8846         (tests-static): Add test-signgam-uchar-static,
8847         test-signgam-uchar-init-static, test-signgam-uint-static,
8848         test-signgam-uint-init-static, test-signgam-ullong-static and
8849         test-signgam-ullong-init-static.
8850         (CFLAGS-test-signgam-uchar.c): New variable.
8851         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8852         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8853         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8854         (CFLAGS-test-signgam-uint.c): Likewise.
8855         (CFLAGS-test-signgam-uint-init.c): Likewise.
8856         (CFLAGS-test-signgam-uint-static.c): Likewise.
8857         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8858         (CFLAGS-test-signgam-ullong.c): Likewise.
8859         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8860         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8861         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8862         * math/Versions (libm): Add GLIBC_2.23.
8863         * math/lgamma-compat.h: New file.
8864         * math/test-signgam-main.c: Likewise.
8865         * math/test-signgam-uchar-init-static.c: Likewise.
8866         * math/test-signgam-uchar-init.c: Likewise.
8867         * math/test-signgam-uchar-static.c: Likewise.
8868         * math/test-signgam-uchar.c: Likewise.
8869         * math/test-signgam-uint-init-static.c: Likewise.
8870         * math/test-signgam-uint-init.c: Likewise.
8871         * math/test-signgam-uint-static.c: Likewise.
8872         * math/test-signgam-uint.c: Likewise.
8873         * math/test-signgam-ullong-init-static.c: Likewise.
8874         * math/test-signgam-ullong-init.c: Likewise.
8875         * math/test-signgam-ullong-static.c: Likewise.
8876         * math/test-signgam-ullong.c: Likewise.
8877         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8878         wrapper of w_lgamma_main.c.
8879         * math/w_lgamma_compat.c: New file.
8880         * math/w_lgamma_compatf.c: Likewise.
8881         * math/w_lgamma_compatl.c: Likewise.
8882         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8883         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8884         defining compatibility symbols.
8885         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8886         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8887         wrapper of w_lgammaf_main.c.
8888         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8889         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8890         defining compatibility symbols.
8891         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8892         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8893         wrapper of w_lgammal_main.c.
8894         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8895         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8896         defining compatibility symbols.
8897         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8898         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8899         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8900         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8901         <lgamma-compat.h>.
8902         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8903         (__ieee754_gamma): Define as alias.
8904         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8905         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8906         <lgamma-compat.h>.
8907         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8908         (__ieee754_gammaf): Define as alias.
8909         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8910         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8911         <lgamma-compat.h>.
8912         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8913         (__ieee754_gammal): Define as alias.
8914         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8915         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8916         <math/w_lgamma_compat.c>.
8917         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8918         Define as alias of __lgamma_compat and use in defining lgammal.
8919         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8920         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8921         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8922         (USE_AS_COMPAT): New macro.
8923         (LGAMMA_OLD_VER): Undefine and redefine.
8924         (lgammal): Do not define here.
8925         (gammal): Only define here if [GAMMA_ALIAS].
8926         * conform/linknamespace.pl (@whitelist): Remove signgam.
8927         * sysdeps/nacl/libm.abilist: Update.
8928         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8934         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8935         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8936         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8937         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8938         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8943         Likewise.
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8951         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8954         Likewise.
8955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8956         Likewise.
8957         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8958         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8959         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8961 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8963         [BZ #16364]
8964         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8965         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8967 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8969         * sysdeps/s390/fpu/bits/mathinline.h:
8970         Use __asm__ [__volatile__] instead of asm [volatile].
8971         * sysdeps/s390/abort-instr.h: Likewise.
8972         * sysdeps/s390/atomic-machine.h: Likewise.
8973         * sysdeps/s390/bits/string.h: Likewise.
8974         * sysdeps/s390/dl-tls.h: Likewise.
8975         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8976         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8977         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8978         * sysdeps/s390/fpu/fesetround.c: Likewise.
8979         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8980         * sysdeps/s390/fpu/s_fma.c: Likewise.
8981         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8982         * sysdeps/s390/memusage.h: Likewise.
8983         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8984         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8985         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8986         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8987         * sysdeps/s390/nptl/tls.h: Likewise.
8988         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8989         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8990         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8991         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8992         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8993         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8994         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8995         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8996         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8997         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8998         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8999         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9000         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9001         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9002         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9003         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9004         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9005         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9006         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9008         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9010         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9012 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9013             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9015         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9016         Add lwarx hint, and use macro for acquire instruction.
9017         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9018         Likewise.
9019         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9020         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9021         update to use new atomic macros.
9023 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9025         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9026         (__lll_trylock_elision): Fix setting of adapt_count.
9027         * sysdeps/unix/sysv/linux/powerpc/htm.h
9028         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9029         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9030         (_ABORT_SYSCALL): Renumber, and clarify definition.
9031         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9033 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9035         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9036         after system headers to prevent MIN/MAX redefinition.  Define
9037         HAVE_ALLOCA to preserve builtin alloca usage.
9039 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9042         static and don't set or restore rounding.
9043         (__cos)[IN_SINCOS]: Likewise.
9044         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9045         (__sincos): Set and restore rounding mode.  Remove check for infinite
9046         or NaN input.
9048         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9050         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9051         as used.
9053 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9055         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9057 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9059         * config.make.in (have-glob-dat-reloc): New.
9060         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9061         target supports GLOB_DAT relocaton. AC_SUBST.
9062         * configure: Regenerated.
9063         * elf/Makefile (tests): Add tst-prelink.
9064         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9065         (tst-prelink-ENV): New.
9066         ($(objpfx)tst-prelink-conflict.out): Likewise.
9067         ($(objpfx)tst-prelink-cmp.out): Likewise.
9068         * sysdeps/x86/tst-prelink.c: Moved to ...
9069         * elf/tst-prelink.c: Here.
9070         * sysdeps/x86/tst-prelink.exp: Moved to ...
9071         * elf/tst-prelink.exp: Here.
9072         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9073         (tst-prelink-ENV): Removed.
9074         ($(objpfx)tst-prelink-conflict.out): Likewise.
9075         ($(objpfx)tst-prelink-cmp.out): Likewise.
9076         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9078 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9080         [BZ #14551]
9081         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9082         (__mpn_construct_long_double): If high part overflows to infinity,
9083         set errno and recompute overflowed result of the correct sign.
9084         * sysdeps/ieee754/ldbl-128ibm/Makefile
9085         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9086         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9087         $(libm).
9088         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9090 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9092         [BZ #15479]
9093         [BZ #19238]
9094         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9095         floating-point state after first operation on input.  Restore full
9096         state rather than just rounding mode.
9097         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9098         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9099         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9101         [BZ #19235]
9102         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9103         add 0.5 to integer arguments.
9104         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9105         Likewise.
9106         (.LC2): New object.
9108 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9110         * scripts/pylintrc (reports): Set to no.
9112 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9114         * elf/dl-load.c (open_verify): Take new argument FD.
9115         Skip __open call if passed FD is not -1.
9116         (_dl_map_object, open_path): Update callers.
9117         * elf/dl-sysdep-open.h: New file.
9118         * elf/dl-load.c: Include it.
9119         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9120         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9121         * sysdeps/nacl/dl-sysdep-open.h: New file.
9122         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9123         from libc to rtld.
9125 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9127         [BZ #19228]
9128         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9129         and restore full floating-point state.
9130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9131         Likewise.
9132         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9133         Likewise.
9134         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9135         Likewise.
9136         * math/test-nearbyint-except-2.c: New file.
9137         * math/Makefile (tests): Add test-nearbyint-except-2.
9139 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9141         [BZ #19178]
9142         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9143         (tst-prelink-ENV): New.
9144         ($(objpfx)tst-prelink-conflict.out): Likewise.
9145         ($(objpfx)tst-prelink-cmp.out): Likewise.
9146         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9147         * sysdeps/x86/tst-prelink.c: New file.
9148         * sysdeps/x86/tst-prelink.exp: Likewise.
9150 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9152         * math/auto-libm-test-in: Add another test of pow.
9153         * math/auto-libm-test-out: Regenerated.
9154         * math/libm-test.inc (pow_test_data): Add another test.
9156 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9158         [BZ #19219]
9159         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9160         weak_alias to nearbyintl.
9162 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9164         * sysdeps/aarch64/bits/string.h: New file.
9165         (_STRING_ARCH_unaligned): Define.
9167 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9169         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9170         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9171         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9172         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9175 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9177         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9178         for original name of the DSO.  Add it to the name list of the DSO
9179         if it is actually given.
9180         (_dl_map_object): Keep track of whether an audit module rewrote
9181         the file name.  If yes, pass the original name to
9182         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9183         debugging is enabled, log the change of the file name.
9184         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9185         _dl_map_object_from_fd.
9186         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9187         * elf/tst-audit11.c: New file
9188         * elf/tst-auditmod11.c: New file.
9189         * elf/tst-audit11mod1.c: New file.
9190         * elf/tst-audit11mod2.c: New file.
9191         * elf/tst-audit11mod2.map: New file.
9192         * elf/tst-audit12.c: New file
9193         * elf/tst-auditmod12.c: New file.
9194         * elf/tst-audit12mod1.c: New file.
9195         * elf/tst-audit12mod2.c: New file.
9196         * elf/tst-audit12mod2.map: New file.
9197         * elf/tst-audit12mod3.c: New file.
9199 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9201         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9202         Don't create weak aliases,
9203         because versioned symbols are created later.
9204         * sysdeps/s390/s390-32/setjmp.S
9205         (setjmp, _setjmp): Remove weak and rename to an unique name
9206         in SHARED case due to existing versioned symbols.
9207         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9209         (getcontext): Create weak alias only in non SHARED case.
9210         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9212 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9214         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9215         (__ASSUME_*_SYSCALL) Define new macros.
9216         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9217         Remove socketcall syscalls.
9218         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9219         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9220         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9221         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9222         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9223         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9225 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9227         [BZ #12926]
9228         Terminate process on invalid netlink response.
9229         * sysdeps/unix/sysv/linux/netlinkaccess.h
9230         (__netlink_assert_response): Declare.
9231         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9232         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9233         (sysdep_routines): Add netlink_assert_response.
9234         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9235         __netlink_assert_response.
9236         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9237         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9238         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9239         __netlink_assert_response.
9241 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9243         [BZ #19178]
9244         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9245         (RTYPE_CLASS_PLT): Likewise.
9246         (RTYPE_CLASS_COPY): Likewise.
9247         (RTYPE_CLASS_TLS): Likewise.
9248         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9249         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9250         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9251         DL_DEBUG_PRELINK.
9253 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9255         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9256         calls with argument -0.5.
9257         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9259         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9260         (libc_cv_z_nodlopen): Likewise.
9261         (libc_cv_z_initfirst): Likewise.
9262         * configure: Regenerated.
9264 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9266         Simplify abilist format to be line-based.
9267         * scripts/abilist.awk: Collect descriptors in the descs variable.
9268         (emit): Write descs variable and sort it
9269         externally, with sort.
9270         * sysdeps/**/*.abilist: Convert to new format.
9272 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9274         [BZ #11460]
9275         * io/Makefile (routines): Add fts64.
9276         (tests): Add tst-fts and tst-fts-lfs.
9277         (CFLAGS-fts64.c): New.
9278         * io/Versions (GLIBC_2.23): New.
9279         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9280         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9281         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9282         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9283         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9284         (FTSENT64): Likewise.
9285         (fts64_children): Likewise.
9286         (fts64_close): Likewise.
9287         (fts64_open): Likewise.
9288         (fts64_read): Likewise.
9289         (fts64_set): Likewise.
9290         * io/fts64.c: New file.
9291         * io/tst-fts.c: New test.
9292         * io/tst-fts-lfs.c: Likewise.
9293         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9294         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9295         fts64_set.
9296         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9297         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9298         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9299         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9300         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9301         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9302         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9303         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9304         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9305         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9306         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9307         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9308         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9312         Likewise.
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9315         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9316         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9317         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9318         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9319         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9322         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9323         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9324         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9325         * sysdeps/wordsize-64/fts.c: New file.
9326         * sysdeps/wordsize-64/fts64.c: Likewise.
9327         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9328         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9329         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9330         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9332 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9334         * math/libm-test.inc (NON_FINITE): New macro.
9335         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9336         * math/gen-libm-test.pl (show_exceptions): Add argument
9337         $non_finite.
9338         (parse_args): Update call to show_exceptions.
9339         * math/test-math-finite.h: New file.
9340         * math/test-math-no-finite.h: Likewise.
9341         * math/test-double-finite.c: Likewise.
9342         * math/test-float-finite.c: Likewise.
9343         * math/test-ldouble-finite.c: Likewise.
9344         * math/test-double.c: Include "test-math-no-finite.h".
9345         * math/test-float.c: Include "test-math-no-finite.h".
9346         * math/test-ldouble.c: Include "test-math-no-finite.h".
9347         * math/test-math-inline.h (TEST_FINITE): New macro.
9348         * math/test-math-vector.h (TEST_FINITE): Likewise.
9349         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9350         (libm-tests): Add test-float-finite and test-double-finite.
9351         ($(objpfx)test-float-finite.o): New dependency on
9352         $(objpfx)libm-test.stmp.
9353         ($(objpfx)test-double-finite.o): Likewise.
9354         ($(objpfx)test-ldouble-finite.o): Likewise.
9355         (libm-test-no-inline-cflags): New variable.
9356         (libm-test-finite-cflags): Likewise.
9357         (CFLAGS-test-float-finite.c): Likewise.
9358         (CFLAGS-test-double-finite.c): Likewise.
9359         (CFLAGS-test-ldouble-finite.c): Likewise.
9360         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9361         (CFLAGS-test-double.c): Likewise.
9362         (CFLAGS-test-ldouble.c): Likewise.
9364 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9366         * io/fcntl.c (__fcntl): Add ... to prototype.
9367         * misc/ioctl.c (__ioctl): Likewise.
9368         * misc/syscall.c (syscall): Likewise.
9370 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9372         * scripts/list-fixed-bugs.py: New file.
9374         [BZ #19213]
9375         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9376         returned for argument 1.
9377         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9378         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9379         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9380         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9381         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9382         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9384         [BZ #19211]
9385         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9386         __USE_XOPEN], not if [!__USE_ISOC99].
9387         (lgammaf): Likewise.
9388         (lgammal): Likewise.
9389         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9390         (gammaf): Likewise.
9391         (gammal): Likewise.
9392         * math/test-signgam-finite-c11.c: New file.
9393         * math/test-signgam-finite-c99.c: Likewise.
9394         * math/test-signgam-finite.c: Likewise.
9395         * math/Makefile (tests): Add test-signgam-finite,
9396         test-signgam-finite-c99 and test-signgam-finite-c11.
9397         (CFLAGS-test-signgam-finite.c): New variable.
9398         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9399         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9401         [BZ #19212]
9402         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9403         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9404         500].
9405         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9406         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9407         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9408         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9409         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9410         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9411         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9412         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9413         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9414         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9416         [BZ #19209]
9417         * math/bits/math-finite.h (ldexp): Remove declaration.
9418         (ldexpf): Likewise.
9419         (ldexpl): Likewise.
9421         [BZ #19205]
9422         * math/bits/math-finite.h (acosf): Condition declaration on
9423         [__USE_ISOC99].
9424         (acosl): Likewise.
9425         (acoshf): Likewise.
9426         (acoshl): Likewise.
9427         (asinf): Likewise.
9428         (asinl): Likewise.
9429         (atan2f): Likewise.
9430         (atan2l): Likewise.
9431         (atanhf): Likewise.
9432         (atanhl): Likewise.
9433         (coshf): Likewise.
9434         (coshl): Likewise.
9435         (expf): Likewise.
9436         (expl): Likewise.
9437         (fmodf): Likewise.
9438         (fmodl): Likewise.
9439         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9440         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9441         (j0l): Likewise.
9442         (y0f): Likewise.
9443         (y0l): Likewise.
9444         (j1f): Likewise.
9445         (j1l): Likewise.
9446         (y1f): Likewise.
9447         (y1l): Likewise.
9448         (jnf): Likewise.
9449         (jnl): Likewise.
9450         (ynf): Likewise.
9451         (ynl): Likewise.
9452         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9453         (lgammal_r): Likewise.
9454         (__lgamma_r_finite): New declaration.
9455         (__lgammaf_r_finite): Likewise.
9456         (__lgammal_r_finite): Likewise.
9457         (lgamma): Use __lgamma_r_finite.
9458         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9459         __lgammaf_r_finite.
9460         (lgammal): Condition definition on [__USE_ISOC99].  Use
9461         __lgammal_r_finite.
9462         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9463         __lgamma_r_finite.
9464         (gammaf): Condition definition on [__USE_ISOC99].  Use
9465         __lgammaf_r_finite.
9466         (gammal): Condition definition on [__USE_ISOC99].  Use
9467         __lgammal_r_finite.
9468         (logf): Condition declaration on [__USE_ISOC99].
9469         (logl): Likewise.
9470         (log10f): Likewise.
9471         (log10l): Likewise.
9472         (ldexpf): Likewise.
9473         (ldexpl): Likewise.
9474         (powf): Likewise.
9475         (powl): Likewise.
9476         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9477         __USE_ISOC99].
9478         (remainderf): Condition declaration on [__USE_ISOC99].
9479         (remainderl): Likewise.
9480         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9481         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9482         (scalbl): Likewise.
9483         (sinhf): Condition declaration on [__USE_ISOC99].
9484         (sinhl): Likewise.
9485         (sqrtf): Likewise.
9486         (sqrtl): Likewise.
9488 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9490         * sysdeps/arm/atomic-machine.h
9491         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9492         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9493         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9494         Remove conditional code.
9495         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9496         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9497         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9498         Change conditional to [__ASSEMBLER__].
9499         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9500         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9501         [!__ASSEMBLER__].
9502         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9503         code.
9504         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9505         conditional macro definitions.
9506         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9507         (__arch_compare_and_exchange_val_16_acq): Likewise.
9508         (__arch_compare_and_exchange_val_32_acq): Likewise.
9509         (atomic_exchange_and_add): Likewise.
9510         (atomic_add): Likewise.
9511         (atomic_add_negative): Likewise.
9512         (atomic_add_zero): Likewise.
9513         (atomic_bit_set): Likewise.
9514         (atomic_bit_test_set): Likewise.
9515         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9516         code unconditional.
9517         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9519         * math/test-math-errno.h: New file.
9520         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9521         empty.
9522         (TEST_ERRNO): New macro.
9523         (TEST_EXCEPTIONS): Likewise.
9524         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9525         (TEST_EXCEPTIONS): Likewise.
9526         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9527         * math/test-double.c: Include "test-math-errno.h".
9528         * math/test-float.c: Likewise.
9529         * math/test-ldouble.c: Likewise.
9530         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9531         code unconditional.
9532         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9533         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9534         unconditional.
9535         (test_errno): Only run code if TEST_ERRNO.
9536         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9538 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9540         * nptl/tst-once5.cc: Remove attribution.
9542 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9544         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9545         sqrt, tan, tanh, y0, y1 and yn.
9546         * math/auto-libm-test-out: Regenerated.
9547         * math/libm-test.inc (scalb_test_data): Add more tests.
9548         (scalbn_test_data): Likewise.
9549         (scalbln_test_data): Likewise.
9550         (signbit_test_data): Likewise.
9551         (sin_test_data): Likewise.
9552         (sincos_test_data): Likewise.
9553         (sinh_test_data): Likewise.
9554         (sqrt_test_data): Likewise.
9555         (tan_test_data): Likewise.
9556         (tanh_test_data): Likewise.
9557         (tgamma_test_data): Likewise.
9558         (y0_test_data): Likewise.
9559         (y1_test_data): Likewise.
9560         (yn_test_data): Likewise.
9561         (significand_test_data): Likewise.
9562         * sysdeps/i386/fpu/libm-test-ulps: Update.
9564 2015-11-03  David Kastrup  <dak@gnu.org>
9566         [BZ #18604]
9567         * assert/assert.h (assert): Don't macro-expand failed assertion
9568         expression in error message.
9569         * malloc/malloc.c (assert): Likewise.
9571 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9573         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9574         test.
9575         * configure: Regenerated.
9577 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9579         * math/libm-test.inc (modf_test_data): Add more tests.
9580         (nearbyint_test_data): Likewise.
9581         (nextafter_test_data): Likewise.
9582         (nexttoward_test_data): Likewise.
9583         (pow_test_data): Likewise.
9584         (remainder_test_data): Likewise.
9585         (remquo_test_data): Likewise.
9586         (rint_test_data): Likewise.
9588         [BZ #19201]
9589         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9590         Check for zero remainder in case of large exponents and ensure
9591         correct sign of result in that case.
9592         * math/libm-test.inc (remainder_test_data): Add more tests.
9594         [BZ #6799]
9595         * math/s_nextafter.c: Include <errno.h>.
9596         (__nextafter): Set errno on overflow and underflow.
9597         * math/s_nexttowardf.c: Include <errno.h>.
9598         (__nexttowardf): Set errno on overflow and underflow.
9599         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9600         (__nextafterl): Set errno on overflow and underflow.
9601         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9602         (__nexttoward): Set errno on overflow and underflow.
9603         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9604         (__nexttowardf): Set errno on overflow and underflow.
9605         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9606         (__nextafterf): Set errno on overflow and underflow.
9607         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9608         (__nextafterl): Set errno on overflow and underflow.
9609         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9610         (__nexttoward): Set errno on overflow and underflow.
9611         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9612         (__nexttowardf): Set errno on overflow and underflow.
9613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9614         (__nextafterl): Set errno on overflow and underflow.
9615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9616         (__nexttoward): Set errno on overflow and underflow.
9617         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9618         (__nexttowardf): Set errno on overflow and underflow.
9619         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9620         (__nexttoward): Set errno on overflow and underflow.
9621         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9622         (__nexttowardf): Set errno on overflow and underflow.
9623         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9624         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9625         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9626         (__nextafterl): Set errno on overflow and underflow.
9627         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9628         setting to be missing on overflow.  Add more tests.
9629         (nexttoward_test_data): Likewise.
9631         * configure.ac (libc_cv_initfini_array): Remove configure test.
9632         * configure: Regenerated.
9634 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9636         [BZ #19189]
9637         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9638         non-finite argument handle arguments with negative sign.
9640         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9641         result from infinite argument.
9642         (j1_test_data): Likewise.
9643         (jn_test_data): Likewise.
9644         (y0_test_data): Likewise.
9645         (y1_test_data): Likewise.
9646         (yn_test_data): Likewise.
9648         [BZ #16171]
9649         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9650         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9651         * math/w_remainderf.c (dremf): Define as weak alias of
9652         __remainderf.
9653         * math/w_remainderl.c (dreml): Define as weak alias of
9654         __remainderl.
9655         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9656         __remainder.
9657         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9658         __remainderf.
9659         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9660         __remainderl.
9661         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9662         weak alias of remainderl.
9663         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9664         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9665         alias of __remainder.
9666         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9667         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9668         strong alias of __remainderl.
9669         (dreml): Use long_double_symbol.
9670         * math/Makefile (libm-calls): Remove w_drem.
9671         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9672         (CFLAGS-nldbl-drem.c): Remove variable.
9673         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9674         * math/w_drem.c: Remove file.
9675         * math/w_dremf.c: Likewise.
9676         * math/w_dreml.c: Likewise.
9677         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9678         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9679         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9681         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9682         * sysdeps/i386/configure: Regenerated.
9683         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9684         * sysdeps/x86_64/configure: Regenerated.
9686         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9687         test.
9688         (libc_cv_visibility_attribute): Likewise.
9689         (libc_cv_protected_data): Test unconditionally.
9690         (libc_cv_broken_visibility_attribute): Remove configure test.
9691         (libc_cv_have_sdata_section): Test unconditionally.
9692         * configure: Regenerated.
9694         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9695         * include/scratch_buffer.h: Include <stddef.h> instead of
9696         <libc-internal.h>.
9697         (struct scratch_buffer): Use max_align_t instead of
9698         libc_max_align_t.
9700 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9702         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9703         instead of extend_alloca.  Change control flow to avoid a goto.
9704         Remove assert which is trivially always true.
9706 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #16068]
9709         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9710         (FE_ALL_EXCEPT_X86): New macro.
9711         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9712         FE_ALL_EXCEPT.  Ensure precision control is included in
9713         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9714         handle "denormal operand exception" and clear FZ and DAZ bits.
9715         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9716         (FE_ALL_EXCEPT_X86): New macro.
9717         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9718         FE_ALL_EXCEPT.  Ensure precision control is included in
9719         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9720         handle "denormal operand exception" and clear FZ and DAZ bits.
9721         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9722         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9723         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9724         test-fenv-x87 and test-fenv-sse-2.
9725         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9727         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9728         * math/test-double.h (BUILD_COMPLEX): New macro.
9729         * math/test-float.h (BUILD_COMPLEX): Likewise.
9730         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9732         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9733         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9734         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9736         instead of DBL_DENORM_MIN in comment.
9737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9738         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9739         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9740         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9742         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9744 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9746         [BZ# 19048]
9747         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9748         attached_threads member.
9749         (main_arena): Initialize attached_threads.
9750         * malloc/arena.c (list_lock): Update comment.
9751         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9752         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9753         (deattach_arena): New function.
9754         (_int_new_arena): Initialize arena reference count and deattach
9755         replaced arena.
9756         (get_free_list, reused_arena): Update reference count and deattach
9757         replaced arena.
9758         (arena_thread_freeres): Update arena reference count and only put
9759         unreferenced arenas on the free list.
9761 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9763         [BZ #19181]
9764         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9765         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9766         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9767         * math/test-fenv-clear-main.c: New file.
9768         * math/test-fenv-clear.c: Likewise.
9769         * math/Makefile (tests): Add test-fenv-clear.
9770         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9771         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9772         test-fenv-clear-sse.
9773         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9775         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9776         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9777         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9779 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9781         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9782         static libc.
9784 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9786         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9787         test.
9788         * sysdeps/i386/configure: Regenerated.
9789         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9790         test.
9791         * sysdeps/x86_64/configure: Regenerated.
9792         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9794         memset-avx2 unconditionally instead of conditionally on
9795         [$(config-cflags-avx2) = yes].
9796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9797         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9798         unconditional.
9799         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9800         * sysdeps/x86_64/multiarch/memset_chk.S
9801         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9802         to [IS_IN (libc) && SHARED].
9804 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9806         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9807         configure test.
9808         * sysdeps/arm/configure: Regenerated.
9809         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9810         Define variable if not already defined.
9812         [BZ #17404]
9813         * sysdeps/mips/atomic-machine.h
9814         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9815         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9816         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9818         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9819         unconditional.
9820         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9821         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9822         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9823         unconditional.
9824         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9825         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9826         unconditional.
9827         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9828         * stdlib/setenv.c
9829         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9830         code unconditional.
9831         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9832         Remove conditional code.
9833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9834         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9835         unconditional.
9836         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9837         code.
9838         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9839         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9840         unconditional.
9841         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9842         code.
9843         * sysdeps/ieee754/ldbl-128/k_tanl.c
9844         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9845         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9846         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9847         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9848         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9849         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9850         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9851         unconditional.
9852         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9853         code.
9854         * sysdeps/ieee754/ldbl-96/k_tanl.c
9855         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9856         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9858         * nptl/tst-initializers1-c11.c: New file.
9859         * nptl/tst-initializers1-gnu11.c: Likewise.
9860         * nptl/Makefile (tests): Add these new tests.
9861         (CFLAGS-tst-initializers1-c11.c): New variable.
9862         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9864         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9865         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9866         instead of -std=gnu99.
9867         * configure.ac (systemtap): Test with -std=gnu11 instead of
9868         -std=gnu99.
9869         * configure: Regenerated.
9870         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9871         in compilation command in comment.
9873         * sysdeps/nptl/configure.ac: Remove file.
9874         * sysdeps/nptl/configure: Remove generated file.
9875         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9876         * configure: Regenerated.
9877         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9878         * config.make.in (have-forced-unwind): Remove variable.
9879         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9880         unconditional.
9881         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9882         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9883         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9884         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9885         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9886         unconditional.
9888 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9890         [BZ #19174]
9891         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9892         .skip_lock_out_of_tbegin_retries.
9893         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9894         (__lll_lock_elision): Likewise, and respect a value of
9895         try_tbegin <= 0.
9897 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9899         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9900         statement.
9902 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9904         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9905         variable.
9906         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9907         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9909         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9910         of -std=c1x -D_ISOC11_SOURCE.
9912         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9913         * configure: Regenerated.
9914         * manual/install.texi (Tools for Compilation): Document
9915         requirement for GCC 4.7 or later.
9916         * INSTALL: Regenerated.
9918 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9920         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9921         on CNT to a conditional jump to 'puntdata'.
9923 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9925         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9926         (libc_cv_gcc_tls_model_attr): Likewise.
9927         * configure: Regenerated.
9929         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9930         * configure: Regenerated.
9931         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9933 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9935         * configure.ac (old_glibc_headers): Remove configure test.
9936         * configure: Regenerated.
9937         * config.make.in (old-glibc-headers): Remove variable.
9938         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9939         (install): Remove dependency on remove-old-headers.
9940         (headers2_0): Remove variable.
9941         (remove-old-headers): Remove rule.
9943         * configure.ac (libc_cv_dot_text): Remove configure test.
9944         (libc_cv_asm_set_directive): Use .text instead of
9945         ${libc_cv_dot_text} in configure test.
9946         * configure: Regenerated.
9948 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9950         [BZ #19168]
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9953 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9955         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9956         not support static linking.
9957         * configure: Regenerate.
9959 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9961         * math/libm-test.inc (check_float_internal): Do not special-case
9962         errors up to 0.5 ulp.
9964         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9965         log2.
9966         * math/auto-libm-test-out: Regenerated.
9967         * math/libm-test.inc (MAX_EXP): New macro.
9968         (ilogb_test_data): Add more tests.
9969         (isfinite_test_data): Likewise.
9970         (isgreater_test_data): Likewise.
9971         (isgreaterequal_test_data): Likewise.
9972         (isinf_test_data): Likewise.
9973         (isless_test_data): Likewise.
9974         (islessequal_test_data): Likewise.
9975         (islessgreater_test_data): Likewise.
9976         (isnan_test_data): Likewise.
9977         (isnormal_test_data): Likewise.
9978         (issignaling_test_data): Likewise.
9979         (isunordered_test_data): Likewise.
9980         (j0_test_data): Likewise.
9981         (j1_test_data): Likewise.
9982         (jn_test_data): Likewise.
9983         (lgamma_test_data): Likewise.
9984         (log_test_data): Likewise.
9985         (log10_test_data): Likewise.
9986         (log1p_test_data): Likewise.
9987         (log2_test_data): Likewise.
9988         (logb_test_data): Likewise.
9989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9991         [BZ #18611]
9992         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9993         avoid excess range and precision on underflow.
9994         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9995         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9996         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9997         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9998         underflow.
9999         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10001         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10002         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10003         * math/auto-libm-test-in: Do not allow missing errno setting for
10004         tests of j1 and jn.
10005         * math/auto-libm-test-out: Regenerated.
10007 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10009         [BZ #15491]
10010         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10011         floating-point environment instead of clearing all exceptions.
10012         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10013         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10014         merging in "invalid" exceptions from frndint.
10015         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10016         * math/test-nearbyint-except.c: New file.
10017         * math/Makefile (tests): Add test-nearbyint-except.
10019 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10021         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10023         * sysdeps/tile/libm-test-ulps: Regenerated.
10025 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10028         (__NR_sync_file_range2): Assume it is always defined.
10029         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10030         (__NR_sync_file_range): Assume it is always defined.
10032 2015-10-22  Andreas Schwab  <schwab@suse.de>
10034         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10035         INTERNAL_SYSCALL_ERRNO.
10036         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10037         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10038         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10040         Likewise.
10041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10043 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10045         * io/tst-fcntl.c (fd): New static variable.
10046         (do_prepare): Open temporary file here....
10047         (do_test): ...not here.
10049         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10051 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10053         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10054         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10055         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10056         Moved before "#ifdef __ASSEMBLER__".
10058 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10060         [BZ #19156]
10061         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10062         arguments very close to 0.
10064 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10066         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10067         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10069 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10071         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10072         New.  Defined for GCC 5 and above when not compiling for
10073         profiling.
10074         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10076         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10077         Renamed to ...
10078         (CFLAGS-epoll_pwait.o): This.
10079         (CFLAGS-mmap.c): Renamed to ...
10080         (CFLAGS-mmap.o): This.
10081         (CFLAGS-mmap64.c): Renamed to ...
10082         (CFLAGS-mmap64.o): This.
10083         (CFLAGS-epoll_pwait.os): New.
10084         (CFLAGS-mmap.os): Likewise.
10085         (CFLAGS-mmap64.os): Likewise.
10086         (CFLAGS-semtimedop.os): Likewise.
10087         (CFLAGS-semtimedop.c): Renamed to ...
10088         (CFLAGS-semtimedop.o): This.
10090 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10092         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10093         warning message.
10095 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10097         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10098         * Makefile ($(objpfx)c++-types-check.out): Filter out
10099         $(+gccwarn-c) instead of -Wstrict-prototypes.
10101         * io/fts.c (fts_open): Convert to prototype-style function
10102         definition.
10103         * malloc/mcheck.c (mcheck): Likewise.
10104         (mcheck_pedantic): Likewise.
10105         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10106         internal_function.
10107         (re_search_internal): Likewise.
10108         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10109         prototype-style function definition.
10110         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10111         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10112         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10113         (xdr_utmpptr): Likewise.
10114         (xdr_utmparr): Likewise.
10115         (xdr_utmpidle): Likewise.
10116         (xdr_utmpidleptr): Likewise.
10117         (xdr_utmpidlearr): Likewise.
10119         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10120         log, log10 and log2.
10121         * math/auto-libm-test-out: Regenerated.
10122         * math/libm-test.inc (fmod_test_data): Add more tests.
10123         (fpclassify_test_data): Likewise.
10124         (frexp_test_data): Likewise.
10125         (hypot_test_data): Likewise.
10126         (ilogb_test_data): Likewise.
10128 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10130         * debug/fortify_fail.c (__fortify_fail): Convert to
10131         prototype-style function definition.  Use internal_function.
10132         * libio/genops.c (save_for_backup): Convert to prototype-style
10133         function definition.
10134         * libio/wgenops.c (save_for_wbackup): Likewise.
10135         * login/grantpt.c (grantpt): Likewise.
10136         * login/ptsname.c (ptsname): Likewise.
10137         (__ptsname_r): Likewise.
10138         * login/unlockpt.c (unlockpt): Likewise.
10139         * mach/msgserver.c (__mach_msg_server): Likewise.
10140         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10141         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10142         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10143         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10144         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10145         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10146         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10147         Likewise.
10148         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10149         internal_function.
10150         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10151         prototype-style function definition.
10152         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10153         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10154         (__pthread_create_2_0): Likewise.
10155         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10156         * nptl/register-atfork.c (__register_atfork): Likewise.
10157         * posix/glob.c (glob): Likewise.
10158         * posix/regcomp.c (re_comp): Likewise.
10159         * posix/regexec.c (re_exec): Likewise.
10160         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10161         [!__STDC__]: Remove conditional code.
10162         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10163         [!__STDC__]: Remove conditional code.
10164         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10165         [!__STDC__]: Remove conditional code.
10166         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10167         [!__STDC__]: Remove conditional code.
10168         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10169         [!__STDC__]: Remove conditional code.
10170         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10171         [!__STDC__]: Remove conditional code.
10172         * stdlib/mul.c [__STDC__]: Make code unconditional.
10173         [!__STDC__]: Remove conditional code.
10174         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10175         [!__STDC__]: Remove conditional code.
10176         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10177         [!__STDC__]: Remove conditional code.
10178         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10179         function definition.
10180         (STRTOF): Likewise.
10181         * stdlib/strtod_l.c (__STRTOF): Likewise.
10182         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10183         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10184         (__strtol_l): Likewise.
10185         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10186         [!__STDC__]: Remove conditional code.
10187         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10188         definition.
10189         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10190         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10191         type.
10192         (__strcasecmp): Convert to prototype-style function definition.
10193         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10194         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10195         type.
10196         (__strncasecmp): Convert to prototype-style function definition.
10197         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10198         * sunrpc/xdr.c (xdr_union): Likewise.
10199         * sunrpc/xdr_array.c (xdr_array): Likewise.
10200         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10201         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10202         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10203         Likewise.
10204         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10205         Likewise.
10206         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10207         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10208         Likewise.
10209         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10210         (LOCALE_PARAM_PROTO): Likewise.
10211         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10212         argument type.
10213         (ut_argument_spec): Remove macro.
10214         (ut_argument_spec_iso): Rename to ut_argument_spec.
10215         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10216         prototype-style function definition.
10217         (memcpy_uppcase): Likewise.
10218         (__strftime_internal): Likewise.
10219         (my_strftime): Likewise.
10220         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10221         (LOCALE_PARAM_DECL): Likewise.
10222         [_LIBC] (LOCALE_PARAM): Include argument type.
10223         (__strptime_internal): Convert to prototype-style function
10224         definition.
10225         (strptime): Likewise.
10226         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10227         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10228         type.
10229         (__wcscasecmp): Convert to prototype-style function definition.
10230         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10231         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10232         type.
10233         (__wcsncasecmp): Convert to prototype-style function definition.
10235         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10236         function definition.
10237         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10238         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10239         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10240         * elf/dl-minimal.c (_itoa): Likewise.
10241         * hurd/hurdmalloc.c (malloc): Likewise.
10242         (free): Likewise.
10243         (realloc): Likewise.
10244         * inet/inet6_option.c (inet6_option_space): Likewise.
10245         (inet6_option_init): Likewise.
10246         (inet6_option_append): Likewise.
10247         (inet6_option_alloc): Likewise.
10248         (inet6_option_next): Likewise.
10249         (inet6_option_find): Likewise.
10250         * io/ftw.c (FTW_NAME): Likewise.
10251         (NFTW_NAME): Likewise.
10252         (NFTW_NEW_NAME): Likewise.
10253         (NFTW_OLD_NAME): Likewise.
10254         * libio/iofwide.c (_IO_fwide): Likewise.
10255         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10256         (_IO_str_init_static): Likewise.
10257         (_IO_str_init_readonly): Likewise.
10258         (_IO_str_overflow): Likewise.
10259         (_IO_str_underflow): Likewise.
10260         (_IO_str_count): Likewise.
10261         (_IO_str_seekoff): Likewise.
10262         (_IO_str_pbackfail): Likewise.
10263         (_IO_str_finish): Likewise.
10264         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10265         (_IO_wstr_overflow): Likewise.
10266         (_IO_wstr_underflow): Likewise.
10267         (_IO_wstr_count): Likewise.
10268         (_IO_wstr_seekoff): Likewise.
10269         (_IO_wstr_pbackfail): Likewise.
10270         (_IO_wstr_finish): Likewise.
10271         * locale/programs/localedef.c (normalize_codeset): Likewise.
10272         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10273         (add_locales_to_archive): Likewise.
10274         (delete_locales_from_archive): Likewise.
10275         * malloc/malloc.c (__libc_mallinfo): Likewise.
10276         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10277         * misc/tsearch.c (__tfind): Likewise.
10278         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10279         * nptl/pthread_attr_getdetachstate.c
10280         (__pthread_attr_getdetachstate): Likewise.
10281         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10282         Likewise.
10283         * nptl/pthread_attr_getinheritsched.c
10284         (__pthread_attr_getinheritsched): Likewise.
10285         * nptl/pthread_attr_getschedparam.c
10286         (__pthread_attr_getschedparam): Likewise.
10287         * nptl/pthread_attr_getschedpolicy.c
10288         (__pthread_attr_getschedpolicy): Likewise.
10289         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10290         Likewise.
10291         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10292         Likewise.
10293         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10294         Likewise.
10295         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10296         Likewise.
10297         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10298         (__pthread_attr_init_2_0): Likewise.
10299         * nptl/pthread_attr_setdetachstate.c
10300         (__pthread_attr_setdetachstate): Likewise.
10301         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10302         Likewise.
10303         * nptl/pthread_attr_setinheritsched.c
10304         (__pthread_attr_setinheritsched): Likewise.
10305         * nptl/pthread_attr_setschedparam.c
10306         (__pthread_attr_setschedparam): Likewise.
10307         * nptl/pthread_attr_setschedpolicy.c
10308         (__pthread_attr_setschedpolicy): Likewise.
10309         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10310         Likewise.
10311         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10312         Likewise.
10313         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10314         Likewise.
10315         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10316         Likewise.
10317         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10318         Likewise.
10319         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10320         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10321         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10322         use internal_function.
10323         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10324         prototype-style function definition.
10325         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10326         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10327         internal_function.
10328         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10329         Convert to prototype-style function definition.
10330         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10331         Likewise.
10332         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10333         Likewise.
10334         (__pthread_mutex_unlock): Likewise.
10335         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10336         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10337         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10338         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10339         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10340         * nss/makedb.c (process_input): Likewise.
10341         * posix/fnmatch.c (__strchrnul): Likewise.
10342         (__wcschrnul): Likewise.
10343         (fnmatch): Likewise.
10344         * posix/fnmatch_loop.c (FCT): Likewise.
10345         * posix/glob.c (globfree): Likewise.
10346         (__glob_pattern_type): Likewise.
10347         (__glob_pattern_p): Likewise.
10348         * posix/regcomp.c (re_compile_pattern): Likewise.
10349         (re_set_syntax): Likewise.
10350         (re_compile_fastmap): Likewise.
10351         (regcomp): Likewise.
10352         (regerror): Likewise.
10353         (regfree): Likewise.
10354         * posix/regexec.c (regexec): Likewise.
10355         (re_match): Likewise.
10356         (re_search): Likewise.
10357         (re_match_2): Likewise.
10358         (re_search_2): Likewise.
10359         (re_search_stub): Likewise.  Use internal_function
10360         (re_copy_regs): Likewise.
10361         (re_set_registers): Convert to prototype-style function
10362         definition.
10363         (prune_impossible_nodes): Likewise.  Use internal_function.
10364         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10365         prototype-style function definition.
10366         (inet_net_pton_ipv4): Likewise.
10367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10368         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10369         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10370         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10371         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10372         Make variadic.
10373         * time/strptime_l.c (localtime_r): Convert to prototype-style
10374         function definition.
10375         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10376         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10377         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10378         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10380         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10381         definition.
10382         (_ufc_doit_r): Likewise.
10383         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10384         (_ufc_output_conversion_r): Likewise.
10385         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10386         * inet/rcmd.c (rcmd_af): Likewise.
10387         (rcmd): Likewise.
10388         (ruserok_af): Likewise.
10389         (ruserok): Likewise.
10390         (ruserok2_sa): Likewise.
10391         (ruserok_sa): Likewise.
10392         (iruserok_af): Likewise.
10393         (iruserok): Likewise.
10394         (__ivaliduser): Likewise.
10395         (__validuser2_sa): Likewise.
10396         * inet/rexec.c (rexec_af): Likewise.
10397         (rexec): Likewise.
10398         * inet/ruserpass.c (ruserpass): Likewise.
10399         * locale/programs/xmalloc.c (xcalloc): Likewise.
10400         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10401         * math/w_drem.c (__drem): Likewise.
10402         * math/w_dremf.c (__dremf): Likewise.
10403         * math/w_dreml.c (__dreml): Likewise.
10404         * misc/daemon.c (daemon): Likewise.
10405         * resolv/res_debug.c (p_fqnname): Likewise.
10406         * stdlib/div.c (div): Likewise.
10407         * string/memcmp.c (memcmp_bytes): Likewise.
10408         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10409         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10411         * crypt/cert.c (main): Convert to prototype-style function
10412         definition.
10413         * io/pipe.c (__pipe): Likewise.
10414         * io/pipe2.c (__pipe2): Likewise.
10415         * misc/futimesat.c (futimesat): Likewise.
10416         * misc/utimes.c (__utimes): Likewise.
10417         * posix/execve.c (__execve): Likewise.
10418         * posix/execvp.c (execvp): Likewise.
10419         * posix/execvpe.c (__execvpe): Likewise.
10420         * posix/fexecve.c (fexecve): Likewise.
10421         * socket/socketpair.c (socketpair): Likewise.
10422         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10423         * stdlib/erand48.c (erand48): Likewise.
10424         * stdlib/erand48_r.c (__erand48_r): Likewise.
10425         * stdlib/jrand48.c (jrand48): Likewise.
10426         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10427         * stdlib/lcong48.c (lcong48): Likewise.
10428         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10429         * stdlib/nrand48.c (nrand48): Likewise.
10430         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10431         * stdlib/seed48.c (seed48): Likewise.
10432         * stdlib/seed48_r.c (__seed48_r): Likewise.
10433         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10434         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10435         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10437 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10439         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10440         * configure: Regenerated.
10441         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10442         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10443         unconditional.
10444         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10445         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10446         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10447         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10448         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10449         unconditional.
10450         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10452         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10453         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10455         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10456         function definition.
10457         * crypt/crypt_util.c (__encrypt_r): Likewise.
10458         * libio/genops.c (_IO_no_init): Likewise.
10459         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10460         (_IO_old_fopencookie): Likewise.
10461         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10462         * libio/iogetline.c (_IO_getline): Likewise.
10463         (_IO_getline_info): Likewise.
10464         * libio/iogetwline.c (_IO_getwline): Likewise.
10465         (_IO_getwline_info): Likewise.
10466         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10467         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10468         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10469         (find_entry): Likewise.
10470         (iterate_table): Likewise.
10471         (lookup): Likewise.
10472         * login/forkpty.c (forkpty): Likewise.
10473         * misc/hsearch_r.c (__hsearch_r): Likewise.
10474         * misc/select.c (__select): Likewise.
10475         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10476         Likewise.
10477         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10478         Likewise.
10479         * nptl/old_pthread_cond_timedwait.c
10480         (__pthread_cond_timedwait_2_0): Likewise.
10481         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10482         * nptl/pthread_barrierattr_getpshared.c
10483         (pthread_barrierattr_getpshared): Likewise.
10484         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10485         Likewise.
10486         * nptl/pthread_mutex_setprioceiling.c
10487         (pthread_mutex_setprioceiling): Likewise.
10488         * nptl/pthread_mutexattr_getprioceiling.c
10489         (pthread_mutexattr_getprioceiling): Likewise.
10490         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10491         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10492         Likewise.
10493         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10494         Likewise.
10495         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10496         Likewise.
10497         * socket/recvfrom.c (__recvfrom): Likewise.
10498         * socket/sendto.c (__sendto): Likewise.
10499         * socket/setsockopt.c (__setsockopt): Likewise.
10500         * stdio-common/_itoa.c (_itoa): Likewise.
10501         * stdio-common/_itowa.c (_itowa): Likewise.
10502         * stdio-common/reg-printf.c (__register_printf_specifier):
10503         Likewise.
10504         (__register_printf_function): Likewise.
10505         * stdio-common/tempname.c (__path_search): Likewise.
10506         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10507         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10508         * stdlib/random_r.c (__initstate_r): Likewise.
10509         * stdlib/setenv.c (__add_to_environ): Likewise.
10510         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10511         * streams/getpmsg.c (getpmsg): Likewise.
10512         * streams/putmsg.c (putmsg): Likewise.
10513         * streams/putpmsg.c (putpmsg): Likewise.
10514         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10515         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10516         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10517         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10518         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10519         * sunrpc/svc_udp.c (cache_get): Likewise.
10520         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10521         * sysdeps/mach/hurd/getcwd.c
10522         (__canonicalize_directory_name_internal): Likewise.
10523         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10524         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10525         * sysdeps/mach/hurd/select.c (__select): Likewise.
10526         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10527         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10528         * sysdeps/sparc/nptl/pthread_barrier_init.c
10529         (__pthread_barrier_init): Likewise.
10530         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10531         (__pthread_cond_timedwait): Likewise.
10532         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10533         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10534         Likewise.
10535         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10536         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10537         Likewise.
10538         * sysvipc/semtimedop.c (semtimedop): Likewise.
10539         * time/setitimer.c (__setitimer): Likewise.
10540         * time/strftime_l.c (emacs_strftime): Likewise.
10542 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10544         * config.make.in (have-ssp): Delete.
10545         (stack-protector): New variable.
10546         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10547         cache test for -fstack-protector-strong.  Export stack_protector to
10548         the best ssp flag.
10549         * configure: Regenerated.
10550         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10551         * nscd/Makefile (CFLAGS-nscd): Likewise.
10552         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10554 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10556         [BZ #19122]
10557         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10558         attribute_hidden.
10560 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10562         [BZ #18743]
10563         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10564         code to...
10565         (ELIDE_LOCK): ...here.
10566         (__get_new_count): New function with part of the code from
10567         __elide_lock that updates the value of adapt_count after a
10568         transaction abort.
10569         (__elided_trylock): Moved this code to...
10570         (ELIDE_TRYLOCK): ...here.
10572 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10574         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10575         * configure: Regenerate.
10576         * INSTALL: Regenerate.
10577         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10578         and tweak grammar.
10580 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10582         * login/programs/pt_chown.c: Include signal.h
10583         (main): Clear any signal mask from the parent process.
10585 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10587         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10588         * configure: Regenerated.
10589         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10590         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10591         $(gnu89-inline-CFLAGS).
10593         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10594         test.
10595         (libc_cv_asm_weakext_directive): Likewise.
10596         * configure: Regenerated.
10597         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10598         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10599         * include/libc-symbols.h
10600         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10601         #error.
10602         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10603         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10605         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10606         prototype-style function definition.
10607         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10608         * sysdeps/i386/ffs.c (__ffs): Likewise.
10609         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10610         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10611         Likewise.
10612         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10613         Likewise.
10614         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10615         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10616         Likewise.
10617         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10618         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10619         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10620         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10621         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10622         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10623         * sysdeps/mach/hurd/access.c (__access): Likewise.
10624         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10625         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10626         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10627         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10628         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10629         (cthread_getspecific): Likewise.
10630         (cthread_setspecific): Likewise.
10631         (__libc_getspecific): Likewise.
10632         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10633         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10634         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10635         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10636         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10637         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10638         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10639         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10640         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10641         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10642         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10643         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10644         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10645         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10646         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10647         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10648         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10649         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10650         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10651         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10652         * sysdeps/mach/hurd/link.c (__link): Likewise.
10653         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10654         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10655         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10656         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10657         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10658         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10659         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10660         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10661         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10662         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10663         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10664         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10665         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10666         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10667         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10668         * sysdeps/mach/hurd/send.c (__send): Likewise.
10669         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10670         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10671         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10672         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10673         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10674         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10675         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10676         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10677         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10678         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10679         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10680         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10681         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10682         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10683         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10684         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10685         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10686         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10687         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10688         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10689         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10690         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10691         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10692         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10693         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10694         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10695         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10696         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10697         * sysdeps/posix/alarm.c (alarm): Likewise.
10698         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10699         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10700         * sysdeps/posix/dup.c (__dup): Likewise.
10701         * sysdeps/posix/dup2.c (__dup2): Likewise.
10702         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10703         (main): Likewise.
10704         * sysdeps/posix/flock.c (__flock): Likewise.
10705         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10706         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10707         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10708         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10709         * sysdeps/posix/isatty.c (__isatty): Likewise.
10710         * sysdeps/posix/killpg.c (killpg): Likewise.
10711         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10712         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10713         * sysdeps/posix/raise.c (raise): Likewise.
10714         * sysdeps/posix/remove.c (remove): Likewise.
10715         * sysdeps/posix/rename.c (rename): Likewise.
10716         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10717         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10718         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10719         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10720         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10721         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10722         * sysdeps/posix/sigset.c (sigset): Likewise.
10723         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10724         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10725         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10726         * sysdeps/posix/time.c (time): Likewise.
10727         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10728         (ttyname): Likewise.
10729         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10730         * sysdeps/posix/utime.c (utime): Likewise.
10731         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10732         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10733         Likewise.
10734         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10735         (pthread_spin_trylock): Likewise.
10736         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10737         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10738         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10739         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10740         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10741         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10742         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10743         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10744         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10745         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10746         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10747         * sysdeps/s390/ffs.c (__ffs): Likewise.
10748         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10749         Likewise.
10750         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10751         Likewise.
10752         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10753         Likewise.
10754         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10755         (pthread_barrier_destroy): Likewise.
10756         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10757         (__pthread_barrier_wait): Likewise.
10758         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10759         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10760         (__pthread_barrier_wait): Likewise.
10761         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10762         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10763         (memcmp_not_common_alignment): Likewise.
10764         (MEMCMP): Likewise.
10765         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10766         (_wordcopy_fwd_dest_aligned): Likewise.
10767         (_wordcopy_bwd_aligned): Likewise.
10768         (_wordcopy_bwd_dest_aligned): Likewise.
10769         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10770         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10771         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10772         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10773         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10774         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10775         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10776         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10777         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10778         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10779         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10780         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10781         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10782         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10783         * sysdeps/unix/stime.c (stime): Likewise.
10784         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10785         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10786         Likewise.  Use internal_function.
10787         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10788         Convert to prototype-style function definition.
10789         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10790         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10791         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10792         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10793         Likewise.  Use internal_function.
10794         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10795         prototype-style function definition
10796         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10797         Likewise.
10798         (__getlogin_r): Likewise.
10799         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10800         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10801         (__pthread_cond_broadcast): Likewise.
10802         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10803         (__pthread_cond_destroy): Likewise.
10804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10805         (__pthread_cond_init): Likewise.
10806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10807         (__pthread_cond_signal): Likewise.
10808         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10809         (__pthread_cond_wait): Likewise.
10810         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10811         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10812         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10813         Likewise.
10814         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10815         Likewise.
10816         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10817         Likewise.
10818         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10819         Likewise.
10820         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10822         (__ftruncate64): Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10824         (truncate64): Likewise.
10825         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10826         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10827         (pthread_getcpuclockid): Likewise.
10828         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10829         Likewise.
10830         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10831         Likewise.
10832         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10833         Likewise.
10834         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10835         Likewise.
10836         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10837         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10838         (__libc_sigaction): Likewise.
10839         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10840         Likewise.
10841         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10842         (__sigprocmask): Likewise.
10843         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10844         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10845         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10846         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10847         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10848         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10849         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10850         Likewise.
10851         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10852         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10853         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10854         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10856         Likewise.
10857         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10858         (__sigprocmask): Likewise.
10859         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10860         (cfgetispeed): Likewise.
10861         (cfsetospeed): Likewise.
10862         (cfsetispeed): Likewise.
10863         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10864         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10865         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10866         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10867         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10868         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10869         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10870         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10871         Likewise.
10872         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10873         Likewise.
10874         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10875         Likewise.
10876         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10877         Likewise.
10878         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10880 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10882         sunrpc: Rewrite with explicit TLS access using __thread.
10883         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10884         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10885         directly.
10886         (__rpc_thread_variables): Access thread_rpc_vars directly.
10887         Eliminate redundant assignment of the tvp variable.
10889 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10891         malloc: Rewrite with explicit TLS access using __thread.
10892         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10893         (tsd_setspecific, tsd_getspecific): Remove.
10894         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10895         (tsd_setspecific, tsd_getspecific): Likewise.
10896         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10897         (tsd_setspecific, tsd_getspecific): Likewise.
10898         * malloc/arena.c (thread_arena): New TLS variable.
10899         (arena_key): Remove variable.
10900         (arena_get): Use thread_arena.
10901         (arena_lookup): Remove macro.
10902         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10903         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10904         (_int_new_arena, get_free_list, reused_arena)
10905         (arena_thread_freeres): Use thread_arena.
10906         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10907         tsd_getspecific, tsd_setspecific from safety annotations.
10908         (Allocating Cleared Space): Remove arena_lookup from safety
10909         annotations.
10911 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10913         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10914         struct scratch_buffer instead of extend_alloca.
10916 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10918         * sysdeps/unix/sysv/linux/kernel-features.h
10919         (__ASSUME_SOCK_CLOEXEC): Remove.
10920         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10921         (__have_paccept): Remove unused macro.
10922         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10923         * misc/syslog.c (openlog_internal): Remove fallback code for
10924         !__ASSUME_SOCK_CLOEXEC.
10925         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10926         missing SOCK_CLOEXEC.
10927         * nscd/connections.c (have_sock_cloexec): Remove definition.
10928         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10929         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10930         !__ASSUME_SOCK_CLOEXEC.
10931         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10932         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10933         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10934         definition.
10935         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10936         code for !__ASSUME_SOCK_CLOEXEC.
10938 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10940         [BZ #18982]
10941         * manual/stdio.texi (Variable Arguments Output): Add portability
10942         note, explaining that vfprintf clobbers the va_list pointer.
10944 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10946         * math/libm-test.inc (fabs_test_data): Add more tests.
10947         (fdim_test_data): Likewise.
10948         (fma_test_data): Likewise.
10949         (fmax_test_data): Likewise.
10950         (fmin_test_data): Likewise.
10951         (fmod_test_data): Likewise.
10953 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10955         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10956         data.
10958 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10960         * math/libm-test.inc (ceil_test_data): Add more tests and more
10961         expectations for "inexact".
10962         (floor_test_data): Add more tests.
10963         (round_test_data): Likewise.
10964         (trunc_test_data): Likewise.
10966         * crypt/cert.c (good_bye): Convert to prototype-style function
10967         definition.
10968         (get8): Likewise.
10969         (put8): Likewise.
10970         * crypt/crypt-entry.c (crypt): Likewise.
10971         (__fcrypt): Likewise.
10972         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10973         (_ufc_set_bits): Likewise.
10974         (_ufc_clearmem): Likewise.
10975         (__init_des_r): Likewise.
10976         (shuffle_sb): Likewise.
10977         (shuffle_sb): Likewise.
10978         (_ufc_setup_salt_r): Likewise.
10979         (_ufc_mk_keytab_r): Likewise.
10980         (_ufc_dofinalperm_r): Likewise.
10981         (encrypt): Likewise.
10982         (__setkey_r): Likewise.
10983         (setkey): Likewise.
10984         * crypt/md5.c (md5_init_ctx): Likewise.
10985         (md5_read_ctx): Likewise.
10986         (md5_finish_ctx): Likewise.
10987         (md5_stream): Likewise.
10988         (md5_buffer): Likewise.
10989         (md5_process_bytes): Likewise.
10990         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10991         (__sha256_finish_ctx): Likewise.
10992         (__sha256_process_bytes): Likewise.
10993         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10994         (__sha512_finish_ctx): Likewise.
10995         (__sha512_process_bytes): Likewise.
10996         * ctype/isctype.c (__isctype): Likewise.
10997         * debug/backtrace.c (__backtrace): Likewise.
10998         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10999         * debug/fgets_chk.c (__fgets_chk): Likewise.
11000         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11001         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11002         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11003         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11004         * debug/memset_chk.c (__memset_chk): Likewise.
11005         * debug/strcat_chk.c (__strcat_chk): Likewise.
11006         * debug/strncat_chk.c (__strncat_chk): Likewise.
11007         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11008         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11009         * dirent/dirfd.c (dirfd): Likewise.
11010         * dirent/getdents.c (__getdirentries): Likewise.
11011         * dirent/getdents64.c (getdirentries64): Likewise.
11012         * dirent/rewinddir.c (__rewinddir): Likewise.
11013         * dirent/seekdir.c (seekdir): Likewise.
11014         * dirent/telldir.c (telldir): Likewise.
11015         * elf/sln.c (makesymlinks): Likewise.
11016         (makesymlink): Likewise.
11017         * gmon/gmon.c (__moncontrol): Likewise.
11018         (__monstartup): Likewise.
11019         (write_hist): Likewise.
11020         (write_call_graph): Likewise.
11021         (write_bb_counts): Likewise.
11022         * grp/setgroups.c (setgroups): Likewise.
11023         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11024         * inet/inet_net.c (inet_network): Likewise.
11025         * inet/inet_netof.c (inet_netof): Likewise.
11026         * inet/rcmd.c (rresvport_af): Likewise.
11027         (rresvport): Likewise.
11028         * io/access.c (__access): Likewise.
11029         * io/chdir.c (__chdir): Likewise.
11030         * io/chmod.c (__chmod): Likewise.
11031         * io/chown.c (__chown): Likewise.
11032         * io/close.c (__close): Likewise.
11033         * io/creat.c (creat): Likewise.
11034         * io/creat64.c (creat64): Likewise.
11035         * io/dup.c (__dup): Likewise.
11036         * io/dup2.c (__dup2): Likewise.
11037         * io/dup3.c (__dup3): Likewise.
11038         * io/euidaccess.c (__euidaccess): Likewise.
11039         * io/faccessat.c (faccessat): Likewise.
11040         * io/fchmod.c (__fchmod): Likewise.
11041         * io/fchmodat.c (fchmodat): Likewise.
11042         * io/fchown.c (__fchown): Likewise.
11043         * io/fchownat.c (fchownat): Likewise.
11044         * io/fcntl.c (__fcntl): Likewise.
11045         * io/flock.c (__flock): Likewise.
11046         * io/fts.c (fts_load): Likewise.
11047         (fts_close): Likewise.
11048         (fts_read): Likewise.
11049         (fts_set): Likewise.
11050         (fts_children): Likewise.
11051         (fts_build): Likewise.
11052         (fts_stat): Likewise.
11053         (fts_sort): Likewise.
11054         (fts_alloc): Likewise.
11055         (fts_lfree): Likewise.
11056         (fts_palloc): Likewise.
11057         (fts_padjust): Likewise.
11058         (fts_maxarglen): Likewise.
11059         (fts_safe_changedir): Likewise.
11060         * io/getwd.c (getwd): Likewise.
11061         * io/isatty.c (__isatty): Likewise.
11062         * io/lchown.c (__lchown): Likewise.
11063         * io/link.c (__link): Likewise.
11064         * io/linkat.c (linkat): Likewise.
11065         * io/lseek.c (__libc_lseek): Likewise.
11066         * io/mkdir.c (__mkdir): Likewise.
11067         * io/mkdirat.c (mkdirat): Likewise.
11068         * io/mkfifo.c (mkfifo): Likewise.
11069         * io/mkfifoat.c (mkfifoat): Likewise.
11070         * io/open.c (__libc_open): Likewise.
11071         * io/open64.c (__libc_open64): Likewise.
11072         * io/readlink.c (__readlink): Likewise.
11073         * io/readlinkat.c (readlinkat): Likewise.
11074         * io/rmdir.c (__rmdir): Likewise.
11075         * io/symlink.c (__symlink): Likewise.
11076         * io/symlinkat.c (symlinkat): Likewise.
11077         * io/ttyname.c (ttyname): Likewise.
11078         * io/ttyname_r.c (__ttyname_r): Likewise.
11079         * io/umask.c (__umask): Likewise.
11080         * io/unlink.c (__unlink): Likewise.
11081         * io/unlinkat.c (unlinkat): Likewise.
11082         * io/utime.c (utime): Likewise.
11083         * libio/clearerr.c (clearerr): Likewise.
11084         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11085         * libio/feof.c (_IO_feof): Likewise.
11086         * libio/feof_u.c (feof_unlocked): Likewise.
11087         * libio/ferror.c (_IO_ferror): Likewise.
11088         * libio/ferror_u.c (ferror_unlocked): Likewise.
11089         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11090         * libio/fileno.c (__fileno): Likewise.
11091         * libio/fputc.c (fputc): Likewise.
11092         * libio/fputc_u.c (fputc_unlocked): Likewise.
11093         * libio/fputwc.c (fputwc): Likewise.
11094         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11095         * libio/freopen.c (freopen): Likewise.
11096         * libio/freopen64.c (freopen64): Likewise.
11097         * libio/fseek.c (fseek): Likewise.
11098         * libio/fseeko.c (fseeko): Likewise.
11099         * libio/fseeko64.c (fseeko64): Likewise.
11100         * libio/ftello.c (__ftello): Likewise.
11101         * libio/ftello64.c (ftello64): Likewise.
11102         * libio/fwide.c (fwide): Likewise.
11103         * libio/genops.c (_IO_un_link): Likewise.
11104         (_IO_link_in): Likewise.
11105         (_IO_least_marker): Likewise.
11106         (_IO_switch_to_main_get_area): Likewise.
11107         (_IO_switch_to_backup_area): Likewise.
11108         (_IO_switch_to_get_mode): Likewise.
11109         (_IO_free_backup_area): Likewise.
11110         (_IO_switch_to_put_mode): Likewise.
11111         (__overflow): Likewise.
11112         (__underflow): Likewise.
11113         (__uflow): Likewise.
11114         (_IO_setb): Likewise.
11115         (_IO_doallocbuf): Likewise.
11116         (_IO_default_underflow): Likewise.
11117         (_IO_default_uflow): Likewise.
11118         (_IO_default_xsputn): Likewise.
11119         (_IO_sgetn): Likewise.
11120         (_IO_default_xsgetn): Likewise.
11121         (_IO_sync): Likewise.
11122         (_IO_default_setbuf): Likewise.
11123         (_IO_default_seekpos): Likewise.
11124         (_IO_default_doallocate): Likewise.
11125         (_IO_init): Likewise.
11126         (_IO_old_init): Likewise.
11127         (_IO_default_sync): Likewise.
11128         (_IO_default_finish): Likewise.
11129         (_IO_default_seekoff): Likewise.
11130         (_IO_sputbackc): Likewise.
11131         (_IO_sungetc): Likewise.
11132         (_IO_set_column): Likewise.
11133         (_IO_set_column): Likewise.
11134         (_IO_adjust_column): Likewise.
11135         (_IO_get_column): Likewise.
11136         (_IO_init_marker): Likewise.
11137         (_IO_remove_marker): Likewise.
11138         (_IO_marker_difference): Likewise.
11139         (_IO_marker_delta): Likewise.
11140         (_IO_seekmark): Likewise.
11141         (_IO_unsave_markers): Likewise.
11142         (_IO_nobackup_pbackfail): Likewise.
11143         (_IO_default_pbackfail): Likewise.
11144         (_IO_default_seek): Likewise.
11145         (_IO_default_stat): Likewise.
11146         (_IO_default_read): Likewise.
11147         (_IO_default_write): Likewise.
11148         (_IO_default_showmanyc): Likewise.
11149         (_IO_default_imbue): Likewise.
11150         (_IO_iter_next): Likewise.
11151         (_IO_iter_file): Likewise.
11152         * libio/getc.c (_IO_getc): Likewise.
11153         * libio/getwc.c (_IO_getwc): Likewise.
11154         * libio/iofclose.c (_IO_new_fclose): Likewise.
11155         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11156         * libio/iofflush.c (_IO_fflush): Likewise.
11157         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11158         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11159         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11160         * libio/iofgets.c (_IO_fgets): Likewise.
11161         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11162         * libio/iofgetws.c (fgetws): Likewise.
11163         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11164         * libio/iofopen64.c (_IO_fopen64): Likewise.
11165         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11166         (_IO_cookie_write): Likewise.
11167         (_IO_cookie_seek): Likewise.
11168         (_IO_cookie_close): Likewise.
11169         (_IO_cookie_seekoff): Likewise.
11170         (_IO_old_cookie_seek): Likewise.
11171         * libio/iofputs.c (_IO_fputs): Likewise.
11172         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11173         * libio/iofputws.c (fputws): Likewise.
11174         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11175         * libio/iofread.c (_IO_fread): Likewise.
11176         * libio/iofread_u.c (__fread_unlocked): Likewise.
11177         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11178         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11179         * libio/ioftell.c (_IO_ftell): Likewise.
11180         * libio/iofwrite.c (_IO_fwrite): Likewise.
11181         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11182         * libio/iogets.c (_IO_gets): Likewise.
11183         * libio/iopadn.c (_IO_padn): Likewise.
11184         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11185         (_IO_new_popen): Likewise.
11186         (_IO_new_proc_close): Likewise.
11187         * libio/ioputs.c (_IO_puts): Likewise.
11188         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11189         (_IO_seekoff): Likewise.
11190         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11191         (_IO_seekpos): Likewise.
11192         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11193         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11194         * libio/ioungetc.c (_IO_ungetc): Likewise.
11195         * libio/ioungetwc.c (ungetwc): Likewise.
11196         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11197         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11198         * libio/iowpadn.c (_IO_wpadn): Likewise.
11199         * libio/libc_fatal.c (__libc_fatal): Likewise.
11200         * libio/memstream.c (__open_memstream): Likewise.
11201         (_IO_mem_sync): Likewise.
11202         (_IO_mem_finish): Likewise.
11203         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11204         (_IO_old_file_close_it): Likewise.
11205         (_IO_old_file_finish): Likewise.
11206         (_IO_old_file_fopen): Likewise.
11207         (_IO_old_file_attach): Likewise.
11208         (_IO_old_file_setbuf): Likewise.
11209         (_IO_old_do_write): Likewise.
11210         (old_do_write): Likewise.
11211         (_IO_old_file_underflow): Likewise.
11212         (_IO_old_file_overflow): Likewise.
11213         (_IO_old_file_sync): Likewise.
11214         (_IO_old_file_seekoff): Likewise.
11215         (_IO_old_file_write): Likewise.
11216         (_IO_old_file_xsputn): Likewise.
11217         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11218         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11219         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11220         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11221         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11222         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11223         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11224         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11225         (_IO_old_popen): Likewise.
11226         (_IO_old_proc_close): Likewise.
11227         * libio/oldpclose.c (__old_pclose): Likewise.
11228         * libio/pclose.c (__new_pclose): Likewise.
11229         * libio/peekc.c (_IO_peekc_locked): Likewise.
11230         * libio/putc.c (_IO_putc): Likewise.
11231         * libio/putc_u.c (putc_unlocked): Likewise.
11232         * libio/putchar.c (putchar): Likewise.
11233         * libio/putchar_u.c (putchar_unlocked): Likewise.
11234         * libio/putwc.c (putwc): Likewise.
11235         * libio/putwc_u.c (putwc_unlocked): Likewise.
11236         * libio/putwchar.c (putwchar): Likewise.
11237         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11238         * libio/rewind.c (rewind): Likewise.
11239         * libio/setbuf.c (setbuf): Likewise.
11240         * libio/setlinebuf.c (setlinebuf): Likewise.
11241         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11242         * libio/vscanf.c (_IO_vscanf): Likewise.
11243         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11244         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11245         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11246         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11247         (_IO_switch_to_main_wget_area): Likewise.
11248         (_IO_switch_to_wbackup_area): Likewise.
11249         (_IO_wsetb): Likewise.
11250         (_IO_wdefault_pbackfail): Likewise.
11251         (_IO_wdefault_finish): Likewise.
11252         (_IO_wdefault_uflow): Likewise.
11253         (__woverflow): Likewise.
11254         (__wuflow): Likewise.
11255         (__wunderflow): Likewise.
11256         (_IO_wdefault_xsputn): Likewise.
11257         (_IO_wdefault_xsgetn): Likewise.
11258         (_IO_wdoallocbuf): Likewise.
11259         (_IO_wdefault_doallocate): Likewise.
11260         (_IO_switch_to_wget_mode): Likewise.
11261         (_IO_free_wbackup_area): Likewise.
11262         (_IO_switch_to_wput_mode): Likewise.
11263         (_IO_sputbackwc): Likewise.
11264         (_IO_sungetwc): Likewise.
11265         (_IO_adjust_wcolumn): Likewise.
11266         (_IO_init_wmarker): Likewise.
11267         (_IO_wmarker_delta): Likewise.
11268         (_IO_seekwmark): Likewise.
11269         (_IO_unsave_wmarkers): Likewise.
11270         * libio/wmemstream.c (open_wmemstream): Likewise.
11271         (_IO_wmem_sync): Likewise.
11272         (_IO_wmem_finish): Likewise.
11273         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11274         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11275         * locale/programs/simple-hash.c (init_hash): Likewise.
11276         (delete_hash): Likewise.
11277         (insert_entry): Likewise.
11278         (set_entry): Likewise.
11279         (next_prime): Likewise.
11280         (is_prime): Likewise.
11281         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11282         (xmalloc): Likewise.
11283         (xrealloc): Likewise.
11284         * locale/programs/xstrdup.c (xstrdup): Likewise.
11285         * localedata/collate-test.c (xstrcoll): Likewise.
11286         * localedata/xfrm-test.c (xstrcmp): Likewise.
11287         * login/getlogin_r.c (__getlogin_r): Likewise.
11288         * login/getpt.c (__posix_openpt): Likewise.
11289         * login/login_tty.c (login_tty): Likewise.
11290         * login/setlogin.c (setlogin): Likewise.
11291         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11292         (mach_msg_destroy_port): Likewise.
11293         (mach_msg_destroy_memory): Likewise.
11294         * malloc/mcheck.c (flood): Likewise.
11295         * misc/acct.c (acct): Likewise.
11296         * misc/brk.c (__brk): Likewise.
11297         * misc/chflags.c (chflags): Likewise.
11298         * misc/chroot.c (chroot): Likewise.
11299         * misc/fchflags.c (fchflags): Likewise.
11300         * misc/fstab.c (getfsspec): Likewise.
11301         (getfsfile): Likewise.
11302         * misc/fsync.c (fsync): Likewise.
11303         * misc/ftruncate.c (__ftruncate): Likewise.
11304         * misc/ftruncate64.c (__ftruncate64): Likewise.
11305         * misc/getdomain.c (getdomainname): Likewise.
11306         (getdomainname): Likewise.
11307         * misc/gethostname.c (__gethostname): Likewise.
11308         * misc/getpass.c (getpass): Likewise.
11309         * misc/getttyent.c (skip): Likewise.
11310         (value): Likewise.
11311         * misc/gtty.c (gtty): Likewise.
11312         * misc/hsearch.c (hsearch): Likewise.
11313         (hcreate): Likewise.
11314         * misc/hsearch_r.c (__hcreate_r): Likewise.
11315         (__hdestroy_r): Likewise.
11316         * misc/ioctl.c (__ioctl): Likewise.
11317         * misc/mkdtemp.c (mkdtemp): Likewise.
11318         * misc/mkostemp.c (mkostemp): Likewise.
11319         * misc/mkostemp64.c (mkostemp64): Likewise.
11320         * misc/mkostemps.c (mkostemps): Likewise.
11321         * misc/mkostemps64.c (mkostemps64): Likewise.
11322         * misc/mkstemp.c (mkstemp): Likewise.
11323         * misc/mkstemp64.c (mkstemp64): Likewise.
11324         * misc/mkstemps.c (mkstemps): Likewise.
11325         * misc/mkstemps64.c (mkstemps64): Likewise.
11326         * misc/mktemp.c (__mktemp): Likewise.
11327         * misc/preadv.c (preadv): Likewise.
11328         * misc/preadv64.c (preadv64): Likewise.
11329         * misc/pwritev.c (pwritev): Likewise.
11330         * misc/pwritev64.c (pwritev64): Likewise.
11331         * misc/readv.c (__readv): Likewise.
11332         * misc/revoke.c (revoke): Likewise.
11333         * misc/setdomain.c (setdomainname): Likewise.
11334         * misc/setegid.c (setegid): Likewise.
11335         * misc/seteuid.c (seteuid): Likewise.
11336         * misc/sethostid.c (sethostid): Likewise.
11337         * misc/sethostname.c (sethostname): Likewise.
11338         * misc/setregid.c (__setregid): Likewise.
11339         * misc/setreuid.c (__setreuid): Likewise.
11340         * misc/sstk.c (sstk): Likewise.
11341         * misc/stty.c (stty): Likewise.
11342         * misc/syscall.c (syscall): Likewise.
11343         * misc/syslog.c (setlogmask): Likewise.
11344         * misc/truncate.c (__truncate): Likewise.
11345         * misc/truncate64.c (truncate64): Likewise.
11346         * misc/ualarm.c (ualarm): Likewise.
11347         * misc/usleep.c (usleep): Likewise.
11348         * misc/ustat.c (ustat): Likewise.
11349         * misc/writev.c (__writev): Likewise.
11350         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11351         * nptl/old_pthread_cond_broadcast.c
11352         (__pthread_cond_broadcast_2_0): Likewise.
11353         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11354         Likewise.
11355         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11356         Likewise.
11357         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11358         Likewise.
11359         * nptl/pt-raise.c (raise): Likewise.
11360         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11361         Likewise.
11362         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11363         * nptl/pthread_barrierattr_destroy.c
11364         (pthread_barrierattr_destroy): Likewise.
11365         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11366         Likewise.
11367         * nptl/pthread_barrierattr_setpshared.c
11368         (pthread_barrierattr_setpshared): Likewise.
11369         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11370         Likewise.
11371         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11372         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11373         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11374         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11375         Likewise.
11376         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11377         Likewise.
11378         * nptl/pthread_condattr_getpshared.c
11379         (pthread_condattr_getpshared): Likewise.
11380         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11381         Likewise.
11382         * nptl/pthread_condattr_setpshared.c
11383         (pthread_condattr_setpshared): Likewise.
11384         * nptl/pthread_detach.c (pthread_detach): Likewise.
11385         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11386         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11387         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11388         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11389         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11390         Likewise.
11391         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11392         Likewise.
11393         * nptl/pthread_mutex_getprioceiling.c
11394         (pthread_mutex_getprioceiling): Likewise.
11395         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11396         Likewise.
11397         * nptl/pthread_mutexattr_getprotocol.c
11398         (pthread_mutexattr_getprotocol): Likewise.
11399         * nptl/pthread_mutexattr_getpshared.c
11400         (pthread_mutexattr_getpshared): Likewise.
11401         * nptl/pthread_mutexattr_getrobust.c
11402         (pthread_mutexattr_getrobust): Likewise.
11403         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11404         Likewise.
11405         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11406         Likewise.
11407         * nptl/pthread_mutexattr_setprioceiling.c
11408         (pthread_mutexattr_setprioceiling): Likewise.
11409         * nptl/pthread_mutexattr_setprotocol.c
11410         (pthread_mutexattr_setprotocol): Likewise.
11411         * nptl/pthread_mutexattr_setpshared.c
11412         (pthread_mutexattr_setpshared): Likewise.
11413         * nptl/pthread_mutexattr_setrobust.c
11414         (pthread_mutexattr_setrobust): Likewise.
11415         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11416         Likewise.
11417         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11418         Likewise.
11419         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11420         Likewise.
11421         * nptl/pthread_rwlockattr_getkind_np.c
11422         (pthread_rwlockattr_getkind_np): Likewise.
11423         * nptl/pthread_rwlockattr_getpshared.c
11424         (pthread_rwlockattr_getpshared): Likewise.
11425         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11426         Likewise.
11427         * nptl/pthread_rwlockattr_setkind_np.c
11428         (pthread_rwlockattr_setkind_np): Likewise.
11429         * nptl/pthread_rwlockattr_setpshared.c
11430         (pthread_rwlockattr_setpshared): Likewise.
11431         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11432         Likewise.
11433         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11434         Likewise.
11435         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11436         Likewise.
11437         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11438         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11439         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11440         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11441         * nptl/sem_close.c (sem_close): Likewise.
11442         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11443         * nptl/sem_init.c (__old_sem_init): Likewise.
11444         * nptl/sigaction.c (__sigaction): Likewise.
11445         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11446         * posix/_exit.c (_exit): Likewise.
11447         * posix/alarm.c (alarm): Likewise.
11448         * posix/confstr.c (confstr): Likewise.
11449         * posix/fpathconf.c (__fpathconf): Likewise.
11450         * posix/getgroups.c (__getgroups): Likewise.
11451         * posix/getpgid.c (__getpgid): Likewise.
11452         * posix/group_member.c (__group_member): Likewise.
11453         * posix/pathconf.c (__pathconf): Likewise.
11454         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11455         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11456         * posix/setgid.c (__setgid): Likewise.
11457         * posix/setpgid.c (__setpgid): Likewise.
11458         * posix/setuid.c (__setuid): Likewise.
11459         * posix/sleep.c (__sleep): Likewise.
11460         * posix/sysconf.c (__sysconf): Likewise.
11461         * posix/times.c (__times): Likewise.
11462         * posix/uname.c (__uname): Likewise.
11463         * posix/waitid.c (__waitid): Likewise.
11464         * pwd/getpw.c (__getpw): Likewise.
11465         * resolv/base64.c (b64_pton): Likewise.
11466         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11467         * resolv/gethnamaddr.c (Dprintf): Likewise.
11468         (gethostbyname): Likewise.
11469         (gethostbyname2): Likewise.
11470         (gethostbyaddr): Likewise.
11471         (_sethtent): Likewise.
11472         (_gethtbyname): Likewise.
11473         (_gethtbyname2): Likewise.
11474         (_gethtbyaddr): Likewise.
11475         (map_v4v6_address): Likewise.
11476         (map_v4v6_hostent): Likewise.
11477         (addrsort): Likewise.
11478         (ht_sethostent): Likewise.
11479         (ht_gethostbyname): Likewise.
11480         (ht_gethostbyaddr): Likewise.
11481         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11482         (inet_net_ntop_ipv4): Likewise.
11483         * resolv/inet_neta.c (inet_neta): Likewise.
11484         * resolv/inet_ntop.c (inet_ntop): Likewise.
11485         (inet_ntop4): Likewise.
11486         (inet_ntop6): Likewise.
11487         * resolv/inet_pton.c (__inet_pton): Likewise.
11488         (inet_pton4): Likewise.
11489         (inet_pton6): Likewise.
11490         * resolv/res_debug.c (loc_aton): Likewise.
11491         (loc_ntoa): Likewise.
11492         * resource/getpriority.c (__getpriority): Likewise.
11493         * resource/getrusage.c (__getrusage): Likewise.
11494         * resource/nice.c (nice): Likewise.
11495         * resource/setpriority.c (__setpriority): Likewise.
11496         * resource/setrlimit64.c (setrlimit64): Likewise.
11497         * resource/vlimit.c (vlimit): Likewise.
11498         * resource/vtimes.c (vtimes): Likewise.
11499         * rt/aio_error.c (aio_error): Likewise.
11500         * rt/aio_return.c (aio_return): Likewise.
11501         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11502         * signal/kill.c (__kill): Likewise.
11503         * signal/killpg.c (killpg): Likewise.
11504         * signal/raise.c (raise): Likewise.
11505         * signal/sigaction.c (__sigaction): Likewise.
11506         * signal/sigaddset.c (sigaddset): Likewise.
11507         * signal/sigaltstack.c (sigaltstack): Likewise.
11508         * signal/sigandset.c (sigandset): Likewise.
11509         * signal/sigblock.c (__sigblock): Likewise.
11510         * signal/sigdelset.c (sigdelset): Likewise.
11511         * signal/sigempty.c (sigemptyset): Likewise.
11512         * signal/sigfillset.c (sigfillset): Likewise.
11513         * signal/sighold.c (sighold): Likewise.
11514         * signal/sigignore.c (sigignore): Likewise.
11515         * signal/sigintr.c (siginterrupt): Likewise.
11516         * signal/sigisempty.c (sigisemptyset): Likewise.
11517         * signal/sigismem.c (sigismember): Likewise.
11518         * signal/signal.c (signal): Likewise.
11519         * signal/sigorset.c (sigorset): Likewise.
11520         * signal/sigpause.c (__sigpause): Likewise.
11521         * signal/sigpending.c (sigpending): Likewise.
11522         * signal/sigprocmask.c (__sigprocmask): Likewise.
11523         * signal/sigrelse.c (sigrelse): Likewise.
11524         * signal/sigreturn.c (__sigreturn): Likewise.
11525         * signal/sigset.c (sigset): Likewise.
11526         * signal/sigsetmask.c (__sigsetmask): Likewise.
11527         * signal/sigstack.c (sigstack): Likewise.
11528         * signal/sigsuspend.c (__sigsuspend): Likewise.
11529         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11530         * signal/sysv_signal.c (__sysv_signal): Likewise.
11531         * socket/accept.c (accept): Likewise.
11532         * socket/accept4.c (__libc_accept4): Likewise.
11533         * socket/bind.c (__bind): Likewise.
11534         * socket/connect.c (__connect): Likewise.
11535         * socket/getpeername.c (getpeername): Likewise.
11536         * socket/getsockname.c (__getsockname): Likewise.
11537         * socket/getsockopt.c (getsockopt): Likewise.
11538         * socket/listen.c (__listen): Likewise.
11539         * socket/recv.c (__recv): Likewise.
11540         * socket/recvmsg.c (__recvmsg): Likewise.
11541         * socket/send.c (__send): Likewise.
11542         * socket/sendmsg.c (__sendmsg): Likewise.
11543         * socket/shutdown.c (shutdown): Likewise.
11544         * socket/sockatmark.c (sockatmark): Likewise.
11545         * socket/socket.c (__socket): Likewise.
11546         * stdio-common/ctermid.c (ctermid): Likewise.
11547         * stdio-common/cuserid.c (cuserid): Likewise.
11548         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11549         * stdio-common/remove.c (remove): Likewise.
11550         * stdio-common/rename.c (rename): Likewise.
11551         * stdio-common/renameat.c (renameat): Likewise.
11552         * stdio-common/tempname.c (__gen_tempname): Likewise.
11553         * stdio-common/xbug.c (InitBuffer): Likewise.
11554         (AppendToBuffer): Likewise.
11555         (ReadFile): Likewise.
11556         * stdlib/a64l.c (a64l): Likewise.
11557         * stdlib/drand48_r.c (drand48_r): Likewise.
11558         * stdlib/getcontext.c (getcontext): Likewise.
11559         * stdlib/getenv.c (getenv): Likewise.
11560         * stdlib/l64a.c (l64a): Likewise.
11561         * stdlib/llabs.c (llabs): Likewise.
11562         * stdlib/lldiv.c (lldiv): Likewise.
11563         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11564         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11565         * stdlib/putenv.c (putenv): Likewise.
11566         * stdlib/random.c (__srandom): Likewise.
11567         (__initstate): Likewise.
11568         (__setstate): Likewise.
11569         * stdlib/random_r.c (__srandom_r): Likewise.
11570         (__setstate_r): Likewise.
11571         (__random_r): Likewise.
11572         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11573         * stdlib/setcontext.c (setcontext): Likewise.
11574         * stdlib/setenv.c (setenv): Likewise.
11575         (unsetenv): Likewise.
11576         * stdlib/srand48.c (srand48): Likewise.
11577         * stdlib/srand48_r.c (__srand48_r): Likewise.
11578         * stdlib/swapcontext.c (swapcontext): Likewise.
11579         * stdlib/system.c (__libc_system): Likewise.
11580         * stdlib/tst-strtod.c (expand): Likewise.
11581         * stdlib/tst-strtol.c (expand): Likewise.
11582         * stdlib/tst-strtoll.c (expand): Likewise.
11583         * streams/fattach.c (fattach): Likewise.
11584         * streams/fdetach.c (fdetach): Likewise.
11585         * streams/getmsg.c (getmsg): Likewise.
11586         * streams/isastream.c (isastream): Likewise.
11587         * string/ffs.c (__ffs): Likewise.
11588         * string/ffsll.c (ffsll): Likewise.
11589         * string/memcmp.c (memcmp_common_alignment): Likewise.
11590         (memcmp_not_common_alignment): Likewise.
11591         (MEMCMP): Likewise.
11592         * string/memcpy.c (memcpy): Likewise.
11593         * string/memmove.c (MEMMOVE): Likewise.
11594         * string/memset.c (memset): Likewise.
11595         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11596         * string/strchrnul.c (STRCHRNUL): Likewise.
11597         * string/strerror.c (strerror): Likewise.
11598         * string/strndup.c (__strndup): Likewise.
11599         * string/strverscmp.c (__strverscmp): Likewise.
11600         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11601         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11602         (clnttcp_freeres): Likewise.
11603         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11604         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11605         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11606         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11607         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11608         (xdr_callhdr): Likewise.
11609         * sunrpc/rpcinfo.c (udpping): Likewise.
11610         (tcpping): Likewise.
11611         (pstatus): Likewise.
11612         (pmapdump): Likewise.
11613         (brdcst): Likewise.
11614         (deletereg): Likewise.
11615         (getprognum): Likewise.
11616         (getvers): Likewise.
11617         (get_inet_address): Likewise.
11618         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11619         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11620         (svcudp_stat): Likewise.
11621         (svcudp_recv): Likewise.
11622         (svcudp_reply): Likewise.
11623         (svcudp_getargs): Likewise.
11624         (svcudp_freeargs): Likewise.
11625         (svcudp_destroy): Likewise.
11626         * sunrpc/xdr.c (xdr_bytes): Likewise.
11627         (xdr_netobj): Likewise.
11628         (xdr_string): Likewise.
11629         (xdr_wrapstring): Likewise.
11630         * sunrpc/xdr_float.c (xdr_float): Likewise.
11631         (xdr_double): Likewise.
11632         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11633         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11634         * sysvipc/ftok.c (ftok): Likewise.
11635         * sysvipc/msgctl.c (msgctl): Likewise.
11636         * sysvipc/msgget.c (msgget): Likewise.
11637         * sysvipc/msgrcv.c (msgrcv): Likewise.
11638         * sysvipc/msgsnd.c (msgsnd): Likewise.
11639         * sysvipc/semget.c (semget): Likewise.
11640         * sysvipc/semop.c (semop): Likewise.
11641         * sysvipc/shmat.c (shmat): Likewise.
11642         * sysvipc/shmctl.c (shmctl): Likewise.
11643         * sysvipc/shmdt.c (shmdt): Likewise.
11644         * sysvipc/shmget.c (shmget): Likewise.
11645         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11646         * termios/speed.c (cfgetospeed): Likewise.
11647         (cfgetispeed): Likewise.
11648         (cfsetospeed): Likewise.
11649         (cfsetispeed): Likewise.
11650         * termios/tcflow.c (tcflow): Likewise.
11651         * termios/tcflush.c (tcflush): Likewise.
11652         * termios/tcgetattr.c (__tcgetattr): Likewise.
11653         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11654         * termios/tcgetsid.c (tcgetsid): Likewise.
11655         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11656         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11657         * time/adjtime.c (__adjtime): Likewise.
11658         * time/dysize.c (dysize): Likewise.
11659         * time/ftime.c (ftime): Likewise.
11660         * time/getitimer.c (__getitimer): Likewise.
11661         * time/gettimeofday.c (__gettimeofday): Likewise.
11662         * time/gmtime.c (__gmtime_r): Likewise.
11663         (gmtime): Likewise.
11664         * time/localtime.c (__localtime_r): Likewise.
11665         (localtime): Likewise.
11666         * time/offtime.c (__offtime): Likewise.
11667         * time/settimeofday.c (__settimeofday): Likewise.
11668         * time/stime.c (stime): Likewise.
11669         * time/strftime_l.c (tm_diff): Likewise.
11670         (iso_week_days): Likewise.
11671         * time/strptime.c (strptime): Likewise.
11672         * time/time.c (time): Likewise.
11673         * time/timespec_get.c (timespec_get): Likewise.
11674         * time/tzset.c (tzset_internal): Likewise.
11675         (compute_change): Likewise.
11676         (__tz_compute): Likewise.
11677         * wcsmbs/btowc.c (__btowc): Likewise.
11678         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11679         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11680         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11681         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11682         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11683         * wcsmbs/wcscat.c (__wcscat): Likewise.
11684         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11685         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11686         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11687         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11688         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11689         * wcsmbs/wcslen.c (__wcslen): Likewise.
11690         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11691         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11692         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11693         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11694         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11695         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11696         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11697         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11698         * wcsmbs/wcstok.c (wcstok): Likewise.
11699         * wcsmbs/wctob.c (wctob): Likewise.
11700         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11701         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11702         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11703         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11704         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11705         * wcsmbs/wmemset.c (__wmemset): Likewise.
11706         * wctype/wcfuncs.c (__towlower): Likewise.
11707         (__towupper): Likewise.
11709         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11710         (lll_unlock_elision): Add adapt_count parameter.
11712 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11714         * sysdeps/nptl/configure.ac: Do not give errors based on the
11715         results of top-level configure tests.
11716         * sysdeps/nptl/configure: Regenerated.
11718         * configure.ac (libc_cv_Bgroup): Remove configure test.
11719         * configure: Regenerated.
11720         * config.make.in (have-Bgroup): Remove variable.
11722         * configure.ac (sizeof_long_double): Remove configure test.
11723         * configure: Regenerated.
11724         * config.make.in (sizeof-long-double): Remove variable.
11726         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11727         * configure: Regenerated.
11728         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11729         variable.
11730         (exceptions): Likewise.
11731         * sysdeps/arm/configure: Regenerated.
11732         * config.make.in (exceptions): Remove variable.
11733         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11734         $(exceptions).
11735         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11736         (CFLAGS-vdprintf_chk.c): Likewise.
11737         (CFLAGS-printf_chk.c): Likewise.
11738         (CFLAGS-fprintf_chk.c): Likewise.
11739         (CFLAGS-vprintf_chk.c): Likewise.
11740         (CFLAGS-vfprintf_chk.c): Likewise.
11741         (CFLAGS-gets_chk.c): Likewise.
11742         (CFLAGS-fgets_chk.c): Likewise.
11743         (CFLAGS-fgets_u_chk.c): Likewise.
11744         (CFLAGS-fread_chk.c): Likewise.
11745         (CFLAGS-fread_u_chk.c): Likewise.
11746         (CFLAGS-wprintf_chk.c): Likewise.
11747         (CFLAGS-fwprintf_chk.c): Likewise.
11748         (CFLAGS-vwprintf_chk.c): Likewise.
11749         (CFLAGS-vfwprintf_chk.c): Likewise.
11750         (CFLAGS-fgetws_chk.c): Likewise.
11751         (CFLAGS-fgetws_u_chk.c): Likewise.
11752         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11753         (CFLAGS-fputc.c): Likewise.
11754         (CFLAGS-fputwc.c): Likewise.
11755         (CFLAGS-freopen64.c): Likewise.
11756         (CFLAGS-freopen.c): Likewise.
11757         (CFLAGS-fseek.c): Likewise.
11758         (CFLAGS-fseeko64.c): Likewise.
11759         (CFLAGS-fseeko.c): Likewise.
11760         (CFLAGS-ftello64.c): Likewise.
11761         (CFLAGS-ftello.c): Likewise.
11762         (CFLAGS-fwide.c): Likewise.
11763         (CFLAGS-genops.c): Likewise.
11764         (CFLAGS-getc.c): Likewise.
11765         (CFLAGS-getchar.c): Likewise.
11766         (CFLAGS-getwc.c): Likewise.
11767         (CFLAGS-getwchar.c): Likewise.
11768         (CFLAGS-iofclose.c): Likewise.
11769         (CFLAGS-iofflush.c): Likewise.
11770         (CFLAGS-iofgetpos64.c): Likewise.
11771         (CFLAGS-iofgetpos.c): Likewise.
11772         (CFLAGS-iofgets.c): Likewise.
11773         (CFLAGS-iofgetws.c): Likewise.
11774         (CFLAGS-iofputs.c): Likewise.
11775         (CFLAGS-iofputws.c): Likewise.
11776         (CFLAGS-iofread.c): Likewise.
11777         (CFLAGS-iofsetpos64.c): Likewise.
11778         (CFLAGS-iofsetpos.c): Likewise.
11779         (CFLAGS-ioftell.c): Likewise.
11780         (CFLAGS-iofwrite.c): Likewise.
11781         (CFLAGS-iogetdelim.c): Likewise.
11782         (CFLAGS-iogetline.c): Likewise.
11783         (CFLAGS-iogets.c): Likewise.
11784         (CFLAGS-iogetwline.c): Likewise.
11785         (CFLAGS-ioputs.c): Likewise.
11786         (CFLAGS-ioseekoff.c): Likewise.
11787         (CFLAGS-ioseekpos.c): Likewise.
11788         (CFLAGS-iosetbuffer.c): Likewise.
11789         (CFLAGS-iosetvbuf.c): Likewise.
11790         (CFLAGS-ioungetc.c): Likewise.
11791         (CFLAGS-ioungetwc.c): Likewise.
11792         (CFLAGS-oldfileops.c): Likewise.
11793         (CFLAGS-oldiofclose.c): Likewise.
11794         (CFLAGS-oldiofgetpos64.c): Likewise.
11795         (CFLAGS-oldiofgetpos.c): Likewise.
11796         (CFLAGS-oldiofsetpos64.c): Likewise.
11797         (CFLAGS-oldiofsetpos.c): Likewise.
11798         (CFLAGS-peekc.c): Likewise.
11799         (CFLAGS-putc.c): Likewise.
11800         (CFLAGS-putchar.c): Likewise.
11801         (CFLAGS-putwc.c): Likewise.
11802         (CFLAGS-putwchar.c): Likewise.
11803         (CFLAGS-rewind.c): Likewise.
11804         (CFLAGS-wfileops.c): Likewise.
11805         (CFLAGS-wgenops.c): Likewise.
11806         (CFLAGS-oldiofopen.c): Likewise.
11807         (CFLAGS-iofopen.c): Likewise.
11808         (CFLAGS-iofopen64.c): Likewise.
11809         (CFLAGS-oldtmpfile.c): Likewise.
11810         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11811         (CFLAGS-fprintf.c): Likewise.
11812         (CFLAGS-printf.c): Likewise.
11813         (CFLAGS-vfwprintf.c): Likewise.
11814         (CFLAGS-vfscanf.c): Likewise.
11815         (CFLAGS-vfwscanf.c): Likewise.
11816         (CFLAGS-fscanf.c): Likewise.
11817         (CFLAGS-scanf.c): Likewise.
11818         (CFLAGS-isoc99_vfscanf.c): Likewise.
11819         (CFLAGS-isoc99_vscanf.c): Likewise.
11820         (CFLAGS-isoc99_fscanf.c): Likewise.
11821         (CFLAGS-isoc99_scanf.c): Likewise.
11822         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11823         (CFLAGS-isoc99_fwscanf.c): Likewise.
11824         (CFLAGS-isoc99_vwscanf.c): Likewise.
11825         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11827         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11828         after mkstemp64.
11829         * login/tst-utmp.c (do_prepare): Likewise.
11830         * rt/tst-aio.c (do_prepare): Likewise.
11831         * rt/tst-aio64.c (do_prepare): Likewise.
11833 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11835         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11836         (__lll_lock_elision): Remove adapt_count decrement...
11837         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11838         (__lll_trylock_elision): Likewise.
11839         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11840         (__lll_unlock_elision): ... to here. And utilize
11841         new adapt_count parameter.
11842         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11843         (__lll_unlock_elision): Update to include adapt_count
11844         parameter.
11845         (lll_unlock_elision): Pass pointer to adapt_count
11846         variable.
11848 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11850         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11851         Add elision adapt_count parameter to list of arguments.
11852         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11853         (lll_unlock_elision): Update with new parameter list
11854         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11855         (lll_unlock_elision): Likewise.
11856         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11857         (lll_unlock_elision): Likewise.
11859 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11861         [BZ #19122]
11862         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11863         attribute_hidden.
11865         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11866         attribute_hidden.
11867         [IS_IN (rtld)] (__strdup): Likewise.
11868         [IS_IN (rtld)] (__strerror_r): Likewise.
11869         [IS_IN (rtld)] (__strsep_g): Likewise.
11870         [IS_IN (rtld)] (memchr): Likewise.
11871         [IS_IN (rtld)] (memcmp): Likewise.
11872         [IS_IN (rtld)] (memcpy): Likewise.
11873         [IS_IN (rtld)] (memmove): Likewise.
11874         [IS_IN (rtld)] (memset): Likewise.
11875         [IS_IN (rtld)] (rawmemchr): Likewise.
11876         [IS_IN (rtld)] (stpcpy): Likewise.
11877         [IS_IN (rtld)] (strchr): Likewise.
11878         [IS_IN (rtld)] (strcmp): Likewise.
11879         [IS_IN (rtld)] (strlen): Likewise.
11880         [IS_IN (rtld)] (strnlen): Likewise.
11881         [IS_IN (rtld)] (strsep): Likewise.
11883         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11884         attribute_hidden.
11885         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11887         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11888         attribute_hidden.
11889         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11891         * include/setjmp.h (__longjmp): Add attribute_hidden.
11892         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11894         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11895         Add attribute_hidden.
11897         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11898         [IS_IN (rtld)] (__open): Likewise.
11899         [IS_IN (rtld)] (__fcntl): Likewise.
11901         * include/dirent.h (__opendirat): Add attribute_hidden.
11902         (__getdents): Likewise.
11903         (__getdents64): Likewise.
11904         (__alloc_dir): Likewise.
11905         [IS_IN (rtld)] (__closedir): Likewise.
11906         [IS_IN (rtld)] (__fdopendir): Likewise.
11907         [IS_IN (rtld)] (__readdir): Likewise.
11908         [IS_IN (rtld)] (__readdir64): Likewise.
11909         [IS_IN (rtld)] (__rewinddir): Likewise.
11911         * include/dlfcn.h (_dl_catch_error): Moved to ...
11912         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11913         attribute_hidden.
11915         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11916         (_itoa_word): Likewise.
11918         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11919         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11920         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11921         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11922         (_dl_higher_prime_number): Likewise.
11923         (_dl_debug_printf_c): Likewise.
11924         (_dl_signal_cerror): Likewise.
11925         (_dl_receive_error): Likewise.
11926         (_dl_reloc_bad_type): Likewise.
11927         (_dl_resolve_conflicts): Likewise.
11928         (_dl_check_all_versions): Likewise.
11929         (_dl_check_map_versions): Likewise.
11930         (_dl_sort_fini): Likewise.
11931         (_dl_debug_initialize): Likewise.
11932         (_dl_init_paths): Likewise.
11933         (_dl_show_auxv): Likewise.
11934         (_dl_next_ld_env_entry): Likewise.
11935         (_dl_important_hwcaps): Likewise.
11936         (_dl_load_cache_lookup): Likewise.
11937         (_dl_update_slotinfo): Likewise.
11938         (_dl_show_scope): Likewise.
11940         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11941         attribute_hidden.
11942         (_wordcopy_fwd_dest_aligned): Likewise.
11943         (_wordcopy_bwd_aligned): Likewise.
11944         (_wordcopy_bwd_dest_aligned): Likewise.
11946         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11947         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11948         Likewise.
11949         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11950         Likewise.
11951         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11953 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11956         GCC 5 requirement.
11958 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11960         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11961         test.
11962         * sysdeps/i386/configure: Regenerated.
11963         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11964         code unconditional.
11966         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11967         test.
11968         (libc_cv_asm_popsection_directive): Likewise.
11969         * configure: Regenerated.
11970         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11971         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11972         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11973         (__make_section_unallocated): Make definition unconditional.
11974         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11975         Remove conditional definition.
11976         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11977         (__make_section_unallocated): Likewise.
11979         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11980         * configure: Regenerated.
11981         * config.make.in (static-libgcc): Remove variable.
11982         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11983         $(static-libgcc).
11984         (build-module-helper): Likewise.
11986         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11987         * configure: Regenerated.
11989 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11991         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11992         (struct char_buffer): New type.
11993         (char_buffer_start, char_buffer_size, char_buffer_error)
11994         (char_buffer_rewind, char_buffer_add): New functions.
11995         (ADDW): Remove macro, replaced by the char_buffer_add function.
11996         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11997         of extend_alloca.  Make control flow more explicit.
11999 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12001         [BZ #19137]
12002         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12003         Add -fomit-frame-pointer.
12004         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12006 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12008         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12009         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12010         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12011         only if !__GNUC_PREREQ (5,0).
12012         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12013         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12014         (INTERNAL_SYSCALL_NCS): Likewise.
12015         (LOADREGS_0): New macro for GCC 5.
12016         (ASMARGS_0): Likewise.
12017         (LOADREGS_1): Likewise.
12018         (ASMARGS_1): Likewise.
12019         (LOADREGS_2): Likewise.
12020         (ASMARGS_2): Likewise.
12021         (LOADREGS_3): Likewise.
12022         (ASMARGS_3): Likewise.
12023         (LOADREGS_4): Likewise.
12024         (ASMARGS_4): Likewise.
12025         (LOADREGS_5): Likewise.
12026         (ASMARGS_5): Likewise.
12027         (LOADREGS_6): Likewise.
12028         (ASMARGS_6): Likewise.
12030 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12032         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12033         -fomit-frame-pointer.
12034         (CFLAGS-mmap64.c): Likewise.
12035         (CFLAGS-semtimedop.c): Likewise.
12036         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12037         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12038         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12039         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12041 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12043         [BZ #18928]
12044         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12045         _dl_pointer_guard member.
12046         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12047         initializer.
12048         (security_init): Always set up pointer guard.
12049         (process_envvars): Do not process LD_POINTER_GUARD.
12051 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12053         [BZ #19134]
12054         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12055         (.LC2): Likewise.
12056         (.LC3): Likewise.
12057         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12059 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12061         [BZ #19129]
12062         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12063         r0 and r1.
12065 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12067         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12069 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12071         * include/stap-probe.h: Fix macro definition formatting.
12073 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12075         [BZ #19074]
12076         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12077         load and store num_ifs.
12079 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12081         [BZ #18822]
12082         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12083         (__sched_getaffinity_new): Add libc_hidden_proto and
12084         libc_hidden_def.
12086 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12088         [BZ #19007]
12089         * scripts/localplt.awk: Also allow GOT references.
12090         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12091         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12092         with "+ REL R_386_GLOB_DAT".
12093         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12094         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12096 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12098         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12099         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12100         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12101         Likewise.
12102         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12103         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12104         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12105         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12106         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12107         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12108         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12109         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12110         Likewise.
12111         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12113 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12115         [BZ #19125]
12116         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12117         <math_private.h> and <stdint.h>.
12118         (__llround): Avoid conversions to and from long long int, and
12119         subtractions, where those might raise spurious exceptions.
12120         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12121         <math_private.h> and <stdint.h>.
12122         (__llroundf): Avoid conversions to and from long long int, and
12123         subtractions, where those might raise spurious exceptions.
12125 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12127         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12128         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12129         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12130         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12131         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12132         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12133         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12134         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12135         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12136         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12137         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12138         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12139         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12140         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12141         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12142         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12143         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12144         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12145         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12146         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12147         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12148         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12149         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12150         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12151         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12152         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12153         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12154         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12155         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12156         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12157         (__xstat64_conv): Likewise.
12158         (__xstat32_conv): Likewise.
12160 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12162         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12163         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12164         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12165         <sysdeps/unix/sysv/linux/sysdep.h>.
12166         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12167         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12168         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12169         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12170         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12171         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12172         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12173         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12174         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12179         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12180         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12182         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12183         (sysdep-dl-routines): Add sysdep.
12184         [$(subdir) == nptl] (libpthread-routines): Likewise.
12185         [$(subdir) == rt] (librt-routines): Likewise.
12186         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12187         PIC when branching to SYSCALL_ERROR_LABEL.
12188         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12189         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12190         <sysdeps/unix/sysv/linux/sysdep.h>.
12191         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12192         (SYSCALL_ERROR_ERRNO): Removed.
12193         (SYSCALL_ERROR_HANDLER): Changed to empty.
12194         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12195         (__syscall_error): New prototype.
12196         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12197         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12199 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12201         [BZ #19124]
12202         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12203         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12204         _dl_runtime_resolve_avx.
12205         (_dl_runtime_profile_avx512): Make it a hidden alias of
12206         _dl_runtime_profile_avx.
12208 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12210         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12211         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12212         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12213         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12215         [BZ #16422]
12216         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12217         New configure test.
12218         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12219         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12220         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12221         <math_private.h> and <stdint.h>.
12222         (__llrint): Avoid conversions to long long int where those might
12223         raise spurious exceptions.
12224         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12225         <math_private.h> and <stdint.h>.
12226         (__llrintf): Avoid conversions to long long int where those might
12227         raise spurious exceptions.
12229 2015-10-12  Andreas Schwab  <schwab@suse.de>
12231         [BZ #18969]
12232         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12233         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12234         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12235         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12236         $(gen-locales).
12237         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12238         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12239         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12240         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12241         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12242         $(gen-locales).
12243         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12244         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12245         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12246         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12247         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12248         ($(objpfx)tst-ftell-active-handler.out)
12249         ($(objpfx)tst-ftell-append.out)
12250         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12251         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12252         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12253         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12254         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12255         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12256         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12257         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12258         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12259         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12260         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12261         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12262         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12263         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12264         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12265         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12266         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12267         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12268         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12269         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12270         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12271         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12272         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12273         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12274         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12275         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12276         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12277         $(gen-locales).
12278         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12279         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12280         $(gen-locales).
12281         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12282         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12283         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12284         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12285         $(gen-locales).
12286         * libio/tst_wprintf2.c (main): Use explicit locale.
12287         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12289 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12291         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12292         __msg_sig_post.
12293         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12295 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12297         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12298         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12300         * sysdeps/arm/libm-test-ulps: Regenerated.
12302         [BZ #15470]
12303         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12305         [BZ #16399]
12306         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12307         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12308         and <fix-fp-int-convert-overflow.h>.
12309         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12310         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12311         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12312         and <fix-fp-int-convert-overflow.h>.
12313         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12314         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12315         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12316         <fix-fp-int-convert-overflow.h>.
12317         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12318         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12319         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12320         <fix-fp-int-convert-overflow.h>.
12321         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12322         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12323         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12324         and <fix-fp-int-convert-overflow.h>.
12325         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12326         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12327         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12328         <limits.h> and <fix-fp-int-convert-overflow.h>.
12329         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12330         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12331         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12332         and <fix-fp-int-convert-overflow.h>.
12333         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12334         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12335         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12336         and <fix-fp-int-convert-overflow.h>.
12337         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12338         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12339         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12341 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12343         [BZ #18589]
12344         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12345         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12346         $(gen-locales).
12348 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12349             Phil Blundell <pb@pbcl.net>
12351         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12352         * nptl/tst-cancel26.c: New file.
12353         * nptl/tst-cancel27.c: Likewise.
12355 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12357         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12358         __ILP32__ isn't defined.
12359         (lrint): Likewise.
12360         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12361         (lrintf): Likewise.
12362         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12363         (lrintl): Likewise.
12364         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12365         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12366         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12368 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12370         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12371         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12373         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12374         file.
12375         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12376         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12378 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12380         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12381         configure test.
12382         * sysdeps/i386/configure: Regenerated.
12383         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12384         configure test.
12385         * sysdeps/x86_64/configure: Regenerated.
12386         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12387         Make code unconditional.
12389         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12390         test.
12391         * sysdeps/i386/configure: Regenerated.
12392         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12393         test.
12394         * sysdeps/x86_64/configure: Regenerated.
12395         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12396         Make code unconditional.
12397         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12398         Likewise.
12399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12400         Likewise.
12401         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12402         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12403         code unconditional.
12404         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12405         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12406         code unconditional.
12407         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12408         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12409         code unconditional.
12410         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12411         code unconditional.
12412         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12413         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12414         code unconditional.
12415         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12416         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12417         code unconditional.
12418         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12419         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12420         code unconditional.
12421         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12422         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12423         code unconditional.
12424         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12425         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12427         [BZ #19095]
12428         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12429         mantissa to long int before shifting left.
12431 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12433         [BZ #19094]
12434         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12435         <limits.h>.
12436         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12437         when result overflows but exception would not result from cast.
12438         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12439         <limits.h>.
12440         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12441         when result overflows but exception would not result from cast.
12442         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12443         <limits.h>.
12444         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12445         when result overflows but exception would not result from cast.
12446         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12447         <limits.h>.
12448         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12449         when result overflows but exception would not result from cast.
12450         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12451         <limits.h>.
12452         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12453         when result overflows but exception would not result from cast.
12454         * math/libm-test.inc (lrint_test_data): Add more tests.
12455         (llrint_test_data): Likewise.
12457 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12459         [BZ #18872]
12460         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12461         Move out from under [$(run-built-tests) = yes] conditional.
12462         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12463         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12465 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12467         [BZ #18589]
12468         * string/Makefile (tests): Add bug-strcoll2.
12469         (LOCALES): Add cs_CZ.UTF-8.
12470         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12472         [BZ #18589]
12473         * string/bug-strcoll2.c: New file.
12474         * locale/categories.def: Revert commit
12475         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12476         * locale/langinfo.h: Likewise.
12477         * locale/localeinfo.h: Likewise.
12478         * locale/C-collate.c: Likewise.
12479         * locale/programs/ld-collate.c (collate_output): Likewise.
12480         * string/strcoll_l.c (STRDIFF): Likewise.
12481         (STRCOLL): Likewise.
12482         * wcsmbs/wcscoll_l.c: Likewise.
12484 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12486         * math/libm-test.inc (lround_test_data): Do not expect the absence
12487         of "inexact" for some tests with non-integer arguments.
12488         (llround_test_data): Likewise.
12490         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12491         test.
12492         (libc_cv_cc_sse2avx): Likewise.
12493         * sysdeps/i386/configure: Regenerated.
12494         * sysdeps/i386/i686/multiarch/Makefile
12495         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12496         [$(subdir) = math].
12497         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12498         code unconditional.
12499         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12500         Likewise.
12501         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12502         Likewise.
12503         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12504         Likewise.
12505         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12506         test.
12507         (libc_cv_cc_sse2avx): Likewise.
12508         * sysdeps/x86_64/configure: Regenerated.
12509         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12510         unconditional.
12511         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12512         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12513         unconditional.
12514         (_dl_runtime_profile)
12515         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12516         conditional code.
12517         * sysdeps/x86_64/fpu/multiarch/Makefile
12518         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12520         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12521         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12522         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12523         * sysdeps/x86_64/fpu/multiarch/e_log.c
12524         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12525         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12526         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12527         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12528         Likewise.
12529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12530         Likewise.
12531         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12532         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12533         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12534         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12535         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12536         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12537         (HAVE_SSE2AVX_SUPPORT): Likewise.
12539 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12541         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12542         instead of #pragma optimize.
12544 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12546         [BZ #17195]
12547         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12548         as is similarly done in systrim and _int_free already.
12550 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12552         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12554 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12556         [BZ #19088]
12557         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12558         <limits.h>.
12559         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12560         overflows but exception would not result from cast.
12561         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12562         and <limits.h>.
12563         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12564         overflows but exception would not result from cast.
12565         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12566         <limits.h>.
12567         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12568         overflows but exception would not result from cast.
12569         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12570         <limits.h>.
12571         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12572         overflows but exception would not result from cast.
12573         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12574         <limits.h>.
12575         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12576         overflows but exception would not result from cast.
12577         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12578         <limits.h>.
12579         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12580         overflows but exception would not result from cast.
12581         * math/libm-test.inc (lround_test_data): Add more tests.
12582         (llround_test_data): Likewise.
12584 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12586         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12587         (CFLAGS-ialloc.c): Ditto.
12588         (CFLAGS-scheck.c): Ditto.
12590 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12592         [BZ #19086]
12593         * manual/filesys.texi (Storage Allocation): Fix argument order for
12594         posix_fallocate64.
12596 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12598         [BZ #19085]
12599         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12600         exponent below 48 inside case for non-overflowing exponent.
12601         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12603 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12605         * iconvdata/cp737.h (from_idx): Add const.
12606         * iconvdata/cp775.h (from_idx): Likewise.
12608 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12610         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12611         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12612         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12614         [BZ #19079]
12615         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12616         file, conditioned on [!_LP64].
12617         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12618         [!_LP64] (__lround): Do not define as function or alias.
12619         [!_LP64] (lround): Likewise.
12620         [!_LP64] (__lroundl): Likewise.
12621         [!_LP64] (lroundl): Likewise.
12622         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12623         macro.
12624         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12625         Likewise.
12627 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12629         * math/libm-test.inc (lrint_test_data): Add more tests.
12630         (llrint_test_data): Likewise.
12631         (lround_test_data): Likewise.
12632         (llround_test_data): Likewise.
12634         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12635         (llrint_test_data): Add tests used for lrint.
12637         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12638         test.
12639         * sysdeps/i386/configure: Regenerated.
12640         * sysdeps/i386/i686/multiarch/Makefile
12641         [$(config-cflags-sse4) = yes]: Make code unconditional.
12642         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12643         Likewise.
12644         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12645         Likewise.
12646         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12647         test.
12648         * sysdeps/x86_64/configure: Regenerated.
12649         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12650         Make code unconditional.
12651         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12652         Likewise.
12653         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12654         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12656         * scripts/rpm2dynsym.sh: Remove file.
12658 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12660         * configure.ac (libc_cv_cxx_thread_local): Define.
12661         * configure: Regenerate.
12662         * config.make.in (have-cxx-thread_local): Define.
12663         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12664         (LDLIBS-tst-thread_local1): Define.
12665         (tests): Add tst-thread_local1.
12666         [have-cxx-thread_local != yes] (tests-unsupported): Add
12667         tst-thread_local1.
12668         * nptl/tst-thread_local1.cc: New file.
12670 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12672         [BZ #19078]
12673         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12674         (u_thres): Likewise.
12675         (__expl): Determine whether to call __kernel_standard_l based on
12676         value of result, not argument.
12678         * math/libm-test.inc (scalb_test_data): Add more expectations for
12679         the "inexact" exception.
12681         [BZ #19077]
12682         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12683         0.0L for argument 1.0L.
12685         [BZ #19076]
12686         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12687         constant 0.0L when computing infinite result.
12689 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12691         [BZ #10432]
12692         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12693         malloc_usable_size.
12695 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12697         [BZ #19018]
12698         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12699         Mangle function pointer before storing it.
12700         (__call_tls_dtors): Demangle function pointer before calling it.
12702 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12704         [BZ #19012]
12705         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12706         Clean up on failure.
12708 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12710         [BZ #19071]
12711         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12712         long int variable to store possibly incremented high part of
12713         mantissa.
12714         * math/libm-test.inc (lround_test_data): Add tests used for
12715         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12716         for tests requiring 64-bit long.  Do not condition tests on
12717         [TEST_FLOAT] unnecessarily.
12718         (llround_test_data): Add tests used for lround.  Add another
12719         expectation for the "inexact" exception.  Do not condition tests
12720         on [TEST_FLOAT] unnecessarily.
12722         [BZ #887]
12723         [BZ #19049]
12724         [BZ #19050]
12725         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12726         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12727         <fix-int-fp-convert-zero.h>.
12728         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12729         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12730         <fix-int-fp-convert-zero.h>.
12731         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12732         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12733         <fix-int-fp-convert-zero.h>.
12734         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12735         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12736         <fix-int-fp-convert-zero.h>.
12737         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12738         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12739         <fix-int-fp-convert-zero.h>.
12740         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12741         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12742         <fix-int-fp-convert-zero.h>.
12743         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12744         * sysdeps/ieee754/flt-32/s_erff.c: Include
12745         <fix-int-fp-convert-zero.h>.
12746         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12747         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12748         <fix-int-fp-convert-zero.h>.
12749         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12751         <fix-int-fp-convert-zero.h>.
12752         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12753         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12754         <fix-int-fp-convert-zero.h>.
12755         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12756         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12757         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12758         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12759         file.
12760         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12762 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12764         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12766 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12768         [BZ #19059]
12769         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12770         overflowing computation.
12771         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12772         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12773         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12774         Likewise.
12775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12776         Likewise.
12777         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12778         Likewise.
12779         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12780         Likewise.
12781         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12782         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12783         Likewise.
12784         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12785         Likewise.
12786         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12788         * nss/rewrite_field.c (__nss_rewrite_field): Use
12789         internal_function.
12790         * nss/valid_field.c (__nss_valid_field): Likewise.
12791         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12793 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12795         [BZ #18724]
12796         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12797         (__nss_invalid_field_characters, __nss_valid_field)
12798         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12799         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12800         tst-field.c: New file.
12801         * nss/Makefile (routines): Add valid_field, rewrite_field.
12802         (tests-static): Define unconditionally.
12803         (tests): Include tests-static.
12804         [build-static-nss] (tests-static): Use append.
12805         [build-static-nss] (tests): Remove modification.
12806         * nss/getent.c (print_group): Call putgrent.  Report error.
12807         (print_gshadow): Call putsgent.  Report error.
12808         (print_passwd): Call putpwent.  Report error.
12809         (print_shadow): Call putspent.  Report error.
12810         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12811         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12812         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12813         name, password, directory, shell fields for valid syntax.  Rewrite
12814         GECOS field to match syntax.
12815         * pwd/Makefile (tests): Add tst-putpwent.
12816         * pwd/tst-putpwent.c: New file.
12817         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12818         Check grName, grpasswd, gr_mem fields for valid syntax.
12819         Change loop variable i to size_t.
12820         * grp/Makefile (tests): Add tst-putgrent.
12821         * grp/tst-putgrent.c: New file.
12822         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12823         valid syntax.
12824         * shadow/Makefile (tests): Add tst-putspent.
12825         * shadow/tst-putspent.c: New file.
12826         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12827         sg_mem fields for valid syntax.
12828         * gshadow/Makefile (tests): Add tst-putsgent.
12829         * gshadow/tst-putsgent.c: New file.
12831 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12833         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12834         assembly instructions.
12836 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12838         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12839         prefix from operands.
12841 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #16347]
12844         [BZ #19046]
12845         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12846         <libc-internal.h>.
12847         (MAXLGM): Do not use diagnostic control macros.
12848         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12849         threshold for ldbl-128ibm.
12850         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12851         instead of multiplying by log then subtracting.
12852         * math/auto-libm-test-in: Add more tests of lgamma.
12853         * math/auto-libm-test-out: Regenerated.
12855         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12856         (TYPE_HEX_DIG): Likewise.
12857         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12858         precisions when printing floating-point numbers.
12859         (check_float_internal): Likewise.
12861 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12863         [BZ #16620]
12864         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12865         of log (10) rounded downward to 48 bits.
12866         (log10_low): Use corresponding low part of log (10).
12868         [BZ #19032]
12869         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12870         compute result as (x - x) / (x - x) not as 0 / 0.
12871         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12872         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12874         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12875         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12876         and expm1.
12877         * math/auto-libm-test-out: Regenerated.
12878         * math/libm-test.inc (acos_test_data): Add more tests.
12879         (asin_test_data): Likewise.
12880         (asinh_test_data): Likewise.
12881         (atan_test_data): Likewise.
12882         (atanh_test_data): Likewise.
12883         (atan2_test_data): Likewise.
12884         (cbrt_test_data): Likewise.
12885         (ceil_test_data): Likewise.
12886         (copysign_test_data): Likewise.
12887         (cos_test_data): Likewise.
12888         (cosh_test_data): Likewise.
12889         (erf_test_data): Likewise.
12890         (erfc_test_data): Likewise.
12891         (exp_test_data): Likewise.
12892         (exp10_test_data): Likewise.
12893         (exp2_test_data): Likewise.
12894         (expm1_test_data): Likewise.
12895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12897 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12899         [BZ #19006]
12900         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12901         to ...
12902         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12903         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12904         to ...
12905         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12906         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12907         to ...
12908         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12909         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12910         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12911         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12912         to ...
12913         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12914         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12915         Moved to ...
12916         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12917         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12918         Moved to ...
12919         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12920         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12921         to ...
12922         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12924         Moved to ...
12925         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12926         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12927         to ...
12928         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12929         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12930         Removed.
12931         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12932         Likewise.
12933         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12934         Likewise.
12935         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12936         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12937         Likewise.
12938         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12939         Likewise.
12940         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12941         Likewise.
12942         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12943         Likewise.
12944         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12945         Likewise.
12946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12947         Likewise.
12948         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12949         Likewise.
12950         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12951         Likewise.
12952         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12955         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12956         Likewise.
12957         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12958         Likewise.
12959         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12960         Likewise.
12961         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12962         Likewise.
12963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12964         Likewise.
12965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12966         Replace ../i486/pthread_cond_timedwait.S with
12967         ../pthread_cond_timedwait.S.
12969 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12971         * math/libm-test.inc (acos_test_data): Refine expectations for
12972         errno and "inexact" exceptions.
12973         (acosh_test_data): Likewise.
12974         (asin_test_data): Likewise.
12975         (asinh_test_data): Likewise.
12976         (atan_test_data): Likewise.
12977         (atanh_test_data): Likewise.
12978         (atan2_test_data): Likewise.
12979         (cbrt_test_data): Likewise.
12980         (ceil_test_data): Likewise.
12981         (copysign_test_data): Likewise.
12982         (cosh_test_data): Likewise.
12983         (erf_test_data): Likewise.
12984         (erfc_test_data): Likewise.
12985         (exp_test_data): Likewise.
12986         (exp10_test_data): Likewise.
12987         (exp2_test_data): Likewise.
12988         (expm1_test_data): Likewise.
12989         (fabs_test_data): Likewise.
12990         (floor_test_data): Likewise.
12991         (fma_test_data): Likewise.
12992         (fmax_test_data): Likewise.
12993         (fmin_test_data): Likewise.
12994         (fmod_test_data): Likewise.
12995         (fpclassify_test_data): Likewise.
12996         (frexp_test_data): Likewise.
12997         (hypot_test_data): Likewise.
12998         (ilogb_test_data): Likewise.
12999         (isgreater_test_data): Likewise.
13000         (isgreaterequal_test_data): Likewise.
13001         (isinf_test_data): Likewise.
13002         (isless_test_data): Likewise.
13003         (islessequal_test_data): Likewise.
13004         (islessgreater_test_data): Likewise.
13005         (isnan_test_data): Likewise.
13006         (isnormal_test_data): Likewise.
13007         (issignaling_test_data): Likewise.
13008         (isunordered_test_data): Likewise.
13009         (j0_test_data): Likewise.
13010         (j1_test_data): Likewise.
13011         (jn_test_data): Likewise.
13012         (lgamma_test_data): Likewise.
13013         (lrint_test_data): Likewise.
13014         (llrint_test_data): Likewise.
13015         (log_test_data): Likewise.
13016         (log10_test_data): Likewise.
13017         (log1p_test_data): Likewise.
13018         (log2_test_data): Likewise.
13019         (logb_test_data): Likewise.
13020         (lround_test_data): Likewise.
13021         (llround_test_data): Likewise.
13022         (modf_test_data): Likewise.
13023         (nearbyint_test_data): Likewise.
13024         (nextafter_test_data): Likewise.
13025         (nexttoward_test_data): Likewise.
13026         (pow_test_data): Likewise.
13027         (remainder_test_data): Likewise.
13028         (remquo_test_data): Likewise.
13029         (rint_test_data): Likewise.
13030         (round_test_data): Likewise.
13031         (signbit_test_data): Likewise.
13032         (sinh_test_data): Likewise.
13033         (sqrt_test_data): Likewise.
13034         (tanh_test_data): Likewise.
13035         (tgamma_test_data): Likewise.
13036         (trunc_test_data): Likewise.
13037         (y0_test_data): Likewise.
13038         (y1_test_data): Likewise.
13039         (yn_test_data): Likewise.
13040         (significand_test_data): Likewise.
13042 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13044         * manual/filesys.texi (Storage Allocation): Document that
13045         posix_fallocate emulation fails when fd is open with O_WRONLY.
13047 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13049         [BZ #19016]
13050         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13051         allow more cases with X^2 + Y^2 >= 0.5.
13052         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13053         normal element in sum instead of special-casing based on values of
13054         arguments.
13055         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13056         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13057         -1 as normal element in sum instead of special-casing based on
13058         values of arguments.
13059         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13060         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13061         (__x2y2m1): Update comment.
13062         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13063         as normal element in sum instead of special-casing based on values
13064         of arguments.
13065         * math/s_clog.c (__clog): Handle more cases using log1p without
13066         hypot.
13067         * math/s_clog10.c (__clog10): Likewise.
13068         * math/s_clog10f.c (__clog10f): Likewise.
13069         * math/s_clog10l.c (__clog10l): Likewise.
13070         * math/s_clogf.c (__clogf): Likewise.
13071         * math/s_clogl.c (__clogl): Likewise.
13072         * math/auto-libm-test-in: Add more tests of clog and clog10.
13073         * math/auto-libm-test-out: Regenerated.
13074         * sysdeps/i386/fpu/libm-test-ulps: Update.
13075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077 2015-09-28  Martin Sebor  <msebor@redhat.com>
13079         [BZ #18969]
13080         * string/Makefile (LOCALES): Define.
13081         (gen-locales.mk): Include.
13082         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13083         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13084         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13085         on setlocale failure.
13087 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13089         [BZ #18985]
13090         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13091         (__strftime_internal): Likewise.
13092         * time/tst-strftime.c (do_bz18985): New test.
13093         (do_test): Call it.
13095 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13097         [BZ #18956]
13098         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13099         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13100         extracting high part.
13101         * math/auto-libm-test-in: Add another test of pow.
13102         * math/auto-libm-test-out: Regenerated.
13103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13105 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13107         [BZ #18825]
13108         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13109         New macro.
13110         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13111         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13112         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13113         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13114         DBL_NARROW_EVAL, reloading the PIC register as needed.
13115         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13116         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13117         FLT_NARROW_EVAL.  Use separate return path for case when first
13118         argument is NaN.
13119         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13120         DEFINE_LDBL_MIN.
13121         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13122         PIC register.
13123         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13124         math_check_force_underflow_nonneg.
13125         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13126         underflow for subnormal result.
13127         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13129         math_check_force_underflow_nonneg.
13130         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13131         math_check_force_underflow.
13132         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13133         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13134         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13135         DEFINE_LDBL_MIN.
13136         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13137         * math/auto-libm-test-in: Add more tests of pow.
13138         * math/auto-libm-test-out: Regenerated.
13140 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13142         * nss/bug17079.c (init_test_items): Add diagnostic for
13143         inconsistent entries.
13144         (test_buffer_size): Skip inconsistent entries.
13146 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13148         [BZ #13304]
13149         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13150         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13151         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13153         [BZ #13304]
13154         * sysdeps/microblaze/s_fma.c: New file.
13155         * sysdeps/microblaze/s_fmaf.c: Likewise.
13156         * sysdeps/microblaze/sfp-machine.h: Likewise.
13158 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13160         [BZ #17250]
13161         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13162         member.
13164 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13166         [BZ #18803]
13167         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13168         (MO): New macro.
13169         (__ieee754_hypot) [PIC]: Load PIC register.
13170         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13171         DBL_NARROW_EVAL.
13172         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13173         math_check_force_underflow_nonneg in case where result might be
13174         tiny.
13175         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13176         Likewise.
13177         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13178         Likewise.
13179         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13180         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13181         * math/auto-libm-test-in: Add more tests of hypot.
13182         * math/auto-libm-test-out: Regenerated.
13184 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13186         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13188 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13190         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13191         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13192         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13193         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13194         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13195         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13196         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13198         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13199         LOAD_PIC_REG.
13201         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13202         (FLT_CHECK_FORCE_UFLOW): Likewise.
13203         (DBL_CHECK_FORCE_UFLOW): Likewise.
13204         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13205         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13206         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13207         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13208         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13209         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13210         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13211         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13212         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13213         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13214         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13215         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13216         (flt_min): Replace with use of DEFINE_FLT_MIN.
13217         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13218         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13219         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13220         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13221         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13222         (flt_min): Replace with use of DEFINE_FLT_MIN.
13223         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13224         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13225         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13226         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13227         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13228         (flt_min): Replace with use of DEFINE_FLT_MIN.
13229         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13230         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13231         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13232         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13233         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13234         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13235         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13236         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13237         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13238         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13239         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13240         (flt_min): Replace with use of DEFINE_FLT_MIN.
13241         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13242         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13243         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13244         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13245         main computation.
13246         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13247         (flt_min): Replace with use of DEFINE_FLT_MIN.
13248         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13249         main computation.
13250         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13251         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13252         (MO): New macro.
13253         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13254         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13255         (flt_min): Replace with use of DEFINE_FLT_MIN.
13256         (MO): New macro.
13257         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13258         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13259         (__log1pl): Use MO.
13261         [BZ #19003]
13262         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13263         $(config-cflags-nofma).
13265 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13267         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13269 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13271         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13272         (TWO127): Likewise.
13274         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13275         (min_of_type): Likewise.
13276         (math_check_force_underflow): Likewise.
13277         (math_check_force_underflow_nonneg): Likewise.
13278         (math_check_force_underflow_complex): Likewise.
13279         * math/e_exp2l.c (__ieee754_exp2l): Use
13280         math_check_force_underflow_nonneg.
13281         * math/k_casinh.c (__kernel_casinh): Likewise.
13282         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13283         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13284         * math/s_catan.c (__catan): Use
13285         math_check_force_underflow_complex.
13286         * math/s_catanf.c (__catanf): Likewise.
13287         * math/s_catanh.c (__catanh): Likewise.
13288         * math/s_catanhf.c (__catanhf): Likewise.
13289         * math/s_catanhl.c (__catanhl): Likewise.
13290         * math/s_catanl.c (__catanl): Likewise.
13291         * math/s_ccosh.c (__ccosh): Likewise.
13292         * math/s_ccoshf.c (__ccoshf): Likewise.
13293         * math/s_ccoshl.c (__ccoshl): Likewise.
13294         * math/s_cexp.c (__cexp): Likewise.
13295         * math/s_cexpf.c (__cexpf): Likewise.
13296         * math/s_cexpl.c (__cexpl): Likewise.
13297         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13298         * math/s_clog10.c (__clog10): Likewise.
13299         * math/s_clog10f.c (__clog10f): Likewise.
13300         * math/s_clog10l.c (__clog10l): Likewise.
13301         * math/s_clogf.c (__clogf): Likewise.
13302         * math/s_clogl.c (__clogl): Likewise.
13303         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13304         * math/s_csinf.c (__csinf): Likewise.
13305         * math/s_csinh.c (__csinh): Likewise.
13306         * math/s_csinhf.c (__csinhf): Likewise.
13307         * math/s_csinhl.c (__csinhl): Likewise.
13308         * math/s_csinl.c (__csinl): Likewise.
13309         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13310         * math/s_csqrtf.c (__csqrtf): Likewise.
13311         * math/s_csqrtl.c (__csqrtl): Likewise.
13312         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13313         * math/s_ctanf.c (__ctanf): Likewise.
13314         * math/s_ctanh.c (__ctanh): Likewise.
13315         * math/s_ctanhf.c (__ctanhf): Likewise.
13316         * math/s_ctanhl.c (__ctanhl): Likewise.
13317         * math/s_ctanl.c (__ctanl): Likewise.
13318         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13319         instead of volatile.
13320         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13321         math_check_force_underflow.
13322         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13323         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13324         volatile when forcing underflow.
13325         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13326         math_check_force_underflow_nonneg.
13327         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13328         Likewise.
13329         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13330         math_check_force_underflow.
13331         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13332         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13333         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13334         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13335         math_check_force_underflow_nonneg.
13336         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13337         math_check_force_underflow.
13338         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13340         instead of volatile.
13341         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13342         math_check_force_underflow.
13343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13345         math_check_force_underflow_nonneg.
13346         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13347         math_check_force_underflow.
13348         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13349         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13350         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13351         math_check_force_underflow_nonneg.
13352         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13353         Likewise.
13354         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13355         math_check_force_underflow.
13356         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13357         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13358         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13359         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13360         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13361         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13362         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13363         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13364         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13365         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13366         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13367         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13368         Likewise.
13369         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13370         math_check_force_underflow_nonneg.
13371         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13372         Likewise.
13373         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13374         math_check_force_underflow.
13375         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13376         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13377         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13378         Likewise.
13379         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13380         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13381         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13382         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13383         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13384         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13385         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13386         instead of volatile.
13387         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13388         math_check_force_underflow.
13389         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13391         math_check_force_underflow.
13392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13393         Likewise.
13394         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13395         Use math_check_force_underflow_nonneg.
13396         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13397         math_check_force_underflow.
13398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13399         Likewise.
13400         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13401         Likewise.
13402         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13403         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13408         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13409         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13410         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13411         math_check_force_underflow_nonneg.
13412         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13413         math_check_force_underflow.
13414         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13415         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13416         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13417         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13418         math_check_force_underflow_nonneg.
13419         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13420         math_check_force_underflow.
13421         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13423         instead of volatile.
13424         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13425         math_check_force_underflow.
13427         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13428         * stdlib/strtod_l.c: Include <math_private.h>.
13429         (overflow_value): Use math_narrow_eval.
13430         (underflow_value): Likewise.
13431         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13432         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13433         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13434         (__ieee754_gamma_r): Likewise.
13435         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13436         Likewise.
13437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13438         Likewise.
13439         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13440         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13441         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13442         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13443         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13444         (__ieee754_gammaf_r): Likewise.
13445         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13446         Likewise.
13447         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13448         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13449         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13450         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13451         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13452         volatile.
13453         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13454         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13455         math_narrow_eval.
13456         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13457         Likewise.
13458         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13459         Likewise.
13460         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13461         Likewise.
13462         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13463         volatile.
13464         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13465         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13466         math_narrow_eval.
13467         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13468         Likewise.
13469         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13470         Likewise.
13472 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13474         * nptl/Versions: Remove ignored symbols.
13476 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13478         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13479         * nss/Makefile (tests): Update.
13481 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13483         * nss/bug18287.c: New file.
13484         * nss/Makefile (tests): Add bug18287.
13486 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13488         * mach/Versions (__mach_host_self_): Add symbol.
13490 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13492         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13493         vm_page_size.
13495 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13497         Really fix sysdeps/i386/fpu/s_scalbn.S build
13499         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13500         (libc: GLIBC_2_22): Remove unused version set.
13502 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13504         * config.make.in (enable-timezone-tools): New variable.
13505         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13506         (enable_timezone_tools): Export to generated files.
13507         * configure: Regenerate.
13508         * INSTALL: Regenerate.
13509         * manual/install.texi (--disable-timezone-tools): Document new flag.
13510         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13511         ifeq ($(enable-timezone-tools),yes) check.
13513 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13515         * timezone/Makefile: Revert previous change.
13517         [BZ #18980]
13518         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13519         (DEFINE_DBL_MIN): Likewise.
13520         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13521         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13522         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13523         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13524         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13526         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13527         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13528         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13529         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13530         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13531         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13532         (flt_min): Replace with use of DEFINE_FLT_MIN.
13533         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13534         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13535         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13536         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13537         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13538         (flt_min): Replace with use of DEFINE_FLT_MIN.
13539         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13540         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13541         (flt_min): Replace with use of DEFINE_FLT_MIN.
13542         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13543         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13544         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13545         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13546         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13547         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13548         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13549         (__ieee754_pow): Use DBL_NARROW_EVAL.
13550         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13551         (__ieee754_powf): Use FLT_NARROW_EVAL.
13552         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13553         (__ieee754_expf_sse2): Convert double-precision result to single
13554         precision.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13557 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13559         * timezone/Makefile: Ignore unused variable errors due to private.h
13560         (time_t_min) and (time_t_max).
13561         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13562         Likewise.
13564 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13566         [BZ #18981]
13567         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13568         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13569         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13570         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13571         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13572         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13573         (__scalbn): Use DBL_NARROW_EVAL.
13574         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13575         (__scalbnf): Use FLT_NARROW_EVAL.
13577 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13579         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13580         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13581         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13582         * stdio-common/printf_fp.c (___printf_fp):
13583         Use signbit to get the sign. Use isinf macro to allow inlining.
13584         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13585         * stdio-common/printf_size.c (__printf_size): Likewise.
13587 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13589         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13591 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13593         [BZ #18980]
13594         * sysdeps/generic/math_private.h: Include <float.h>.
13595         (math_narrow_eval): New macro.
13596         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13597         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13598         math_narrow_eval on overflowing return value.
13599         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13600         Likewise.
13601         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13602         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13604         Likewise.
13605         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13607 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13609         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13610         * math/Makefile: Remove isinf_ns.c.
13611         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13612         * math/multc3.c (__multc3): Likewise.
13613         * math/s_casin.c (__casin): Likewise.
13614         * math/s_casinf.c (__casinf): Likewise.
13615         * math/s_casinl.c (__casinl): Likewise.
13616         * math/s_cproj.c (__cproj): Likewise.
13617         * math/s_cprojf.c (__cprojf): Likewise.
13618         * math/s_cprojl.c (__cprofl): Likewise.
13619         * math/s_ctan.c (__ctan): Likewise.
13620         * math/s_ctanf.c (__ctanf): Likewise.
13621         * math/s_ctanh.c (__ctanh): Likewise.
13622         * math/s_ctanhf.c (__ctanhf): Likewise.
13623         * math/s_ctanhl.c (__ctanhl): Likewise.
13624         * math/s_ctanl.c (__ctanl): Likewise.
13625         * math/w_fmod.c (__fmod): Likewise.
13626         * math/w_fmodf.c (__fmodf): Likewise.
13627         * math/w_fmodl.c (_fmodl): Likewise.
13628         * math/w_remainder.c (__remainder): Likewise.
13629         * math/w_remainderf.c (__remainderf): Likewise.
13630         * math/w_remainderl.c (__remainderl): Likewise.
13631         * math/w_scalb.c (__scalb): Likewise.
13632         * math/w_scalbf.c (__scalbf): Likewise.
13633         * math/w_scalbl.c (__scalbl): Likewise.
13634         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13635         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13636         with isinf.
13637         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13639         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13640         __isinf_nsf with isinf.
13641         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13642         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13643         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13644         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13645         with isinf.
13646         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13647         __isinf_nsl with isinf.
13648         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13649         with isinf.
13650         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13651         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13652         __isinf_nsl with isinf.
13653         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13654         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13655         with isinf.
13657 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13659         * resolv/base64.c (rcsid): Remove unused static.
13660         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13661         static.  (tqpi1): Likewise.
13662         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13663         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13664         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13665         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13667         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13668         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13669         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13670         Likewise.
13672 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13674         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13675         <nptl/pthreadP.h>.
13676         (_longjmp_unwind): Use __libc_ptf_call.
13677         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13679 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13681         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13682         * sysdeps/arm/__longjmp.S: Likewise.
13684 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13686         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13687         Use __builtin_signbit.
13688         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13689         Use __builtin_signbitf.
13690         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13691         Use __builtin_signbitl.
13692         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13693         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13697         [BZ #15367]
13698         [BZ #17441]
13700         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13701         * math/math.h (fpclassify): Use __builtin_fpclassify when
13702         available.  (signbit): Use __builtin_signbit(f/l).
13703         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13704         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13705         (isinf): Use __builtin_isinf_sign.
13707 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13709         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13710         * benchtests/bench-math-inlines.c: New benchmark.
13711         * benchtests/bench-util.h: New file.
13712         * benchtests/bench-util.c: New file.
13713         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13715 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13717         * elf/tst-dlmopen1.c: Define TEST_SO.
13718         (do_test): Use TEST_SO.
13720         * elf/dl-load.c: Include libc-internal.h.
13721         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13723 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13725         [BZ #17887]
13726         * time/strptime_l.c (__strptime_internal): Make %z accept
13727         [+-]HH:MM time zones.
13729 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13731         [BZ #17886]
13732         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13733         valid time zone.
13735 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13737         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13738         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13739         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13740         (__ASSUME_FDATASYNC): Delete.
13742 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13744         * conform/linknamespace.pl: Require weak undefined symbols to be
13745         in the standard namespace.
13746         (%strong_syms): Rename to %seen_syms.
13747         (%strong_seen): Rename to %seen_where.
13749 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13751         [BZ #18970]
13752         * misc/error.c (error): Replace pthread_setcancelstate with
13753         __pthread_setcancelstate.
13754         (error_at_line): Likewise.
13755         * posix/wordexp.c (parse_comm): Likewise.
13756         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13757         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13758         (__pthread_setcancelstate): This.
13759         (pthread_setcancelstate): Add an alias.
13760         * nptl/nptl-init.c (pthread_functions): Replace
13761         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13762         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13763         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13764         hidden_proto.
13765         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13766         it with hidden_def.
13767         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13768         (pthread_setcancelstate): Renamed to ...
13769         (__pthread_setcancelstate): This.
13770         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13771         __libc_ptf_call with __pthread_setcancelstate.
13773 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13774             Andreas Schwab  <schwab@suse.de>
13776         [BZ #17118]
13777         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13778         result when imaginary part of argument is infinite using sine and
13779         cosine.
13780         * math/s_ctanf.c (__ctanf): Likewise.
13781         * math/s_ctanl.c (__ctanl): Likewise.
13782         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13783         of result when real part of argument is infinite using sine and
13784         cosine.
13785         * math/s_ctanhf.c (__ctanhf): Likewise.
13786         * math/s_ctanhl.c (__ctanhl): Likewise.
13787         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13788         (ctanh_test_data): Add more tests of ctanh.
13790 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13792         [BZ #15384]
13793         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13794         bit-mask as in subtraction.
13795         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13796         Likewise.
13797         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13798         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13799         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13801         [BZ #18951]
13802         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13803         underflow exception for small results.
13804         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13805         Likewise.
13806         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13807         Likewise.
13808         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13809         Likewise.
13810         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13811         Likewise.
13812         * math/auto-libm-test-in: Add more tests of tgamma.
13813         * math/auto-libm-test-out: Regenerated.
13815 2015-09-17  Andreas Schwab  <schwab@suse.de>
13817         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13819 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13821         [BZ #18977]
13822         * math/bits/mathcalls.h
13823         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13824         not declare.
13825         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13826         Likewise.
13827         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13828         Likewise.
13829         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13830         Likewise.
13831         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13832         Likewise.
13833         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13834         Likewise.
13835         * conform/data/math.h-data
13836         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13837         function.
13838         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13839         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13840         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13841         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13842         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13843         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13844         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13845         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13846         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13847         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13848         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13850         [BZ #6803]
13851         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13852         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13853         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13854         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13855         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13856         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13857         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13858         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13859         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13861         Likewise.
13862         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13863         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13864         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13865         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13866         long_double_symbol calls.
13867         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13868         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13869         strong alias of __ldexpl.
13870         (scalbnl): Define using long_double_symbol.
13871         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13872         Remove alias.
13873         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13874         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13875         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13876         (scalbln_test_data): Add more errno expectations.
13878 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13880         Cache the host port like we cache the task port.  This way we do not
13881         need to call the kernel just to get the port.  Furthermore, we no
13882         longer increase the reference count on every invocation of
13883         `mach_host_self'.
13885         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13886         Protect declarations against the macro expansion.
13887         * mach/mach_init.c (__mach_host_self_): New variable.
13888         (mach_init): Initialize `__mach_host_self_'.
13889         * mach/mach_init.h (__mach_host_self_): New declaration.
13890         (__mach_host_self, mach_host_self): New macros.
13891         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13892         Release reference.
13894 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13896         [BZ #4404]
13897         * po/de.po: Update from Translation Project.
13899         [BZ #16415]
13900         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13901         (__expm1l): Remove code to handle positive infinity and overflow.
13902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13903         variable.
13904         (__expm1l): Remove code to handle positive infinity and overflow.
13906 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13907             Paul Pluzhnikov  <ppluzhnikov@google.com>
13909         [BZ #18872]
13910         * stdio-common/Makefile (tst-printf-bz18872): New test.
13911         (tst-printf-bz18872-mem.out): Likewise.
13912         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13913         * stdio-common/vfprintf.c: Fix memory leaks.
13915 2015-09-16  Andreas Schwab  <schwab@suse.de>
13917         [BZ #17244]
13918         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13919         Remove extra va_start/va_end calls.
13921         [BZ #17243]
13922         * posix/execl.c (execl): Add missing va_end.
13923         * posix/execle.c (execle): Likewise.
13924         * posix/execlp.c (execlp): Likewise.
13926 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13928         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13929         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13931 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13933         [BZ #18967]
13934         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13935         undefine around includes of <bits/mathcalls.h>.
13936         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13937         not declare function.
13938         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13939         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13940         (scalb): Likewise.
13941         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13942         not define macro.
13943         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13944         variable.
13945         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13946         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13947         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13949         [BZ #18857]
13950         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13951         return non-finite argument without doing ordered comparisons on
13952         it.
13954         [BZ #16296]
13955         * math/fenv.h (fegetround): Use __attribute_pure__.
13956         * include/fenv.h (__fegetround): Likewise.
13958         [BZ #18595]
13959         * math/s_ctan.c (__ctan): Force underflow exception for results
13960         whose real or imaginary part has small absolute value.
13961         * math/s_ctanf.c (__ctanf): Likewise.
13962         * math/s_ctanh.c (__ctanh): Likewise.
13963         * math/s_ctanhf.c (__ctanhf): Likewise.
13964         * math/s_ctanhl.c (__ctanhl): Likewise.
13965         * math/s_ctanl.c (__ctanl): Likewise.
13966         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13967         and ctanh.  Add more tests of ctan and ctanh.
13969         [BZ #15918]
13970         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13971         handling of cases where one argument is an infinity.
13973         [BZ #18875]
13974         [BZ #18966]
13975         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13976         (MO): New macro.
13977         (__ieee754_exp10): For small results, force underflow exception
13978         and remove excess range and precision from return value.
13979         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13980         (MO): New macro.
13981         (__ieee754_exp10f): For small results, force underflow exception
13982         and remove excess range and precision from return value.
13983         * math/auto-libm-test-in: Add more tests of exp10.
13984         * math/auto-libm-test-out: Regenerated.
13986 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13988         [BZ #18875]
13989         [BZ #18961]
13990         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13991         (MO): New macro.
13992         (__ieee754_exp): For small results, force underflow exception and
13993         remove excess range and precision from return value.
13994         (__exp_finite): Likewise.
13995         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13996         (MO): New macro.
13997         (__ieee754_expf): For small results, force underflow exception and
13998         remove excess range and precision from return value.
13999         (__expf_finite): Likewise.
14000         * math/auto-libm-test-in: Add more tests of exp.
14001         * math/auto-libm-test-out: Regenerated.
14003         [BZ #16521]
14004         [BZ #18875]
14005         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14006         small results.
14007         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14008         (MO): New macro.
14009         (__ieee754_exp2): For small results, force underflow exception and
14010         remove excess range and precision from return value.
14011         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14012         (MO): New macro.
14013         (__ieee754_exp2f): For small results, force underflow exception
14014         and remove excess range and precision from return value.
14015         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14016         (MO): New macro.
14017         (__ieee754_exp2l): Force underflow exception for small results.
14018         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14019         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14020         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14021         (MO): New macro.
14022         (__ieee754_exp2l): Force underflow exception for small results.
14023         * math/auto-libm-test-in: Add more tests or exp2.
14024         * math/auto-libm-test-out: Regenerated.
14026 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14028         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14030         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14031         /dev/null.
14033 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14035         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14036         io fs process)): Drop spurious backslash.
14038 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14041         Use sysinfo system call instead of parsing /proc/meminfo.
14042         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14043         Likewise.
14045 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14047         [BZ #16985]
14048         * programs/localedef.c (main): Display argv[remaining] when
14049         output_path is NULL.
14051 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14053         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14054         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14055         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14056         tanh.
14057         * math/auto-libm-test-out: Regenerated.
14058         * sysdeps/i386/fpu/libm-test-ulps: Update.
14059         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14060         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14063 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14065         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14066         Use 'override' keyword to freeze the value here, preventing
14067         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14069 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14071         [BZ #14912]
14072         * sysdeps/aarch64/bits/atomic.h: Move to ...
14073         * sysdeps/aarch64/atomic-machine.h: ...here.
14074         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14075         _AARCH64_ATOMIC_MACHINE_H.
14076         * sysdeps/alpha/bits/atomic.h: Move to ...
14077         * sysdeps/alpha/atomic-machine.h: ...here.
14078         * sysdeps/arm/bits/atomic.h: Move to ...
14079         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14080         * bits/atomic.h: Move to ...
14081         * sysdeps/generic/atomic-machine.h: ...here.
14082         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14083         * sysdeps/i386/bits/atomic.h: Move to ...
14084         * sysdeps/i386/atomic-machine.h: ...here.
14085         * sysdeps/ia64/bits/atomic.h: Move to ...
14086         * sysdeps/ia64/atomic-machine.h: ...here.
14087         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14088         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14089         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14090         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14091         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14092         * sysdeps/microblaze/bits/atomic.h: Move to ...
14093         * sysdeps/microblaze/atomic-machine.h: ...here.
14094         * sysdeps/mips/bits/atomic.h: Move to ...
14095         * sysdeps/mips/atomic-machine.h: ...here.
14096         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14097         * sysdeps/powerpc/bits/atomic.h: Move to ...
14098         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14099         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14100         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14101         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14102         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14103         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14104         <atomic-machine.h> instead of <bits/atomic.h>.
14105         * sysdeps/s390/bits/atomic.h: Move to ...
14106         * sysdeps/s390/atomic-machine.h: ...here.
14107         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14108         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14109         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14110         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14111         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14112         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14113         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14114         * sysdeps/tile/bits/atomic.h: Move to ...
14115         * sysdeps/tile/atomic-machine.h: ...here.
14116         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14117         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14118         <sysdeps/tile/atomic-machine.h> instead of
14119         <sysdeps/tile/bits/atomic.h>.
14120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14121         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14122         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14123         <sysdeps/tile/atomic-machine.h> instead of
14124         <sysdeps/tile/bits/atomic.h>.
14125         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14126         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14127         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14128         <sysdeps/arm/atomic-machine.h> instead of
14129         <sysdeps/arm/bits/atomic.h>.
14130         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14131         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14132         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14133         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14134         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14135         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14136         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14137         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14138         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14139         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14140         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14141         * sysdeps/x86_64/bits/atomic.h: Move to ...
14142         * sysdeps/x86_64/atomic-machine.h: ...here.
14143         * include/atomic.h: Include <atomic-machine.h> instead of
14144         <bits/atomic.h>.
14146         * sysdeps/mips/mips32/libm-test-ulps: Update.
14147         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14149         [BZ #18952]
14150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14151         not convert non-integer negative arguments to int to determine the
14152         value of signgam.
14153         * math/auto-libm-test-in: Add more tests of lgamma.
14154         * math/auto-libm-test-out: Regenerated.
14156         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14157         cosh, csqrt, erfc, expm1 and lgamma.
14158         * math/auto-libm-test-out: Regenerated.
14159         * sysdeps/i386/fpu/libm-test-ulps: Update.
14160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14162 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14164         [BZ #2542]
14165         [BZ #2543]
14166         [BZ #2558]
14167         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14168         __lgamma_neg for arguments from -28.0 to -2.0.
14169         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14170         __lgamma_negf for arguments from -15.0 to -2.0.
14171         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14172         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14173         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14174         Call __lgamma_negl for arguments from -33.0 to -2.0.
14175         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14176         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14177         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14178         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14179         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14182         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14184         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14185         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14186         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14187         (__lgamma_neg): Likewise.
14188         (__lgamma_negl): Likewise.
14189         (__lgamma_product): Likewise.
14190         (__lgamma_productl): Likewise.
14191         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14192         * math/auto-libm-test-in: Add more tests of lgamma.
14193         * math/auto-libm-test-out: Regenerated.
14194         * sysdeps/i386/fpu/libm-test-ulps: Update.
14195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14197 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14199         [BZ #18675]
14200         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14202 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14204         [BZ #14912]
14205         * bits/libc-lock.h: Move to ...
14206         * sysdeps/generic/libc-lock.h: ...here.
14207         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14208         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14209         * sysdeps/mach/hurd/libc-lock.h: ...here.
14210         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14211         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14212         * sysdeps/mach/bits/libc-lock.h: Move to ...
14213         * sysdeps/mach/libc-lock.h: ...here.
14214         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14215         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14216         * sysdeps/nptl/libc-lock.h: ...here.
14217         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14218         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14219         * sysdeps/nptl/libc-lockP.h: ...here.
14220         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14221         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14222         <bits/libc-lock.h>.
14223         * dirent/scandir-tail.c: Likewise.
14224         * dlfcn/dlerror.c: Likewise.
14225         * elf/dl-close.c: Likewise.
14226         * elf/dl-iteratephdr.c: Likewise.
14227         * elf/dl-lookup.c: Likewise.
14228         * elf/dl-open.c: Likewise.
14229         * elf/dl-support.c: Likewise.
14230         * elf/dl-writev.h: Likewise.
14231         * elf/rtld.c: Likewise.
14232         * grp/fgetgrent.c: Likewise.
14233         * gshadow/fgetsgent.c: Likewise.
14234         * gshadow/sgetsgent.c: Likewise.
14235         * iconv/gconv_conf.c: Likewise.
14236         * iconv/gconv_db.c: Likewise.
14237         * iconv/gconv_dl.c: Likewise.
14238         * iconv/gconv_int.h: Likewise.
14239         * iconv/gconv_trans.c: Likewise.
14240         * include/link.h: Likewise.
14241         * inet/getnameinfo.c: Likewise.
14242         * inet/getnetgrent.c: Likewise.
14243         * inet/getnetgrent_r.c: Likewise.
14244         * intl/bindtextdom.c: Likewise.
14245         * intl/dcigettext.c: Likewise.
14246         * intl/finddomain.c: Likewise.
14247         * intl/gettextP.h: Likewise.
14248         * intl/loadmsgcat.c: Likewise.
14249         * intl/localealias.c: Likewise.
14250         * intl/textdomain.c: Likewise.
14251         * libidn/idn-stub.c: Likewise.
14252         * libio/libioP.h: Likewise.
14253         * locale/duplocale.c: Likewise.
14254         * locale/freelocale.c: Likewise.
14255         * locale/newlocale.c: Likewise.
14256         * locale/setlocale.c: Likewise.
14257         * login/getutent_r.c: Likewise.
14258         * login/getutid_r.c: Likewise.
14259         * login/getutline_r.c: Likewise.
14260         * login/utmp-private.h: Likewise.
14261         * login/utmpname.c: Likewise.
14262         * malloc/mtrace.c: Likewise.
14263         * misc/efgcvt.c: Likewise.
14264         * misc/error.c: Likewise.
14265         * misc/fstab.c: Likewise.
14266         * misc/getpass.c: Likewise.
14267         * misc/mntent.c: Likewise.
14268         * misc/syslog.c: Likewise.
14269         * nis/nis_call.c: Likewise.
14270         * nis/nis_callback.c: Likewise.
14271         * nis/nss-default.c: Likewise.
14272         * nis/nss_compat/compat-grp.c: Likewise.
14273         * nis/nss_compat/compat-initgroups.c: Likewise.
14274         * nis/nss_compat/compat-pwd.c: Likewise.
14275         * nis/nss_compat/compat-spwd.c: Likewise.
14276         * nis/nss_nis/nis-alias.c: Likewise.
14277         * nis/nss_nis/nis-ethers.c: Likewise.
14278         * nis/nss_nis/nis-grp.c: Likewise.
14279         * nis/nss_nis/nis-hosts.c: Likewise.
14280         * nis/nss_nis/nis-network.c: Likewise.
14281         * nis/nss_nis/nis-proto.c: Likewise.
14282         * nis/nss_nis/nis-pwd.c: Likewise.
14283         * nis/nss_nis/nis-rpc.c: Likewise.
14284         * nis/nss_nis/nis-service.c: Likewise.
14285         * nis/nss_nis/nis-spwd.c: Likewise.
14286         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14287         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14288         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14289         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14290         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14291         * nis/nss_nisplus/nisplus-network.c: Likewise.
14292         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14293         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14294         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14295         * nis/nss_nisplus/nisplus-service.c: Likewise.
14296         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14297         * nis/ypclnt.c: Likewise.
14298         * nptl/libc_pthread_init.c: Likewise.
14299         * nss/getXXbyYY.c: Likewise.
14300         * nss/getXXent.c: Likewise.
14301         * nss/getXXent_r.c: Likewise.
14302         * nss/nss_db/db-XXX.c: Likewise.
14303         * nss/nss_db/db-netgrp.c: Likewise.
14304         * nss/nss_db/nss_db.h: Likewise.
14305         * nss/nss_files/files-XXX.c: Likewise.
14306         * nss/nss_files/files-alias.c: Likewise.
14307         * nss/nsswitch.c: Likewise.
14308         * posix/regex_internal.h: Likewise.
14309         * posix/wordexp.c: Likewise.
14310         * pwd/fgetpwent.c: Likewise.
14311         * resolv/res_hconf.c: Likewise.
14312         * resolv/res_libc.c: Likewise.
14313         * shadow/fgetspent.c: Likewise.
14314         * shadow/lckpwdf.c: Likewise.
14315         * shadow/sgetspent.c: Likewise.
14316         * socket/opensock.c: Likewise.
14317         * stdio-common/reg-modifier.c: Likewise.
14318         * stdio-common/reg-printf.c: Likewise.
14319         * stdio-common/reg-type.c: Likewise.
14320         * stdio-common/vfprintf.c: Likewise.
14321         * stdio-common/vfscanf.c: Likewise.
14322         * stdlib/abort.c: Likewise.
14323         * stdlib/cxa_atexit.c: Likewise.
14324         * stdlib/fmtmsg.c: Likewise.
14325         * stdlib/random.c: Likewise.
14326         * stdlib/setenv.c: Likewise.
14327         * string/strsignal.c: Likewise.
14328         * sunrpc/auth_none.c: Likewise.
14329         * sunrpc/bindrsvprt.c: Likewise.
14330         * sunrpc/create_xid.c: Likewise.
14331         * sunrpc/key_call.c: Likewise.
14332         * sunrpc/rpc_thread.c: Likewise.
14333         * sysdeps/arm/backtrace.c: Likewise.
14334         * sysdeps/generic/ldsodefs.h: Likewise.
14335         * sysdeps/generic/stdio-lock.h: Likewise.
14336         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14337         * sysdeps/i386/backtrace.c: Likewise.
14338         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14339         * sysdeps/m68k/backtrace.c: Likewise.
14340         * sysdeps/mach/hurd/cthreads.c: Likewise.
14341         * sysdeps/mach/hurd/dirstream.h: Likewise.
14342         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14343         * sysdeps/nptl/malloc-machine.h: Likewise.
14344         * sysdeps/nptl/stdio-lock.h: Likewise.
14345         * sysdeps/posix/dirstream.h: Likewise.
14346         * sysdeps/posix/getaddrinfo.c: Likewise.
14347         * sysdeps/posix/system.c: Likewise.
14348         * sysdeps/pthread/aio_suspend.c: Likewise.
14349         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14350         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14351         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14352         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14353         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14354         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14355         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14356         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14357         * sysdeps/unix/sysv/linux/system.c: Likewise.
14358         * sysdeps/x86_64/backtrace.c: Likewise.
14359         * time/alt_digit.c: Likewise.
14360         * time/era.c: Likewise.
14361         * time/tzset.c: Likewise.
14362         * wcsmbs/wcsmbsload.c: Likewise.
14363         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14364         instead of <bits/libc-lock.h> in comment.
14366 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14368         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14369         Only use .set mips2 if the current ISA is below mips2.
14370         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14371         Likewise.
14372         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14373         mips32r2 if the current ISA is below mips32r2.
14374         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14375         (TLS_IE): Updated to use the TLD_RDHWR macro.
14376         (TLS_LE): Likewise.
14377         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14378         __ASSEMBLER__ condition.
14380 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14382         Fix parallel build of before-compile targets.
14384         * sysdeps/mach/Makefile ($(patsubst
14385         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14386         mach-before-compile target.
14387         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14388         io fs process)): Move rule to dedicated hurd-before-compile target.
14390 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14392         Fix rules generating headers in hurd/ and mach/ when initial make call
14393         has subdir= explicitly set.
14395         * sysdeps/mach/Makefile ($(patsubst
14396         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14397         calling $(MAKE).
14398         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14399         io fs process)): Force subdir to hurd when calling $(MAKE).
14400         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14401         subdir to mach when calling $(MAKE).
14403 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14405         Check sysheaders when looking for Mach and Hurd headers
14407         * sysdeps/mach/configure.ac: Add sysheaders check.
14408         * sysdeps/mach/configure: Regenerate.
14409         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14410         * sysdeps/mach/hurd/configure: Regenerate.
14412 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14414         [BZ #18921]
14415         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14416         Fix inverted sense of test of 'o_directory_works' value.
14417         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14418         Bernhard Voelker <mail@bernhard-voelker.de>.
14420 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14422         [BZ #14912]
14423         * bits/linkmap.h: Move to ...
14424         * sysdeps/generic/linkmap.h: ...here.
14425         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14426         * sysdeps/aarch64/linkmap.h: ...here.
14427         * sysdeps/arm/bits/linkmap.h: Move to ...
14428         * sysdeps/arm/linkmap.h: ...here.
14429         * sysdeps/hppa/bits/linkmap.h: Move to ...
14430         * sysdeps/hppa/linkmap.h: ...here.
14431         * sysdeps/ia64/bits/linkmap.h: Move to ...
14432         * sysdeps/ia64/linkmap.h: ...here.
14433         * sysdeps/mips/bits/linkmap.h: Move to ...
14434         * sysdeps/mips/linkmap.h: ...here.
14435         * sysdeps/s390/bits/linkmap.h: Move to ...
14436         * sysdeps/s390/linkmap.h: ...here.
14437         * sysdeps/sh/bits/linkmap.h: Move to ...
14438         * sysdeps/sh/linkmap.h: ...here.
14439         * sysdeps/x86/bits/linkmap.h: Move to ...
14440         * sysdeps/x86/linkmap.h: ...here.
14441         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14443 2015-09-04  Andreas Schwab  <schwab@suse.de>
14445         [BZ #18635]
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14447         (__makecontext): Terminate FDE before return label.
14448         (__novec_makecontext): Likewise.
14450 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14452         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14453         first member of struct sv in syscall macro.
14455 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14457         [BZ #14912]
14458         * bits/stdio-lock.h: Move to ...
14459         * sysdeps/generic/stdio-lock.h: ...here.
14460         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14461         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14462         * sysdeps/nptl/stdio-lock.h: ...here.
14463         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14464         * include/libio.h: Include <stdio-lock.h> instead of
14465         <bits/stdio-lock.h>.
14466         * sysdeps/nptl/fork.c: Likewise.
14467         * sysdeps/pthread/flockfile.c: Likewise.
14468         * sysdeps/pthread/ftrylockfile.c: Likewise.
14469         * sysdeps/pthread/funlockfile.c: Likewise.
14471         [BZ #14912]
14472         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14473         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14474         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14475         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14476         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14477         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14478         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14480 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14482         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14483         (test-xfail-tst-protected1b): New variable.
14485 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14487         [BZ #14912]
14488         * bits/libc-tsd.h: Move to ...
14489         * sysdeps/generic/libc-tsd.h: ...here.
14490         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14491         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14492         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14493         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14494         * include/ctype.h: Include <libc-tsd.h> instead of
14495         <bits/libc-tsd.h>.
14496         * include/rpc/rpc.h: Likewise.
14497         * locale/localeinfo.h: Likewise.
14498         * sunrpc/rpc_thread.c: Likewise.
14499         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14500         * sysdeps/nptl/malloc-machine.h: Likewise.
14502         * Makefile (headers): Remove bits/libc-lock.h.
14503         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14505         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14506         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14507         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14508         <bits/stdio-lock.h>.
14509         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14510         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14512 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14514         [BZ #18757]
14515         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14516         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14517         BZ #18757.
14519 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14521         * malloc/mtrace.pl: Filter out NULL entries.
14523 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14525         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14526         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14527         macro.
14529         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14530         (TCP_CC_INFO): Likewise.
14531         (TCP_SAVE_SYN): Likewise.
14532         (TCP_SAVED_SYN): Likewise.
14534 2015-08-31  Brett Neumeier <brett@neumeier.us>
14536         [BZ #18870]
14537         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14539 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14541         [BZ #18873]
14542         Fix broken overflow check in posix_fallocate
14543         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14544         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14545         Fix parenthesization typo.
14547 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14549         [BZ #18887]
14550         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14551         tst-mntent-blank-passno.
14552         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14553         * misc/tst-mntent-blank-corrupt.c: New test.
14554         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14555         * misc/tst-mntent.c (do_test): ... here.
14557 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14559         [BZ #4404]
14560         * po/de.po: Fix SIGALRM typo.
14562 2015-08-28  James Perkins  <james@loowit.net>
14564         * time/tst-strptime2.c (tests): Replace short list of test
14565         strings for strptime %z specifier with code which exhaustively
14566         tests every combination of sign and 0 to 5 digits. Tests for
14567         rejection of invalid strings.
14569 2015-08-28  James Perkins  <james@loowit.net>
14571         [BZ #16141]
14572         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14573         calculation, removing incorrect decimal time rounding, so that
14574         all minute values result in a valid seconds value.
14575         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14576         offset range limits to UTC-99:59 through UTC+99:59 to parse
14577         current and historical use cases.
14578         * time/tst-strptime2.c (tests): Modify and add tests for the
14579         strptime %z input field descriptor, specifically conversion of
14580         minutes to seconds and validating an offset range of -9959 to
14581         +9959.
14583 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14584             Dmitry V. Levin  <ldv@altlinux.org>
14586         [BZ #18877]
14587         * posix/Makefile (tests): Add tst-mmap-offset.
14588         * posix/tst-mmap.c: New file.
14589         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14590         offset calculation for negative values.
14592 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14594         * sysdeps/i386/init-arch.h: New file.
14595         * sysdeps/i386/i586/init-arch.h: Likewise.
14596         * sysdeps/i386/i686/init-arch.h: Likewise.
14597         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14598         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14599         * sysdeps/x86/cpu-features.h (bit_I586): New.
14600         (bit_I686): Likewise.
14601         (bit_CX8): Likewise.
14602         (bit_CMOV): Likewise.
14603         (index_CX8): Likewise.
14604         (index_CMOV): Likewise.
14605         (index_I586): Likewise.
14606         (index_I686): Likewise.
14607         (reg_CX8): Likewise.
14608         (reg_CMOV): Likewise.
14609         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14610         available at compile-time.
14611         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14612         available at compile-time.
14613         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14614         (USE_I686): Likewise.
14616 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14618         * sysdeps/i386/bcopy.S: New file.
14619         * sysdeps/i386/bzero.S: Likewise.
14620         * sysdeps/i386/memcpy.S: Likewise.
14621         * sysdeps/i386/memmove.S: Likewise.
14622         * sysdeps/i386/mempcpy.S: Likewise.
14623         * sysdeps/i386/memset.S: Likewise.
14624         * sysdeps/i386/bzero.c: Removed.
14625         * sysdeps/i386/memset.c: Likewise.
14626         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14627         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14628         * sysdeps/i386/i586/memset_chk.S: Likewise.
14629         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14630         * sysdeps/i386/memcpy_chk.S: Here.
14631         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14632         * sysdeps/i386/memmove_chk.S: Here.
14633         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14634         * sysdeps/i386/mempcpy_chk.S: Likewise.
14635         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14636         * sysdeps/i386/memset_chk.S: Likewise.
14638 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14640         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14641         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14642         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14643         * soft-fp/fmadf4.c: Ditto.
14644         * soft-fp/fmatf4.c: Ditto.
14646 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14648         * sysdeps/i386/i586/Implies: Removed.
14649         * sysdeps/i386/i686/Implies: Likewise.
14651 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14653         * sysdeps/i386/i486/strlen.S: Moved to ...
14654         * sysdeps/i386/strlen.S: Here.
14656 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14658         * sysdeps/i386/i486/strcat.S: Moved to ...
14659         * sysdeps/i386/strcat.S: Here.
14661 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14663         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14664         * sysdeps/i386/pthread_spin_trylock.S: Here.
14665         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14666         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14670         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14671         * sysdeps/i386/string-inlines.c: Here.
14673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14675         * sysdeps/i386/i486/htonl.S: Moved ...
14676         * sysdeps/i386/htonl.S: here.
14678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14680         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14681         * sysdeps/i386/bits/atomic.h: Here.
14683 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14685         * sysdeps/i386/i486/Versions: Removed.
14687 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14689         [BZ #2898]
14690         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14691         Based on patch by Aurelien Jarno.
14693 2015-08-26  Stan Shebs  <stanshebs@google.com>
14695         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14696         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14698 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14700         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14701         * sysdeps/powerpc/dl-procinfo.c:
14702         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14703         feature so it shows when LD_SHOW_AUXV=1.
14705 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14707         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14708         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14709         definition.  ISA 2.07B no longer requires full sync.
14711 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14713         [BZ #18863]
14714         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14715         (si_call_addr): Define.
14716         (si_syscall): Define.
14717         (si_arch): Define.
14719 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14721         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14722         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14723         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14724         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14725         (__memset_zero_constant_len_parameter): New.
14726         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14727         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14728         (__memset_zero_constant_len_parameter): Don't define if
14729         __memset_chk or USE_AS_BZERO are defined.
14731         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14732         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14733         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14735         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14736         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14737         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14738         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14739         comments.
14740         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14741         -mno-mmx for $(all-rtld-routines).
14742         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14743         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14744         i386.
14746 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14748         * sysdeps/generic/unwind.h
14749         (_Unwind_Word): Use __mode__(__unwind_word__)
14750         instead of __mode__(__word__).
14751         (_Unwind_Sword): Likewise.
14753         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14754         (MAX_NEEDED_INPUT): New define.
14755         (MAX_NEEDED_OUTPUT): New define.
14757         * NEWS: New item for IBM z13 string optimizations.
14759         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14760         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14761         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14762         * sysdeps/s390/multiarch/Makefile
14763         (sysdep_routines): Add memrchr functions.
14764         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14765         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14767         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14768         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14769         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14770         * sysdeps/s390/multiarch/Makefile
14771         (sysdep_routines): Add wmemcmp functions.
14772         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14773         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14774         * benchtests/bench-wmemcmp.c: New File.
14775         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14777         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14778         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14779         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14780         * sysdeps/s390/multiarch/Makefile
14781         (sysdep_routines): Add wmemset functions.
14782         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14783         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14784         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14785         * string/test-memset.c: Add wmemset support.
14786         * wcsmbs/test-wmemset.c: New File.
14787         * wcsmbs/Makefile (strop-tests): Add wmemset.
14788         * benchtests/bench-memset.c: Add wmemset support.
14789         * benchtests/bench-wmemset.c: New File.
14790         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14792         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14793         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14794         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14795         * sysdeps/s390/multiarch/Makefile
14796         (sysdep_routines): Add memccpy functions.
14797         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14798         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14799         * string/memccpy.c: Use MEMCCPY if defined.
14801         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14802         * sysdeps/s390/multiarch/memchr.c: Likewise.
14803         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14804         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14805         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14806         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14807         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14808         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14809         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14810         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14811         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14812         and rawmemchr functions.
14813         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14814         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14815         and wmemchr.
14816         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14817         * string/test-memchr.c: Add wmemchr support.
14818         * wcsmbs/test-wmemchr.c: New File.
14819         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14820         * benchtests/bench-memchr.c: Add wmemchr support.
14821         * benchtests/bench-wmemchr.c: New File.
14822         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14824         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14825         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14826         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14827         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14828         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14829         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14831         wcscspn functions.
14832         * sysdeps/s390/multiarch/ifunc-impl-list.c
14833         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14834         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14835         * string/test-strcspn.c: Add wcscspn support.
14836         * wcsmbs/test-wcscspn.c: New File.
14837         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14838         * benchtests/bench-strcspn.c: Add wcscspn support.
14839         * benchtests/bench-wcscspn.c: New File.
14840         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14842         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14843         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14844         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14845         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14846         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14847         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14848         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14849         wcspbrk functions.
14850         * sysdeps/s390/multiarch/ifunc-impl-list.c
14851         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14852         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14853         * string/test-strpbrk.c: Add wcspbrk support.
14854         * wcsmbs/test-wcspbrk.c: New File.
14855         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14856         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14857         * benchtests/bench-wcspbrk.c: New File.
14858         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14860         * sysdeps/s390/multiarch/strspn-c.c: New File.
14861         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14862         * sysdeps/s390/multiarch/strspn.c: Likewise.
14863         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14864         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14865         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14866         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14867         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14868         wcsspn functions.
14869         * sysdeps/s390/multiarch/ifunc-impl-list.c
14870         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14871         * string/test-strspn.c: Add wcsspn support.
14872         * wcsmbs/test-wcsspn.c: New File.
14873         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14874         * benchtests/bench-strspn.c: Add wcsspn support.
14875         * benchtests/bench-wcsspn.c: New File.
14876         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14878         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14879         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14880         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14881         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14882         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14883         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14885         wcsrchr functions.
14886         * sysdeps/s390/multiarch/ifunc-impl-list.c
14887         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14888         * benchtests/bench-wcsrchr.c: New File.
14889         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14891         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14892         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14893         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14894         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14895         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14896         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14898         wcschrnul functions.
14899         * sysdeps/s390/multiarch/ifunc-impl-list.c
14900         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14901         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14902         * string/test-strchr.c: Add wcschrnul support.
14903         * wcsmbs/test-wcschrnul.c: New File.
14904         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14905         * benchtests/bench-strchr.c: Add wcschrnul support.
14906         * benchtests/bench-wcschrnul.c: New File.
14907         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14909         * sysdeps/s390/multiarch/strchr-c.c: New File.
14910         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14911         * sysdeps/s390/multiarch/strchr.c: Likewise.
14912         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14913         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14914         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14916         wcschr functions.
14917         * sysdeps/s390/multiarch/ifunc-impl-list.c
14918         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14919         * string/strchr.c (STRCHR): Define and use macro.
14920         * benchtests/bench-wcschr.c: New File.
14921         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14923         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14924         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14925         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14926         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14927         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14928         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14930         wcsncmp functions.
14931         * sysdeps/s390/multiarch/ifunc-impl-list.c
14932         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14933         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14934         * benchtests/bench-strncmp.c: Add wcsncmp support.
14935         * benchtests/bench-wcsncmp.c: New File.
14936         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14938         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14939         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14940         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14941         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14942         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14943         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14944         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14946         wcscmp functions.
14947         * sysdeps/s390/multiarch/ifunc-impl-list.c
14948         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14949         * string/strcmp.c (STRCMP): Define and use macro.
14950         * benchtests/bench-wcscmp.c: New File.
14951         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14952         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14953         instead of _HAVE_STRING_ARCH_memchr.
14955         * sysdeps/s390/multiarch/strncat-c.c: New File.
14956         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14957         * sysdeps/s390/multiarch/strncat.c: Likewise.
14958         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14959         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14960         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14962         wcsncat functions.
14963         * sysdeps/s390/multiarch/ifunc-impl-list.c
14964         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14965         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14966         * string/test-strncat.c: Add wcsncat support.
14967         * wcsmbs/test-wcsncat.c: New File.
14968         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14969         * benchtests/bench-strncat.c: Add wcsncat support.
14970         * benchtests/bench-wcsncat.c: New File.
14971         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14973         * sysdeps/s390/multiarch/strcat-c.c: New File.
14974         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14975         * sysdeps/s390/multiarch/strcat.c: Likewise.
14976         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14977         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14978         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14979         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14980         wcscat functions.
14981         * sysdeps/s390/multiarch/ifunc-impl-list.c
14982         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14983         * string/strcat.c (STRCAT): Define and use macro.
14984         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14985         * string/test-strcat.c: Add wcscat support.
14986         * wcsmbs/test-wcscat.c: New File.
14987         * wcsmbs/Makefile (strop-tests): Add wcscat.
14988         * benchtests/bench-strcat.c: Add wcscat support.
14989         * benchtests/bench-wcscat.c: New File.
14990         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14992         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14993         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14994         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14995         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14996         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14997         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14999         wcpncpy functions.
15000         * sysdeps/s390/multiarch/ifunc-impl-list.c
15001         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15002         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15003         * string/test-stpncpy.c: Add wcpncpy support.
15004         * wcsmbs/test-wcpncpy.c: New File.
15005         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15006         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15007         * benchtests/bench-wcpncpy.c: New File.
15008         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15010         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15011         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15012         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15013         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15014         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15015         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15016         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15018         wcsncpy functions.
15019         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15020         * sysdeps/s390/multiarch/ifunc-impl-list.c
15021         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15022         * string/test-strncpy.c: Add wcsncpy support.
15023         * wcsmbs/test-wcsncpy.c: New File.
15024         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15025         * benchtests/bench-strncpy.c: Add wcsncpy support.
15026         * benchtests/bench-wcsncpy.c: New File.
15027         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15029         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15030         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15031         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15032         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15033         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15034         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15036         wcpcpy functions.
15037         * string/stpcpy.c: Use STPCPY if defined.
15038         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15039         * sysdeps/s390/multiarch/ifunc-impl-list.c
15040         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15041         * string/test-stpcpy.c: Add wcpcpy support.
15042         * wcsmbs/test-wcpcpy.c: New File.
15043         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15044         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15045         * benchtests/bench-wcpcpy.c: New File.
15046         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15048         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15049         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15050         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15051         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15052         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15053         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15054         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15056         wcscpy functions.
15057         * sysdeps/s390/multiarch/ifunc-impl-list.c
15058         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15059         * benchtests/bench-wcscpy.c: New File.
15060         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15062         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15063         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15064         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15065         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15066         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15067         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15069         wcsnlen functions.
15070         * sysdeps/s390/multiarch/ifunc-impl-list.c
15071         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15072         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15073         * string/test-strnlen.c: Add wcsnlen support.
15074         * wcsmbs/test-wcsnlen.c: New File.
15075         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15076         * benchtests/bench-strnlen.c: Add wcsnlen support.
15077         * benchtests/bench-wcsnlen.c: New File.
15078         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15080         * sysdeps/s390/multiarch/Makefile: New File.
15081         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15082         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15083         * sysdeps/s390/multiarch/strlen.c: Likewise.
15084         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15085         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15086         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15087         * string/strlen.c (STRLEN): Define and use macro.
15088         * sysdeps/s390/multiarch/ifunc-impl-list.c
15089         (IFUNC_VX_IMPL): New macro function.
15090         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15091         * benchtests/Makefile (wcsmbs-bench): New variable.
15092         (string-bench-all): Added wcsmbs-bench.
15093         * benchtests/bench-wcslen.c: New File.
15095         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15096         s390_vx_libc_ifunc2): New macro function.
15098         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15099         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15100         assembler support.
15101         * sysdeps/s390/configure: Regenerated.
15103         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15104         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15106         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15107         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15108         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15110         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15111         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15112         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15113         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15114         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15115         (memcmp, bcmp): Use __memcmp_default as alias source.
15116         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15117         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15118         Rename to __memcmp_default.
15119         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15120         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15121         (memcpy): Use __memcpy_default as alias source.
15122         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15123         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15124         Rename to __memcpy_default.
15125         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15126         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15127         (memset): Use __memset_default as alias source.
15128         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15129         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15130         Rename to __memset_default.
15131         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15132         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15133         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15134         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15135         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15136         (memcmp, bcmp): Use __memcmp_default as alias source.
15137         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15138         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15139         Rename to __memcmp_default.
15140         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15141         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15142         (memcpy): Use __memcpy_default as alias source.
15143         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15144         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15145         Rename to __memcpy_default.
15146         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15147         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15148         (memset): Use __memset_default as alias source.
15149         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15150         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15151         Rename to __memset_default.
15152         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15153         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15155         [BZ #18610]
15156         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15157         __ieee_instruction_pointer to __unused.
15158         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15159         __ieee_instruction_pointer.
15160         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15161         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15162         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15163         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15164         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15165         Mark dxc-field as reserved.
15167 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15169         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15170         if the weak reference is not null.
15172 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15174         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15176         [BZ #11214]
15177         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15179 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15181         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15182         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15183         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15184         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15185         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15186         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15187         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15188         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15189         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15190         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15191         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15192         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15193         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15194         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15195         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15196         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15197         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15198         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15200 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15202         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15203         register other than r0 for tabort, it has special meaning.
15204         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15205         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15206         transaction before starting syscall.
15208 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15210         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15212 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15214         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15216         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15217         * sysdeps/x86_64/rtld-memset.S: Likewise.
15218         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15219         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15220         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15221         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15223         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15225 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15227         * debug/strcpy_chk.c: Improve performance.
15228         * debug/stpcpy_chk.c: Likewise.
15229         * sysdeps/x86_64/strcpy_chk.S: Remove.
15230         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15232         [BZ #18240]
15233         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15235 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15237         [BZ #15128]
15238         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15239         ifuncmain8.
15240         (modules-names): Add ifuncmod8.
15241         ($(objpfx)ifuncmain8): New rule.
15242         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15243         <cpuid.h>.
15244         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15245         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15246         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15247         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15248         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15249         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15250         * sysdeps/x86_64/ifuncmain8.c: New file.
15251         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15252         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15253         Removed.
15254         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15255         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15256         Change rtld_savespace_sse to __glibc_unused2.
15257         (RTLD_CHECK_FOREIGN_CALL): Removed.
15258         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15259         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15260         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15262 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15264         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15266 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15268         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15269         Unconditionally set __fpcr to avoid uninialized warning.
15270         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15272 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15274         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15275         is corrupt.
15277         * malloc/arena.c (arena_get2): Drop unused argument.
15278         (arena_lock): Adjust.
15279         (arena_get_retry): Likewise.
15281 2015-08-24  Andreas Schwab  <schwab@suse.de>
15283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15284         Don't define.
15285         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15286         (__ASSUME_IPC64): Don't undef.
15287         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15288         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15289         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15290         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15291         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15292         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15293         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15294         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15295         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15296         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15297         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15298         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15299         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15300         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15301         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15302         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15303         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15304         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15305         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15306         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15307         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15309 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15311         * manual/Makefile (install): Only build manual when perl is available.
15313 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15315         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15316         '#undef memcpy' by '#undef memchr'.
15318 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15320         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15321         memchr not point to the internal __GI_memchr implementation.
15323 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15325         * timezone/Makefile (CFLAGS-zdump.c): Remove
15326         -Wno-strict-prototypes.
15327         (CFLAGS-zic.c): Likewise.
15328         (CFLAGS-ialloc.c): Likewise.
15329         (CFLAGS-scheck.c): Likewise.
15331         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15332         -Wno-error=undef.
15334 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15336         * i386/i686/multiarch/strcasestr-c.c: Removed.
15337         * x86_64/multiarch/strcasestr.c: Likewise.
15338         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15339         Remove strcasestr.
15341 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15343         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15345         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15346         variables for high and low parts before possibly modifying them.
15348 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15350         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15351         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15352         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15353         of "multiarch/init-arch.h".
15354         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15355         * sysdeps/x86/init-arch.h: This.
15357 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15359         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15360         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15362 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15364         [BZ #17787]
15365         * manual/macros.texi: Add twoexp macro.
15366         * manual/filesys.texi: Fix exponents.
15367         * manual/llio.texi: Likewise.
15368         * manual/stdio.texi: Likewise.
15370 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15372         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15373         incorrect use.
15375 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15377         [BZ #18370]
15378         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15379         whose real or imaginary part has small absolute value.
15380         * math/s_csqrtf.c (__csqrtf): Likewise.
15381         * math/s_csqrtl.c (__csqrtl): Likewise.
15382         * math/auto-libm-test-in: Add more tests of csqrt.
15383         * math/auto-libm-test-out: Regenerated.
15384         * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15388         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15389         __ppc_set_ppr_very_low): New functions.
15390         * manual/platform.texi: Add documentation about
15391         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15393 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15395         * string/stpncpy.c (stpncpy): Improve performance using
15396         __strnlen/memcpy/memset.
15398 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15400         [BZ #18796]
15401         * scripts/test-installation.pl: Don't add -lmvec to build options if
15402         libmvec wasn't built.
15404 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15406         [BZ #14341]
15407         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15408         case when there is a gap between DT_REL and DT_JMPREL sections.
15409         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15410         (LDFLAGS-tst-split-dynreloc): New.
15411         (tst-split-dynreloc-ENV): Likewise.
15412         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15413         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15415 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15417         [BZ #18822]
15418         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15419         attribute_hidden.
15420         (__xstat64_conv): Likewise.
15421         (__xstat32_conv): Likewise.
15423 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15425         [BZ #18822]
15426         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15427         Don't load %ebx when calling __setcontext.  Call __setcontext
15428         with HIDDEN_JUMPTARGET.
15429         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15430         libc_hidden_def.
15432 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15434         * sysdeps/i386/i686/Makefile
15435         [$(subdir) == string] (sysdep_routines): Moved to ...
15436         * sysdeps/i386/Makefile: Here.
15437         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15438         * sysdeps/i386/cacheinfo.c: Here.
15439         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15440         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15441         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15442         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15444 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15446         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15447         __i586__ is defined.
15448         (HAS_I686): Defined to 1 if __i686__ is defined.
15450 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15452         * elf/Makefile [$(have-z-execstack) = yes]
15453         (CPPFLAGS-tst-execstack.c): New variable.
15455         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15456         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15457         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15458         UTMPX || _HAVE_UT_TV].
15459         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15460         UTMPX || _HAVE_UT_TV - 0].
15462 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15464         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15465         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15466         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15468 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15470         * sysdeps/powerpc/dl-procinfo.c:
15471         (_dl_powerpc_cap_flags): Added missing strings for some
15472         hwcap features.
15473         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15475 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15477         Port the 0x7efe...feff pattern to GCC 6.
15478         See Steve Ellcey's bug report in:
15479         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15480         * string/memrchr.c (MEMRCHR):
15481         * string/rawmemchr.c (RAWMEMCHR):
15482         * string/strchr.c (strchr):
15483         * string/strchrnul.c (STRCHRNUL):
15484         Rewrite code to avoid issues with signed shift overflow.
15486 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15488         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15489         whether cpuid is available only if HAS_CPUID is 0.
15490         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15491         (HAS_I586): Likewise.
15492         (HAS_I686): Likewise.
15494 2015-08-18  Zack Weinberg  <zackw@panix.com>
15496         * misc/Versions (libc): Add GLIBC_2.23.
15498 2015-08-18  Alan Modra  <amodra@gmail.com>
15500         [BZ #18421]
15501         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15502         .Lp__global.
15503         (_start): Load %dp via .Lp__global.
15504         [!SHARED]: Use .section .rodata.
15506 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15508         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15509         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15511 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15513         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15514         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15516 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15518         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15519         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15521 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15523         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15524         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15526 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15528         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15529         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15531 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15533         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15534         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15536 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15538         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15540 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15542         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15543         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15544         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15545         (__ASSUME_LWS_CAS): Delete.
15547 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15549         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15550         * sysdeps/hppa/configure: Regenerated.
15551         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15552         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15553         * sysdeps/hppa/nptl/tls.h: Likewise.
15555 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15557         [BZ #18823]
15558         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15559         for scaling up small arguments.
15560         * math/s_csqrtf.c (__csqrtf): Likewise.
15561         * math/s_csqrtl.c (__csqrtl): Likewise.
15562         * math/auto-libm-test-in: Add more tests of csqrt.
15563         * math/auto-libm-test-out: Regenerated.
15565 2015-08-17  Andreas Schwab  <schwab@suse.de>
15567         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15568         version set GLIBC_2.19.
15570 2015-08-16  Zack Weinberg  <zackw@panix.com>
15572         [BZ #18681]
15573         * misc/regexp.h: This interface is no longer supported.
15574         Remove all contents, leaving only an #error directive.
15575         * misc/regexp.c (loc1, loc2, locs, step, advance):
15576         Demote to compatibility symbols.
15578 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15580         [BZ #18084]
15581         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15582         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15583         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15584         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15585         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15586         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15587         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15588         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15589         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15591 2015-08-15  Zack Weinberg  <zackw@panix.com>
15593         [BZ #18795]
15594         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15595         buffer length is known to be too large, not if it's known to be
15596         small enough.
15597         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15598         overflow at runtime, involving a length parameter, twice: once
15599         with a compile-time constant length parameter, once without.
15601 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15603         [BZ #18824]
15604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15605         scaling x * y up instead of down.
15606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15608         * math/auto-libm-test-in: Add more tests of fma.
15609         * math/auto-libm-test-out: Regenerated.
15611 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15613         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15615 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15617         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15618         unnecessary movq.
15619         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15620         Likewise.
15622 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15624         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15625         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15626         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15627         and tgamma.
15628         * math/auto-libm-test-out: Regenerated.
15629         * sysdeps/i386/fpu/libm-test-ulps: Update.
15630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15632         [BZ #16520]
15633         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15634         (__tanh): Force underflow exception for arguments with small
15635         absolute value.
15636         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15637         (__tanhf): Force underflow exception for arguments with small
15638         absolute value.
15639         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15640         (__tanhl): Force underflow exception for arguments with small
15641         absolute value.
15642         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15643         (__tanhl): Force underflow exception for arguments with small
15644         absolute value.
15645         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15646         (__tanhl): Force underflow exception for arguments with small
15647         absolute value.
15648         * math/auto-libm-test-in: Add more tests of tanh.
15649         * math/auto-libm-test-out: Regenerated.
15650         * sysdeps/i386/fpu/libm-test-ulps: Update.
15652 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15654         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15655         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15657 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15659         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15660         <cpuid.h>.
15662 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15664         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15665         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15667 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15669         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15670         Remove $(objpfx)init-arch.o.
15671         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15672         init-arch.
15673         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15674         (INIT_ARCH_EXT): Defined as empty.
15675         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15677         __init_cpu_features call.  Replace HAS_XXX with
15678         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15679         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15681         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15682         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15683         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15684         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15685         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15686         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15689         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15690         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15691         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15692         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15694         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15695         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15697         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15699         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15700         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15701         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15702         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15703         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15705         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15706         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15707         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15708         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15709         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15710         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15713         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15715 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15717         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15718         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15719         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15720         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15721         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15722         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15723         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15724         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15725         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15726         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15727         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15728         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15729         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15730         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15731         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15732         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15733         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15734         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15735         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15736         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15737         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15738         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15739         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15740         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15741         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15742         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15743         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15744         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15745         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15746         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15747         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15748         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15749         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15750         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15751         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15752         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15753         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15754         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15755         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15756         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15757         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15758         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15759         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15761 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15763         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15764         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15765         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15766         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15767         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15768         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15769         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15770         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15771         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15773         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15774         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15775         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15776         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15777         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15778         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15779         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15780         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15781         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15782         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15784         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15785         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15786         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15787         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15788         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15789         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15790         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15791         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15792         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15793         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15794         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15795         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15796         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15797         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15798         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15799         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15800         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15801         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15802         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15803         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15804         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15805         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15807 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15809         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15810         (dl_platform_init): Call init_cpu_features.
15811         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15812         * sysdeps/i386/i686/cacheinfo.c
15813         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15814         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15815         * sysdeps/i386/i686/multiarch/Versions: Removed.
15816         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15817         Removed.
15818         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15819         * sysdeps/unix/sysv/linux/x86/Makefile
15820         (libpthread-sysdep_routines): Remove init-arch.
15821         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15822         <sysdeps/x86_64/dl-procinfo.c> instead of
15823         sysdeps/generic/dl-procinfo.c>.
15824         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15825         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15826         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15827         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15828         [$(subdir) == elf] (tests-static): Add
15829         tst-get-cpu-features-static.
15830         * sysdeps/x86/Versions: New file.
15831         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15832         * sysdeps/x86/cpu-features.c: Likewise.
15833         * sysdeps/x86/cpu-features.h: Likewise.
15834         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15835         * sysdeps/x86/libc-start.c: Likewise.
15836         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15837         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15838         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15839         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15840         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15841         Assume USE_MULTIARCH is defined and don't check it.
15842         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15843         (is_amd): Likewise.
15844         (max_cpuid): Likewise.
15845         (intel_check_word): Likewise.
15846         (__cache_sysconf): Don't call __init_cpu_features.
15847         (__x86_preferred_memory_instruction): Removed.
15848         (init_cacheinfo): Don't call __init_cpu_features. Replace
15849         __cpu_features with GLRO(dl_x86_cpu_features).
15850         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15851         (dl_platform_init): Call init_cpu_features.
15852         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15853         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15854         * sysdeps/x86_64/multiarch/Versions: Removed.
15855         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15856         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15857         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15858         Removed.
15859         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15861 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15863         [BZ #18820]
15864         * libio/Makefile (test-fmemopen-mem): New test.
15865         * libio/test-fmemopen.c (do_bz18820): New test.
15866         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15867         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15869 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15871         [BZ #16734]
15872         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15873         (FREE_BUF): Delete.
15874         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15875         * libio/genops.c (_IO_setb): Use malloc and free directly.
15876         (_IO_default_doallocate, _IO_default_finish): Likewise.
15877         ( _IO_unbuffer_all): Likewise.
15878         ( libc_freeres_fn): Likewise.
15879         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15880         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15881         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15882         (_IO_wdefault_doallocate): Likewise.
15884 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15886         [BZ #18086]
15887         * sysdeps/posix/nice.c (nice): Restore old errno.
15888         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15890 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15894 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15896         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15897         __bcopy and add a weak_alias to bcopy.
15898         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15899         for static build.
15901         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15902         cleanup macro usage.
15903         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15906         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15907         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15908         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15909         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15910         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15911         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15912         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15913         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15914         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15915         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15916         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15919         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15920         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15921         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15923         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15924         libc_hidden_def.
15925         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15927         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15928         (sysdep_routines): Add strstr-ppc64.
15929         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15931 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15933         [BZ #18778]
15934         * elf/Makefile (tests): Add Add tst-nodelete2.
15935         (modules-names): Add tst-nodelete2mod.
15936         (tst-nodelete2mod.so-no-z-defs): New.
15937         ($(objpfx)tst-nodelete2): Likewise.
15938         ($(objpfx)tst-nodelete2.out): Likewise.
15939         (LDFLAGS-tst-nodelete2): Likewise.
15940         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15941         out of loop through all loaded libraries.
15942         * elf/tst-nodelete2.c: New file.
15943         * elf/tst-nodelete2mod.c: Likewise.
15944         * elf/tst-znodelete-zlib.cc: Delete.
15946 2015-08-11  Andreas Schwab  <schwab@suse.de>
15948         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15949         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15950         (__openat64_nocancel): Likewise.
15952 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15954         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15955         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15956         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15957         * math/auto-libm-test-out: Regenerated.
15958         * sysdeps/i386/fpu/libm-test-ulps: Update.
15959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15961 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15963         [BZ #18790]
15964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15965         threshold for returning +/- 1.
15966         * math/auto-libm-test-in: Add more tests of tanh.
15967         * math/auto-libm-test-out: Regenerated.
15968         * sysdeps/i386/fpu/libm-test-ulps: Update.
15970 2015-08-10  Andreas Schwab  <schwab@suse.de>
15972         [BZ #18781]
15973         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15974         MORE_OFLAGS to oflag.
15975         * io/test-lfs.c (do_test): Test openat64.
15977 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15979         [BZ #18789]
15980         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15981         smaller threshold for returning the argument.
15982         * math/auto-libm-test-in: Add more tests of sinh.
15983         * math/auto-libm-test-out: Regenerated.
15984         * sysdeps/i386/fpu/libm-test-ulps: Update.
15986 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15988         [BZ #18674]
15989         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15990         break.
15992 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15994         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15995         (generated): Don't add $(addprefix z.,$(tzfiles)).
15997 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15999         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16000         * scripts/sysd-rules.awk: Likewise.
16002 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16004         * iconvdata/tst-tables.sh: Change echo -n to printf.
16005         * nss/db-Makefile: Likewise.
16006         * posix/tst-getconf.sh: Likewise.
16007         * stdio-common/tst-unbputc.sh: Likewise.
16009 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16011         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16012         MADV_*_PAGES defines behind this feature check.
16014 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16016         [BZ #18480]
16017         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16018         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16019         Define.
16020         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16021         LOAD_REGS_5, LOAD_REGS_6): Update.
16022         (INTERNAL_SYSCALL): Update using new LOAD defines.
16023         (INTERNAL_SYSCALL_NCS): Likewise.
16024         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16026 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16028         [BZ #16734]
16029         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16031 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16033         [BZ #17905]
16034         * catgets/Makefile (tst-catgets-mem): New test.
16035         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16036         * catgets/open_catalog.c (__open_catalog): Likewise.
16037         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16039 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16041         [BZ #18787]
16042         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16043         clobber registers.
16044         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16045         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16046         Cast return to __typeof (oldval).
16048 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16050         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16051         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16052         and delete sys/syscall.h include.
16054 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16056         [BZ #16517]
16057         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16058         (tan): Force underflow exception for arguments with small absolute
16059         value.
16060         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16061         (__kernel_tanf): Force underflow exception for arguments with
16062         small absolute value.
16063         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16064         (__kernel_tanl): Force underflow exception for arguments with
16065         small absolute value.
16066         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16067         (__kernel_tanl): Force underflow exception for arguments with
16068         small absolute value.
16069         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16070         (__kernel_tanl): Force underflow exception for arguments with
16071         small absolute value.
16072         * math/auto-libm-test-in: Add more tests of tan.
16073         * math/auto-libm-test-out: Regenerated.
16075 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16077         Fix sysdeps/i386/fpu/s_scalbn.S build
16079         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16081 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16083         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16085 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16087         Fix gcrt0.o compilation
16089         When static-start-installed-name is different from
16090         start-installed-name, we must not use the shared objects.
16092         * csu/Makefile
16093         (extra-objs): Add gmon-start.o when building shared library and
16094         $(static-start-installed-name) is different from
16095         $(start-installed-name).
16096         $(objpfx)g$(static-start-installed-name): When building shared
16097         library and $(static-start-installed-name) is different from
16098         $(static-start-installed-name), revert to non-shared rule,
16099         i.e. using $(objpfx)% and gmon-start.o.
16101 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16103         [BZ #16519]
16104         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16105         (__ieee754_sinh): Force underflow exception for arguments with
16106         small absolute value.
16107         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16108         (__ieee754_sinhf): Force underflow exception for arguments with
16109         small absolute value.
16110         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16111         (__ieee754_sinhl): Force underflow exception for arguments with
16112         small absolute value.
16113         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16114         (__ieee754_sinhl): Force underflow exception for arguments with
16115         small absolute value.
16116         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16117         (__ieee754_sinhl): Force underflow exception for arguments with
16118         small absolute value.
16119         * math/auto-libm-test-in: Add more tests of sinh.
16120         * math/auto-libm-test-out: Regenerated.
16121         * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16125         * libio/oldfileops.c: Include unistd.h.
16127 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16129         * stdlib/isomac.c: Include ctype.h.
16131 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16133         * dirent/tst-seekdir.c (main): Converted to ...
16134         (do_test): ... this.
16135         (TEST_FUNCTION): New macro.
16136         Include test-skeleton.c.
16137         * elf/tst-dlmodcount.c (main): Converted to ...
16138         (do_test): ... this.
16139         (TEST_FUNCTION): New macro.
16140         Include test-skeleton.c.
16141         * elf/tst-order-main.c (main): Converted to ...
16142         (do_test): ... this.
16143         (TEST_FUNCTION): New macro.
16144         Include test-skeleton.c.
16145         * elf/tst-pie2.c (main): Converted to ...
16146         (do_test): ... this.
16147         (TEST_FUNCTION): New macro.
16148         Include test-skeleton.c.
16149         * inet/tst-ether_aton.c (main): Converted to ...
16150         (do_test): ... this.
16151         (TEST_FUNCTION): New macro.
16152         Include test-skeleton.c.
16153         * misc/tst-mntent.c (main): Converted to ...
16154         (do_test): ... this.
16155         (TEST_FUNCTION): New macro.
16156         Include test-skeleton.c.
16157         * misc/tst-tsearch.c (main): Converted to ...
16158         (do_test): ... this.
16159         (TEST_FUNCTION): New macro.
16160         Include test-skeleton.c.
16161         * posix/tst-regexloc.c (main): Converted to ...
16162         (do_test): ... this.
16163         (TEST_FUNCTION): New macro.
16164         Include test-skeleton.c.
16165         * resolv/tst-aton.c (main): Converted to ...
16166         (do_test): ... this.
16167         (TEST_FUNCTION): New macro.
16168         Include test-skeleton.c.
16169         * stdio-common/test-fwrite.c (main): Converted to ...
16170         (do_test): ... this.
16171         (TEST_FUNCTION): New macro.
16172         Include test-skeleton.c.
16173         * stdio-common/tst-ferror.c (main): Converted to ...
16174         (do_test): ... this.
16175         (TEST_FUNCTION): New macro.
16176         Include test-skeleton.c.
16177         * stdio-common/tst-printf.c (main): Converted to ...
16178         (do_test): ... this.
16179         (TEST_FUNCTION): New macro.
16180         Include test-skeleton.c.
16181         * stdio-common/tst-printfsz.c (main): Converted to ...
16182         (do_test): ... this.
16183         (TEST_FUNCTION): New macro.
16184         Include test-skeleton.c.
16185         * stdlib/tst-strtod.c (main): Converted to ...
16186         (do_test): ... this.
16187         (TEST_FUNCTION): New macro.
16188         Include test-skeleton.c.
16189         * string/tst-strlen.c (main): Converted to ...
16190         (do_test): ... this.
16191         (TEST_FUNCTION): New macro.
16192         Include test-skeleton.c.
16193         * string/tst-svc.c (main): Converted to ...
16194         (do_test): ... this.
16195         (TEST_FUNCTION): New macro.
16196         Include test-skeleton.c.
16197         * time/tst-strptime.c (main): Converted to ...
16198         (do_test): ... this.
16199         (TEST_FUNCTION): New macro.
16200         Include test-skeleton.c.
16201         * timezone/tst-timezone.c (main): Converted to ...
16202         (do_test): ... this.
16203         (TEST_FUNCTION): New macro.
16204         Include test-skeleton.c.
16206 2015-08-05  Zack Weinberg  <zackw@panix.com>
16208         * misc/regexp.h: Update comments.
16210 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16212         [BZ #18635]
16213         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16214         before return label.
16216 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16218         [BZ #18661]
16219         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16220         when calling __errno_location.
16221         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16222         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16224 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16226         [BZ #18661]
16227         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16228         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16229         __gettimeofday.
16231 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16233         [BZ #18661]
16234         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16235         (__start_context): Don't use pop to restore %rdi so that stack
16236         is aligned to 16 bytes when calling __setcontext.
16238 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16240         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16241         only for libc.
16242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16244 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16246         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16247         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16248         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16250 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16252         * string/memccpy.c (memccpy):
16253         Improve performance by using memchr/memcpy/__mempcpy.
16255 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16257         * string/strncpy.c (strncpy):
16258         Improve performance by using __strnlen/memcpy.
16260 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16262         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16263         Optimize to avoid an unnecessary FPCR read.
16265 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16267         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16268         Optimize to reduce FPCR/FPSR accesses.
16270 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16272         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16273         dead->data[category] != NULL.
16275 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16277         [BZ #18647]
16278         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16279         and |x| close to 1, use absolute value of x when computing log.
16280         * math/auto-libm-test-in: Add more tests of pow.
16281         * math/auto-libm-test-out: Regenerated.
16283 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16285         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16286         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16287         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16289 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16291         [BZ #18525]
16292         * locales/km_KH: Remove timezone definition.
16293         * locales/lo_LA: Likewise.
16294         * locales/my_MM: Likewise.
16295         * locales/nan_TW@latin: Likewise.
16296         * locales/th_TH: Likewise.
16297         * locales/uk_UA: Likewise.
16299 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16301         [BZ #18265]
16302         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16303         (wcsncat): Likewise.
16304         (wcscmp): Likewise.
16305         (wcsncmp): Likewise.
16307 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16309         * test-skeleton.c (usage): New function.
16310         (main): Call usage when opt is '?'.
16312 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16314         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16315         before first use.
16317 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16319         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16320         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16321         in there too.
16323 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16325         * version.h (RELEASE): Set to "development".
16326         (VERSION): Set to "2.22.90"
16328         * version.h (RELEASE): Set to "stable".
16329         (VERSION): Set to "2.22"
16330         * include/features.h (__GLIBC_MINOR__): Set to 22.
16332 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16334         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16335         Restructure macro to avoid "value computed is not used" warning.
16336         (atomic_compare_and_exchange_val_acq): Likewise.
16338 2015-08-04  Andreas Schwab  <schwab@suse.de>
16340         [BZ #18635]
16341         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16342         ret.
16343         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16345 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16347         * po/pl.po: Updated translation.
16348         * po/uk.po: Likewise.
16349         * po/fi.po: Likewise.
16350         * po/ko.po: Likewise.
16351         * po/ru.po: Likewise.
16352         * po/vi.po: Likewise.
16354 2015-07-31  Zack Weinberg  <zackw@panix.com>
16356         [BZ #18681]
16357         * regexp.h: Add unconditional #warning stating that this header
16358         will be removed soon.  Revise banner comment to match.
16359         (compile): Consistently use ERROR instead of RETURN to report
16360         errors (partial fix for bz#18681).
16361         * regexp.c: Don't include regexp.h. Remove some unnecessary
16362         declarations.
16364 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16366         * po/libc.pot: Regenerated.
16368 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16370         [BZ #18740]
16371         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16372         float-vlen4-arch-ext-cflags): Removed.
16373         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16374         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16376 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16378         [BZ #14113]
16379         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16380         aligned to __aligned__.
16381         (pthread_cond_t, pthread_rwlock_t): Likewise.
16383 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16385         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16387 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16389         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16390         (struct sigaction): Change sa_flags from a long to an int, and add
16391         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16393 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16395         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16396         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16397         sysdeps/generic/sysdep.h include.
16398         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16399         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16400         sysdeps/hppa/sysdep.h.
16401         (ENTRY, PSEUDO): Undefine before defining.
16403 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16405         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16406         from scratch to use INTERNAL_SYSCALL.
16408 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16410         [BZ #18078]
16411         * scripts/check-localplt.awk: Support alternate relocations.
16412         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16413         sections.
16414         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16415         malloc entries with + REL R_386_GLOB_DAT.
16416         * sysdeps/x86_64/localplt.data: New file.
16418 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16420         [BZ #18731]
16421         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16422         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16423         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16425 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16427         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16429 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16431         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16432         directly in terms of __sync_fetch_and_add and delete (int) cast.
16434 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16436         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16437         the -D_ASM_IA64_CURRENT_H flag.
16439 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16441         [BZ #18641]
16442         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16444 2015-07-27  Andreas Schwab  <schwab@suse.de>
16446         * conform/conformtest.pl (checknamespace): Filter out string
16447         literals while tokenizing.
16449 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16451         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16452         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16453         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16455 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16457         * nptl/tst-join7mod.c: Add #include <string.h>.
16459 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16461         * sysdeps/nios2/libm-test-ulps: Update.
16463 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16465         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16466         Fix order of arguments to the rt_sigprocmask syscall.
16467         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16468         Likewise.
16470 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16472         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16474 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16476         [BZ #18457]
16477         * nptl/Makefile (tests): New test case tst-join7.
16478         (modules-names): New test case module tst-join7mod.
16479         * nptl/tst-join7.c: New file.
16480         * nptl/tst-join7mod.c: New file.
16481         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16482         all translation units in libc.so, libpthread.so and rtld.
16484 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16488 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16492         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16493         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16496         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16498         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16499         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16500         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16501         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16502         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16503         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16505         implementation.
16507 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16509         [BZ #17711]
16510         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16511         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16512         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16513         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16514         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16515         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16517 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16519         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16520         instead of just saying load lock in the comments.
16522 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16524         * sysdeps/unix/Subdirs: Moved ...
16525         * sysdeps/posix/Subdirs: ... here.
16526         * login/pty.h (struct termios, struct winsize): Add forward decls.
16527         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16528         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16529         * sysdeps/arm/nacl/libc.abilist: Updated.
16530         * sysdeps/nacl/libutil.abilist: New file.
16532         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16533         (SIGWINCH): New macro.
16535         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16536         * sysdeps/arm/nacl/libc.abilist: Add it.
16538 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16540         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16542 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16544         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16545         Swap __glibc_reserved0 and sa_flags order.
16547 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16549         [BZ #18657]
16550         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16551         are pending TLS destructor calls.
16552         * include/link.h (struct link_map): Add concurrency note for
16553         L_TLS_DTOR_COUNT.
16554         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16555         Don't touch the link map flag.  Atomically increment
16556         l_tls_dtor_count.
16557         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16558         Avoid taking the load lock and don't touch the link map flag.
16559         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16560         * stdlib/Makefile (tests): Use it.
16561         * stdlib/tst-tls-atexit.c (do_test): dlopen
16562         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16563         to allow tst-tls-atexit-nodelete test case to use it.
16565 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16567         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16568         to bits/types.h.
16569         (msgqnum_t): New typedef.
16570         (msglen_t): Likewise.
16571         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16572         and msg_qbytes type to msglen_t.
16574 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16576         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16577         pad0 to __glibc_reserved0.
16578         (struct stat64): Likewise.
16580 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16582         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16583         Change sa_flags from a long to an int and add __glibc_reserved0 before
16584         it for padding.
16586 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16588         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16589         anonymous by deleting "siginfo" name.
16591 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16593         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16594         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16595         rather than __nacl_irt_filename.
16596         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16598         * NEWS: New item for arm-nacl port.
16599         * sysdeps/arm/nacl/libc.abilist: New file.
16600         * sysdeps/nacl/ld.abilist: New file.
16601         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16602         * sysdeps/nacl/libanl.abilist: New file.
16603         * sysdeps/nacl/libcrypt.abilist: New file.
16604         * sysdeps/nacl/libdl.abilist: New file.
16605         * sysdeps/nacl/libm.abilist: New file.
16606         * sysdeps/nacl/libpthread.abilist: New file.
16607         * sysdeps/nacl/libresolv.abilist: New file.
16608         * sysdeps/nacl/librt.abilist: New file.
16610 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16612         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16613         __startcontext to initialize the new context.
16614         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16615         up CFI directive to forbid further backtracing.
16617 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16619         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16620         reference.
16621         * charmaps/ANSI_X3.4-1968: Likewise.
16622         * charmaps/BS_4730: Likewise.
16623         * charmaps/BS_VIEWDATA: Likewise.
16624         * charmaps/CP1250: Likewise.
16625         * charmaps/CP1251: Likewise.
16626         * charmaps/CP1252: Likewise.
16627         * charmaps/CP1253: Likewise.
16628         * charmaps/CP1254: Likewise.
16629         * charmaps/CP1255: Likewise.
16630         * charmaps/CP1256: Likewise.
16631         * charmaps/CSN_369103: Likewise.
16632         * charmaps/EBCDIC-DK-NO: Likewise.
16633         * charmaps/GB_1988-80: Likewise.
16634         * charmaps/GREEK-CCITT: Likewise.
16635         * charmaps/GREEK7: Likewise.
16636         * charmaps/INIS-8: Likewise.
16637         * charmaps/ISIRI-3342: Likewise.
16638         * charmaps/ISO_2033-1983: Likewise.
16639         * charmaps/ISO_5427-EXT: Likewise.
16640         * locales/POSIX: Likewise.
16641         * locales/ar_SA: Likewise.
16642         * locales/be_BY: Likewise.
16643         * locales/be_BY@latin: Likewise.
16644         * locales/ca_ES: Likewise.
16645         * locales/cs_CZ: Likewise.
16646         * locales/da_DK: Likewise.
16647         * locales/de_BE: Likewise.
16648         * locales/de_CH: Likewise.
16649         * locales/de_LU: Likewise.
16650         * locales/en_AU: Likewise.
16651         * locales/en_BW: Likewise.
16652         * locales/en_CA: Likewise.
16653         * locales/en_DK: Likewise.
16654         * locales/en_GB: Likewise.
16655         * locales/en_IE: Likewise.
16656         * locales/en_NZ: Likewise.
16657         * locales/en_ZA: Likewise.
16658         * locales/en_ZW: Likewise.
16659         * locales/es_AR: Likewise.
16660         * locales/es_BO: Likewise.
16661         * locales/es_CL: Likewise.
16662         * locales/es_CO: Likewise.
16663         * locales/es_DO: Likewise.
16664         * locales/es_EC: Likewise.
16665         * locales/es_ES: Likewise.
16666         * locales/es_HN: Likewise.
16667         * locales/es_MX: Likewise.
16668         * locales/es_PA: Likewise.
16669         * locales/es_PE: Likewise.
16670         * locales/es_PY: Likewise.
16671         * locales/es_SV: Likewise.
16672         * locales/es_US: Likewise.
16673         * locales/es_UY: Likewise.
16674         * locales/es_VE: Likewise.
16675         * locales/et_EE: Likewise.
16676         * locales/fa_IR: Likewise.
16677         * locales/fo_FO: Likewise.
16678         * locales/fr_CA: Likewise.
16679         * locales/fr_CH: Likewise.
16680         * locales/gv_GB: Likewise.
16681         * locales/he_IL: Likewise.
16682         * locales/hr_HR: Likewise.
16683         * locales/id_ID: Likewise.
16684         * locales/is_IS: Likewise.
16685         * locales/it_CH: Likewise.
16686         * locales/iw_IL: Likewise.
16687         * locales/kl_GL: Likewise.
16688         * locales/ko_KR: Likewise.
16689         * locales/kw_GB: Likewise.
16690         * locales/lg_UG: Likewise.
16691         * locales/lt_LT: Likewise.
16692         * locales/lv_LV: Likewise.
16693         * locales/mi_NZ: Likewise.
16694         * locales/nhn_MX: Likewise.
16695         * locales/nl_BE: Likewise.
16696         * locales/pl_PL: Likewise.
16697         * locales/sk_SK: Likewise.
16698         * locales/sl_SI: Likewise.
16699         * locales/sv_FI: Likewise.
16700         * locales/tl_PH: Likewise.
16701         * locales/tr_TR: Likewise.
16702         * locales/vi_VN: Likewise.
16704 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16706         [BZ #17475]
16707         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16708         of tu_IN and bh_IN.
16710 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16712         [BZ #18694]
16713         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16714         bits/wordsize.h.
16715         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16717 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16719         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16720         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16721         (spawn_thread): New function.
16722         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16723         (do_test): ... here.  Use IS_LOADED to test for its
16724         availability.
16726 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16728         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16730 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16732         [BZ #18696]
16733         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16734         si_addr_bnd.
16735         (si_lower): New.
16736         (si_upper): Likewise.
16738 2015-07-16  David S. Miller  <davem@davemloft.net>
16740         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16742 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16744         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16745         buffer.
16746         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16747         fail output information.
16749 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16752         and strstr-ppc64..
16753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16754         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16755         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16756         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16757         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16759 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16761         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16762         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16763         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16764         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16766 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16768         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16769         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16770         rtld_hidden_proto.
16771         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16773 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16776         the test can fail.
16778         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16780         [BZ #18676]
16781         * elf/tst-nodelete-opened.c: New test case.
16782         * elf/tst-nodelete-opened-lib.c: New test case module.
16783         * elf/Makefile (tests, modules-names): Use them.
16784         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16785         early.
16787 2015-07-15  David S. Miller  <davem@davemloft.net>
16789         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16790         futex-intenal.h
16791         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16792         * sysdeps/sparc/sparc64/Makefile: Likewise.
16793         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16794         Remove space from macro define.
16795         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16797 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16799         [BZ #17475]
16800         * locale/iso-639.def: Update Bhili and Tulu language codes as
16801         per iso639-3.
16803 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16805         * elf/tst-leaks1.c (main): Converted to ...
16806         (do_test): ... this.
16807         (TEST_FUNCTION): New macro.
16808         Include test-skeleton.c.
16809         * localedata/tst-langinfo.c (main): Converted to ...
16810         (do_test): ... this.
16811         (TEST_FUNCTION): New macro.
16812         Include test-skeleton.c.
16813         * math/test-fpucw.c (main): Converted to ...
16814         (do_test): ... this.
16815         (TEST_FUNCTION): New macro.
16816         Include test-skeleton.c.
16817         * math/test-tgmath.c (main): Converted to ...
16818         (do_test): ... this.
16819         (TEST_FUNCTION): New macro.
16820         Include test-skeleton.c.
16821         * math/test-tgmath2.c (main): Converted to ...
16822         (do_test): ... this.
16823         (TEST_FUNCTION): New macro.
16824         Include test-skeleton.c.
16825         * setjmp/tst-setjmp.c (main): Converted to ...
16826         (do_test): ... this.
16827         (TEST_FUNCTION): New macro.
16828         Include test-skeleton.c.
16829         * stdio-common/tst-sscanf.c (main): Converted to ...
16830         (do_test): ... this.
16831         (TEST_FUNCTION): New macro.
16832         Include test-skeleton.c.
16833         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16834         (do_test): ... this.
16835         (TEST_FUNCTION): New macro.
16836         Include test-skeleton.c.
16838         * elf/tst-audit9.c (main): Converted to ...
16839         (do_test): ... this.
16840         (TEST_FUNCTION): New macro.
16841         Include test-skeleton.c.
16843 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16845         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16847 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16849         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16850         New variable.
16852 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16854         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16856 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16858         * sysdeps/generic/dl-fileid.h: New file.
16859         * sysdeps/posix/dl-fileid.h: New file.
16860         * sysdeps/nacl/dl-fileid.h: New file.
16861         * include/link.h: Include <dl-fileid.h>.
16862         (struct link_map): Replace l_dev and l_ino with l_file_id.
16863         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16864         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16865         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16867 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16869         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16871 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16873         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16874         Add iff $CXX is set.
16875         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16876         Likewise.
16877         (tst-nodelete-zmodiff): Likewise.
16878         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16880 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16882         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16884 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16886         * sysdeps/aarch64/fpu/math_private.h
16887         (define math_opt_barrier): Add AArch64 version.
16888         (math_force_eval): Likewise.
16890 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16892         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16894 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16896         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16897         %ld with %jd and cast to intmax_t.
16898         (do_test_length_zero): Likewise.
16900 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16902         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16904 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16906         * sysdeps/tile/libm-test-ulps: Regenerated.
16908         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16909         Comment out the whole function, not just its body.
16911 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16913         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16914         locks.
16916         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16918 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16920         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16921         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16923 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16925         * sysdeps/nptl/futex-internal.h: New file.
16926         * sysdeps/nacl/futex-internal.h: New file.
16927         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16928         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16929         error checking.
16930         (setxid_unmark_thread): Likewise.
16931         (__nptl_setxid): Likewise.
16932         (__wait_lookup_done): Likewise.
16933         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16934         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16935         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16936         * nptl/pthread_once.c (clear_once_control): Likewise.
16937         (__pthread_once_slow): Likewise.
16938         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16939         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16940         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16941         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16942         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16943         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16944         Likewise.
16945         (__pthread_rwlock_rdlock): Likewise.
16946         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16947         Likewise.
16948         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16949         Likewise.
16950         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16951         Likewise.
16952         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16953         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16954         Likewise.
16955         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16956         __ASSUME_PRIVATE_FUTEX check.
16957         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16958         Check that shared futexes are supported.
16959         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16960         wrappers with error checking.
16961         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16962         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16963         * nptl/pthread_barrierattr_setpshared.c
16964         (pthread_barrierattr_setpshared): Check that shared futexes are
16965         supported.
16966         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16967         Likewise.
16968         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16969         Likewise.
16970         * nptl/sem_init.c (futex_private_if_supported): Remove.
16971         (__new_sem_init): Adapt and check that shared futexes are supported.
16972         * nptl/sem_open.c (sem_open): Likewise.
16973         * nptl/sem_post.c (futex_wake): Remove.
16974         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16975         (do_futex_wait): Use futex wrappers with error checking.
16976         * nptl/sem_wait.c: Include lowlevellock.h.
16977         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16978         Use futex_supports_pshared.
16979         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16980         Use futex wrappers with error checking.
16981         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16982         Likewise.
16983         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16984         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16985         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16986         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16987         (futex_wake): Likewise.
16988         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16989         (do_futex_wait): Use futex wrappers with error checking.
16990         (__new_sem_wait_slow): Update EINTR handling.
16991         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16993 2015-07-09  Martin Sebor  <msebor@redhat.com>
16995         [BZ #18435]
16996         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16997         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16998         * nptl/Makefile (test-xfail-tst-once5): Define.
17000 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17002         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17003         * elf/dl-minimal.c: For readability, reorder some definitions and
17004         introduce more page breaks.  Include <stdio.h>.
17005         (__libc_fatal): New function.
17007         * include/unistd.h: Add rtld_hidden_proto for _exit.
17008         * posix/_exit.c: Add rtld_hidden_def.
17009         * sysdeps/mach/hurd/_exit.c: Likewise.
17010         * sysdeps/nacl/_exit.c: Likewise.
17011         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17012         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17014 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17017         bndmov encoding with zero displacement.
17019 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17020             H.J. Lu  <hongjiu.lu@intel.com>
17022         [BZ #18134]
17023         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17024         * sysdeps/i386/configure: Regenerated.
17025         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17026         (_dl_runtime_profile): Save and restore Intel MPX return bound
17027         registers when calling _dl_call_pltexit.  Add
17028         PRESERVE_BND_REGS_PREFIX before return.
17029         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17030         (LRV_BND1_OFFSET): Likewise.
17031         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17032         lrv_bnd1.
17033         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17034         typo in bndmov encoding.
17035         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17036         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17037         branch instructions to preserve bounds.
17039 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17042         [GLIBC_2.22]: Add fmemopen.
17044 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17046         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17047         returns an error, also try to use host port from __mach_host_self for
17048         the __vm_wire call.
17049         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17051 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17053         [BZ #18400]
17054         [BZ #18648]
17055         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17056         Fix pr_uid and pr_gid members.
17057         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17058         definition to elf_greg_t.
17060 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17062         [BZ #18383]
17063         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17064         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17065         * sysdeps/arm/configure: Regenerated.
17066         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17067         (test-xfail-tst-tlsalign-static): Variable removed.
17069         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17070         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17071         rather than explicit 'ln -s'.
17073         * resolv/rpc/netdb.h: New file.
17074         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17076 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17078         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17079         length buffers.
17080         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17081         test-skeleton.c.
17083         [BZ #6544]
17084         [BZ #11216]
17085         [BZ #12836]
17086         [BZ #13151]
17087         [BZ #13152]
17088         [BZ #14292]
17089         * include/stdio.h (fmemopen): Remove hidden prototype.
17090         (__fmemopen): Add new hidden prototype.
17091         * libio/Makefile: Add oldfmemopen object.
17092         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17093         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17094         compliance.
17095         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17096         symbol compatibility.
17097         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17098         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17099         fmemopen.
17100         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17101         on append and read mode.
17102         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17103         fmemopen.
17104         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17105         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17106         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17107         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17108         Likewise.
17109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17110         [GLIBC_2.22]: Likewise.
17111         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17112         Likewise.
17113         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17114         Likewise.
17115         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17116         [GLIBC_2.22]: Likewise.
17117         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17118         [GLIBC_2.22]: Likewise.
17119         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17120         [GLIBC_2.22]: Likewise.
17121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17122         [GLIBC_2.22]: Likewise.
17123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17124         [GLIBC_2.22]: Likewise.
17125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17126         [GLIBC_2.22]: Likewise.
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17128         [GLIBC_2.22]: Likewise.
17129         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17130         Likewise.
17131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17132         Likewise.
17133         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17134         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17135         [GLIBC_2.22]: Likewise.
17136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17137         [GLIBC_2.22]: Likewise.
17138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17139         [GLIBC_2.22]: Likewise.
17140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17141         [GLIBC_2.22]: Likewise.
17142         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17143         Likewise.
17144         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17145         Likewise.
17146         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17147         Likewise.
17148         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17149         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17151 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17153         [BZ #18643]
17154         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17155         IPV6_PATHMTU, and IPV6_DONTFRAG.
17157 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17159         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17160         and _IO_UNBUFFERED.
17161         * libio/oldfileops.c: Likewise.
17162         * libio/wfileops.c: Likewise.
17164 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17166         * nscd/selinux.c: Delete selinux/flask.h include.
17168 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17170         [BZ #18641]
17171         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17172         (putpwent): Likewise.
17173         (getpwnam): Likewise.
17174         (getpwent_r): Likewise.
17175         (getpwuid_r): Likewise.
17176         (getpwnam_r): Likewise.
17177         (fgetpwent_r): Likewise.
17179 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17181         [BZ #18557]
17182         * inet/rcmd.c (__validuser2_sa): Check user first to
17183         short-circuit host check.
17185 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17186             Mikhail Ilin  <m.ilin@samsung.com>
17188         [BZ #17833]
17189         * elf/Makefile (tests): Add tst-nodelete.
17190         (modules-names): Add tst-nodelete-uniquemod.
17191         (tst-nodelete-uniquemod.so-no-z-defs): New.
17192         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17193         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17194         ($(objpfx)tst-nodelete): Likewise.
17195         ($(objpfx)tst-nodelete.out): Likewise.
17196         (LDFLAGS-tst-nodelete): Likewise.
17197         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17198         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17199         implement forced object deletion.
17200         (_dl_close): Pass false to _dl_close_worker.
17201         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17202         * elf/tst-nodelete.cc: New file.
17203         * elf/tst-nodeletelib.cc: Likewise.
17204         * elf/tst-znodeletelib.cc: Likewise.
17205         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17207 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17209         [BZ #18508]
17210         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17211         Depend on $(libdl).
17212         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17213         is not called infinitely times.
17214         (backtrace_helper): New function.
17215         (trace_arg): New struct.
17216         (st1): Enlarge stack size.
17217         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17218         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17219         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17220         Likewise.
17222 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17224         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17226 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17228         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17229         Include sys/types.h instead of bits/types.h.
17230         Remove inclusion of bits/wordsize.h.
17232 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17234         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17235         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17236         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17237         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17238         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17239         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17241 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17243         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17244         link-defines.sym.
17245         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17246         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17247         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17248         and LR_SIZE.
17249         * sysdeps/i386/link-defines.sym: New file.
17251 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17253         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17254         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17255         ($(objpfx)tst-audit3): New rule.
17256         ($(objpfx)tst-audit3.out): Likewise.
17257         * sysdeps/i386/tst-audit3.c: New file.
17258         * sysdeps/i386/tst-audit3.h: Likewise.
17259         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17260         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17262 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17264         [BZ #18633]
17265         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17266         pointer in C code.
17267         (__strcat_c): Likewise.
17268         (__strcat_g): Likewise.
17270 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17272         [BZ #18592]
17273         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17275 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17277         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17278         New function.  (__ieee754_sqrtf): New function.
17279         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17280         New function.
17281         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17282         New function.
17284 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17286         * sysdeps/ieee754/support.c: Remove unused file.
17288 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17290         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17291         registers instead of d ones so the layout is kernel abi compatible.
17292         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17293         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17294         Likewise.
17296 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17298         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17300 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17302         [BZ #18619]
17303         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17304         and return argument in case of subnormal argument.
17306 2015-07-01  Martin Sebor  <msebor@redhat.com>
17308         [BZ #18435]
17309         * nptl/Makefile: Add tst-once5.cc.
17310         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17311         Remove macro redefinitions.
17312         * nptl/tst-once5.cc: New test.
17314 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17316         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17318         * sysdeps/arm/libm-test-ulps: Regenerated.
17320         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17321         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17323 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17325         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17326         lll_lock_wait_private and lll_futex_wake probes.
17328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17330         Likewise.
17331         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17332         atomic_spin_nop.
17333         * sysdeps/x86_64/bits/atomic.h: Likewise.
17334         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17335         to atomic_spin_nop and move ...
17336         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17337         ... here and ...
17338         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17339         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17340         atomic_spin_nop instead of BUSY_WAIT_NOP.
17341         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17342         Likewise.
17343         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17344         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17345         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17346         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17347         instead of atomic_delay.
17349 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17351         [BZ #18613]
17352         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17353         X_ADJ not X when adjusting exponent.
17354         (__ieee754_gamma_r): Do intermediate computations in
17355         round-to-nearest then adjust overflowing and underflowing results
17356         as needed.
17357         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17358         of X_ADJ not X when adjusting exponent.
17359         (__ieee754_gammaf_r): Do intermediate computations in
17360         round-to-nearest then adjust overflowing and underflowing results
17361         as needed.
17362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17363         log of X_ADJ not X when adjusting exponent.
17364         (__ieee754_gammal_r): Do intermediate computations in
17365         round-to-nearest then adjust overflowing and underflowing results
17366         as needed.  Use 1.0L not 1.0f as numerator of division.
17367         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17368         log of X_ADJ not X when adjusting exponent.
17369         (__ieee754_gammal_r): Do intermediate computations in
17370         round-to-nearest then adjust overflowing and underflowing results
17371         as needed.  Use 1.0L not 1.0f as numerator of division.
17372         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17373         of X_ADJ not X when adjusting exponent.
17374         (__ieee754_gammal_r): Do intermediate computations in
17375         round-to-nearest then adjust overflowing and underflowing results
17376         as needed.  Use 1.0L not 1.0f as numerator of division.
17377         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17378         to auto-libm-test-in.
17379         (tgamma_test): Use ALL_RM_TEST.
17380         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17381         tests of tgamma with spurious-overflow.
17382         * math/auto-libm-test-out: Regenerated.
17383         * math/gen-libm-have-vector-test.sh: Do not check for START.
17384         * sysdeps/i386/fpu/libm-test-ulps: Update.
17385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387         [BZ #18612]
17388         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17389         arguments, just return 0.5 times the argument, with underflow
17390         forced as needed.
17391         * math/auto-libm-test-in: Add more tests of j1.
17392         * math/auto-libm-test-out: Regenerated.
17394         [BZ #16559]
17395         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17396         (__ieee754_j1): Force underflow exception for small results.
17397         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17398         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17399         (__ieee754_j1f): Force underflow exception for small results.
17400         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17401         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17403         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17404         (__ieee754_j1l): Force underflow exception for small results.
17405         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17406         * math/auto-libm-test-in: Add more tests of j1 and jn.
17407         * math/auto-libm-test-out: Regenerated.
17409         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17410         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17411         (PF_MPLS): Likewise.
17412         (AF_IB): Likewise.
17413         (AF_MPLS): Likewise.
17414         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17415         value and macro.
17416         (MS_RMT_MASK): Include MS_LAZYTIME.
17418 2015-06-26  Mel Gorman  <mgorman@suse.de>
17420         [BZ #18502]
17421         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17422         already minimal.
17424 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17426         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17427         (DT_MIPS_NUM): Update.
17428         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17429         DT_MIPS_RLD_MAP_REL.
17431 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17433         [BZ #16559]
17434         [BZ #18602]
17435         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17436         round-to-nearest internally then recompute results that
17437         underflowed to zero in the original rounding mode.
17438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17441         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17442         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17443         * sysdeps/i386/fpu/libm-test-ulps: Update.
17444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17446 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17448         * NEWS: Fixed description of link with vector math library.
17450 2015-06-25  Andreas Schwab  <schwab@suse.de>
17452         [BZ #18549]
17453         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17454         * libio/test-fmemopen.c (do_test): Add test for it.
17456 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17458         [BZ #17841]
17459         * Makeconfig (no-pie-ldflag): New.
17460         (+link): Set to $(+link-pie) if default to PIE.
17461         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17462         * config.make.in (build-pie-default): New.
17463         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17464         is default.  AC_SUBST.
17465         * configure: Regenerated.
17466         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17468 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17470         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17471         to 'unsigned int'.
17473         * resolv/gai_misc.h (struct waitlist): Change type of field
17474         counterp to 'volatile unsigned int *'.
17475         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17476         FUTEXADDR and OLDVAL.
17477         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17478         Give local variable TOTAL type 'volatile unsigned int'.
17479         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17480         * resolv/gai_suspend.c (gai_suspend):
17481         Give local variable CNTR type 'unsigned int'.
17483         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17484         counterp to 'volatile unsigned int *'.
17485         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17486         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17487         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17488         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17489         Give local variable TOTAL type 'volatile unsigned int'.
17490         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17492 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17494         [BZ #18383]
17495         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17496         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17497         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17498         comment for i386/x86-64.
17499         (test-xfail-tst-tlsalign-extern-static): Removed.
17501 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17503         * math/test-double.h: New file.
17504         * math/test-float.h: Likewise.
17505         * math/test-ldouble.h: Likewise.
17506         * math/test-math-inline.h: Likewise.
17507         * math/test-math-no-inline.h: Likewise.
17508         * math/test-math-scalar.h: Likewise.
17509         * math/test-math-vector.h: Likewise.
17510         * math/test-vec-loop.h: Remove file.  Contents moved into
17511         test-math-vector.h.
17512         * math/libm-test.inc (MATHCONST): Do not document macro.
17513         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17514         and test-math-scalar.h.
17515         (FUNC): Remove macro.
17516         (FUNC_TEST): Likewise.
17517         (FLOAT): Likewise.
17518         (MATHCONST): Likewise.
17519         (PRINTF_EXPR): Likewise.
17520         (PRINTF_XEXPR): Likewise.
17521         (PRINTF_NEXPR): Likewise.
17522         (TEST_DOUBLE): Likewise.
17523         (TEST_MATHVEC): Likewise.
17524         (__NO_MATH_INLINES): Likewise.
17525         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17526         and test-math-scalar.h.
17527         (FUNC): Remove macro.
17528         (FUNC_TEST): Likewise.
17529         (FLOAT): Likewise.
17530         (MATHCONST): Likewise.
17531         (PRINTF_EXPR): Likewise.
17532         (PRINTF_XEXPR): Likewise.
17533         (PRINTF_NEXPR): Likewise.
17534         (TEST_FLOAT): Likewise.
17535         (TEST_MATHVEC): Likewise.
17536         (__NO_MATH_INLINES): Likewise.
17537         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17538         and test-math-scalar.h.
17539         (FUNC): Remove macro.
17540         (FUNC_TEST): Likewise.
17541         (FLOAT): Likewise.
17542         (MATHCONST): Likewise.
17543         (PRINTF_EXPR): Likewise.
17544         (PRINTF_XEXPR): Likewise.
17545         (PRINTF_NEXPR): Likewise.
17546         (TEST_DOUBLE): Likewise.
17547         (TEST_MATHVEC): Likewise.
17548         (TEST_INLINE): Likewise.
17549         (__NO_MATH_INLINES): Likewise.
17550         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17551         test-math-scalar.h.
17552         (FUNC): Remove macro.
17553         (FUNC_TEST): Likewise.
17554         (FLOAT): Likewise.
17555         (MATHCONST): Likewise.
17556         (PRINTF_EXPR): Likewise.
17557         (PRINTF_XEXPR): Likewise.
17558         (PRINTF_NEXPR): Likewise.
17559         (TEST_FLOAT): Likewise.
17560         (TEST_MATHVEC): Likewise.
17561         (TEST_INLINE): Likewise.
17562         (__NO_MATH_INLINES): Likewise.
17563         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17564         and test-math-scalar.h.
17565         (FUNC): Remove macro.
17566         (FUNC_TEST): Likewise.
17567         (FLOAT): Likewise.
17568         (MATHCONST): Likewise.
17569         (PRINTF_EXPR): Likewise.
17570         (PRINTF_XEXPR): Likewise.
17571         (PRINTF_NEXPR): Likewise.
17572         (TEST_LDOUBLE): Likewise.
17573         (TEST_MATHVEC): Likewise.
17574         (TEST_INLINE): Likewise.
17575         (__NO_MATH_INLINES): Likewise.
17576         * math/test-ldouble.c: Include test-ldouble.h,
17577         test-math-no-inline.h and test-math-scalar.h.
17578         (FUNC): Remove macro.
17579         (FUNC_TEST): Likewise.
17580         (FLOAT): Likewise.
17581         (MATHCONST): Likewise.
17582         (PRINTF_EXPR): Likewise.
17583         (PRINTF_XEXPR): Likewise.
17584         (PRINTF_NEXPR): Likewise.
17585         (TEST_LDOUBLE): Likewise.
17586         (TEST_MATHVEC): Likewise.
17587         (__NO_MATH_INLINES): Likewise.
17588         * math/test-double-vlen2.h: Include test-double.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_DOUBLE): 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-double-vlen4.h: Include test-double.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_DOUBLE): 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         * math/test-double-vlen8.h: Include test-double.h,
17631         test-math-no-inline.h and test-math-vector.h.
17632         (FLOAT): Remove macro.
17633         (FUNC): Likewise.
17634         (MATHCONST): Likewise.
17635         (PRINTF_EXPR): Likewise.
17636         (PRINTF_XEXPR): Likewise.
17637         (PRINTF_NEXPR): Likewise.
17638         (TEST_DOUBLE): Likewise.
17639         (TEST_MATHVEC): Likewise.
17640         (__NO_MATH_INLINES): Likewise.
17641         (CNCT): Likewise.
17642         (CONCAT): Likewise.
17643         (WRAPPER_NAME): Likewise.
17644         (WRAPPER_DECL): Likewise.
17645         (WRAPPER_DECL_ff): Likewise.
17646         (WRAPPER_DECL_fFF): Likewise.
17647         (VECTOR_WRAPPER): Likewise.
17648         (VECTOR_WRAPPER_ff): Likewise.
17649         (VECTOR_WRAPPER_fFF): Likewise.
17650         (VEC_LEN): New macro.
17651         * math/test-float-vlen4.h: Include test-float.h,
17652         test-math-no-inline.h and test-math-vector.h.
17653         (FLOAT): Remove macro.
17654         (FUNC): Likewise.
17655         (MATHCONST): Likewise.
17656         (PRINTF_EXPR): Likewise.
17657         (PRINTF_XEXPR): Likewise.
17658         (PRINTF_NEXPR): Likewise.
17659         (TEST_FLOAT): Likewise.
17660         (TEST_MATHVEC): Likewise.
17661         (__NO_MATH_INLINES): Likewise.
17662         (CNCT): Likewise.
17663         (CONCAT): Likewise.
17664         (WRAPPER_NAME): Likewise.
17665         (WRAPPER_DECL): Likewise.
17666         (WRAPPER_DECL_ff): Likewise.
17667         (WRAPPER_DECL_fFF): Likewise.
17668         (VECTOR_WRAPPER): Likewise.
17669         (VECTOR_WRAPPER_ff): Likewise.
17670         (VECTOR_WRAPPER_fFF): Likewise.
17671         (VEC_LEN): New macro.
17672         * math/test-float-vlen8.h: Include test-float.h,
17673         test-math-no-inline.h and test-math-vector.h.
17674         (FLOAT): Remove macro.
17675         (FUNC): Likewise.
17676         (MATHCONST): Likewise.
17677         (PRINTF_EXPR): Likewise.
17678         (PRINTF_XEXPR): Likewise.
17679         (PRINTF_NEXPR): Likewise.
17680         (TEST_FLOAT): Likewise.
17681         (TEST_MATHVEC): Likewise.
17682         (__NO_MATH_INLINES): Likewise.
17683         (CNCT): Likewise.
17684         (CONCAT): Likewise.
17685         (WRAPPER_NAME): Likewise.
17686         (WRAPPER_DECL): Likewise.
17687         (WRAPPER_DECL_ff): Likewise.
17688         (WRAPPER_DECL_fFF): Likewise.
17689         (VECTOR_WRAPPER): Likewise.
17690         (VECTOR_WRAPPER_ff): Likewise.
17691         (VECTOR_WRAPPER_fFF): Likewise.
17692         (VEC_LEN): New macro.
17693         * math/test-float-vlen16.h: Include test-float.h,
17694         test-math-no-inline.h and test-math-vector.h.
17695         (FLOAT): Remove macro.
17696         (FUNC): Likewise.
17697         (MATHCONST): Likewise.
17698         (PRINTF_EXPR): Likewise.
17699         (PRINTF_XEXPR): Likewise.
17700         (PRINTF_NEXPR): Likewise.
17701         (TEST_FLOAT): Likewise.
17702         (TEST_MATHVEC): Likewise.
17703         (__NO_MATH_INLINES): Likewise.
17704         (CNCT): Likewise.
17705         (CONCAT): Likewise.
17706         (WRAPPER_NAME): Likewise.
17707         (WRAPPER_DECL): Likewise.
17708         (WRAPPER_DECL_ff): Likewise.
17709         (WRAPPER_DECL_fFF): Likewise.
17710         (VECTOR_WRAPPER): Likewise.
17711         (VECTOR_WRAPPER_ff): Likewise.
17712         (VECTOR_WRAPPER_fFF): Likewise.
17713         (VEC_LEN): New macro.
17714         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17715         test-vec-loop.h.
17716         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17718         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17719         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17720         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17722         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17724 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17726         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17727         (__getlogin_r): ... this.
17729 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17731         [BZ #18594]
17732         * math/s_ccosh.c (__ccosh): Compare with least normal value
17733         instead of comparing class with FP_SUBNORMAL.
17734         * math/s_ccoshf.c (__ccoshf): Likewise.
17735         * math/s_ccoshl.c (__ccoshl): Likewise.
17736         * math/s_cexp.c (__cexp): Likewise.
17737         * math/s_cexpf.c (__cexpf): Likewise.
17738         * math/s_cexpl.c (__cexpl): Likewise.
17739         * math/s_csin.c (__csin): Likewise.
17740         * math/s_csinf.c (__csinf): Likewise.
17741         * math/s_csinh.c (__csinh): Likewise.
17742         * math/s_csinhf.c (__csinhf): Likewise.
17743         * math/s_csinhl.c (__csinhl): Likewise.
17744         * math/s_csinl.c (__csinl): Likewise.
17745         * math/s_ctan.c (__ctan): Likewise.
17746         * math/s_ctanf.c (__ctanf): Likewise.
17747         * math/s_ctanh.c (__ctanh): Likewise.
17748         * math/s_ctanhf.c (__ctanhf): Likewise.
17749         * math/s_ctanhl.c (__ctanhl): Likewise.
17750         * math/s_ctanl.c (__ctanl): Likewise.
17751         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17752         csin, csinh, ctan and ctanh.
17753         * math/auto-libm-test-out: Regenerated.
17754         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17755         * sysdeps/i386/fpu/libm-test-ulps: Update.
17756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17760         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17761         return value is wrong, print the expected value too.
17763 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17765         [BZ #18585]
17766         * elf/readlib.c (is_gdb_python_file): New.
17767         (process_file): Don't issue errors on filenames with -gdb.py
17768         suffix.
17770 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17772         * math/auto-libm-test-in: Add more tests of csin and csinh.
17773         * math/auto-libm-test-out: Regenerated.
17774         * math/libm-test.inc (csin_test_data): Remove tests moved to
17775         auto-libm-test-in.
17776         (csinh_test_data): Likewise.
17778         [BZ #18593]
17779         * math/s_csin.c (__csin): Negate before rather than after possibly
17780         overflowing multiplication.
17781         * math/s_csinf.c (__csinf): Likewise.
17782         * math/s_csinh.c (__csinh): Likewise.
17783         * math/s_csinhf.c (__csinhf): Likewise.
17784         * math/s_csinhl.c (__csinhl): Likewise.
17785         * math/s_csinl.c (__csinl): Likewise.
17786         * math/auto-libm-test-in: Add some tests of csin and csinh.
17787         * math/auto-libm-test-out: Regenerated.
17788         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17789         (csinh_test_data): Likewise.
17790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17792         [BZ #18586]
17793         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17794         underflow exception for small results.
17796 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17799         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17800         variable and included header.
17801         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17803         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17807         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17808         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17809         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17810         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17811         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17812         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17813         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17814         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17815         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17816         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17818 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17820         [BZ #16526]
17821         [BZ #16538]
17822         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17823         (__sin): Force underflow exception for arguments with small
17824         absolute value.
17825         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17826         (__kernel_sinf): Force underflow exception for arguments with
17827         small absolute value.
17828         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17829         (__kernel_sincosl): Force underflow exception for arguments with
17830         small absolute value.
17831         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17832         (__kernel_sinl): Force underflow exception for arguments with
17833         small absolute value.
17834         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17835         (__kernel_sincosl): Force underflow exception for arguments with
17836         small absolute value.
17837         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17838         (__kernel_sinl): Force underflow exception for arguments with
17839         small absolute value.
17840         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17841         (__kernel_sinl): Force underflow exception for arguments with
17842         small absolute value.
17843         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17844         (__kernel_sinf): Force underflow exception for arguments with
17845         small absolute value.
17846         * math/auto-libm-test-in: Add more tests of sin and sincos.
17847         * math/auto-libm-test-out: Regenerated.
17849         [BZ #18245]
17850         [BZ #18583]
17851         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17852         (__kernel_standard_l): Use feholdexcept and fesetenv around
17853         conversion to double instead of special-casing overflow and
17854         underflow.
17855         * math/libm-test.inc (fmod_test_data): Add more tests.
17856         (remainder_test_data): Likewise.
17857         (sqrt_test_data): Likewise.
17859 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17861         [BZ #17403]
17862         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17863         atomic_read_barrier, atomic_write_barrier): Define.
17864         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17865         atomic_read_barrier, atomic_write_barrier): Define.
17867 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17869         * math/Makefile [$(PERL) != no]
17870         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17871         dependency on libm-test.stmp below the inclusion of Rules.
17873 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17875         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17876         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17877         and included header.
17878         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17880         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17882         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17886         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17887         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17888         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17889         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17890         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17891         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17892         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17893         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17894         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17895         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17896         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17898 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17900         [BZ #18371]
17901         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17902         intermediate but not final result might underflow.
17903         * math/s_csqrtf.c (__csqrtf): Likewise.
17904         * math/s_csqrtl.c (__csqrtl): Likewise.
17905         * math/auto-libm-test-in: Add more tests of csqrt.
17906         * math/auto-libm-test-out: Regenerated.
17907         * sysdeps/i386/fpu/libm-test-ulps: Update.
17909         [BZ #18219]
17910         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17911         threshold on absolute value of exponent for which scaling is used.
17912         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17913         * math/auto-libm-test-in: Add more tests of exp2.
17914         * math/auto-libm-test-out: Regenerated.
17916 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17918         [BZ #17977]
17919         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17920         when initializing interface list, based on the bug analysis
17921         and the patch proposed by Eric Newton.
17922         * resolv/tst-res_hconf_reorder.c: New test.
17923         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17924         tst-res_hconf_reorder.
17925         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17926         and $(shared-thread-library).
17927         (tst-res_hconf_reorder-ENV): New variable.
17929         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17930         in comment.
17932 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17934         [BZ #16353]
17935         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17936         (__expm1): Force underflow exception for arguments with small
17937         absolute value.
17938         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17939         (__expm1f): Force underflow exception for arguments with small
17940         absolute value.
17941         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17942         (__expm1): Force underflow exception for arguments with small
17943         absolute value.
17944         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17945         (__expm1f): Force underflow exception for arguments with small
17946         absolute value.
17947         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17948         Check for small arguments before calling __expm1.
17949         * math/auto-libm-test-in: Do not mark underflow exceptions as
17950         possibly missing for bug 16353.
17951         * math/auto-libm-test-out: Regenerated.
17953 2015-06-22  Andreas Schwab  <schwab@suse.de>
17955         [BZ #18513]
17956         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17957         PTR queries.
17959 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17961         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17963         * string/strcoll_l.c: Remove unused struct element idxnow.
17965 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17967         [BZ #18569]
17968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17969         underflow and return argument in case of subnormal argument.
17970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17971         Likewise.
17972         * math/auto-libm-test-in: Add more tests of expm1.
17973         * math/auto-libm-test-out: Regenerated.
17975         [BZ #16361]
17976         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17977         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17978         tiny results.
17979         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17980         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17981         tiny results.
17982         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17983         mark underflow exceptions as possibly missing for bug 16361.
17984         * math/auto-libm-test-out: Regenerated.
17986 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17988         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17989         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17990         Remove variable.
17991         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17992         (test-xfail-XOPEN2K8/utmpx.h/conform).
17994         * conform/conformtest.pl ($xerrors): New variable.
17995         (note_error): New function.
17996         (compiletest): New argument $xfail.  Use not_error.
17997         (runtest): Likewise.
17998         (top level): Handle xfail- lines.  Update calls to compiletest and
17999         runtest.  Handle xfail- and optional- in headers listed with
18000         allow-header.
18001         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18002         (O_EXEC): Likewise.
18003         (O_SEARCH): Likewise.
18004         * conform/data/stropts.h-data (ioctl): Likewise.
18005         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18006         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18007         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18008         (msghdr.msg_controllen): Likewise.
18009         (cmsghdr.cmsg_len): Likewise.
18010         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18011         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18012         variable.
18013         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18014         (test-xfail-XPG4/stropts.h/conform): Likewise.
18015         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18016         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18017         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18018         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18019         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18020         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18021         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18022         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18023         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18024         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18025         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18026         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18027         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18028         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18029         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18030         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18031         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18032         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18033         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18035 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18037         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18038         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18039         definitions for proper unfolding of __MATHDECL_VEC.
18041 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18043         * benchtests/bench-strcoll.c:
18044         Include string.h.
18045         (main): Remove unused variable res.
18047 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18049         * timezone/Makefile (%/UTC %/Universal):
18050         Generate test-result files for UTC and Universal.
18052 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18054         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18056 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18058         [BZ #16350]
18059         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18060         for arguments with small absolute value.
18061         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18062         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18063         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18064         (__asinh): Force underflow exception for arguments with small
18065         absolute value.
18066         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18067         (__asinhf): Force underflow exception for arguments with small
18068         absolute value.
18069         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18070         (__asinhl): Force underflow exception for arguments with small
18071         absolute value.
18072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18073         (__asinhl): Force underflow exception for arguments with small
18074         absolute value.
18075         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18076         (__asinhl): Force underflow exception for arguments with small
18077         absolute value.
18078         * math/auto-libm-test-in: Do not mark underflow exceptions as
18079         possibly missing for bug 16350.
18080         * math/auto-libm-test-out: Regenerated.
18082         * include/bits/ipc.h: Remove file.
18083         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18084         variable.
18085         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18086         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18087         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18088         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18089         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18090         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18091         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18092         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18093         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18095         * math/auto-libm-test-in: Remove spurious underflow allowance for
18096         tests of cexp.
18097         * math/auto-libm-test-out: Regenerated.
18099         [BZ #18558]
18100         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18101         unconditional definition.
18102         (MCAST_BLOCK_SOURCE): Likewise.
18103         (MCAST_UNBLOCK_SOURCE): Likewise.
18104         (MCAST_LEAVE_GROUP): Likewise.
18105         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18106         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18107         (MCAST_MSFILTER): Likewise.
18108         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18109         Remove variable.
18110         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18111         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18112         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18113         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18114         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18116 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18118         * NEWS: Mention addition of x86_64 vector sincosf.
18119         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18120         * math/test-float-vlen4.h: Likewise.
18121         * math/test-float-vlen8.h: Likewise.
18122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18123         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18124         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18125         * sysdeps/x86_64/fpu/Versions: New versions added.
18126         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18127         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18128         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18131         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18135         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18136         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18137         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18138         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18139         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18140         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18141         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18142         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18145         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18149         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18151         * NEWS: Mention addition of x86_64 vector sincos.
18152         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18153         * math/math.h (__MATHDECL_VEC): New macro.
18154         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18155         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18156         declaration under condition.
18157         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18158         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18159         TEST_VEC_LOOP change.
18160         * math/test-double-vlen4.h: Likewise.
18161         * math/test-double-vlen8.h: Likewise.
18162         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18163         * math/test-float-vlen4.h: Likewise.
18164         * math/test-float-vlen8.h: Likewise.
18165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18166         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18167         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18168         * sysdeps/x86_64/fpu/Versions: New versions added.
18169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18170         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18171         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18177         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18178         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18179         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18180         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18181         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18182         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18183         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18184         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18186         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18189         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18190         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18191         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18194         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18195         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18196         redirections for powf.
18197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18198         * sysdeps/x86_64/fpu/Versions: New versions added.
18199         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18200         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18201         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18202         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18204         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18205         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18206         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18207         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18209         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18210         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18211         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18212         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18213         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18214         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18215         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18216         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18217         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18218         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18221         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18222         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18223         * math/test-float-vlen16.h: Fixed 2 argument macro.
18224         * math/test-float-vlen4.h: Likewise.
18225         * math/test-float-vlen8.h: Likewise.
18226         * NEWS: Mention addition of x86_64 vector powf.
18228 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18230         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18231         and redefine.
18232         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18233         and redefine.
18234         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18235         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18236         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18238         [BZ #18553]
18239         * resource/getpriority.c (getpriority): Rename to __getpriority
18240         and define as weak alias of __getpriority.
18241         * resource/setpriority.c (setpriority): Rename to __setpriority
18242         and define as weak alias of __setpriority.
18243         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18244         __getpriority and define as weak alias of __getpriority.
18245         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18246         __setpriority and define as weak alias of __setpriority.
18247         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18248         strong name.
18249         (setpriority): Use __setpriority as strong name.
18250         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18251         __getpriority and define as weak alias of __getpriority.
18252         * include/sys/resource.h (__getpriority): Declare.  Use
18253         libc_hidden_proto.
18254         (__setpriority): Likewise.
18255         (getpriority): Don't use libc_hidden_proto.
18256         (setpriority): Likewise.
18257         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18258         getpriority.  Call __setpriority instead of setpriority.
18259         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18260         Remove variable.
18262         [BZ #18547]
18263         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18264         as weak alias of __getttynam.  Use prototype function definition.
18265         Call __setttyent, __getttyent and __endttyent instead of
18266         setttyent, getttyent and endttyent.
18267         (getttyent): Rename to __getttyent and define as weak alias of
18268         __getttyent.  Call __setttyent instead of setttyent.  Call
18269         __fgets_unlocked instead of fgets_unlocked.
18270         (setttyent): Rename to __setttyent and define as weak alias of
18271         __setttyent.
18272         (endttyent): Rename to __endttyent and define as weak alias of
18273         __endttyent.
18274         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18275         (__setttyent): Likewise.
18276         (__endttyent): Likewise.
18277         (getttyent): Don't use libc_hidden_proto.
18278         (setttyent): Likewise.
18279         (endttyent): Likewise.
18280         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18281         __endttyent instead of setttyent, getttyent and endttyent.
18282         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18283         Remove variable.
18285         [BZ #18546]
18286         * socket/recv.c (__recv): Use libc_hidden_def.
18287         * socket/socket.c (__socket): Likewise.
18288         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18289         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18290         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18291         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18292         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18293         libc_hidden_def.
18294         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18295         libc_hidden_weak.
18296         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18297         Use libc_hidden_proto.
18298         (__recv): Likewise.
18299         * socket/Versions (libc): Export __recv and __socket at version
18300         GLIBC_PRIVATE.
18301         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18302         instead of recv.
18303         (init_mq_netlink): Call __socket instead of socket.
18304         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18305         Remove variable.
18307         [BZ #18545]
18308         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18309         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18310         hidden_weak.
18311         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18312         define as alias of __mq_timedsend.  Use hidden_weak.
18313         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18314         __mq_timedsend as strong name.
18315         (mq_timedreceive): Use __mq_timedreceive as strong name.
18316         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18317         (__mq_timedreceive): Likewise.
18318         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18319         __mq_timedreceive instead of mq_timedreceive.
18320         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18321         instead of mq_timedsend.
18322         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18323         Remove variable.
18325         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18326         hidden_def and hidden_weak instead of libc_hidden_def and
18327         libc_hidden_weak.
18328         (top level): Refer to hidden_def in comment.
18329         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18330         macro.  Use it instead of libc_hidden_def.
18331         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18332         specify __GI_* name explicitly.
18333         (mq_timedreceive): Likewise.
18334         (mq_setattr): Likewise.
18336         [BZ #18544]
18337         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18338         __pthread_barrier_init and define as weak alias of
18339         __pthread_barrier_init.
18340         * sysdeps/sparc/nptl/pthread_barrier_init.c
18341         (pthread_barrier_init): Likewise.
18342         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18343         __pthread_barrier_wait and define as weak alias of
18344         __pthread_barrier_wait.
18345         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18346         (pthread_barrier_wait): Likewise.
18347         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18348         (pthread_barrier_wait): Likewise.
18349         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18350         (pthread_barrier_wait): Likewise.
18351         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18352         (pthread_barrier_wait): Likewise.
18353         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18354         __pthread_barrier_wait at version GLIBC_PRIVATE.
18355         * include/pthread.h (__pthread_barrier_init): Declare.
18356         (__pthread_barrier_wait): Likewise.
18357         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18358         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18359         (helper_thread): Likewise.
18360         (init_mq_netlink): Call __pthread_barrier_init instead of
18361         pthread_barrier_init.
18363         [BZ #18542]
18364         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18365         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18366         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18367         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18368         vswscanf.
18369         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18370         Remove variable.
18372         [BZ #18540]
18373         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18374         strong alias of _IO_fflush.  Use libc_hidden_def.
18375         * libio/iofflush_u.c (fflush_unlocked): Rename to
18376         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18377         Use libc_hidden_weak.
18378         * include/stdio.h (__fflush_unlocked): Declare.  Use
18379         libc_hidden_proto.
18380         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18381         fflush_unlocked.
18382         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18383         Remove variable.
18385         [BZ #18539]
18386         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18387         define as weak alias of __addseverity.
18388         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18389         Remove variable.
18390         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18391         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18392         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18394         [BZ #18536]
18395         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18396         (__tfind): Likewise.
18397         (__tdelete): Likewise.
18398         (__twalk): Likewise.
18399         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18400         __twalk to GLIBC_PRIVATE.
18401         * include/search.h (__tsearch): Use libc_hidden_proto.
18402         (__tfind): Likewise.
18403         (__tdelete): Likewise.
18404         (__twalk): Likewise.
18405         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18406         Call __tdelete instead of tdelete.
18407         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18408         tfind.  Call __tsearch instead of tsearch.
18409         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18410         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18411         Remove variable.
18412         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18414         [BZ #18534]
18415         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18416         (dprintf): Define as a weak alias of __dprintf, not a strong
18417         alias.
18418         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18419         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18420         dprintf.
18421         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18422         Remove variable.
18423         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18424         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18426         [BZ #18533]
18427         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18428         not a strong alias.
18429         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18430         Remove variable.
18432         [BZ #18532]
18433         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18434         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18435         (in6addr_loopback): Rename to __in6addr_loopback and define as
18436         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18437         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18438         libc_hidden_proto.
18439         (__in6addr_any): Likewise.
18440         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18441         in6addr_any.
18442         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18443         variable.
18444         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18446 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18448         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18449         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18451         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18452         redirections for pow.
18453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18454         * sysdeps/x86_64/fpu/Versions: New versions added.
18455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18456         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18457         build of SSE, AVX2 and AVX512 IFUNC versions.
18458         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18460         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18461         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18462         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18463         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18464         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18465         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18466         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18467         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18468         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18469         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18470         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18471         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18472         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18473         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18474         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18475         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18476         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18477         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18478         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18479         * NEWS: Mention addition of x86_64 vector pow.
18481         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18482         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18483         redirections for expf.
18484         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18485         * sysdeps/x86_64/fpu/Versions: New versions added.
18486         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18487         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18488         build of SSE, AVX2 and AVX512 IFUNC versions.
18489         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18490         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18491         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18492         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18493         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18495         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18496         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18497         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18498         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18499         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18500         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18501         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18502         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18503         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18504         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18507         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18508         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18509         * NEWS: Mention addition of x86_64 vector expf.
18511         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18512         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18513         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18514         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18515         redirections for exp.
18516         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18517         * sysdeps/x86_64/fpu/Versions: New versions added.
18518         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18519         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18520         build of SSE, AVX2 and AVX512 IFUNC versions.
18521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18522         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18523         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18524         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18527         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18528         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18529         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18530         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18531         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18532         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18533         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18534         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18536         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18537         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18538         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18539         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18540         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18541         * NEWS: Mention addition of x86_64 vector exp.
18543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18545         redirections for logf.
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_logf16_core.S: New file.
18552         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18553         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18554         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18557         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18558         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18559         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18560         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18561         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18562         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18563         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf 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 logf.
18573         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18574         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18576         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18577         redirections for log.
18578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18579         * sysdeps/x86_64/fpu/Versions: New versions added.
18580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18582         build of SSE, AVX2 and AVX512 IFUNC versions.
18583         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18584         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18585         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18586         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18587         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18588         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18589         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18590         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18591         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18592         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18593         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18594         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18595         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18596         test.
18597         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18599         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18600         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18601         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18602         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18603         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18604         * NEWS: Mention addition of x86_64 vector log.
18606 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18608         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18609         cfi_adjust_cfa_offset argument.
18610         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18611         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18613         [BZ #18034]
18614         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18615         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18616         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18617         ordering using ldar.
18618         (_dl_tlsdesc_dynamic): Likewise.
18619         (_dl_tlsdesc_return_lazy): Likewise.
18620         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18621         relaxed atomics instead of volatile and synchronize with release store.
18622         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18623         volatile.
18624         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18626 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18628         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18629         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18630         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18631         * sysdeps/x86_64/fpu/Versions: New versions added.
18632         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18633         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18634         build of SSE, AVX2 and AVX512 IFUNC versions.
18635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18636         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18638         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18641         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18642         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18643         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18644         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18645         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18646         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18647         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18648         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18649         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18650         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18652         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18653         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18654         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18655         * NEWS: Mention addition of x86_64 vector sinf.
18657 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18659         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18660         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18661         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18662         Remove variable.
18663         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18664         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18666 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18668         [BZ #18530]
18669         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18670         strong alias of _IO_fputs.  Use libc_hidden_def.
18671         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18672         and define as weak alias of __fputs_unlocked.  Use
18673         libc_hidden_weak.
18674         * include/stdio.h (__fputs_unlocked): Declare.  Use
18675         libc_hidden_proto.
18676         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18677         fputs_unlocked.
18679         [BZ #18529]
18680         * resolv/netdb.h [__USE_POSIX]: Change condition to
18681         [__USE_XOPEN2K].
18682         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18683         not expect.
18684         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18685         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18686         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18687         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18688         [XPG4 || UNIX98] (AI_ALL): Likewise.
18689         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18690         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18691         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18692         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18693         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18694         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18695         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18696         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18697         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18698         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18699         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18700         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18701         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18702         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18703         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18704         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18705         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18706         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18707         [XPG4 || UNIX98] (gai_strerror): Likewise.
18708         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18709         [XPG4 || UNIX98] (getnameinfo): Likewise.
18711         [BZ #18528]
18712         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18713         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18714         __USE_XOPEN2K8].
18715         (getgrent): Likewise.
18716         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18717         expect.
18718         [XPG3 || POSIX2008] (endgrent): Likewise.
18719         [XPG3] (setgrent): Likewise.
18720         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18721         variable.
18722         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18724         [BZ #18527]
18725         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18726         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18727         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18728         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18729         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18730         * include/unistd.h (__getlogin_r): Declare.  Use
18731         libc_hidden_proto.
18732         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18733         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18734         variable.
18735         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18736         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18737         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18739 2015-06-12  Martin Sebor  <msebor@redhat.com>
18741         [BZ #18512]
18742         * Makerules (check-install-supported): New target.
18743         (install): Add check-install-supported as a dependency.
18744         * manual/install.texi (Installing the C Library): Document
18745         that overriding prefix and exec_prefix is not supported.
18746         Mention DESTDIR.
18747         * INSTALL: Regenerate from the above.
18749 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18751         [BZ #18519]
18752         * posix/Versions (libc): Export __libc_pread at version
18753         GLIBC_PRIVATE.
18754         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18755         instead of pread.
18756         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18757         variable.
18759         [BZ #18522]
18760         * misc/efgcvt_r.c
18761         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18762         (cvt_symbol): Use weak_alias instead of strong_alias.
18763         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18764         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18765         Remove variable.
18766         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18767         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18769         [BZ #18520]
18770         * inet/herrno.c (h_errno): Rename to __h_errno.
18771         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18772         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18773         to __h_errno instead of h_errno.
18774         * nptl/herrno.c (h_errno): Rename to __h_errno.
18775         (__h_errno_location): Refer to __h_errno not h_errno.
18776         * resolv/Versions (h_errno): Rename to __h_errno.
18777         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18778         Remove variable.
18779         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18781 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18783         * configure.ac: More strict check for AVX512 assembler support.
18784         * configure: Regenerated.
18786         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18787         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18789         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18790         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18791         * sysdeps/x86_64/fpu/Versions: New versions added.
18792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18793         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18794         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18795         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18796         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18797         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18798         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18799         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18801         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18802         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18803         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18804         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18805         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18806         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18807         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18808         test.
18809         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18810         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18812         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18813         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18814         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18815         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18816         * NEWS: Mention addition of x86_64 vector sin.
18818 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18820         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18821         comment.
18823 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18825         [BZ #18479]
18826         * nptl/pt-interp.c: New file.
18827         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18828         Add pt-interp.
18829         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18830         $(common-objpfx)runtime-linker.h.
18832 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18834         * Makeconfig (+interp): Remove unused variable.
18835         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18836         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18837         $(elf-objpfx)runtime-linker.h.
18838         ($(elf-objpfx)runtime-linker.h): Rename to
18839         $(common-objpfx)runtime-linker.h and move ...
18840         * Makerules [$(build-shared) = yes]: ... here.
18841         * elf/interp.c: Include <runtime-linker.h> instead of
18842         <elf/runtime-linker.h>.
18844 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18846         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18847         (__gettimeofday_syscall): Remove vsyscall fallback.
18848         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18849         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18850         Add syscall fallback function.
18851         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18852         if vDSO is not present.
18853         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18854         fallback function.
18855         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18856         present.
18857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18858         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18860 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18862         [BZ #18497]
18863         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18864         of wcscmp.
18865         (wcscmp): Define as weak alias of WCSCMP.
18866         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18867         wcscoll.
18868         (USE_HIDDEN_DEF): Define.
18869         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18870         __wcscoll.  Don't use libc_hidden_weak.
18871         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18872         wcscmp.
18873         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18874         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18875         __GI_wcscmp.
18876         (weak_alias): Undefine and redefine.
18877         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18878         __wcscmp and define as weak alias of __wcscmp.
18879         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18880         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18881         (__wcscoll): Likewise.
18882         (wcscmp): Don't use libc_hidden_proto.
18883         (wcscoll): Likewise.
18884         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18885         wcscoll.
18886         * posix/regexec.c (check_node_accept_bytes): Likewise.
18887         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18888         variable.
18889         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18890         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18892         [BZ #18507]
18893         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18894         __fstatvfs and define as weak alias of __fstatvfs.  Use
18895         libc_hidden_weak.
18896         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18897         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18898         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18899         Define as alias of __fstatvfs, not fstatvfs.
18900         (fstatvfs64): Likewise.
18901         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18902         Define as alias of __statvfs, not statvfs.
18903         (statvfs64): Likewise.
18904         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18905         Remove variable.
18907 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18910         (HAVE_GETCPU_VSYSCALL): Define.
18911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18912         (HAVE_GETCPU_VSYSCALL): Likewise.
18913         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18914         * sysdeps/unix/sysv/linux/sched_getcpu.c
18915         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18916         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18917         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18918         prototype.
18919         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18920         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18921         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18923         Define.
18924         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18925         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18926         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18927         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18929 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18931         * sysdeps/x86_64/fpu/Makefile: New file.
18932         * sysdeps/x86_64/fpu/Versions: New file.
18933         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18934         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18935         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18936         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18937         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18938         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18939         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18942         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18943         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18946         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18947         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18948         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18949         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18950         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18951         * sysdeps/x86_64/configure: Regenerated.
18952         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18953         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18954         * manual/install.texi (Configuring and compiling): Document
18955         --disable-mathvec.
18956         * INSTALL: Regenerated.
18957         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18959         * math/Makefile: Added rules for vector tests.
18960         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18961         declaration under condition.
18962         * math/test-double-vlen2.h: New file.
18963         * math/test-double-vlen4.h: New file.
18964         * math/test-double-vlen8.h: New file.
18965         * math/test-vec-loop.h: Added initialization macro.
18966         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18968         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18969         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18970         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18973         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18974         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18975         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18976         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18978         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18979         * sysdeps/x86_64/fpu/Versions: New versions added.
18980         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18982         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18983         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18984         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18986         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18987         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18990         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18991         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18992         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18993         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18994         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18995         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18996         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18997         * NEWS: Mention addition of x86_64 vector cosf.
18999         * math/Makefile: Added CFLAGS for new tests.
19000         * math/test-float-vlen16.h: New file.
19001         * math/test-float-vlen4.h: New file.
19002         * math/test-float-vlen8.h: New file.
19003         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19004         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19006         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19007         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19008         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19009         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19010         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19011         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19012         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19013         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19015 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19017         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19018         * locale/programs/ld-ctype.c: Likewise.
19020 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19022         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19023         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19024         bit_ZMM16_31_state): New macro.
19025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19026         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19028 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19030         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19032 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19034         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19036 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19038         [BZ #18498]
19039         * libio/memstream.c (open_memstream): Rename to __open_memstream
19040         and define as weak alias of __open_memstream.
19041         * include/stdio.h (__open_memstream): Declare.  Use
19042         libc_hidden_proto.
19043         (open_memstream): Don't use libc_hidden_proto.
19044         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19045         open_memstream.
19046         * posix/getopt.c (_getopt_internal_r): Likewise.
19047         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19048         variable.
19049         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19050         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19051         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19053         [BZ #18496]
19054         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19055         instead of wcrtomb.
19057         [BZ #18483]
19058         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19059         [__USE_XOPEN2K8].  Remove redundant #endif.
19060         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19061         Remove redundant #if.
19062         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19063         Remove variable.
19064         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19065         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19067         [BZ #18495]
19068         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19069         (__iswlower): Likewise.
19070         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19071         (__iswlower): Likewise.
19072         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19073         instead of towlower.
19074         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19075         instead of iswlower.  Call __towupper instead of towupper.
19076         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19077         instead of iswalnum.
19079 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19081         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19082         errors to stderr.
19084 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19086         [BZ #15661]
19087         [BZ #17322]
19088         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19089         Check for overflow properly.  Check for O_APPEND.  Ignore large
19090         file system block sizes.  Add comments about problems.
19091         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19092         * manual/filesys.texi (Storage Allocation): New node.
19094 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19096         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19097         cancellable syscalls.
19098         (SYS_ify): Add guard to no redefine it.
19099         (INLINE_SYSCALL): Likewise.
19100         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19101         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19102         SYSCALL_CANCEL instead.
19103         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19104         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19105         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19106         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19107         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19108         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19109         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19110         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19111         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19112         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19113         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19114         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19115         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19116         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19117         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19119         Likewise.
19120         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19121         (__libc_pread64): Likewise.
19122         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19123         (__libc_preadv): Likewise.
19124         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19125         (__libc_readv64): Likewise.
19126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19127         (__libc_pwrite): Likewise.
19128         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19129         (__libc_pwrite64): Likewise.
19130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19131         (__libc_pwritev): Likewise.
19132         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19133         (__libc_pwritev64): Likewise.
19134         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19135         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19136         (sync_file_range): Likewise.
19137         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19138         Likewise.
19139         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19140         Likewise.
19141         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19142         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19143         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19144         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19145         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19146         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19147         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19148         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19150         Likewise.
19151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19152         (__libc_read64): Likewise.
19153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19154         Likewise.
19155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19156         Likewise.
19157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19158         Likewise.
19159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19160         Likewise.
19161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19162         (__libc_pread64): Likewise.
19163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19164         Likewise.
19165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19166         (__libc_pwrite64): Likewise.
19167         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19168         (sync_file_range): Likewise.
19169         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19170         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19171         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19172         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19173         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19174         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19175         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19176         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19177         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19178         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19179         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19180         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19181         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19182         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19183         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19184         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19185         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19186         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19187         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19188         Likewise.
19189         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19190         Likewise.
19191         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19192         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19193         Likewise.
19194         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19195         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19196         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19197         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19198         Likewise.
19199         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19200         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19201         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19202         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19203         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19205 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19207         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19208         Include dl-vdso.
19209         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19210         Use VDSO routines for gettimeofday, clock_gettime if
19211         available.
19212         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19213         Declare VDSO symbols.
19214         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19215         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19216         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19217         * sysdeps/unix/sysv/linux/arm/Versions: Add
19218         __vdso_clock_gettime.
19220 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19222         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19223         be an inline implementation regardless of library is built within.
19224         (open_not_cancel_2): Likewise.
19225         (__read_nocancel): Likewise.
19226         (__write_nocancel): Likewise.
19227         (openat_not_cancel): Likewise.
19228         (openat_not_cancel_3): Likewise.
19229         (openat64_not_cancel): Likewise.
19230         (openat64_not_cancel_3): Likewise.
19231         (__close_nocancel): Likewise.
19232         (pause_not_cancel): Likewise.
19233         (nanosleep_not_cancel): Likewise.
19234         (sigsuspend_not_cancel): Likewise.
19236 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19238         [BZ #14958]
19239         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19240         wake-up.
19241         (__pthread_rwlock_rdlock_slow): Likewise.
19242         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19243         Likewise.
19244         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19245         Likewise.
19246         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19247         * nptl/tst-rwlock16.c: New file.
19248         * nptl/Makefile (tests): Add new test.
19250 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19252         [BZ #18324]
19253         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19254         missing wake-up of readers.
19255         * nptl/tst-rwlock15.c: New file.
19256         * nptl/Makefile (tests): Add new test.
19258 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19260         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19261         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19262         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19263         and __nacl_supply_interface_rtld.
19264         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19265         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19266         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19267         Add __nacl_supply_interface_rtld.
19268         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19270 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19272         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19273         isfinite.
19274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19275         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19277 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19279         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19280         __signbit* with standard C99 macros.
19281         * math/e_exp10l.c: Likewise.
19282         * math/e_exp2l.c: Likewise.
19283         * math/e_scalb.c: Likewise.
19284         * math/e_scalbf.c: Likewise.
19285         * math/e_scalbl.c: Likewise.
19286         * math/s_ldexp.c: Likewise.
19287         * math/s_ldexpf.c: Likewise.
19288         * math/s_ldexpl.c: Likewise.
19289         * math/w_atan2.c: Likewise.
19290         * math/w_atan2f.c: Likewise.
19291         * math/w_atan2l.c: Likewise.
19292         * math/w_cosh.c: Likewise.
19293         * math/w_coshf.c: Likewise.
19294         * math/w_coshl.c: Likewise.
19295         * math/w_exp10.c: Likewise.
19296         * math/w_exp10f.c: Likewise.
19297         * math/w_exp10l.c: Likewise.
19298         * math/w_exp2.c: Likewise.
19299         * math/w_exp2f.c: Likewise.
19300         * math/w_exp2l.c: Likewise.
19301         * math/w_fmod.c: Likewise.
19302         * math/w_fmodf.c: Likewise.
19303         * math/w_fmodl.c: Likewise.
19304         * math/w_hypot.c: Likewise.
19305         * math/w_hypotf.c: Likewise.
19306         * math/w_hypotl.c: Likewise.
19307         * math/w_jnl.c: Likewise.
19308         * math/w_lgamma.c: Likewise.
19309         * math/w_lgamma_r.c: Likewise.
19310         * math/w_lgammaf.c: Likewise.
19311         * math/w_lgammaf_r.c: Likewise.
19312         * math/w_lgammal.c: Likewise.
19313         * math/w_lgammal_r.c: Likewise.
19314         * math/w_pow.c: Likewise.
19315         * math/w_powf.c: Likewise.
19316         * math/w_powl.c: Likewise.
19317         * math/w_remainder.c: Likewise.
19318         * math/w_remainderf.c: Likewise.
19319         * math/w_remainderl.c: Likewise.
19320         * math/w_scalb.c: Likewise.
19321         * math/w_scalbf.c: Likewise.
19322         * math/w_scalbl.c: Likewise.
19323         * math/w_scalbln.c: Likewise.
19324         * math/w_scalblnf.c: Likewise.
19325         * math/w_scalblnl.c: Likewise.
19326         * math/w_sinh.c: Likewise.
19327         * math/w_sinhf.c: Likewise.
19328         * math/w_sinhl.c: Likewise.
19329         * math/w_tgamma.c: Likewise.
19330         * math/w_tgammaf.c: Likewise.
19331         * math/w_tgammal.c: Likewise.
19332         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19333         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19334         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19335         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19336         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19338         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19339         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19340         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19341         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19342         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19343         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19351         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19353         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19356         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19357         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19358         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19359         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19360         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19361         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19362         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19363         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19364         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19365         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19366         * stdio-common/printf_fp.c: Likewise.
19367         * stdio-common/printf_fphex.c: Likewise.
19368         * stdio-common/printf_size.c: Likewise.
19370 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19372         [BZ #18470]
19373         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19374         strnlen.
19375         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19376         Remove variable.
19377         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19378         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19379         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19380         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19381         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19382         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19383         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19384         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19385         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19386         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19388         [BZ #18468]
19389         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19390         weak alias of __wmemchr.  Use libc_hidden_weak.
19391         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19392         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19393         instead of wmemchr.
19395 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19397         [BZ #18383]
19398         * elf/tst-tlsalign-extern.c: New file.
19399         * elf/tst-tlsalign-extern-static.c: New file.
19400         * elf/tst-tlsalign-vars.c: New file.
19401         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19402         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19403         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19404         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19405         (test-xfail-tst-tlsalign-extern-static): New variable.
19407 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19409         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19410         Use variable name _sc_err instead of err.
19411         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19412         instead of ret.
19413         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19414         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19415         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19416         (INLINE_SYSCALL): Likewise.
19418         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19419         * include/string.h (__strnlen): Use libc_hidden_proto.
19420         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19421         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19422         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19423         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19424         (libc_hidden_def): Undefine and redefine.
19425         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19426         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19427         __GI_strnlen.
19428         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19429         libc_hidden_def.
19430         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19432         [BZ #18469]
19433         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19434         weak alias of __towlower.  Use libc_hidden_weak.
19435         (towupper): Rename to __towupper and define as weak alias of
19436         __towupper.  Use libc_hidden_weak.
19437         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19438         (__towupper): Likewise.
19439         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19440         __towlower instead of towlower.
19442 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19444         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19445         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19447 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19449         * sysdeps/aarch64/libm-test-ulps: Update.
19451 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19453         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19454         Define.
19455         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19457         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19458         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19459         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19460         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19461         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19463 2015-06-01  Martin Sebor  <msebor@redhat.com>
19465         [BZ #18116]
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19467         (__setcontext): Use extended four-operand version of mtsf whenever
19468         possible.
19469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19470         (__novec_swapcontext): Likewise.
19472 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19474         * benchtests/scripts/compare_bench.py: New file.
19475         * benchtests/scripts/import_bench.py (mean): New function.
19476         (split_list): Likewise.
19477         (do_for_all_timings): Likewise.
19478         (compress_timings): Likewise.
19480         * benchtests/scripts/import_bench.py: New file.
19481         * benchtests/scripts/validate_benchout.py: Import import_bench
19482         instead of jsonschema.
19483         (validate_bench): Remove function.
19484         (main): Use import_bench.
19486 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19488         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19489         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19491 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19495 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19497         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19498         set THREAD_SELF->tid to a magic value and futex-wake it.
19499         Pass its address to the thread_exit system call.
19500         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19501         bit is clear.
19502         * sysdeps/nacl/lowlevellock.h: New file.
19503         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19505         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19506         Add TIMEOUT to current time, don't subtract it.
19508 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19510         [BZ #2981]
19511         [BZ #18422]
19512         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19513         ($(objpfx)tst-audit2.out): Also depend on
19514         $(objpfx)tst-auditmod9b.so.
19515         * elf/tst-audit2.c: Include <dlfcn.h>.
19516         (calloc_called): New.
19517         (calloc): Allow to be called more than once.
19518         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19520 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19522         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19523         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19525 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19527         * stdlib/monetary.h: Fix comment.
19529 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19531         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19532         Avoid using variables in #defines that might cause shadowing.
19533         (INTERNAL_VSYSCALL_CALL): Likewise.
19535 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19537         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19539         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19540         * nptl/lll_timedlock_wait.c: ... to this new file.
19541         * nptl/Makefile (libpthread-routines): Add it.
19542         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19543         * nptl/lll_timedwait_tid.c: ... to this new file.
19544         * nptl/Makefile (libpthread-routines): Add it.
19545         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19546         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19547         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19548         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19549         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19550         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19551         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19552         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19553         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19554         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19556 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19558         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19559         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19560         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19562         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19564         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19566         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19567         * sysdeps/unix/sysv/linux/tile/sysdep.h
19568         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19569         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19570         using vDSO syscall macro.
19572 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19574         [BZ #17293]
19575         * uk_UA: Fix sorting order for Ukrainian locale
19577 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19579         * stdlib/monetary.h: Fix comment.
19581 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19583         [BZ #18234]
19584         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19585         st_mtim and st_ctim members.
19586         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19587         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19588         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19589         (struct stat64): Likewise.
19590         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19591         (struct stat64): Likewise.
19592         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19593         (struct stat64): Likewise.
19595 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19597         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19598         Define and include sysdep-vdso.h.
19599         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19600         Likewise.
19601         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19602         Likewise.
19603         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19604         Define with VDSO_SYMBOL and use PTR_MANGLE.
19605         (__vdso_clock_gettime): Likewise.
19606         (__vdso_clock_getres): Likewise.
19607         (_libc_vdso_platform_setup): Likewise.
19608         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19609         Likewise.
19610         (_libc_vdso_platform_setup): Likewise.
19611         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19612         Likewise.
19613         (__vdso_clock_gettime): Likewise.
19614         (__vdso_clock_getres): Likewise.
19615         (__vdso_get_tbfreq): Likewise.
19616         (__vdso_getcpu): Likewise.
19617         (__vdso_time): Likewise.
19618         (__vdso_sigtramp_rt64): Likewise.
19619         (__vdso_signtramp32): Likewise.
19620         (__vdso_sigtramp_rt32): Likewise.
19621         (_libc_vdso_platform_setup): Likewise.
19622         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19623         Likewise.
19624         (__vdso_clock_gettime): Likewise.
19625         (__vdso_clock_getres): Likewise.
19626         (_libc_vdso_platform_setup): Likewise.
19627         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19628         Likewise.
19629         (__vdso_clock_gettime): Likewise.
19630         (_libc_vdso_platform_setup): Likewise.
19631         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19632         Likewise.
19633         (__vdso_getcpu): Likewise.
19634         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19635         Use VDSO_SYMBOL macro to define.
19636         (__vdso_clock_gettime): Likewise.
19637         (__vdso_clock_getres): Likewise.
19638         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19639         Likewise.
19640         (__vdso_clock_gettime): Likewise.
19641         (__vdso_clock_getres): Likewise.
19642         (__vdso_get_tbfreq): Likewise.
19643         (__vdso_getcpu): Likewise.
19644         (__vdso_time): Likewise.
19645         (__vdso_sigtramp_rt64): Likewise.
19646         (__vdso_signtramp32): Likewise.
19647         (__vdso_sigtramp_rt32): Likewise.
19648         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19649         Likewise.
19650         (__vdso_clock_gettime): Likewise.
19651         (__vdso_clock_getres): Likewise.
19652         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19653         Likewise.
19654         (__vdso_clock_gettime): Likewise.
19655         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19656         Likewise.
19657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19658         macro.
19659         (INTERNAL_VSYSCALL): Likewise.
19660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19661         Remove macro.
19662         (INTERNAL_VSYSCALL): Likewise.
19663         (INTERNAL_VSYSCALL_NCS): Likewise.
19664         (INTERNAL_VSYSCALL_CALL): New macro.
19665         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19667         Likewise.
19668         (INTERNAL_VSYSCALL): Likewise.
19669         (INTERNAL_VSYSCALL_NCS): Likewise.
19670         (INTERNAL_VSYSCALL_CALL): New macro.
19671         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19673         (INLINE_VSYSCALL): Remove macro.
19674         (INTERNAL_VSYSCALL): Remove macro.
19675         (INTERNAL_VSYSCALL_NCS): Remove macro.
19676         (INTERNAL_VSYSCALL_CALL): New macro.
19677         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19678         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19679         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19680         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19681         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19683         (INLINE_VSYSCALL): Remove macro.
19684         (INTERNAL_VSYSCALL): Likewise.
19685         (INTERNAL_VSYSCALL_NCS): Likewise.
19686         (INTERNAL_VSYSCALL_CALL): New macro.
19687         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19688         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19689         PTR_DEMANGLE on vDSO pointer.
19690         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19691         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19692         macro.
19693         (INTERNAL_SYSCALL): Likewise.
19694         (INTERNAL_VSYSCALL_NCS): Remove macro.
19695         (INTERNAL_VSYSCALL_CALL): New macro.
19696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19697         Remove macro.
19698         (INTERNAL_VSYSCALL): Likewise.
19699         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19700         sysdep-vdso.h instead of libc-vdso.h.
19701         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19702         definition.
19703         (INLINE_VSYSCALL): Likewise.
19704         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19705         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19706         definition.
19707         (INLINE_VSYSCALL): Likewise.
19708         (INTERNAL_VSYSCALL): Likewise.
19709         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19710         * sysdeps/unix/sysv/linux/timespec_get.c
19711         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19712         (timespec_get): Use ANSI prototype.
19713         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19714         and definition for Linux.
19716 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19718         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19719         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19721 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19723         [BZ #2981]
19724         [BZ #18410]
19725         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19726         for missing DT_PLTRELSZ.
19728 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19730         Remove obsolete aliases that broke 'locale -a'
19731         [BZ #18412]
19732         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19733         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19734         breaking some applications that use 'locale -a' output.
19735         Change the encoding of this file from Latin-1 to ASCII to avoid
19736         other potential problems with people grepping this file.
19738 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19740         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19741         -fasynchronous-unwind-tables.
19742         (CFLAGS-sendto.c): Likewise.
19743         (CFLAGS-sendmsg.c): Likewise.
19744         (CFLAGS-connect.c): Likewise.
19745         (CFLAGS-recvmsg.c): Likewise.
19746         (CFLAGS-recvfrom.c): Likewise.
19747         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19748         (SOCKETCALL): New macro: non-cancellable socketcall.
19749         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19750         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19751         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19752         * sysdeps/unix/sysv/linux/accept.c: New file.
19753         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19754         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19755         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19756         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19757         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19758         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19759         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19760         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19761         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19762         * sysdeps/unix/sysv/linux/send.c: Likewise.
19763         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19764         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19765         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19766         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19767         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19768         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19769         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19770         prototype.
19771         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19772         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19773         instead of __internal_xxx function.
19774         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19775         prototype.
19776         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19777         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19778         instead of __internal_xxx function.
19779         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19780         prototype.
19781         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19782         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19783         instead of __internal_xxx function.
19784         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19785         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19786         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19787         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19788         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19789         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19790         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19791         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19792         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19793         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19794         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19795         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19796         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19797         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19798         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19799         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19800         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19801         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19802         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19803         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19806         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19807         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19808         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19809         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19810         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19811         * sysdeps/unix/sysv/linux/send.S: Likewise.
19812         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19813         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19814         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19815         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19816         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19817         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19818         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19819         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19820         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19821         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19822         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19823         socketcall is implemented in GLIBC.
19825 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19827         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19828         (__fma): Ignore uninitialized warnings around packing.
19829         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19830         (__fmaf): Ignore uninitialized warnings around packing.
19831         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19832         (__fmal): Ignore uninitialized warnings around packing.
19834         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19835         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19836         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19837         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19839         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19840         switch statement into default case.
19841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19843         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19844         a conditional in forcing "inexact".
19845         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19846         Likewise.
19848 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19850         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19851         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19852         for each INTERNAL_SYSCALL use.
19854 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #438]
19857         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19858         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19859         variable.
19861         [BZ #18444]
19862         * string/basename.c (basename): Rename to __basename and define as
19863         weak alias of __basename.  Use libc_hidden_weak.
19864         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19865         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19866         __basename instead of basename.
19867         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19868         Remove variable.
19869         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19871 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19873         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19874         (_IO_JUMPS_FILE_plus): New.
19875         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19876         _IO_CAST_FIELD_ACCESS.
19877         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19878         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19879         * libio/freopen.c (freopen): Likewise.
19880         * libio/freopen64.c (freopen64): Likewise.
19881         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19882         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19883         * libio/iofwide.c (_IO_fwide): Likewise.
19884         * libio/memstream.c (open_memstream): Likewise.
19885         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19886         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19887         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19889 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19891         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19892         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19893         NADJ.
19894         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19895         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19896         NADJ.
19897         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19898         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19899         NADJ.
19901         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19902         (p == 4) case.
19904         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19905         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19906         Remove variable.
19907         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19908         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19909         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19911 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19913         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19914         Adjust jump table label generation macros.
19916 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19918         * stdio-common/vfprintf.c (vfprintf): Move local variables
19919         args_malloced, specs, specs_malloced, and the code after
19920         do_positional to the printf_positional function.
19921         (printf_positional): New function.
19923 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19925         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19926         function.
19927         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19928         STEP4_TABLE, process_arg): Move macro definitions
19929         out of the vfprintf function.  (Cosmetic change only.)
19931 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19933         * benchtests/Makefile (stdio-common-bench): Define.
19934         (benchset): Add stdio-common-bench.
19935         * sprintf-inputs: New file.
19936         * sprintf-source.c: New file.
19938 2015-05-21  Andreas Schwab  <schwab@suse.de>
19940         [BZ #13028]
19941         [BZ #17053]
19942         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19943         of struct __res_state.
19944         * resolv/res_send.c (__libc_res_nsend): Likewise.
19945         (get_nsaddr): New function.
19946         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19947         statp directly.
19949 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19951         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19952         -D_POSIX_C_SOURCE=199506L.
19954         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19956         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19957         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19958         Do not mention otherwise.
19959         [POSIX] (_XOPEN_VERSION): Do not expect.
19960         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19961         [POSIX] (_POSIX2_C_BIND): Likewise.
19962         [POSIX] (_POSIX2_VERSION): Likewise.
19963         [POSIX] (_XOPEN_XPG2): Likewise.
19964         [POSIX] (_XOPEN_XPG3): Likewise.
19965         [POSIX] (_XOPEN_XPG4): Likewise.
19966         [POSIX] (_XOPEN_UNIX): Likewise.
19967         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19968         [POSIX] (_POSIX_BARRIERS): Likewise.
19969         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19970         [POSIX] (_POSIX_CPUTIME): Likewise.
19971         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19972         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19973         [POSIX] (_POSIX_SHELL): Likewise.
19974         [POSIX] (_POSIX_SPAWN): Likewise.
19975         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19976         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19977         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19978         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19979         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19980         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19981         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19982         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19983         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19984         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19985         [POSIX] (_POSIX2_PBS): Likewise.
19986         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19987         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19988         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19989         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19990         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19991         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19992         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19993         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19994         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19995         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19996         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19997         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19998         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19999         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20000         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20001         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20002         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20003         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20004         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20005         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20006         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20007         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20008         [POSIX] (_SC_2_C_BIND): Likewise.
20009         [POSIX] (_SC_2_C_VERSION): Likewise.
20010         [POSIX] (_SC_2_PBS): Likewise.
20011         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20012         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20013         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20014         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20015         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20016         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20017         [POSIX] (_SC_BARRIERS): Likewise.
20018         [POSIX] (_SC_BASE): Likewise.
20019         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20020         [POSIX] (_SC_DEVICE_IO): Likewise.
20021         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20022         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20023         [POSIX] (_SC_FD_MGMT): Likewise.
20024         [POSIX] (_SC_FIFO): Likewise.
20025         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20026         [POSIX] (_SC_FILE_LOCKING): Likewise.
20027         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20028         [POSIX] (_SC_IOV_MAX): Likewise.
20029         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20030         [POSIX] (_SC_NETWORKING): Likewise.
20031         [POSIX] (_SC_PAGE_SIZE): Likewise.
20032         [POSIX] (_SC_PASS_MAX): Likewise.
20033         [POSIX] (_SC_PIPE): Likewise.
20034         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20035         [POSIX] (_SC_REGEXP): Likewise.
20036         [POSIX] (_SC_SHELL): Likewise.
20037         [POSIX] (_SC_SIGNALS): Likewise.
20038         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20039         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20040         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20041         [POSIX] (_SC_USER_GROUPS): Likewise.
20042         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20043         [POSIX] (_SC_STREAMS): Likewise.
20044         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20045         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20046         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20047         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20048         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20049         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20050         [POSIX] (_PC_FILESIZEBITS): Likewise.
20051         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20052         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20053         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20054         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20055         [POSIX] (uid_t): Likewise.
20056         [POSIX] (gid_t): Likewise.
20057         [POSIX] (off_t): Likewise.
20058         [POSIX] (pid_t): Likewise.
20059         [POSIX] (cuserid): Allow.
20060         (_SC_2_CHAR_TERM): Require constant.
20061         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20062         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20063         variable.
20065 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20067         * sysdeps/nacl/pthread-pids.h: New file.
20068         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20069         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20071         * nptl/pthread-pids.h: New file.
20072         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20073         * nptl/nptl-init.c: Include <pthread-pids.h>.
20074         (__pthread_initialize_minimal_internal):
20075         Call __pthread_initialize_pids instead of set_tid_address syscall.
20077         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20078         * sysdeps/posix/usleep.c: ... here.
20080 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20082         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20083         call_pselect6 object.
20084         [$(subdir) = io]: Remove call_sync_file_range object.
20085         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20086         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20087         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20088         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20090 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20092         * math/s_cproj.c: Add include "math_private.h".
20093         * math/s_cprojf.c: Likewise.
20094         * math/s_cprojl.c: Likewise.
20096 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20098         [BZ #18244]
20099         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20100         high mantissa bit when testing whether P is a NaN.
20101         * math/libm-test.inc (remainder_test_data): Add more tests.
20102         (remquo_test_data): Likewise.
20104         [BZ #18049]
20105         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20106         below -32, return the argument, with underflow if subnormal.
20107         * math/auto-libm-test-in: Add more tests of atanh.
20108         * math/auto-libm-test-out: Regenerated.
20110 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20112         [BZ #18434]
20113         * nptl/tst-sem15.c: New file.
20114         * nptl/Makefile (tests): Add it.
20115         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20116         s/<</>>/ to fix typo in EOVERFLOW check.
20117         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20119 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20121         * manual/strings.texi (envz_remove): Fix typo in safety
20122         annotations.
20124 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20125             Steve Ellcey  <sellcey@imgtec.com>
20127         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20128         in order to avoid strict alias warnings.
20129         (iruserok_af): Ditto for ra.
20131 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20133         [BZ #17581]
20134         * malloc/hooks.c
20135         (magicbyte): Convert to a function and avoid returning 0x01.
20136         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20137         (mem2chunk_check): Fix unsigned comparisons to zero.
20138         Hoist defs of sz and magic.
20140 2015-05-19  Richard Henderson  <rth@redhat.com>
20142         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20144         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20146 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148         [BZ #16159]
20149         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20150         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20151         (reused_arena): Find a non-corrupt arena.
20152         (heap_trim): Pass arena to unlink.
20153         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20154         malloc_printerr.
20155         (top_check): Likewise.
20156         (free_check): Likewise.
20157         (realloc_check): Likewise.
20158         * malloc/malloc.c (malloc_printerr): Add arena argument.
20159         (unlink): Likewise.
20160         (munmap_chunk): Adjust.
20161         (ARENA_CORRUPTION_BIT): New macro.
20162         (arena_is_corrupt): Likewise.
20163         (set_arena_corrupt): Likewise.
20164         (sysmalloc): Use mmap if there are no usable arenas.
20165         (_int_malloc): Likewise.
20166         (__libc_malloc): Don't fail if arena_get returns NULL.
20167         (_mid_memalign): Likewise.
20168         (__libc_calloc): Likewise.
20169         (__libc_realloc): Adjust for additional argument to
20170         malloc_printerr.
20171         (_int_free): Likewise.
20172         (malloc_consolidate): Likewise.
20173         (_int_realloc): Likewise.
20174         (_int_memalign): Don't touch corrupt arenas.
20175         * malloc/tst-malloc-backtrace.c: New test case.
20177         * Makefile (summarize-tests): Fix return value on success.
20179         * manual/string.texi (Envz Functions): Add envz_remove.
20181 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20183         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20184         (invalid_name): New function, broken out of ...
20185         (__opendirat): ... here.  Call it.
20186         (need_isdir_precheck): New function, broken out of ...
20187         (__opendirat): ... here.  Call it.
20188         Use __fxstatat64, not __xstatat64.
20189         (opendir_oflags): New function, broken out of ...
20190         (__opendirat): ... here.  Call it.
20191         (opendir_tail): New function, broken out of ...
20192         (__opendirat): ... here.  Call it.
20193         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20194         opendir_tail, rather than punting to __opendirat.
20195         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20197 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199         * .gitignore: Ignore generated *.pyc.
20201 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20203         * include/stdio.h: Define __need_wint_t.
20204         * test-skeleton.c: Avoid `for' loop initial declaration.
20205         * nptl/tst-initializers1.c: Use test-skeleton.c.
20207 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20209         [BZ #18418]
20210         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20212 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20214         [BZ #16352]
20215         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20216         (__ieee754_atanh): Force underflow exception for results with
20217         small absolute value.
20218         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20219         (__ieee754_atanhf): Force underflow exception for results with
20220         small absolute value.
20221         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20222         (__ieee754_atanh): Force underflow exception for results with
20223         small absolute value.
20224         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20225         (__ieee754_atanhf): Force underflow exception for results with
20226         small absolute value.
20227         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20228         (__ieee754_atanhl): Force underflow exception for results with
20229         small absolute value.
20230         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20231         (__ieee754_atanhl): Force underflow exception for results with
20232         small absolute value.
20233         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20234         (__ieee754_atanhl): Force underflow exception for results with
20235         small absolute value.
20236         * math/auto-libm-test-in: Do not allow missing underflow
20237         exceptions from atanh.
20238         * math/auto-libm-test-out: Regenerated.
20240         [BZ #18221]
20241         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20242         2**-28 as threshold for returning x or +/- 1/x.
20243         * math/auto-libm-test-in: Add more tests of tan.
20244         * math/auto-libm-test-out: Regenerated.
20246         [BZ #18220]
20247         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20248         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20249         * math/auto-libm-test-in: Add another test of lgamma.
20250         * math/auto-libm-test-out: Regenerated.
20252 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20254         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20255         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20256         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20257         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20258         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20259         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20260         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20261         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20263         (log1): Use fabs.  (my_log2): Use fabs.
20264         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20265         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20266         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20267         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20269         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20270         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20271         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20272         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20273         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20274         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20276 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20278         [BZ #18217]
20279         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20280         as threshold for returning 1 - x.
20281         * math/auto-libm-test-in: Add more tests of erfc.
20282         * math/auto-libm-test-out: Regenerated.
20284 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20286         [BZ #18196]
20287         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20288         threshold for large arguments.
20289         * math/auto-libm-test-in: Add another test of atan.
20290         * math/auto-libm-test-out: Regenerated.
20292         [BZ #16339]
20293         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20294         (__log1p): Force underflow exception for results with small
20295         absolute value.
20296         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20297         (__log1pf): Force underflow exception for results with small
20298         absolute value.
20299         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20300         (__log1p): Force underflow exception for results with small
20301         absolute value.
20302         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20303         (__log1pf): Force underflow exception for results with small
20304         absolute value.
20305         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20306         (__log1pl): Force underflow exception for results with small
20307         absolute value.
20308         * math/auto-libm-test-in: Do not allow missing underflow
20309         exceptions from log1p.
20310         * math/auto-libm-test-out: Regenerated.
20312 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20313             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20315         [BZ #16704]
20316         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20318 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20320         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20321         (libmvec): New variable.
20322         * configure.ac: Added option for mathvec build.
20323         * configure: Regenerated.
20324         * mathvec/Depend: New file.
20325         * mathvec/Makefile: New file.
20326         * shlib-versions: Added libmvec.
20327         * math/Makefile: Added rule for libm.so installation.
20329         * bits/math-vector.h: New file.
20330         * bits/libm-simd-decl-stubs.h: New header.
20331         * math/Makefile (headers): Added new header
20332         libm-simd-decl-stubs.h.
20333         * math/math.h (__MATHCALL_VEC): New macro.
20335         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20336         for conditions in testing functions.
20337         * math/Makefile: Added call of libm-have-vector-test.sh.
20338         * math/libm-test.inc (HAVE_VECTOR): New macros.
20340         * math/libm-test.inc: START refactored.
20341         * math/test-double.c (TEST_MATHVEC): Add define.
20342         * math/test-float.c: Likewise.
20343         * math/test-idouble.c: Likewise.
20344         * math/test-ifloat.c: Likewise.
20345         * math/test-ildoubl.c: Likewise.
20346         * math/test-ldouble.c: Likewise.
20347         * sysdeps/generic/math-tests-arch.h
20348         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20349         architecture check.
20351         * math/test-double.c (FUNC_TEST): New macro.
20352         * math/test-float.c: Likewise.
20353         * math/test-idouble.c: Likewise.
20354         * math/test-ifloat.c: Likewise.
20355         * math/test-ildoubl.c: Likewise.
20356         * math/test-ldouble.c: Likewise.
20357         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20359 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20361         * sysdeps/nacl/fdopendir.c: New file.
20363         * dirent/scandir-tail.c: New file.
20364         * dirent/scandir64-tail.c: New file.
20365         * dirent/Makefile (routines): Add them.
20366         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20367         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20368         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20369         [!SCANDIR] (SCANDIR_TAIL): New macro.
20370         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20371         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20372         (SCANDIRAT): Macro removed.
20373         (SCANDIR_TAIL): New macro.
20374         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20375         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20376         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20377         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20378         (READDIR): Macro removed.
20379         (SCANDIR_TAIL): New macro.
20380         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20381         (SCANDIR_TAIL): New macro.
20383         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20384         * dirent/scandir-cancel.c: ... to this new file.
20385         * dirent/Makefile (routines): Add it.
20386         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20387         * sysdeps/unix/sysv/linux/i386/scandir64.c
20388         (SKIP_SCANDIR_CANCEL): Macro removed.
20389         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20391         * dirent/tst-scandir.c: New file.
20392         * dirent/tst-scandir64.c: New file.
20393         * dirent/Makefile (tests): Add them.
20395 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20397         [BZ #18409]
20398         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20400 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20402         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20403         list.
20405 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20407         * benchtests/bench-strcoll.c: New benchmark.
20408         * benchtests/Makefile: Generate locales and run benchmark.
20409         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20410         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20411         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20412         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20413         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20414         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20415         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20416         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20417         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20418         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20419         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20420         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20421         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20422         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20423         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20424         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20425         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20426         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20427         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20428         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20429         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20430         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20431         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20432         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20434 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20436         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20437         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20439 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20441         * posix/uname-values.h: New file.
20442         * posix/uname.c: Include that instead of <config-name.h>.
20443         * sysdeps/nacl/uname-values.h: New file.
20444         * sysdeps/arm/nacl/uname-values.h: New file.
20446 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20448         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20449         splitting into fields.
20451 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20453         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20454         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20455         * locale/localeinfo.h: Add enum collation_encoding_type.
20456         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20457         * programs/ld-collate.c (collate_output): Add encoding type info.
20458         * string/strcoll_l.c (STRDIFF): New function.
20459         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20460         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20462 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20464         [BZ #18397]
20465         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20466         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20467         <fpu_control.h> instead of <math/fpu_control.c>.
20468         * sysdeps/mips/mips32/fpu/Makefile: New file.
20470 2015-05-11  Andreas Schwab  <schwab@suse.de>
20472         [BZ #18007]
20473         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20474         nss_endgrent.
20475         (_nss_compat_endgrent): Call nss_endgrent.
20476         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20477         nss_endpwent.
20478         (_nss_compat_endpwent): Call nss_endpwent.
20479         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20480         needent, call nss_setspent only if non-zero.
20481         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20482         (internal_endspent): Don't call nss_endspent.
20483         (_nss_compat_endspent): Call nss_endspent.
20484         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20485         Remove.  All uses removed.
20486         (internal_setent): Remove parameter stayopen, add parameter
20487         stream.  Use it instead of global variable.
20488         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20489         (internal_endent, internal_getent): Add parameter stream.  Use it
20490         instead of global variable.
20491         (CONCAT(_nss_files_end,ENTNAME))
20492         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20493         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20494         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20495         uses removed.
20496         (internal_setent, internal_endent): Add parameter stream.  Use it
20497         instead of global variable.
20498         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20499         stream.
20500         (get_next_alias): Add parameter stream.
20501         (_nss_files_getaliasent_r): Pass global stream.
20502         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20503         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20504         (_nss_files_gethostbyname4_r): Pass local stream to
20505         internal_setent, internal_getent and internal_endent.  Remove
20506         locking.
20508 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20510         * tst-strfmon1.c (tests): Update expected currency symbol.
20512 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20514         * sysdeps/nacl/gethostname.c: New file.
20516 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20518         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20519         and sinh.
20520         * math/auto-libm-test-out: Regenerated.
20521         * sysdeps/i386/fpu/libm-test-ulps: Update.
20522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20524 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20526         [BZ #18125]
20527         * stdlib/tst-setcontext3.c: New file.
20528         * stdlib/tst-setcontext3.sh: New file.
20529         * stdlib/Makefile (tests): Add tst-setcontext3.
20530         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20531         to verify test program created output file.
20532         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20533         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20534         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20535         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20537 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20539         [BZ #18383]
20540         * elf/tst-tlsalign.c: New file.
20541         * elf/tst-tlsalign-static.c: New file.
20542         * elf/tst-tlsalign-lib.c: New file.
20543         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20544         (tests-static): Add tst-tlsalign-static.
20545         (modules-names): Add tst-tlsalign-lib.
20546         (test-xfail-tst-tlsalign): New variable.
20547         (test-xfail-tst-tlsalign-static): New variable.
20549         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20550         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20552 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20554         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20555         csqrt, erfc, sin and sincos.
20556         * math/auto-libm-test-out: Regenerated.
20557         * sysdeps/i386/fpu/libm-test-ulps: Update.
20558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20560 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20562         * sysdeps/aarch64/libm-test-ulps: Update.
20564 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20566         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20567         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20568         * math/auto-libm-test-out: Regenerated.
20569         * sysdeps/i386/fpu/libm-test-ulps: Update.
20570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20572 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20574         [BZ #18265]
20575         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20576         (wcsncpy): Likewise.
20578 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20580         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20581         Assume __ASSUME_FALLOCATE is always true.
20582         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20583         (__posix_fallocate64_l64): Likweise.
20584         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20585         (posix_fallocate): Likewise.
20586         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20587         (__posix_fallocate64_l64): Likewise.
20588         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20589         [!__ASSUME_FALLOCATE]: Add comment.
20591 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20593         * sysdeps/unix/sysv/linux/i386/Makefile
20594         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20595         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20596         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20597         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20598         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20599         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20600         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20602 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20604         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20605         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20606         tgamma.
20607         * math/auto-libm-test-out: Regenerated.
20608         * sysdeps/i386/fpu/libm-test-ulps: Update.
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20611 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20613         * math/auto-libm-test-in: Add more tests of tgamma.
20614         * math/auto-libm-test-out: Regenerated.
20615         * sysdeps/i386/fpu/libm-test-ulps: Update.
20616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618         * math/auto-libm-test-in: Add more tests of tanh.
20619         * math/auto-libm-test-out: Regenerated.
20620         * sysdeps/i386/fpu/libm-test-ulps: Update.
20621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623         * math/auto-libm-test-in: Add more tests of tan.
20624         * math/auto-libm-test-out: Regenerated.
20625         * sysdeps/i386/fpu/libm-test-ulps: Update.
20626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20629         * math/auto-libm-test-out: Regenerated.
20630         * sysdeps/i386/fpu/libm-test-ulps: Update.
20631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633         * math/auto-libm-test-in: Add another test of pow.
20634         * math/auto-libm-test-out: Regenerated.
20635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20637         * math/auto-libm-test-in: Add more tests of lgamma.
20638         * math/auto-libm-test-out: Regenerated.
20639         * sysdeps/i386/fpu/libm-test-ulps: Update.
20640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20642         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20643         log1p.
20644         * math/auto-libm-test-out: Regenerated.
20645         * sysdeps/i386/fpu/libm-test-ulps: Update.
20646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20648 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20650         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20651         Elf64_Chdr structs and ELFCOMPRESS constants.
20653 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20655         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20656         expm1.
20657         * math/auto-libm-test-out: Regenerated.
20658         * sysdeps/i386/fpu/libm-test-ulps: Update.
20659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20661         * math/auto-libm-test-in: Add more tests of erf and erfc.
20662         * math/auto-libm-test-out: Regenerated.
20663         * sysdeps/i386/fpu/libm-test-ulps: Update.
20664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20666 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20668         * config.h.in (HAVE_AARCH64_BE): Add.
20670 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20672         * math/auto-libm-test-in: Add more tests of csqrt.
20673         * math/auto-libm-test-out: Regenerated.
20674         * sysdeps/i386/fpu/libm-test-ulps: Update.
20675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20677         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20678         * math/auto-libm-test-out: Regenerated.
20679         * sysdeps/i386/fpu/libm-test-ulps: Update.
20680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20682         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20684 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20686         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20687         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20689         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20690         (euidaccess, eaccess): Define as weak aliases.
20692         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20693         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20694         but __suseconds_t is often 'long int' so some sources assume that
20695         type is being used (e.g. they use %ld to print tv_usec).
20697 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20699         [BZ #18007]
20700         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20701         (CVE-2014-8121)
20702         * nss/tst-nss-getpwent.c: New file.
20703         * nss/Makefile (tests): Add new test.
20705 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20707         [BZ #18346]
20708         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20709         exponents less than 48 as cases where high part of mantissa needs
20710         examining to determine whether argument is integral.
20711         * math/libm-test.inc (round_test_data): Add more tests.
20713 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20715         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20717 2015-04-27  David S. Miller  <davem@davemloft.net>
20719         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20720         __tls_get_addr.
20721         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20723 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20725         [BZ#18333]
20726         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20728 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20730         [BZ#18333]
20731         * time/tzset.c (parse_tzname): Return error on memory allocation
20732         failure.
20733         * test-skeleton.c (struct temp_name_list): Change type of name
20734         member to non-const.
20735         (add_temp_file): Create a copy of the file name.
20736         (delete_temp_files): Deallocate memory.
20737         (create_temp_file): Add comment.
20739 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20741         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20742         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20744 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20746         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20747         * sysdeps/arm/configure: Regenerated.
20749 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20751         [BZ #17715]
20752         * time/tzfile.c (__tzfile_read): Check for large values of
20753         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20754         * time/tzset.c (__tzstring_len): New function, based on the old
20755         __tzstring function.
20756         (__tzstring): Call __tzstring_len.
20757         (parse_tzname): New helper function extracted from
20758         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20759         the input string.
20760         (parse_offset): New helper function extracted from
20761         __tzset_parse_tz.  Replace switch with fallthrough with
20762         initialization before sscanf.
20763         (parse_rule): Likewise.
20764         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20765         new-style function definition.
20766         * timezone/Makefile (tests): Add tst-tzset.
20767         (tst-tzset.out): Dependencies on time zone files.
20768         (tst-tzset-ENV): Set TZDIR.
20769         (testdata/XT%): Copy crafted time zone files.
20770         * timezone/README: Mention crafted time zone files.
20771         * timezone/testdata/XT1, timezone/testdata/XT2,
20772         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20773         files.
20774         * timezone/tst-tzset.c: New test.
20776 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20778         * Makeconfig (+gccwarn): Remove -Winline.
20780 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20782         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20784 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20786         * NEWS: Mention sysconf() cache information support for s390.
20787         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20789 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20791         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20792         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20793         (__nearbyint): Likewise.
20794         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20795         (copysignl): Likewise.
20797 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20799         [BZ #18287]
20800         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20801         based on padding.  (CVE-2015-1781)
20803 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20805         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20806         libc-vdso.h.
20807         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20808         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20809         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20810         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20811         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20812         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20813         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20814         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20815         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20817         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20818         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20819         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20820         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20821         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20822         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20823         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20824         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20825         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20826         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20827         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20828         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20829         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20831 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20833         * stdlib/setenv.c (__add_to_environ):
20834         Dump core quickly if setenv (..., NULL, ...) is called.
20835         This time, do it the right way, and pacify GCC with a pragma.
20837 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20839         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20840         IMAP->l_prev cannot be null, and #if out the code for the contrary
20841         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20842         believe that NS (&_dl_ns[NSID]) could point outside the array.
20844         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20845         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20846         before using NSID as an index.
20848 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20850         [BZ #17825]
20851         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20852         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20853         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20855 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20857         Add preliminary port to Google Native Client on ARM.
20858         * abi-tags (.*-.*-nacl.*): New entry.
20859         * sysdeps/arm/nacl: New directory.
20860         * sysdeps/nacl: New directory.
20862 2015-04-16  David S. Miller  <davem@davemloft.net>
20864         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20865         lowlevellock-futex.h
20867 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20869         * sysdeps/tile/configure.ac: New file.
20870         * sysdeps/tile/configure: Regenerated.
20872 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20874         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20875         conditionals for weak_alias and libc_hidden_weak.
20876         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20877         libc_hidden_weak and weak_alias.
20878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20879         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20880         and weak_alias for static one.
20882 2015-04-15  David S. Miller  <davem@davemloft.net>
20884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20886 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20888         [BZ #18206]
20889         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20890           Use signed comparision instead of substraction to avoid
20891           overflow bug.
20892         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20893           Take the sign of ret.
20894         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20895           Do not expect precise return values. Only the sign matters.
20896         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20897         * wcsmbs/test-wcsncmp.c: New File.
20898         * string/test-strncmp.c: Add wcsncmp support.
20900 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20902         [BZ #6792]
20903         * math/w_log1p.c: New file.
20904         * math/w_log1pf.c: Likewise.
20905         * math/w_log1pl.c: Likewise.
20906         * math/Makefile (libm-calls): Add w_log1p.
20907         * math/s_log1pl.c (log1pl): Remove weak_alias.
20908         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20909         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20910         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20911         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20912         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20913         [NO_LONG_DOUBLE] (log1pl): Likewise.
20914         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20915         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20916         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20917         (log1p): Remove long_double_symbol.
20918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20919         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20920         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20921         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20922         remove weak_alias for corresponding log1p function.
20923         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20924         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20925         * sysdeps/ia64/fpu/w_log1p.c: New file.
20926         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20927         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20928         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20930 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20932         [BZ #18247]
20933         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20934         decimal exponent by 1.
20935         * stdlib/tst-strtod-round-data: Add more tests.
20936         * stdlib/tst-strtod-round.c (tests): Regenerated.
20938 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20940         * math/auto-libm-test-in: Add more tests of clog and clog10.
20941         * math/auto-libm-test-out: Regenerated.
20942         * sysdeps/i386/fpu/libm-test-ulps: Update.
20943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20945 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20947         * Makeconfig (module-cppflags): Exclude all .v.i files.
20948         (skip-module-cppflags): Variable removed.
20950         * configure.ac (libc_config_ok): Initialize before reading
20951         preconfigure scripts, not after.
20952         * configure: Regenerated.
20954         * test-skeleton.c (TIMEOUT): Move #define to top level.
20955         (main): Grok environment variable TEST_DIRECT.  If set, print
20956         test expectation details into that file and then behave as if
20957         given --direct.
20959 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20961         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20962         warning on 32-bit.
20964 2015-04-08  David S. Miller  <davem@davemloft.net>
20966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20968 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20970         * math/auto-libm-test-in: Add more tests of atanh.
20971         * math/auto-libm-test-out: Regenerated.
20972         * sysdeps/i386/fpu/libm-test-ulps: Update.
20973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20975         * math/auto-libm-test-in: Add more tests of atan.
20976         * math/auto-libm-test-out: Regenerated.
20977         * sysdeps/i386/fpu/libm-test-ulps: Update.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20982         * elf/pldd.c (main): Rewrite to use struct
20983         scratch_buffer instead of extend_alloca.
20984         * elf/pldd-xx.c (find_maps): Likewise.
20985         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20986         <alloca.h>.
20987         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20988         scratch_buffer instead of extend_alloca.
20989         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20990         grp/compat-initgroups.c.
20991         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20992         Rewrite to use struct scratch_buffer instead of extend_alloca.
20993         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20994         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20996 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20998         * math/auto-libm-test-in: Add more tests of cbrt.
20999         * math/auto-libm-test-out: Regenerated.
21000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21002         * math/auto-libm-test-in: Add more tests of cabs.
21003         * math/auto-libm-test-out: Regenerated.
21004         * sysdeps/i386/fpu/libm-test-ulps: Update.
21005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007         [BZ #18210]
21008         [BZ #18211]
21009         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21010         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21011         computations.
21012         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21013         clog10.
21014         * math/auto-libm-test-out: Regenerated.
21015         * sysdeps/i386/fpu/libm-test-ulps: Update.
21016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018         [BZ #18197]
21019         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21020         (atan): Set FE_TONEAREST mode for internal computations.
21021         * math/auto-libm-test-in: Add more tests of atan.
21022         * math/auto-libm-test-out: Regenerated.
21024 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21026         [BZ #17930]
21027         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21029 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21031         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21033 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21035         * include/scratch_buffer.h: New file.
21036         * malloc/scratch_buffer_grow.c: Likewise.
21037         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21038         * malloc/scratch_buffer_set_array_size.c: Likewise.
21039         * malloc/tst-scratch_buffer.c: Likewise.
21040         * malloc/Makefile (routines): Add scratch_buffer_grow.
21041         (tests): Add test case.
21042         * malloc/Versions (GLIBC_PRIVATE): Export
21043         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21044         __libc_scratch_buffer_set_array_size.
21046 2015-04-06  Richard Henderson  <rth@redhat.com>
21048         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21049         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21051         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21052         unsigned int before printing.
21054 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21056         [BZ #17596]
21057         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21058         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21060 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21062         * include/libc-internal.h (libc_max_align_t): Define.
21064 2015-04-02  Andreas Schwab  <schwab@suse.de>
21066         [BZ #16850]
21067         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21069 2015-04-02  Mel Gorman  <mgorman@suse.de>
21071         [BZ #17195]
21072         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21073         as well as the main arena.
21075 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21077         [BZ #18185]
21078         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21079         sharing L2 cache to 2 for Silvermont/Knights Landing.
21081 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21083         [BZ #17711]
21084         * config.make.in (have-protected-data): New.
21085         * configure.ac: Check linker support for protected data symbol.
21086         * configure: Regenerated.
21087         * elf/Makefile (modules-names): Add tst-protected1moda and
21088         tst-protected1modb if $(have-protected-data) is yes.
21089         (tests): Add tst-protected1a and tst-protected1b if
21090         $(have-protected-data) is yes.
21091         ($(objpfx)tst-protected1a): New.
21092         ($(objpfx)tst-protected1b): Likewise.
21093         (tst-protected1modb.so-no-z-defs): Likewise.
21094         * elf/tst-protected1a.c: New file.
21095         * elf/tst-protected1b.c: Likewise.
21096         * elf/tst-protected1mod.h: Likewise.
21097         * elf/tst-protected1moda.c: Likewise.
21098         * elf/tst-protected1modb.c: Likewise.
21100 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21102         [BZ #17711]
21103         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21104         indicates it is called from do_lookup_x on relocation against
21105         protected data, skip the data definion in the executable from
21106         copy reloc.
21107         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21108         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21109         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21110         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21111         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21112         otherwise to 0.
21113         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21114         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21115         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21116         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21117         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21118         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21120 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21122         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21123         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21125 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21127         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21128         THREAD_SETMEM_NC.
21129         * sysdeps/x86_64/nptl/tls.h: Ditto.
21131 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21133         * dlfcn/tststatic.c (main): Converted to ...
21134         (do_test): ... this.
21135         (TEST_FUNCTION): New macro.
21136         Include test-skeleton.c.
21138 2015-03-26  Alan Modra  <amodra@gmail.com>
21140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21141         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21142         zero for undefined weak.
21143         (elf_machine_plt_conflict): Similarly.
21145 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21147         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21148         atanh.
21149         * math/auto-libm-test-out: Regenerated.
21150         * sysdeps/i386/fpu/libm-test-ulps: Update.
21151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21153         * math/auto-libm-test-in: Add another test of asin.
21154         * math/auto-libm-test-out: Regenerated.
21155         * sysdeps/i386/fpu/libm-test-ulps: Update.
21156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21158         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21159         Remove macro.
21160         (LLL_EBX_REG): Likewise.
21161         (LLL_ENTER_KERNEL): Likewise.
21163         * math/auto-libm-test-in: Add more tests of asin.
21164         * math/auto-libm-test-out: Regenerated.
21165         * sysdeps/i386/fpu/libm-test-ulps: Update.
21166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21168         [BZ #18138]
21169         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21170         libc_do_syscall_args): New structure.
21171         (INTERNAL_SYSCALL_MAIN_0): New macro.
21172         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21173         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21174         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21175         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21176         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21177         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21178         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21179         Replace conditional definitions by conditional definitions of ....
21180         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21181         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21182         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21183         (libpthread-sysdep_routines): Add libc-do-syscall.
21184         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21186         to __NR_futex not 240.
21188 2015-03-25  Alan Modra  <amodra@gmail.com>
21190         * NEWS: Advertise TLS optimization.
21191         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21192         (DT_PPC_NUM): Increment.
21193         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21194         (CHECK_STATIC_TLS): Use here.
21195         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21196         TLS descriptors.
21197         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21198         * sysdeps/powerpc/dl-tls.c: New file.
21199         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21200         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21201         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21202         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21207 2015-03-25  Alan Modra  <amodra@gmail.com>
21209         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21210         for overlapping .opd entries" to "support...".
21211         * sysdeps/powerpc/powerpc64/configure: Regenerate
21213 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21215         * math/auto-libm-test-in: Add more tests of acos.
21216         * math/auto-libm-test-out: Regenerated.
21217         * sysdeps/i386/fpu/libm-test-ulps: Update.
21218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21220         * math/auto-libm-test-in: Add more tests of expm1.
21221         * math/auto-libm-test-out: Regenerated.
21222         * sysdeps/i386/fpu/libm-test-ulps: Update.
21223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21227         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21228         * math/auto-libm-test-out: Regenerated.
21229         * sysdeps/i386/fpu/libm-test-ulps: Update.
21230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21232         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21235         * math/auto-libm-test-in: Add more tests of log2.
21236         * math/auto-libm-test-out: Regenerated.
21237         * sysdeps/i386/fpu/libm-test-ulps: Update.
21238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21242         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21243         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21244         _IO_IS_APPENDING bit in READ_WRITE instead.
21246 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21248         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21249         (__determine_cpumask_size): Replace extend_alloca with a
21250         variable-length array.  Do not treat res == 0 as an error.
21252 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21254         [BZ #18100]
21255         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21256         and integer overflow.
21257         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21258         (main): Add integer overflow tests.
21259         * manual/pattern.texi (Calling Wordexp): Document additional use
21260         for WRDE_SYNTAX.
21262 2015-03-23  Alan Modra  <amodra@gmail.com>
21264         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21265         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21266         and false branch of conditional.
21267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21268         Likewise.
21270 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21272         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21273         libc-modules.h
21274         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21275         unused declaration of _hurd_intr_rpc_msg_in_trap.
21276         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21277         defined instead of whether it is non-zero.
21278         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21279         input constraint instead of both input and output constraint.  Use ecx
21280         clobber instead of %ecx.
21281         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21282         mutex_unlock): Use a statement expression instead of an expression list.
21283         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21284         type to vm_size_t instead of vm_address_t.
21285         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21286         defined instead of whether it is non-zero.
21287         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21288         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21289         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21290         comparisons with mapaddr.
21291         * nscd/nscd-client.h: Include <time.h>.
21292         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21293         9th parameter to __vm_region instead of int.
21294         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21295         * scripts/check-local-headers.sh (exclude): Add device/,
21296         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21297         cthreads.h.
21299 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21301         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21302         to account for alignment padding.
21303         * sysdeps/arm/memmove.S: Likewise.
21305 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21307         * sysdeps/unix/sysv/linux/generic/README: New file.
21309 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21311         [BZ #18138]
21312         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21313         (futex_abstimed_wait)
21314         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21315         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21316         of lll_futex_timed_wait.
21318 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21320         [BZ #17542]
21321         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21323 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21325         [BZ #17090]
21326         [BZ #17620]
21327         [BZ #17621]
21328         [BZ #17628]
21329         * NEWS: Update.
21330         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21331         entries with Static TLS too.  Skip entries past the end of the
21332         allocated DTV, from Alan Modra.
21333         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21334         Static TLS DTV entry set up from...
21335         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21336         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21337         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21338         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21339         for Static TLS.
21340         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21341         that the slot we find is associated with the given map before
21342         using its generation count.
21343         * nptl_db/db_info.c: Include ldsodefs.h.
21344         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21345         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21346         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21347         (link_map::l_tls_offset): New struct field.
21348         (dtv_t::counter): Likewise.
21349         (rtld_global): New struct.
21350         (_rtld_global): New rtld variable.
21351         (dl_tls_dtv_slotinfo_list): New rtld global field.
21352         (dtv_slotinfo_list): New struct.
21353         (dtv_slotinfo): Likewise.
21354         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21355         (td_lookup): Rename to...
21356         (td_mod_lookup): ... this.  Use new mod parameter instead of
21357         LIBPTHREAD_SO.
21358         * nptl_db/td_thr_tlsbase.c: Include link.h.
21359         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21360         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21361         addresses even if the DTV is out of date or missing them.
21362         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21363         index zero-length arrays.
21364         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21365         (td_lookup): Make it a macro implemented in terms of...
21366         (td_mod_lookup): ... this declaration.
21367         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21368         (DB_MAIN_VARIABLE): Likewise.
21370 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21372         [BZ #18134]
21373         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21375 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21377         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21379 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21381         [BZ #18128]
21382         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21383         (atomic_add, atomic_increment_and_test)
21384         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21386 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21388         * stdlib/setenv.c (__add_to_environ):
21389         Dump core quickly if setenv (..., NULL, ...) is called.
21391 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21393         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21394         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21395         all the necessary asm magic in one place.
21396         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21397         using those.
21399 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21401         [BZ #14906]
21402         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21403         traced file mtime. Use consistent log message.
21404         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21405         (register_traced_file): Call install_watches. Always set mtime.
21406         (invalidate_cache): Iterate over all trace files. Call install_watches.
21407         (inotify_check_files): Don't inline. Handle watching parent
21408         directories and configuration file movement in and out.
21409         (handle_inotify_events): New function.
21410         (main_loop_poll): Call handle_inotify_events.
21411         (main_loop_epoll): Likewise.
21412         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21413         (struct traced_file): Use array of inotify fds. Add parent directory,
21414         and basename.
21415         (struct database_dyn): Remove unused file_mtime.
21416         (init_traced_file): New inline function.
21417         (define_traced_file): New macro.
21418         * nss/nss_db/db-init.c: Use define_traced_file.
21419         (_nss_db_init): Use init_traced_file.
21420         * nss/nss_files/files-init.c: Use define_traced_file.
21421         (_nss_files_init): Use init_traced_file.
21423 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21425         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21426         [_LIBC]: Do not include <stdlib.h>.
21427         [!_LIBC] (abort): Remove declaration.
21428         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21429         _FP_STATIC_ASSERT instead of conditionally calling abort.
21430         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21431         (_FP_EXTEND_CNAN): Likewise.
21432         (FP_TRUNC): Likewise.
21433         (__FP_CLZ): Likewise.
21434         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21436 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21438         * manual/string.texi (XPG basename): Fix prototype.
21440 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21442         [BZ #18080]
21443         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21444         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21445         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21446         (__setcontext): Likewise.
21447         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21448         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21449         Call rt_sigprocmask syscall one time to set new signal mask
21450         and retrieve the current signal mask instead of two calls.
21451         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21452         (__swapcontext): Likewise.
21453         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21454         * stdlib/tst-setcontext2.c: New file.
21456 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21460 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21462         [BZ #18093]
21463         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21464         the wrong size.
21466 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21468         [BZ #18043]
21469         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21471 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21473         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21474         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21475         Remove define.
21476         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21477         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21478         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21479         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21480         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21481         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21482         define.
21483         * nptl_db/td_symbol_list.c (td_lookup): Remove
21484         HAVE_ASM_GLOBAL_DOT_NAME code.
21485         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21486         HAVE_ASM_GLOBAL_DOT_NAME check.
21487         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21488         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21489         (DOT_LABEL): Remove define.
21490         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21491         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21492         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21493         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21494         (__TLS_GET_ADDR): Likewise.
21495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21496         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21498 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21500         [BZ #18111]
21501         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21502         (_FPU_SETCW): Initialize cw from fpsr before storing.
21503         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21504         (fesetexceptflag): Rewrite using fpu_control.h.
21505         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21507 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21509         [BZ #18110]
21510         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21511         asms.
21512         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21514 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21516         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21517         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21518         abort.
21519         (_FP_FMA): Likewise.
21520         (_FP_DIV): Likewise.
21522 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21524         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21525         with 0 in that case.
21526         * Makefile (summarize-tests): New canned sequence, factored out of
21527         commands for targets tests and xtests.  Display summary lines that
21528         don't start with PASS: or XFAIL: rather than ones that do start with
21529         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21530         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21531         do start with ERROR: or FAIL:.
21532         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21533         (except for [$(build-shared) = yes]).
21534         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21535         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21536         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21537         * nptl/Makefile: Revert 2015-03-04 changes.
21538         [$(CXX) empty] (tests-unsupported): New variable.
21539         * debug/Makefile: Likewise.
21541         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21542         gnulib file.  Replace __attribute with __attribute__ throughout.
21544 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21546         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21548 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21550         [BZ #18104]
21551         * math/auto-libm-test-in: Add another test of pow.
21552         * math/auto-libm-test-out: Regenerated.
21554 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21556         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21557         $(config-cflags-nofma).
21559 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21561         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21562         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21563         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21564         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21565         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21566         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21567         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21568         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21569         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21570         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21571         Add comment on closing #endif.
21573 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21575         * posix/wordexp.c (CHAR_IN_SET): New macro.
21576         (parse_param): Use it.
21578 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21580         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21582 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21584         [BZ #18043]
21585         * posix/wordexp.c (parse_param): Fix buffer overflow.
21586         * posix/wordexp-test.c (test_case): Add test case.
21588 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21590         [BZ #18042]
21591         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21592         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21594 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21596         [BZ #18043]
21597         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21598         (do_bz18043): Delete.
21599         (at_page_end): New.
21600         (testit): Refactor to have words at the edge of unreadable page.
21602 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21604         [BZ #16734]
21605         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21606         Cleanup read-only streams as well.
21607         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21609 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21611         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21612         <bits/libc-lockP.h>
21614 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21616         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21617         on [__KERNEL__].
21618         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21619         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21620         * soft-fp/op-common.h (_FP_DECL): Likewise.
21622 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21624         * elf/ifuncdep2.c (global): Replace
21625         __attribute__((visibility("protected"))) with
21626         asm (".protected global").
21627         * elf/ifuncmod1.c (global): Likewise.
21628         * elf/ifuncmod5.c (global): Likewise.
21630 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21632         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21633         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21635 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21637         * manual/install.texi (Configuring and compiling):
21638         Document test-wrapper-env-only.
21639         * INSTALL: Regenerated.
21641 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21643         [BZ #18043]
21644         * posix/wordexp.c (parse_param): Fix buffer overflow.
21645         * posix/wordexp-test.c (do_bz18043): Add test case.
21647 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21649         * time/tst-strptime2.c (do_test): Ensure failing tests are
21650         reported correctly.
21651         * time/tst-strptime3.c (do_test): Likewise.
21653 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21655         Fix aio_error thread-safety.
21656         * sysdeps/pthread/aio_error.c: New file
21657         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21658         synchronization.
21660 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21662         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21663         (group_number, vfprintf): Use it.
21664         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21665         (JUMP, REF): Use it.
21666         (WORK_BUFFER_SIZE): New enum constant.
21667         (process_arg, vfprintf): Use it.
21669 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21671         * manual/errno.texi (Error Messages): Complete example function
21672         by adding missing #define.
21673         (program_invocation_name): Add statement indicating GNU
21674         extension and reference which header file declares the variable.
21675         (program_invocation_short_name): Likewise.
21677 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21679         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21680         compatibility note.
21682 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21684         * Makeconfig (test-wrapper-env-only): New variable.
21685         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21686         then use that with $(test-wrapper-env-only) rather than using
21687         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21689 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21691         [BZ #18082]
21692         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21693         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21694         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21695         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21696         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21697         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21698         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21699         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21700         Likewise.
21701         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21702         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21703         Likewise.
21704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21705         Likewise.
21706         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21707         Likewise.
21708         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21709         Likewise.
21710         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21711         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21712         Likewise.
21713         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21714         Likewise.
21715         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21716         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21718 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21720         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21721         (ETH_ALEN): New macro.
21722         (struct ether_addr): Use it for length of ether_addr_octet.
21724         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21725         (setdb): Don't call __nss_configure_lookup for "rpc".
21726         (do_test): Don't call test_rpc.
21727         (output_rpcent, test_rpc): Functions moved ...
21728         * sunrpc/test-rpcent.c: ... to this new file.
21729         * sunrpc/Makefile (tests): Add it.
21731         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21732         __xpg_sigpause.
21733         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21734         * nptl/tst-signal6.c: Likewise.
21735         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21736         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21738         * configure.ac (libc_cv_cxx_link_ok): New check.
21739         Reset CXX to empty if it fails to link.
21740         * configure: Regenerated.
21741         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21742         bug-atexit3-lib only if $(CXX) is nonempty.
21743         * nptl/Makefile (tests): Likewise for tst-cancel24.
21744         (tests, tests-static): Likewise for tst-cancel24-static.
21745         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21746         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21747         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21748         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21750 2015-03-04  Andreas Schwab  <schwab@suse.de>
21752         [BZ #17631]
21753         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21754         for non-GCC compilers.
21755         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21756         Likewise.
21758 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21760         [BZ #17776]
21761         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21762         integer before bitwise and assembly operations.
21763         (feclearexcept): Likewise.
21764         * math/test-fenvinline.c: New file.
21765         * math/Makefile: Add test-fenvinline test.
21767 2015-03-03  Alan Modra  <amodra@gmail.com>
21769         [BZ #16512]
21770         * scripts/localplt.awk: Strip off symbol version.
21771         * NEWS: Mention bug fix.
21773 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21775         * sysdeps/pthread/timer_routines.c
21776         (timer_free_list, thread_free_list, thread_active_list): Make static.
21778 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21780         [BZ #17779]
21781         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21782         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21783         Undefine.
21784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21785         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21786         Likewise.
21787         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21788         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21789         Likewise.
21791 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21793         [BZ #18036]
21794         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21795         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21797 2015-03-02  Andreas Schwab  <schwab@suse.de>
21799         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21800         variable name.
21802 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21804         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21805         Return error status.
21807 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21809         [BZ #15969]
21810         * locale/findlocale.c (_nl_find_locale): Introduce const
21811         version of loc_name and drop unsafe type casts.
21813 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21815         * dlfcn/tststatic2.c (main): Converted to ...
21816         (do_test): ... this.
21817         (TEST_FUNCTION): New macro.
21818         Include test-skeleton.c.
21820 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21822         [BZ #17711]
21823         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21824         (tests-pie): Add vismain.
21825         (CFLAGS-vismain.c): New.
21826         * elf/vismain.c: Add comments for PIE requirement.
21828 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21830         [BZ #18046]
21831         [BZ #18047]
21832         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21833         0x1p-56L as threshold for just returning the argument.
21834         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21835         0x1p-32L as threshold for just returning the argument.
21836         * math/auto-libm-test-in: Add more tests of atanh.
21837         * math/auto-libm-test-out: Regenerated.
21838         * sysdeps/i386/fpu/libm-test-ulps: Update.
21839         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21841 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21843         * string/bcopy.c (bcopy): Call memmove for performance.
21845 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21847         * string/bzero.c (__bzero): Call memset for performance.
21849 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21851         [BZ #18068]
21852         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21853         to 00100000.
21855 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21857         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21859 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21861         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21862         (__kernel_standard): Use CSTR macro when setting exc.name.
21863         * sysdeps/ieee754/Makefile [$(subdir) = math]
21864         (CFLAGS-k_standard.c): Remove variable.
21866         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21867         setting p and q from "else if" to "else".
21868         (qzero): Likewise.
21869         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21870         (qone): Likewise.
21871         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21872         (qzerof): Likewise.
21873         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21874         (qonef): Likewise.
21875         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21876         (qzero): Likewise.
21877         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21878         (qone): Likewise.
21880         [BZ #18038]
21881         [BZ #18039]
21882         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21883         return pi/2 for arguments below 0x1p-113L.
21884         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21885         return pi/2 for arguments below 0x1p-106L.
21886         * math/auto-libm-test-in: Add more tests of acos.
21887         * math/auto-libm-test-out: Regenerated.
21889         [BZ #16351]
21890         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21891         (MO): New macro.
21892         (__ieee754_asin): Force underflow exception for results with small
21893         absolute value.
21894         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21895         (MO): New macro.
21896         (__ieee754_asinf): Force underflow exception for results with
21897         small absolute value.
21898         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21899         (__ieee754_asin): Force underflow exception for results with small
21900         absolute value.
21901         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21902         (__ieee754_asinf): Force underflow exception for results with
21903         small absolute value.
21904         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21905         (__ieee754_asinl): Force underflow exception for results with
21906         small absolute value.
21907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21908         (__ieee754_asinl): Force underflow exception for results with
21909         small absolute value.
21910         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21911         (__ieee754_asinl): Force underflow exception for results with
21912         small absolute value.
21913         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21914         Include <math.h>.
21915         * math/auto-libm-test-in: Do not mark underflow exceptions as
21916         possibly missing for bug 16351.
21917         * math/auto-libm-test-out: Regenerated.
21919         [BZ #18030]
21920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21921         of power of 2 down when low part has opposite sign.
21922         * math/libm-test.inc (logb_test_data): Add more tests.
21924 2015-02-26  Andreas Schwab  <schwab@suse.de>
21926         [BZ #18032]
21927         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21928         over collating symbol inside a bracket expression.  Minor cleanup.
21929         * posix/tst-fnmatch3.c (do_test): Add test case.
21931 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21933         [BZ #18029]
21934         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21935         Adjust exponent of power of 2 down when low part has opposite
21936         sign.
21937         * math/libm-test.inc (ilogb_test_data): Add more tests.
21939 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21941         [BZ #15969]
21942         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21943         the previous change.
21945         [BZ #15969]
21946         * locale/findlocale.c (_nl_find_locale): Retry archive search
21947         after alias expansion.
21949 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21951         * iconv/tst-iconv3.c (main): Converted to ...
21952         (do_test): ... this.
21953         (TEST_FUNCTION): New macro.
21954         Include test-skeleton.c.
21956         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21957         (convert): Make function static.
21958         (test_unalign): Likewise.  Add const to argument pointee types.
21959         (main): Replace with static function do_test.
21960         Print "Succeeded." only if RET is zero.
21961         (TEST_FUNCTION): New macro.
21962         Include test-skeleton.c.
21964         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21965         returns a null pointer.
21967 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21969         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21970         to __memcpy_ppc only for static builds.
21972 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21974         [BZ #18020]
21975         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21976         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21977         * math/auto-libm-test-in: Add more tests of asinh.
21978         * math/auto-libm-test-out: Regenerated.
21979         * sysdeps/i386/fpu/libm-test-ulps: Update.
21980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21984         [BZ #15850]
21985         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21986         and ip6_mtuinfo definitions here.
21987         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21988         in this define too.  Update comment.
21990 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21992         * elf/sprof.c (load_shobj): Tweak error message to match others.
21994 2015-02-24  Kevin Easton  <kevin@guarana.org>
21996         [BZ #16145] (partial fix)
21997         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21998         to reduce lock contention.
22000 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22002         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22003         (struct timex): Update time comment.
22004         (ADJ_SETOFFSET): Define.
22006 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22008         [BZ #18019]
22009         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22010         2**56 not 2**28 as threshold for log (2x) formula.
22011         * math/auto-libm-test-in: Add more tests of acosh.
22012         * math/auto-libm-test-out: Regenerated.
22013         * sysdeps/i386/fpu/libm-test-ulps: Update.
22014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22016 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22018         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22019         parenthesis around the buf assignment.
22020         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22022 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22024         [BZ #16783]
22025         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22026         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22027         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22028         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22029         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22030         * math/libm-test.inc (scalb_test_data): Add more tests.
22032 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22034         [BZ #17916]
22035         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22036         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22038 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22040         [BZ #17523]
22041         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22042         * io/bits/fcntl2.h (open): Use it.
22043         (openat): Likewise.
22044         * io/open.c (__libc_open): Likewise.
22045         * io/open64.c (__libc_open64): Likewise.
22046         * io/open64_2.c (__open64_2): Likewise.
22047         * io/open_2.c (__open_2): Likewise.
22048         * io/openat.c (__openat): Likewise.
22049         * io/openat64.c (__openat64): Likewise.
22050         * io/openat64_2.c (__openat64_2): Likewise.
22051         * io/openat_2.c (__openat_2): Likewise.
22052         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22053         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22054         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22055         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22056         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22057         (__open_nocancel): Likewise.
22058         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22059         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22060         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22062 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22064         [BZ #14841]
22065         * resolv/gethnamaddr.c (getanswer): Skip logging if
22066         RES_USE_DNSSEC is set.
22067         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22069 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22071         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22073 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22075         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22076         201304L, for Unicode 7.
22078 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22080         [BZ #17836]
22081         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22082         shared library.  Add gmon-start.os otherwise.
22083         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22084         $(objpfx)gmon-start.os if builing shared library.
22085         ($(objpfx)g$(static-start-installed-name)): Likewise.
22087 2015-02-23  Andreas Schwab  <schwab@suse.de>
22089         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22091 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22093         [BZ #17269]
22094         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22095         (enlarge_userbuf): Likewise.
22097 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22099         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22100         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22101         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22102         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22104 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22106         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22107         expression inside statement expression.
22109 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22111         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22112         <sysdeps/nptl/lowlevellock.h> and remove macros and
22113         functions that are now defined there.
22114         (SYS_futex): Remove.
22115         (lll_compare_and_swap): Remove.
22116         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22118 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22120         [BZ #17999]
22121         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22122         instead of scandirat.
22123         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22124         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22125         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22126         __scandirat.
22127         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22128         (__scandirat): Declare.  Use libc_hidden_proto.
22129         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22130         Remove variable.
22131         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22133 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22135         [BZ #15319]
22136         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22137         (MO): New macro.
22138         (__ieee754_atan2): For results with small absolute value, force
22139         underflow exception and remove excess range and precision from
22140         return value.
22141         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22142         (MO): New macro.
22143         (__ieee754_atan2f): For results with small absolute value, force
22144         underflow exception and remove excess range and precision from
22145         return value.
22146         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22147         (MO): New macro.
22148         (__atan): For results with small absolute value, force underflow
22149         exception and remove excess range and precision from return value.
22150         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22151         (MO): New macro.
22152         (__atanf): For results with small absolute value, force underflow
22153         exception and remove excess range and precision from return value.
22154         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22155         <math.h>.
22156         (__ieee754_atan2): Force underflow exception for results with
22157         small absolute value.
22158         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22159         <math_private.h>.
22160         (atan): Force underflow exception for results with small absolute
22161         value.
22162         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22163         (__atanf): Force underflow exception for results with small
22164         absolute value.
22165         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22166         <math.h>.
22167         (__atanl): Force underflow exception for results with small
22168         absolute value.
22169         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22170         (__atanl): Force underflow exception for results with small
22171         absolute value.
22172         * sysdeps/x86/fpu/bits/mathinline.h
22173         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22174         (__ieee754_atan2): Only define inline for long double.
22175         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22176         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22177         * math/auto-libm-test-in: Do not mark underflow exceptions as
22178         possibly missing for bug 15319.  Add more tests of atan2.
22179         * math/auto-libm-test-out: Regenerated.
22180         * math/libm-test.inc (casin_test_data): Do not mark underflow
22181         exceptions as possibly missing for bug 15319.
22182         (casinh_test_data): Likewise.
22183         * sysdeps/i386/fpu/libm-test-ulps: Update.
22185 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22187         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22188         * sysdeps/mips/bits/endian.h: Fix comments.
22190 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22192         [BZ #17996]
22193         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22194         (hdestroy_r): Likewise.
22195         (hsearch_r): Likewise.
22196         (__hcreate_r): Declare and use libc_hidden_proto.
22197         (__hdestroy_r): Likewise.
22198         (__hsearch_r): Likewise.
22199         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22200         (hcreate): Call __hcreate_r instead of hcreate_r.
22201         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22202         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22203         as weak alias of __hcreate_r.
22204         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22205         __hdestroy_r.
22206         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22207         __hsearch_r.
22208         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22209         Remove variable.
22210         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22211         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22212         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22213         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22215 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22217         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22218         arena_lock into a single arena_get.
22220 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22222         * dl-reloc.c: Inlucde libc-internal.h.
22223         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22224         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22225         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22226         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22227         (grow_heap): Likewise.
22228         * malloc/malloc.c: Include libc-internal.h.
22229         (do_check_malloc): Call powerof2.
22230         (sysmalloc): Use pagesize. Call ALIGN_UP.
22231         (systrim): Use pagesize.
22232         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22233         (__libc_valloc): Use pagesize.
22234         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22236 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22238         [BZ #17991]
22239         * include/sys/resource.h (__getrlimit64): Declare.  Use
22240         libc_hidden_proto.
22241         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22242         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22243         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22244         getrlimit64.
22245         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22246         __getrlimit64.
22247         [!getrlimit64] (getrlimit64): Define as weak alias of
22248         __getrlimit64.  Use libc_hidden_weak.
22249         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22250         using __getrlimit64 not __new_getrlimit64.
22251         (__GI_getrlimit64): Likewise.
22252         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22253         Likewise.
22254         (__GI_getrlimit64): Likewise.
22255         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22257         (getrlimit): Add __getrlimit64 alias.
22258         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22259         Likewise.
22260         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22261         Remove variable.
22262         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22263         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22265 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22267         * libio/fileops.c: Add missing sys/mman.h
22268         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22270 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22272         * manual/math.texi (Errors in Math Functions): Clarify goals
22273         regarding inexact and underflow exceptions.
22275 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22277         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22278         * sysdeps/mips/memset.S: Ditto.
22280 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22282         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22284 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22286         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22287         (__v1longjmp): Remove versioned symbol.
22288         (__v1siglongjmp): Remove alias and versioned symbol.
22289         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22290         (__v2siglongjmp): Likewise.
22292 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22294         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22296 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22298         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22300 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22302         [BZ #17987]
22303         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22304         zero result does not depend on the sign resulting from
22305         subtraction.
22306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22307         Likewise.
22308         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22309         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22310         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22311         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22312         * math/libm-test.inc (remquo_test_data): Add more tests.
22314 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22316         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22317         Problem reported by J William Piggott.
22319 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22321         [BZ #17978]
22322         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22323         products 4 * y and 2 * y where those would overflow.
22324         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22325         Likewise.
22326         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22327         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22328         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22329         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22330         * math/libm-test.inc (remquo_test_data): Add more tests.
22332         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22334         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22335         [defined _COMPILING_NEWLIB].
22336         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22337         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22339         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22340         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22342 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22344         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22345         acquired.
22347 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22349         [BZ #17792]
22350         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22351         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22352         HOST_STACK_END_ADDR): Likewise.
22354 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22356         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22357         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22358         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22360 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22362         * sysdeps/generic/c++-types.data: New file.
22363         * sysdeps/generic/ld.abilist: New file.
22364         * sysdeps/generic/libBrokenLocale.abilist: New file.
22365         * sysdeps/generic/libanl.abilist: New file.
22366         * sysdeps/generic/libc.abilist: New file.
22367         * sysdeps/generic/libcrypt.abilist: New file.
22368         * sysdeps/generic/libdl.abilist: New file.
22369         * sysdeps/generic/libm.abilist: New file.
22370         * sysdeps/generic/libpthread.abilist: New file.
22371         * sysdeps/generic/libresolv.abilist: New file.
22372         * sysdeps/generic/librt.abilist: New file.
22374 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22376         [BZ #17569]
22377         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22378         Compute absolute value of x as modified by fmod, not original
22379         value of x.
22380         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22381         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22382         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22383         RUN_TEST_ffI_f1_mod8.
22384         (remquo_test_data): Add more tests.
22386 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22388         * sysdeps/init_array/pt-crti.S: New file.
22390 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22392         [BZ #17967]
22393         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22394         __builtin_fmaf instead of relying on contraction of a * b + c.
22396 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22398         [BZ #17969]
22399         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22400         node.
22402 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22404         [BZ #17964]
22405         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22406         __builtin_fma instead of relying on contraction of a * b + c.
22408 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22410         * Makeconfig (ASFLAGS): Add -Werror=undef.
22411         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22412         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22413         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22415         * Makeconfig (after-link): New variable.
22416         (+link-pie, +link-pie-tests): Use it.
22417         (+link-static, +link-static-tests): Likewise.
22418         (+link, +link-tests): Likewise.
22419         * Makerules (build-module, build-module-asneeded): Likewise.
22420         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22421         Likewise.
22422         * elf/Makefile ($(objpfx)ld.so): Likewise.
22424 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22426         [BZ #17965]
22427         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22428         both struct timeval and struct timespec.
22430 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22432         [BZ #16560]
22433         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22434         and redefine.
22435         (__ieee754_exp2l): Do not multiply small fractional parts by
22436         M_LN2l.
22437         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22438         small argument.
22439         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22440         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22441         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22442         * math/auto-libm-test-in: Add more tests of exp2.
22443         * math/auto-libm-test-out: Regenerated.
22445 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22447         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22448         unaligned path.
22450 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22452         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22453         little endian.
22455 2015-02-12  Andreas Schwab  <schwab@suse.de>
22457         [BZ #15790]
22458         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22459         Filter out elision flags from value returned in kind.
22460         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22461         * nptl/tst-pthread-mutexattr.c: New file.
22463 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22465         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22466         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22467         into gnu-gnu, and update comment to refer to abi-tags.
22469 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22471         [BZ #15467]
22472         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22473         (__sincos): Set errno to EDOM for infinite argument.
22474         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22475         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22476         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22477         (__sincosl): Set errno to EDOM for infinite argument.
22478         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22479         (__sincosl): Set errno to EDOM for infinite argument.
22480         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22481         (__sincosl): Set errno to EDOM for infinite argument.
22482         * math/libm-test.inc (sincos_test_data): Test errno setting.
22484 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22486         * string/strxfrm_l.c: Remove #define STRCMP.
22487         * string/strcoll_l.c: Remove #define STRLEN.
22488         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22489         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22491 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22493         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22494         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22495         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22496         * sysdeps/mips/mips64/Makefile: ... here.
22497         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22498         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22499         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22500         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22501         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22502         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22503         * sysdeps/mips/mips64/n64/Implies: Likewise.
22505 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22507         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22508         <sys/time.h>, <string.h>, and <errno.h>.
22509         (dest_offset, dest_address, value, zero): Remove unused variables.
22510         (ldouble): Remove typedef.
22511         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22512         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22513         1).  Fix code style.
22514         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22515         (check): Function removed.
22516         (CHECK): New macro.
22517         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22518         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22519         Don't call set_sigaction_FP and remove_sigaction_FP here.
22520         (ldouble_test): Just use 'long double' as macro argument, no need for
22521         the 'ldouble' typedef.
22522         (do_test): Set up SIGFPE handler at start, using plain signal rather
22523         than sigaction.  Fix code style.
22525 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22527         [BZ #17949]
22528         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22529         jump label.
22531 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22533         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22534         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22536         * sysdeps/powerpc/configure.ac: Remove file.
22537         * sysdeps/powerpc/configure: Likewise.
22539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22540         [sysdep_routines]: Remove wordcopy-power6 object.
22541         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22542         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22543         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22544         (__memmove_ppc32): Likewise.
22545         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22546         file.
22547         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22549         Remove preprocessor.
22551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22552         [sysdep_routines]: Remove wide chars objects.
22553         [wcsmbs]: New rule for wide char objects.
22555         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22556         Remove wordcopy-power6 obejct.
22557         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22558         Use local call for wordcopy and memcpy symbols.
22559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22560         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22561         implementation for loader.
22562         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22565         Remove wordcopy-power7 object.
22566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22568         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22569         (_wordcopy_fwd_dest_aligned): Likewise.
22570         (_wordcopy_bwd_aligned): Likewise.
22571         (_wordcopy_bwd_dest_aligned): Likewise.
22573         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22574         Rewrite to call __memmove_ppc instead of include default
22575         implementation.
22577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22578         Remove wide chars objects.
22579         [wcsmbs]: New rule for wide char objects.
22581 2015-02-09  Andreas Schwab  <schwab@suse.de>
22583         [BZ #17912]
22584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22585         in terms of __O_DIRECTORY.
22587 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22589         * time/getdate.c: Include <stdbool.h>.
22590         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22591         call PTR_MANGLE.
22592         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22593         PTR_DEMANGLE.
22595 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22597         Add ersatz _Static_assert on older C hosts
22598         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22599         pre-C11 C platform that is not known to support _Static_assert.
22601 2015-02-07  Richard Braun  <rbraun@sceen.net>
22603         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22604         sigstate.
22605         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22607 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22609         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22610         priority against unexistent AIO_PRIO_DELTA_MAX.
22611         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22612         instead of int.
22613         * misc/fchflags.c (fchflags): Likewise.
22614         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22615         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22616         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22617         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22618         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22619         Declare macros.
22620         [__USE_MISC] (chflags, fchflags): Declare functions.
22621         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22622         EINVAL when nfds is greater than FD_SETSIZE.
22623         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22624         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22625         45.
22626         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22627         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22628         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22629         MACH_RCV_TIMED_OUT.
22630         * hurd/hurd/signal.h (_hurd_self_sigstate,
22631         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22632         Explicit casts from void *.
22633         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22634         * abi-tags: Rename gnu-gnu os into gnu.
22636         [BZ #4719]
22637         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22638         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22639         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22640         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22641         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22642         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22644         [BZ #17944]
22645         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22646         duplicates ADDR->sun_path with sockaddr LEN limitation.
22647         * sysdeps/mach/hurd/connect.c: Include <string.h>
22648         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22649         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22650         * sysdeps/mach/hurd/sendto.c: Likewise.
22651         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22652         implementing it by hand.
22654 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22656         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22657         Use sfi_breg on ldr.
22658         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22659         Likewise.
22661         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22662         it's defined.
22663         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22664         Test SIGSETXID only if it's defined.
22666         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22668         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22669         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22671         * nptl/tst-align2.c: Moved ...
22672         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22673         * nptl/Makefile (tests): Remove tst-align2.
22674         * sysdeps/unix/sysv/linux/Makefile
22675         [$(subdir) = nptl] (tests): Add tst-align-clone.
22676         * nptl/tst-getpid1.c: Moved ...
22677         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22678         * nptl/tst-getpid2.c: Moved ...
22679         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22680         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22681         * sysdeps/unix/sysv/linux/Makefile
22682         [$(subdir) = nptl] (tests): ... here.
22683         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22684         * sysdeps/unix/sysv/linux/Makefile
22685         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22687         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22688         Drop trailing \n from perror argument.  Use return rather than exit.
22690         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22691         on [SA_SIGINFO].
22692         * nptl/tst-cancel21.c (do_test): Likewise.
22693         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22694         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22695         [!SA_SIGINFO]: Make it a stub test.
22697         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22698         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22700         * posix/tst-getlogin.c: Move to ...
22701         * login/tst-getlogin.c: ... here.
22702         * posix/Makefile (tests): Move tst-getlogin to ...
22703         * login/Makefile (tests): ... here.
22705         * libio/tst-atime.c (do_test): Move local variables SV and E
22706         inside [ST_NOATIME] conditional.
22708         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22710         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22712         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22713         (wait_code): New function replaces macro.
22714         Call nanosleep rather than syscall.
22716         * nptl/pt-system.c: Rewritten.  Put everything under
22717         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22718         Use IFUNC to redirect when possible.
22720         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22721         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22722         Use IFUNC to redirect when possible.
22724         * nptl/pt-fork.c: Rewritten.  Put everything under
22725         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22726         Use IFUNC to redirect when possible.
22727         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22729         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22730         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22731         unconditionally nowadays.  This included the only reference to
22732         __vdso_clock_gettime that appears outside libc proper.
22733         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22734         Remove version set (containing only __vdso_clock_gettime).
22735         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22736         Add attribute_hidden.
22737         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22738         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22739         libc_hidden_data_def.
22740         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22741         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22743         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22744         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22745         setrpcent, and getrpcport to ...
22746         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22747         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22748         getrpcbynumber_r, and getrpcent_r to ...
22749         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22750         * inet/getrpcbyname.c: Moved ...
22751         * sunrpc/getrpcbyname.c: ... here.
22752         * inet/getrpcbyname_r.c: Moved ...
22753         * sunrpc/getrpcbyname_r.c: ... here.
22754         * inet/getrpcbynumber.c: Moved ...
22755         * sunrpc/getrpcbynumber.c: ... here.
22756         * inet/getrpcbynumber_r.c: Moved ...
22757         * sunrpc/getrpcbynumber_r.c: ... here.
22758         * inet/getrpcent.c: Moved ...
22759         * sunrpc/getrpcent.c: ... here.
22760         * inet/getrpcent_r.c: Moved ...
22761         * sunrpc/getrpcent_r.c: ... here.
22762         * inet/Makefile (routines): Move those to ...
22763         * sunrpc/Makefile (routines): ... here.
22764         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22765         the $(subdirs) list.
22766         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22767         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22768         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22769         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22771         * elf/Makefile (routines): Include $(all-dl-routines), not just
22772         $(dl-routines).
22773         (rtld-routines): Likewise.  Use = rather than :=.
22774         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22775         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22776         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22777         * sysdeps/arm/Makefile: Likewise.
22778         * sysdeps/i386/Makefile: Likewise.
22779         * sysdeps/x86_64/Makefile: Likewise.
22780         * sysdeps/hppa/Makefile [$(subdir) = elf]
22781         (sysdep_routines, sysdep-rtld-routines): Don't add
22782         $(sysdep-dl-routines) to these.
22783         * sysdeps/ia64/Makefile: Likewise.
22784         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22785         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22786         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22787         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22788         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22789         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22790         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22791         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22792         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22793         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22794         these; sysdep-dl-routines alone is enough.
22796 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22798         [BZ #17932]
22799         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22800         where multiplication results in zero and third argument is finite
22801         and nonzero.
22802         * math/auto-libm-test-in: Add more tests of fma.
22803         * math/auto-libm-test-out: Regenerated.
22805         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22806         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22807         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22808         (_FP_CMP_EQ): Likewise.
22809         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22811         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22812         extra argument CHECK_NAN.  Redefine as wrapper around
22813         _FP_EXTEND_CNAN.
22815 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22817         * version.h (RELEASE): Set to "stable".
22818         (VERSION): Set to "2.21"
22819         * include/features.h (__GLIBC_MINOR__): Set to 21.
22821         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22823 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22824             Paul Eggert  <eggert@cs.ucla.edu>
22826         [BZ #16618]
22827         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22828         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22829         size in bytes. Store needed elements in wpmax. Use needed size
22830         in bytes for extend_alloca.
22832 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22834         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22835         binutls 2.25, and texinfo 5.2.
22836         * INSTALL: Regenerate.
22837         * sysdeps/nios2/configure: Regenerate.
22838         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22839         * manual/contrib.texi: Update.
22840         * po/be.po: Update.
22841         * po/bg.po: Update.
22842         * po/ca.po: Update.
22843         * po/cs.po: Update.
22844         * po/da.po: Update.
22845         * po/de.po: Update.
22846         * po/el.po: Update.
22847         * po/eo.po: Update.
22848         * po/es.po: Update.
22849         * po/fi.po: Update.
22850         * po/fr.po: Update.
22851         * po/gl.po: Update.
22852         * po/hr.po: Update.
22853         * po/hu.po: Update.
22854         * po/ia.po: Update.
22855         * po/id.po: Update.
22856         * po/it.po: Update.
22857         * po/ja.po: Update.
22858         * po/ko.po: Update.
22859         * po/lt.po: Update.
22860         * po/nb.po: Update.
22861         * po/nl.po: Update.
22862         * po/pl.po: Update.
22863         * po/pt_BR.po: Update.
22864         * po/ru.po: Update.
22865         * po/rw.po: Update.
22866         * po/sk.po: Update.
22867         * po/sl.po: Update.
22868         * po/sv.po: Update.
22869         * po/tr.po: Update.
22870         * po/uk.po: Update.
22871         * po/vi.po: Update.
22872         * po/zh_CN.po: Update.
22873         * po/zh_TW.po: Update.
22875         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22876         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22877         * sysdeps/hppa/dl-irel.h: Remove #warning.
22878         * sysdeps/hppa/entry.h: Provide prototype for
22879         __canonicalize_funcptr_for_compare and cast argument.
22880         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22881         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22882         * sysdeps/hppa/sotruss-lib.c: New file.
22883         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22884         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22885         (atomic_compare_and_exchange_bool_acq): Likewise.
22886         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22887         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22889         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22890         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22891         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22893 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22895         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22896         called function in non-PIC case.
22898 2015-01-31  David S. Miller  <davem@davemloft.net>
22900         * sysdeps/sparc/sparc32/bits/atomic.h
22901         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22902         unlock not after it.
22903         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22904         volatile register usage warnings from the compiler.
22906         * sysdeps/sparc/nptl/sem_init.c: Delete.
22907         * sysdeps/sparc/nptl/sem_post.c: Delete.
22908         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22909         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22910         * sysdeps/sparc/sparc32/sem_init.c: New file.
22911         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22912         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22913         padding explicitly initialized.
22914         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22915         padding for in-semaphore spinlock.
22916         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22917         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22918         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22919         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22920         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22921         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22922         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22923         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22924         version.
22925         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22926         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22928 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22930         [BZ #17801]
22931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22932         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22933         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22934         New.
22935         (index_AVX_Fast_Unaligned_Load): Likewise.
22936         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22937         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22938         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22939         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22940         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22941         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22942         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22943         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22944         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22946 2015-01-29  Andreas Schwab  <schwab@suse.de>
22948         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22950 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22952         [BZ #17892]
22953         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22955 2015-01-28  Martin Sebor  <msebor@redhat.com>
22957         * math/README.libm-test: Clarify. Add "How to read the test output."
22959 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22961         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22962         Define to 0.
22964 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22966         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22967         (__HAVE_64B_ATOMICS): Define to 0.
22969 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22971         [BZ #17885]
22972         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22973         value to set as new flag.
22975         [BZ #16576]
22976         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22977         and use _ARCH_PPCSQ instead.
22978         (__ieee754_sqrt): Likewise.
22979         (__ieee754_sqrtf): Likewise.
22980         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22981         _ARCH_PPCSQ is defined.
22982         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22983         fsqrt instruction.
22984         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22985         _ARCH_PPCSQ is defined.
22986         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22987         fsqrts instruction.
22988         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22990 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22992         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22993         bug (GCC BZ #64739).
22995 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22997         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22998         Mark _retval as used.
22999         (lll_futex_wake_unlock): Likewise.
23000         (lll_futex_timed_wait_requeue_pi): Likewise.
23002         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23003         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23004         register variables.
23006         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23007         libm_hidden_def.
23009         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23010         (__bswap_64): Mark as __always_inline.
23012 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23014         [BZ #15378]
23015         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23016         when none of the search directories exist.
23018 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23020         [BZ #17869]
23021         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23022         power8 in .machine directive.
23024         [BZ #17868]
23025         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23026         set dependency from opd value.
23028 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23031         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23032         architecture.
23034 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23036         [BZ #17870]
23037         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23038         with uint64_t.
23039         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23040         (uint64_t) 1.
23041         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23042         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23043         Replace 1UL with (uint64_t) 1.
23044         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23045         int with uint64_t.
23047 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23049         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23050         (if_freenameindex): Likewise.
23052         * resource/getrlimit64.c: Add missing libc_hidden_def.
23054 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23056         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23057         __label__.
23058         (_FP_FMA): Likewise.
23059         (_FP_TO_INT_ROUND): Likewise.
23060         (_FP_FROM_INT): Likewise.
23062 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23064         [BZ #16418]
23065         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23066         Make code racy and cancel safe.
23068 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23070         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23071         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23072         attribution.
23074         * pwd/tst-getpw.c: Rewrite.
23076         [BZ #17702]
23077         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23078         (modules-names): Add moddummy1 and moddummy2.
23079         ($(objpfx)tst-rec-dlopen): Define.
23080         * dlfcn/moddummy1.c: New file.
23081         * dlfcn/moddummy2.c: New file.
23082         * dlfcn/tst-rec-dlopen.c: New file.
23083         * elf/dl-cache.c (_dl_load_cache_lookup):
23084         Return char*. Copy result with alloca/strcpy/strdup.
23085         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23086         returns char*. Free cached. If not saving realname
23087         free cached.
23088         * elf/dl-open.c (dl_open_worker): Do not assert that
23089         _r_debug->r_state is RT_CONSISTENT.
23090         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23091         returns char*.
23093 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23094             Carlos O'Donell  <carlos@redhat.com>
23096         [BZ #12674]
23097         * nptl/sem_waitcommon.c: New file.
23098         * nptl/sem_wait.c: Include sem_waitcommon.c.
23099         (__sem_wait_cleanup, do_futex_wait): Remove.
23100         (__new_sem_wait): Adapt.
23101         (__new_sem_trywait): New function.
23102         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23103         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23104         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23105         (sem_timedwait): Adapt.
23106         * nptl/sem_post.c (__new_sem_post): Adapt.
23107         (futex_wake): New function.
23108         (__old_sem_post): Add release MO fence.
23109         * nptl/sem_open.c (sem_open): Adapt.
23110         * nptl/sem_init.c (__new_sem_init): Adapt.
23111         (futex_private_if_supported): New function.
23112         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23113         (__old_sem_getvalue): Add using previous code.
23114         * sysdeps/nptl/internaltypes.h: Adapt.
23115         * nptl/tst-sem13.c (do_test): Adapt.
23116         * nptl/tst-sem11.c (main): Adapt.
23117         * nptl/sem_trywait.c: Remove.
23118         * nptl/DESIGN-sem.txt: Remove.
23119         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23120         (gen-as-const-headers): Remove structsem.sym.
23121         * nptl/structsem.sym: Remove.
23122         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23123         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23124         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23125         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23126         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23127         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23128         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23129         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23130         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23131         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23132         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23133         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23134         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23135         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23136         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23137         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23138         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23139         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23140         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23141         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23142         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23143         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23145 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23147         * INSTALL: Regenerated.
23149         * po/libc.pot: Regenerated.
23151 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23152             Sandra Loosemore  <sandra@codesourcery.com>
23153             Andrew Jenner  <andrew@codesourcery.com>
23154             Joseph Myers  <joseph@codesourcery.com>
23155             Nathan Sidwell  <nathan@codesourcery.com>
23157         * NEWS: Mention new Nios II port.
23158         * sysdeps/nios2/Implies: New file.
23159         * sysdeps/nios2/Makefile: New file.
23160         * sysdeps/nios2/Subdirs: New file.
23161         * sysdeps/nios2/Versions: New file.
23162         * sysdeps/nios2/__longjmp.S: New file.
23163         * sysdeps/nios2/abort-instr.h: New file.
23164         * sysdeps/nios2/backtrace.c: New file.
23165         * sysdeps/nios2/bits/endian.h: New file.
23166         * sysdeps/nios2/bits/fenv.h: New file.
23167         * sysdeps/nios2/bits/link.h: New file.
23168         * sysdeps/nios2/bits/setjmp.h: New file.
23169         * sysdeps/nios2/bsd-_setjmp.S: New file.
23170         * sysdeps/nios2/bsd-setjmp.S: New file.
23171         * sysdeps/nios2/configure: New generated file.
23172         * sysdeps/nios2/configure.ac: New file.
23173         * sysdeps/nios2/crti.S: New file.
23174         * sysdeps/nios2/crtn.S: New file.
23175         * sysdeps/nios2/dl-init.c: New file.
23176         * sysdeps/nios2/dl-machine.h: New file.
23177         * sysdeps/nios2/dl-sysdep.h: New file.
23178         * sysdeps/nios2/dl-tls.h: New file.
23179         * sysdeps/nios2/dl-trampoline.S: New file.
23180         * sysdeps/nios2/gccframe.h: New file.
23181         * sysdeps/nios2/gmp-mparam.h: New file.
23182         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23183         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23184         * sysdeps/nios2/ldsodefs.h: New file.
23185         * sysdeps/nios2/libc-tls.c: New file.
23186         * sysdeps/nios2/libm-test-ulps: New file.
23187         * sysdeps/nios2/machine-gmon.h: New file.
23188         * sysdeps/nios2/math-tests.h: New file.
23189         * sysdeps/nios2/math_private.h: New file.
23190         * sysdeps/nios2/memusage.h: New file.
23191         * sysdeps/nios2/nptl/Makefile: New file.
23192         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23193         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23194         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23195         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23196         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23197         * sysdeps/nios2/nptl/tls.h: New file.
23198         * sysdeps/nios2/preconfigure: New file.
23199         * sysdeps/nios2/s_fma.c: New file.
23200         * sysdeps/nios2/s_fmaf.c: New file.
23201         * sysdeps/nios2/setjmp.S: New file.
23202         * sysdeps/nios2/sfp-machine.h: New file.
23203         * sysdeps/nios2/sotruss-lib.c: New file.
23204         * sysdeps/nios2/stackguard-macros.h: New file.
23205         * sysdeps/nios2/stackinfo.h: New file.
23206         * sysdeps/nios2/start.S: New file.
23207         * sysdeps/nios2/sysdep.h: New file.
23208         * sysdeps/nios2/tls-macros.h: New file.
23209         * sysdeps/nios2/tst-audit.h: New file.
23210         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23211         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23212         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23213         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23214         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23215         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23216         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23217         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23218         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23219         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23220         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23221         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23222         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23223         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23224         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23225         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23226         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23227         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23228         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23229         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23230         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23231         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23232         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23233         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23234         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23235         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23236         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23237         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23238         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23239         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23240         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23241         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23242         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23243         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23244         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23245         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23246         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23247         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23248         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23249         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23250         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23251         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23252         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23253         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23255 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23257         [BZ #17844]
23258         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23259         (getutent): Use weak_alias in non SHARED case
23260         and default_symbol_version in SHARED case.
23261         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23262         (getutent_r, pututline): Likewise.
23263         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23264         (getutid): Likewise.
23265         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23266         (getutid_r): Likewise.
23267         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23268         (getutline): Likewise.
23269         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23270         (getutline_r): Likewise.
23271         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23272         (updwtmp): Likewise.
23274 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23276         [BZ #17848]
23277         * sysdeps/s390/s390-32/memcmp.S
23278         (memcmp_g5): Rename to __memcmp_g5.
23279         * sysdeps/s390/s390-32/memcpy.S
23280         (memcpy_g5): Rename to __memcpy_g5.
23281         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23282         (memcpy_mvcle) Rename to __memcpy_mvcle.
23283         * sysdeps/s390/s390-32/memset.S
23284         (memset_g5): Rename to __memset_g5.
23285         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23286         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23287         and use prefixed functions.
23288         * sysdeps/s390/s390-32/multiarch/memcmp.S
23289         (memcmp_z196): Rename to __memcmp_z196.
23290         (memcmp_z10): Rename to __memcmp_z10.
23291         (memcmp): Set alias to __memcmp_g5.
23292         (bcmp): Set alias to __memcmp_g5.
23293         * sysdeps/s390/s390-32/multiarch/memcpy.S
23294         (memcpy_z196): Rename to __memcpy_z196.
23295         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23296         (memcpy_z10): Rename to __memcpy_z10.
23297         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23298         (memcpy): Set alias to __memcpy_g5.
23299         * sysdeps/s390/s390-32/multiarch/memset.S
23300         (memset_z196): Rename to __memset_z196.
23301         Jump to __memset_mvcle instead of memset_mvcle.
23302         (memset_z10): Rename to __memset_z10.
23303         Jump to __memset_mvcle instead of memset_mvcle.
23304         (memset_mvcle) Rename to __memset_mvcle.
23305         (memset): Set alias to __memset_g5.
23306         * sysdeps/s390/s390-64/memcmp.S
23307         (memcmp_z900): Rename to __memcmp_z900.
23308         * sysdeps/s390/s390-64/memcpy.S
23309         (memcpy_z900): Rename to __memcpy_z900.
23310         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23311         (memcpy_mvcle) Rename to __memcpy_mvcle.
23312         * sysdeps/s390/s390-64/memset.S
23313         (memset_z900): Rename to __memset_z900.
23314         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23315         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23316         and use prefixed functions.
23317         * sysdeps/s390/s390-64/multiarch/memcmp.S
23318         (memcmp_z196): Rename to __memcmp_z196.
23319         (memcmp_z10): Rename to __memcmp_z10.
23320         (memcmp): Set alias to __memcmp_z900.
23321         (bcmp): Set alias to __memcmp_z900.
23322         * sysdeps/s390/s390-64/multiarch/memcpy.S
23323         (memcpy_z196): Rename to __memcpy_z196.
23324         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23325         (memcpy_z10): Rename to __memcpy_z10.
23326         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23327         (memcpy): Set alias to __memcpy_z900.
23328         * sysdeps/s390/s390-64/multiarch/memset.S
23329         (memset_z196): Rename to __memset_z196.
23330         Jump to __memset_mvcle instead of memset_mvcle.
23331         (memset_z10): Rename to __memset_z10.
23332         Jump to __memset_mvcle instead of memset_mvcle.
23333         (memset_mvcle) Rename to __memset_mvcle.
23334         (memset): Set alias to __memset_z900.
23336 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23338         [BZ #17748]
23339         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23340         __fesetenv instead of fesetenv.
23342 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23344         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23345         macro.
23347 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23349         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23350         regression on LE.
23352         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23353         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23354         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23355         strncmp-power8 object.
23356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23357         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23358         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23359         * NEWS: Update.
23361 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23362             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23364         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23365         trailing byte check.
23367 2015-01-13  David S. Miller  <davem@davemloft.net>
23369         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23371 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23373         * login/logout.c (logout): Use memset rather than bzero.
23374         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23375         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23376         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23377         (_gethtbyaddr): Likewise.
23378         * locale/programs/simple-hash.c (bcopy): Macro removed.
23380 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23382         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23383         Add strcmp-power8 object.
23384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23385         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23387         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23388         __strcmp_power8 implementation.
23389         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23390         * NEWS: Update.
23392         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23393         Add strncpy-power8 and stpncpy-power8 objects.
23394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23395         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23396         implementations.
23397         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23398         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23399         __stpncpy_power8 implementation.
23400         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23401         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23402         __strncpy_power8 implementation.
23403         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23404         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23405         * NEWS: Update.
23407         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23408         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23409         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23412         strncat-power8 object.
23413         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23414         __strcat_power8 implementation.
23415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23416         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23417         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23418         optimized strcat for power8.
23420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23421         strcpy-power8 and stpcpy-power8 objects.
23422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23423         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23424         implementations.
23425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23426         multiarch stpcpy implementation for POWER8.
23427         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23428         multiarch strcpy implementation for POWER8.
23429         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23430         __strcpy_power8 function.
23431         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23432         stpcpy for POWER8.
23433         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23434         strcpy for POWER8.
23435         * NEWS: Update.
23437 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23439         [BZ #16009]
23440         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23441         weights and rules. Use do_xfrm_cached if data fits in cache,
23442         do_xfrm otherwise.  Moved former main loop to...
23443         * (do_xfrm_cached): New function.
23444         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23445         find_idx, find_position and stack_push.
23446         * (find_idx): New function.
23447         * (find_position): Likewise.
23448         * localedata/sort-test.sh: Added test run for do_xfrm.
23449         * localedata/xfrm-test.c (main): Added command line option
23450         -nocache to run the test with strings that are too large for
23451         the STRXFRM cache.
23453 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23455         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23456         variable to lll_futex_wake call, not the value itself.
23458 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23460         [BZ #17803]
23461         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23462         twom64.  Adjust value to 0x1p-64L.
23463         (__scalblnl): Only return standard underflowing result for K <=
23464         -64 not K <= -63; adjust exponent for underflowing result by 64
23465         not 63.
23466         * math/libm-test.inc (scalbn_test_data): Add more tests.
23467         (scalbln_test_data): Likewise.
23469         [BZ #17834]
23470         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23471         0x1p63L.
23472         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23473         not HX.
23474         * math/libm-test.inc (scalbn_test_data): Add more tests.
23475         (scalbln_test_data): Likewise.
23477 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23478             Stefani Seibold  <stefani@seibold.net>
23480         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23481         (sysdep_routines): Add dl-vdso here, ...
23482         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23483         (sysdep_routines): ... not here.
23484         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23485         fallback when vDSO is not presented.
23486         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23487         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23488         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23489         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23490         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23491         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23492         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23493         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23494         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23495         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23496         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23497         fallback configurable symbol when vDSO is not available.
23498         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23499         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23500         be able to redefine fallback symbol when vDSO is not available.
23501         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23502         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23504 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23506         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23507         (TLS_INIT_TP): Add tm_capable initialization.
23508         (TLS_DEFINE_INIT_TP): Likewise.
23509         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23510         TCB.
23511         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23512         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23513         calculation.
23514         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23515         transactoion is lock elision is built and TCB tm_capable is set.
23516         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23518         (INTERNAL_SYSCALL_NCS): Likewise.
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23520         (INTERNAL_SYSCALL_NCS): Likewise.
23521         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23523         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23524         for powerpc.
23525         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23526         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23527         and remove it for 32 bits case.
23528         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23530         initialization.
23531         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23532         Disable lock elision with rdlocks if elision is not available.
23534         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23535         (sysdep_routines): Add lock elision objects.
23536         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23537         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23538         [pthread_mutex_t] (__elision): Add field.
23539         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23540         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23541         elision definitions for powerpc.
23542         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23543         implementation of lock elision for powerpc.
23544         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23545         implementation of timed lock elision for powerpc.
23546         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23547         implementation of trylock with lock elision for powerpc.
23548         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23549         implementaion of unlock for lock elision for powerpc.
23550         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23551         automatic enable lock elision for mutexes.
23552         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23553         transaction execution definitions for powerpc.
23554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23555         definitions.
23556         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23557         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23558         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23559         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23560         * NEWS: Update.
23562 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23564         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23565         for #include of <shm-directory.h>.
23567 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23569         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23570         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23572 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23574         [BZ #17791]
23575         * NEWS: Mention bug fix.
23576         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23577         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23578         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23580 2015-01-09  Torvald Riegel <triegel@redhat.com>
23582         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23584 2015-01-09  Torvald Riegel <triegel@redhat.com>
23586         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23588 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23590         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23591         pointer and cast to uintptr_t.
23593 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23595         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23596         removed.
23597         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23599 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23601         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23602         of 0.
23604 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23606         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23607         <nptl/pthreadP.h> instead.
23608         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23610         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23611         already defined.
23612         [__SIGRTMIN] (init): Function removed.
23613         [__SIGRTMIN] (initialized): Variable removed.
23614         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23615         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23616         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23617         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23618         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23619         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23620         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23621         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23622         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23623         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23624         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23625         * sysdeps/nptl/allocrtsig.c: New file.
23626         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23627         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23628         * sysdeps/generic/testrtsig.h: File removed.
23630         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23631         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23633         * nptl/nptl-init.c (pthread_functions): Conditionalize
23634         .ptr__nptl_setxid initialization on [SIGSETXID].
23636         * sysdeps/nptl/sys/procfs.h: New file.
23637         * nptl_db/Makefile (headers): Add it.
23638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23640         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23641         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23642         * nptl/pthread_attr_setaffinity.c: Include it.
23643         * nptl/pthread_setattr_default_np.c: Likewise.
23644         * nptl/check-cpuset.h: New file.
23646 2015-01-08  Richard Henderson  <rth@redhat.com>
23648         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23649         (CFLAGS-tst-execstack-prog.c): Likewise.
23650         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23652 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23653             Sandra Loosemore  <sandra@codesourcery.com>
23654             Andrew Jenner  <andrew@codesourcery.com>
23655             Joseph Myers  <joseph@codesourcery.com>
23656             Nathan Sidwell  <nathan@codesourcery.com>
23658         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23659         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23660         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23661         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23662         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23663         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23664         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23665         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23666         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23667         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23668         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23669         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23670         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23671         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23672         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23673         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23674         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23676 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23678         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23679         timespec struct member in syscall macro.
23680         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23681         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23682         first timeval struct member in syscall macro.
23683         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23685 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23687         [BZ #17748]
23688         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23689         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23690         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23691         __feupdateenv and define as weak alias of __feupdateenv.  Use
23692         libm_hidden_weak.
23693         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23694         libm_hidden_def.
23695         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23696         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23697         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23698         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23699         libm_hidden_def.
23700         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23701         __feupdateenv and define as weak alias of __feupdateenv.  Use
23702         libm_hidden_weak.
23703         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23704         libm_hidden_def.
23705         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23706         __feupdateenv and define as weak alias of __feupdateenv.  Use
23707         libm_hidden_weak.
23708         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23709         libm_hidden_def.
23710         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23711         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23712         (__feupdateenv): Likewise.
23713         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23714         __feupdateenv and define as weak alias of __feupdateenv.  Use
23715         libm_hidden_weak.
23716         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23717         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23718         libm_hidden_def.
23719         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23720         function.
23721         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23722         libm_hidden_def.
23723         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23724         __feupdateenv instead of feupdateenv.
23725         (default_libc_feupdateenv_test): Likewise.
23726         (libc_feresetround_ctx): Likewise.
23728 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23730         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23731         prototype.
23733 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23735         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23736         COLL_SYM in a couple of places to avoid uninitialized variable
23737         wanings on tilegx gcc 4.8.2.
23739 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23741         * sysdeps/aarch64/strcpy.S: New file.
23742         * sysdeps/aarch64/stpcpy.S: New file.
23743         * NEWS: Updated.
23745 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23747         * sysdeps/aarch64/strrchr.S: New file.
23748         * NEWS: Updated.
23750 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23752         [BZ #17658]
23753         * stdlib/setenv.c: Fix memory leak when setting large,
23754         duplicate string.
23756 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23758         [BZ #17273]
23759         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23760         and tabs from buffer before parsing fstab entry.
23761         * misc/tst-mntent.c (main): Add test for mount entry with
23762         trailing spaces and tabs.
23764 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23766         [BZ #17748]
23767         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23768         * math/fesetround.c (fesetround): Rename to __fesetround and
23769         define as weak alias of __fesetround.  Use libm_hidden_weak.
23770         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23771         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23772         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23773         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23774         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23775         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23776         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23777         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23778         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23779         __fesetround_inline.
23780         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23781         __fesetround_inline instead of __fesetround.
23782         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23783         __fesetround and define as weak alias of __fesetround.  Use
23784         libm_hidden_weak.  Call __fesetround_inline instead of
23785         __fesetround.
23786         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23787         __fesetround and define as weak alias of __fesetround.  Use
23788         libm_hidden_weak.
23789         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23790         Likewise.
23791         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23793         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23794         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23795         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23796         __fesetround and define as weak alias of __fesetround.  Use
23797         libm_hidden_weak.
23798         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23799         __fesetround instead of fesetround.
23800         (default_libc_feholdexcept_setround): Likewise.
23801         (libc_feholdsetround_ctx): Likewise.
23802         (libc_feholdsetround_noex_ctx): Likewise.
23804         [BZ #17748]
23805         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23806         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23808         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23809         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23810         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23811         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23812         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23813         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23814         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23815         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23816         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23817         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23818         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23819         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23820         libm_hidden_def.
23821         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23822         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23823         Likewise.
23824         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23825         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23826         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23827         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23828         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23829         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23830         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23831         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23832         __fesetenv instead of fesetenv.
23833         (libc_feresetround_noex_ctx): Likewise.
23834         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23835         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23836         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23837         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23838         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23839         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23840         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23841         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23842         (__feupdateenv): Likewise.
23843         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23844         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23845         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23846         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23848 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23850         [BZ #17806]
23851         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23852         addresses have been freed.
23854 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23856         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23857         and nservall.
23859 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23861         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23862         Clean up check_pf allocation pattern. addresses
23864 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23866         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23867         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23868         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23869         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23870         * nptl/pthread_join.c (pthread_join): Likewise.
23871         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23872         * sysdeps/posix/waitid.c (__waitid): Likewise.
23873         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23874         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23875         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23876         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23878         Likewise.
23879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23880         (__libc_pread64): Likewise.
23881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23882         (__libc_pwrite): Likewise.
23883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23884         (__libc_pwrite64): Likewsie.
23885         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23886         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23887         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23888         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23889         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23890         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23891         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23893         Likewise.
23894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23895         (__libc_pread64): Likewise.
23896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23897         Likewise.
23898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23899         (__libc_pwrite64): Likewise.
23900         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23901         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23902         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23903         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23904         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23905         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23906         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23907         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23908         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23909         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23910         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23911         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23912         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23913         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23914         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23915         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23916         Likewise.
23918 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23920         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23921         (CFLAGS-test-double.c): Likewise.
23922         (CFLAGS-test-ldouble.c): Likewise.
23923         (CPPFLAGS-test-ifloat.c): Likewise.
23924         (CPPFLAGS-test-idouble.c): Likewise.
23925         (CPPFLAGS-test-ildoubl.c): Likewise.
23926         (CFLAGS-test-test-fenv.c): Remove variable.
23927         (CFLAGS-test-misc.c): Likewise.
23929 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23931         [BZ #17797]
23932         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23933         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23934         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23935         CLOCKS_PER_SEC == 1000000.
23936         * time/clocktest.c (main): Replace %ld with %jd and cast to
23937         intmax_t.
23939 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23941         * sysdeps/generic/unwind-resume.h: New file.
23942         * sysdeps/gnu/unwind-resume.c: Include it.
23943         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23944         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23945         argument list.
23946         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23947         global rather than static.
23948         (_Unwind_Resume): Update user.
23949         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23950         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23951         rather than static.  Add __attribute__ ((cold)).
23952         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23953         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23954         * sysdeps/arm/arm-unwind-resume.S: New file.
23955         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23956         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23957         * sysdeps/arm/Makefile [$(subdir) = csu]
23958         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23959         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23960         Add rt-arm-unwind-resume.
23961         [$(subdir) = nptl]
23962         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23963         Add pt-arm-unwind-resume.
23964         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23965         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23967 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23969         [BZ #17748]
23970         * include/fenv.h (__feholdexcept): Declare.  Use
23971         libm_hidden_proto.
23972         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23973         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23974         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23975         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23976         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23977         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23978         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23979         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23980         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23981         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23982         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23983         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23984         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23985         (feholdexcept): Likewise.
23986         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23987         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23988         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23989         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23990         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23991         __feholdexcept instead of feholdexcept.
23992         (default_libc_feholdexcept_setround): Likewise.
23994 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23996         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23997         to avoid using stl/str to align destination.
23999 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24001         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24003 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24005         [BZ #17796]
24006         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24007         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24008         Define as weak alias not strong alias.
24010 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24012         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24013         bltzal with addiupc.
24014         (RTLD_START): Ditto.
24016 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24018         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24019         for __vdso_* functions in declarations.
24020         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24021         definitions.
24022         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24023         INTERNAL_VSYSCALL): Use struct return types to check for error.
24025         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24026         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24027         function with cast from llround().
24028         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24029         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24030         Define.
24032 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24034         [BZ #17793]
24035         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24036         Define as weak alias not strong alias.
24038         [BZ #17635]
24039         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24040         ...
24041         * ctype/ctype-extn.c: ... here.
24042         (__isblank_l): Move to ...
24043         * ctype/ctype-c99_l.c: ... here.  New file.
24044         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24045         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24046         Remove variable.
24047         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24048         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24049         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24050         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24051         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24053         [BZ #17777]
24054         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24055         (posix_fadvise64): Define as weak alias not strong alias.
24056         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24057         (posix_fallocate64): Likewise.
24058         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24059         Remove variable.
24060         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24061         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24062         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24063         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24064         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24066 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24068         [BZ #16191]
24069         * NEWS: Mention bug fix.
24070         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24071         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24072         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24073         (HOST_STACK_END_ADDR): Likewise.
24075 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24077         [BZ #17748]
24078         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24079         * math/fegetround.c (fegetround): Rename to __fegetround and
24080         define as weak alias of __fegetround.  Use libm_hidden_weak.
24081         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24082         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24083         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24084         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24085         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24086         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24087         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24088         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24089         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24090         Undefine after rather than before function definition; use
24091         parentheses around function name in definition.
24092         (__fegetround): Also undefine macro after function definition.
24093         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24094         __fegetround and define as weak alias of __fegetround.  Use
24095         libm_hidden_weak.  Do not undefine as macro.
24096         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24097         Likewise.
24098         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24099         __fegetround and define as weak alias of __fegetround.  Use
24100         libm_hidden_weak.
24101         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24102         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24103         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24104         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24105         __fegetround and define as weak alias of __fegetround.  Use
24106         libm_hidden_weak.
24107         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24108         __fegetround instead of fegetround.
24110         [BZ #17782]
24111         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24112         Condition macro definition on [__USE_MISC].
24114         [BZ #17781]
24115         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24116         (struct sigaction): Change type of sa_flags field to int.
24118         [BZ #17780]
24119         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24120         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24121         __glibc_reserved0.
24123         * nptl/version.c (banner): Use single year in copyright notice.
24125         * NEWS: Update copyright dates.
24126         * catgets/gencat.c (print_version): Likewise.
24127         * csu/version.c (banner): Likewise.
24128         * debug/catchsegv.sh: Likewise.
24129         * debug/pcprofiledump.c (print_version): Likewise.
24130         * debug/xtrace.sh (do_version): Likewise.
24131         * elf/ldconfig.c (print_version): Likewise.
24132         * elf/ldd.bash.in: Likewise.
24133         * elf/pldd.c (print_version): Likewise.
24134         * elf/sotruss.sh: Likewise.
24135         * elf/sprof.c (print_version): Likewise.
24136         * iconv/iconv_prog.c (print_version): Likewise.
24137         * iconv/iconvconfig.c (print_version): Likewise.
24138         * locale/programs/locale.c (print_version): Likewise.
24139         * locale/programs/localedef.c (print_version): Likewise.
24140         * login/programs/pt_chown.c (print_version): Likewise.
24141         * malloc/memusage.sh (do_version): Likewise.
24142         * malloc/memusagestat.c (print_version): Likewise.
24143         * malloc/mtrace.pl: Likewise.
24144         * manual/libc.texinfo: Likewise.
24145         * nptl/version.c (banner): Likewise.
24146         * nscd/nscd.c (print_version): Likewise.
24147         * nss/getent.c (print_version): Likewise.
24148         * nss/makedb.c (print_version): Likewise.
24149         * posix/getconf.c (main): Likewise.
24150         * scripts/test-installation.pl: Likewise.
24151         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24153 2015-01-02  Will Newton  <will.newton@linaro.org>
24155         * sysdeps/arm/armv7/configure: Removed.
24156         * sysdeps/arm/armv7/configure.ac: Likewise.
24158 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24160         * All files with FSF copyright notices: Update copyright dates
24161         using scripts/update-copyrights.
24162         * intl/plural.c: Regenerated.
24163         * locale/programs/charmap-kw.h: Likewise.
24164         * locale/programs/locfile-kw.h: Likewise.
24166 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24168         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24170 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24172         [BZ #17748]
24173         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24174         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24175         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24176         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24177         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24178         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24179         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24180         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24181         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24182         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24183         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24184         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24185         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24186         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24187         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24188         libm_hidden_def.
24189         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24190         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24191         Likewise.
24192         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24193         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24194         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24195         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24196         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24197         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24198         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24199         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24200         __fegetenv instead of fegetenv.
24201         (libc_feholdsetround_noex_ctx): Likewise.
24203 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24205         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24206         (Elf_MIPS_ABIFlags_v0): New structure.
24207         (EF_MIPS_FP64): Define.
24208         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24209         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24210         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24211         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24212         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24213         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24214         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24215         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24216         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24217         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24218         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24219         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24220         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24221         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24222         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24223         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24224         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24225         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24226         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24227         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24228         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24229         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24230         field.
24231         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24232         EF_MIPS_FP64.
24233         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24234         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24235         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24236         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24237         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24238         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24239         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24240         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24241         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24242         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24243         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24244         record the current FP ABI extension.
24245         (mips-mode-switch): Define to show if kernel headers support mode
24246         switching.
24247         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24248         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24249         supported SYSV ABI version to 3.
24250         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24251         feature.
24253 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24254             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24256         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24257         path.
24258         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24260 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24262         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24263         __fegetround and redefine to call __fegetround.  Remove condition
24264         on [!__NO_MATH_INLINES].
24265         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24266         function.
24267         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24268         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24269         Remove macro.
24270         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24271         instead of <fenv_libc.h>.
24272         (__llrintl): Call fegetround instead of __fegetround.
24273         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24274         instead of <fenv_libc.h>.
24275         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24276         (__lrintl): Call fegetround instead of __fegetround.
24277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24278         instead of <fenv_libc.h>.
24279         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24280         (__rintl): Call fegetround instead of __fegetround.
24282 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24284         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24285         arrays.
24287 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24289         [BZ #17775]
24290         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24291         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24292         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24294 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24296         * sysdeps/i386/tls-macros.h: Include <features.h>.
24297         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24298         (TLS_IE): Likewise.
24299         (TLS_LD): Likewise.
24300         (TLS_GD): Likewise.
24301         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24302         define for GCC >= 5.0.
24304 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24306         * math/test-fenv.c (test_single_exception, set_single_exc,
24307         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24308         feexcp_mask_test, feenable_test, fe_single_test): Add
24309         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24310         case where they are not used.
24311         * math/libm-test.inc: Likewise.
24312         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24313         unused in the absence of FP rounding/exception support.
24314         * stdio-common/tst-printf-round.c: Likewise.
24315         * stdlib/tst-strtod-round.c: Likewise.
24316         * stdlib/tst-strtod-underflow.c: Likewise.
24318 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24320         [BZ #17723]
24321         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24322         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24323         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24324         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24325         libm_hidden_weak.
24326         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24327         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24328         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24329         libm_hidden_def.
24330         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24331         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24332         libm_hidden_weak.
24333         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24334         Likewise.
24335         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24336         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24337         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24338         libm_hidden_weak.
24339         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24340         libm_hidden_def.
24341         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24342         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24343         (__feraiseexcept): Likewise.
24344         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24345         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24346         libm_hidden_weak.
24347         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24348         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24349         libm_hidden_def.
24350         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24351         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24352         Use libm_hidden_def.
24353         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24354         libm_hidden_def.
24355         (feraiseexcept): Define as weak not strong alias.  Use
24356         libm_hidden_weak.
24357         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24358         New inline function.  Factored out of ...
24359         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24360         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24361         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24362         feraiseexcept.
24363         * math/w_acos.c (__acos): Likewise.
24364         * math/w_asin.c (__asin): Likewise.
24365         * math/w_ilogb.c (__ilogb): Likewise.
24366         * math/w_j0.c (y0): Likewise.
24367         * math/w_j1.c (y1): Likewise.
24368         * math/w_jn.c (yn): Likewise.
24369         * math/w_log.c (__log): Likewise.
24370         * math/w_log10.c (__log10): Likewise.
24371         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24372         * sysdeps/aarch64/fpu/math_private.h
24373         (libc_feupdateenv_test_aarch64): Likewise.
24374         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24375         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24376         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24377         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24378         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24379         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24380         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24381         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24382         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24383         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24385 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24387         [BZ #17732]
24388         * io/test-utime.c (main): Replace %ld with %jd and cast to
24389         intmax_t.
24390         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24391         * nptl/tst-mutex5.c: Include <stdint.h>.
24392         (do_test): Replace %ld with %jd and cast to intmax_t.
24393         * posix/tst-regex.c (run_test): Likewise.
24394         (run_test_backwards): Likewise.
24395         * rt/tst-clock.c: Include <stdint.h>.
24396         (clock_test): Replace %ld with %jd and cast to intmax_t.
24397         * rt/tst-cpuclock1.c: Include <stdint.h>.
24398         (do_test): Replace %lu with %ju and cast to uintmax_t.
24399         * rt/tst-cpuclock2.c: Include <stdint.h>.
24400         (do_test): Replace %lu with %ju and cast to uintmax_t.
24401         * rt/tst-mqueue1.c: Include <stdint.h>.
24402         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24403         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24404         intmax_t.
24405         * rt/tst-mqueue4.c (do_test): Likewise.
24406         * rt/tst-timer4.c: Include <stdint.h>.
24407         (check_ts): Replace %ld with %jd and cast to intmax_t.
24408         (do_test): Likewise.
24409         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24410         and cast to intmax_t.
24411         * sysdeps/pthread/tst-timer.c (main): Likewise.
24412         * time/clocktest.c (main): Likewise.
24413         * time/tst-posixtz.c (do_test): Likewise.
24414         * timezone/tst-timezone.c (main): Likewise.
24416 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24417             H.J. Lu  <hongjiu.lu@intel.com>
24419         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24420         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24421         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24424         version if bit_Fast_Unaligned_Load is set.
24425         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24426         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24427         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24428         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24429         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24430         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24431         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24432         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24433         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24434         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24435         to 4.
24436         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24437         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24438         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24439         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24441 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24443         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24444         instead of #if to avoid a Wundef warning.
24445         * stdlib/tst-limits.c (do_test): Likewise.
24447         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24448         parallel other exception macros.
24449         (fegetenv): Convert from macro to extern inline so that it applies
24450         retroactively to inline functions already seen by the compiler.
24451         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24453         * posix/Makefile (before-compile): Use $(objpfx) for
24454         posix-conf-vars-def.h.
24456 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458         * posix/getconf.c (main): Use size_t for type of I.
24459         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24460         NSPEC.
24462         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24463         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24464         * posix/posix-envs.def: Likewise.
24465         * sysdeps/posix/sysconf.c: Likewise.
24466         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24467         (specs): Remove array.
24468         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24469         array.
24471         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24472         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24473         (__sysconf): Use CONF_IS_* macros.
24475         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24476         ($(objpfx)posix-conf-vars-def.h): New target.
24477         * posix/posix-conf-vars.list: New file.
24478         * posix/posix-conf-vars.h: New file.
24479         * posix/confstr.c: Include posix-conf-vars.h.
24480         (confstr): Use CONF_IS_* macros.
24481         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24482         CONF_IS_* macros.
24483         * scripts/gen-posix-conf-vars.awk: New file.
24485 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24487         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24488         fegetround): Add no-op macros to avoid linknamespace issues.
24490         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24491         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24493         * sysdeps/unix/sysv/linux/tile/sysdep.h
24494         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24495         assembly-specific section to avoid a redefinition warning.
24497         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24498         long before casting to pointer to avoid a cast warning.
24500 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24502         * sysdeps/tile/tilegx/Implies: New file.
24504 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24506         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24508 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24510         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24512 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24515         not define.
24516         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24517         <kernel-features.h>.
24518         (__utimes) [__NR_utimes]: Make code unconditional.
24519         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24521         (__ASSUME_UTIMES): Do not undefine.
24522         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24523         (__ASSUME_UTIMES): Likewise.
24524         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24525         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24526         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24527         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24529 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24531         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24533 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24535         [BZ #17747]
24536         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24537         alias to weak alias for j0l, y0l.
24538         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24539         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24541         [BZ #17746]
24542         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24543         conversion.
24545 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24547         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24548         to zero if not already defined.
24550 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24552         [BZ #17724]
24553         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24554         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24555         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24556         (char *) casts added.
24557         * sysdeps/ieee754/k_standardf.c: New file.
24558         * sysdeps/ieee754/k_standardl.c: Likewise.
24559         * math/Makefile (libm-support): Remove k_standard.
24560         (libm-calls): Add k_standard.
24562 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24564         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24565         Optimize to avoid an unnecessary FPCR read.
24567 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24569         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24570         Optimize to reduce FPCR/FPSR accesses.
24572 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24574         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24575         Call libc_fetestexcept_aarch64.
24577 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24579         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24580         Call libc_fesetround_aarch64.
24582 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24584         [BZ #17733]
24585         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24586         (__bind): Do not define as weak alias.
24587         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24588         define.
24589         (__getsockname): Do not define as weak alias.
24591 2014-12-22  Will Newton  <will.newton@linaro.org>
24593         * manual/install.texi: Document that we require bison 2.7
24594         or above.
24595         * INSTALL: Regenerate.
24596         * configure.ac: Use AC_CHECK_PROG_VER instead of
24597         AC_PATH_PROG when checking for bison and check for
24598         version 2.7 or above.
24599         * configure: Regenerate.
24601 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24603         [BZ #17745]
24604         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24605         * sysdeps/tile/ffsll.c (ffsll): To here.
24607         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24609 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24611         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24612         if not defined.
24613         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24614         definition.
24615         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24616         hidden ___tls_get_addr.
24617         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24618         hidden __tls_get_addr.
24619         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24620         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24621         Likewise.
24623 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24625         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24626         _dl_init call.
24628 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24630         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24631         from "call _dl_init@PLT".
24632         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24634 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24636         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24637         guarantees.
24639 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24641         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24643 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24645         [BZ #17744]
24646         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24647         strnlen.
24649 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24651         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24652         of multu on MIPSr6.
24653         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24654         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24655         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24656         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24657         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24659 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24661         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24662         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24663         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24664         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24665         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24666         mips32r6/mips64r6.
24667         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24669 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24671         * string/strncat.c (STRNCAT): Simplify implementation.
24673 2014-12-19  David S. Miller  <davem@davemloft.net>
24675         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24676         access the quad as both a long double and as a series of 4 words.
24678         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24679         link_map->l_info array access.
24681 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24683         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24685         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24686         * math/atest-exp2.c (TIMEOUT): Likewise.
24687         * math/atest-sincos.c (TIMEOUT): Likewise.
24689 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24691         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24692         -Wno-error with -fno-builtin-lround.
24694 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24696         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24697         Contains futex constants and functions moved over from ...
24698         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24699         <lowlevellock-futex.h>.
24700         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24701         (lll_timedwait_tid): Add comments and parentheses around macro
24702         arguments.
24704 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24707         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24708         (__lll_private_flag): Remove.
24709         (lll_futex_wait): Likewise.
24710         (lll_futex_timed_wait): Likewise.
24711         (lll_futex_wake): Likewise.
24712         (lll_futex_requeue): Likewise.
24713         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24714         (__lll_timedwait_tid): Spell out argument names.
24715         (lll_timedwait_tid): Add comments and parentheses around macro
24716         arguments.
24717         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24718         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24720 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24722         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24723         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24724         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24725         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24726         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24727         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24728         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24729         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24730         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24731         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24732         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24733         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24734         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24736         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24737         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24738         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24739         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24740         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24742 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24744         * sysdeps/x86_64/x32/Makefile: New file.
24746 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24748         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24749         1L with (mp_limb_t) 1.
24751 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24753         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24754         * nptl/libc_pthread_init.c: ... here.
24755         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24756         * nptl/register-atfork.c: ... here.
24758         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24759         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24760         Use assert_perror to check its return value.
24761         (__gai_create_helper_thread): Likewise.
24763         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24765         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24767 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24769         [BZ #17725]
24770         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24771         __profil_counter.
24772         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24773         Likewise.
24774         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24775         Likewise.
24776         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24777         Likewise.
24778         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24779         (profil_counter): Likewise.
24780         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24781         (profil_counter): Likewise.
24782         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24783         Likewise.
24784         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24785         Likewise.
24786         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24787         (profil_counter): Likewise.
24788         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24789         Likewise.
24790         [!__profil_counter] (profil_counter): Define as weak alias of
24791         __profil_counter.
24792         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24793         (profil_counter): Rename to __profil_counter.
24794         [!__profil_counter] (profil_counter): Define as weak alias of
24795         __profil_counter.
24796         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24797         (profil_counter): Rename to __profil_counter.
24798         [!__profil_counter] (profil_counter): Define as weak alias of
24799         __profil_counter.
24800         * sysdeps/posix/profil.c: Update comment referring to
24801         profil_counter.
24802         (__profil): Use __profil_counter instead of profil_counter.
24803         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24804         __profil_counter.  Use __profil_counter_ushort and
24805         __profil_counter_uint in definitions.
24806         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24807         instead of profil_counter_uint and profil_counter_ushort.
24809         [BZ #17722]
24810         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24811         define as weak alias of __inet_makeaddr.
24812         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24813         as weak alias of __inet_addr.
24814         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24815         as weak alias of __inet_pton.  Use libc_hidden_weak.
24816         * include/arpa/inet.h (__inet_pton): Declare.  Use
24817         libc_hidden_proto.
24818         (inet_makeaddr): Don't use libc_hidden_proto.
24819         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24820         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24821         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24822         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24823         Remove variable.
24824         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24825         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24827 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24829         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24831 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24833         * stdio-common/bug-vfprintf-nargs.c (do_test):
24834         Cast value to intptr_t to avoid format warning
24835         for usage with PRIdPTR printing macro.
24837 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24839         * libio/tst-widetext.c (do_test):
24840         Use format type %td instead of %Zd for ptrdiff_t
24841         in order to avoid format warning.
24843 2014-12-17  Andreas Schwab  <schwab@suse.de>
24845         * nscd/mem.c (gc): Add size_t cast to match printf format.
24847 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24849         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24850         (init): Apply PTR_MANGLE to pointers before storing them.
24851         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24852         before using them.
24854 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24856         [BZ #17719]
24857         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24858         define as weak alias of __memrchr.
24859         (__memrchr): Do not define as strong alias of memrchr.
24860         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24861         Remove variable.
24862         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24863         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24864         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24866         [BZ #17717]
24867         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24868         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24869         (if_indextoname): Rename to __if_indextoname and define as weak
24870         alias of __if_indextoname.  Use libc_hidden_weak.
24871         (if_freenameindex): Rename to __if_freenameindex and define as
24872         weak alias of __if_freenameindex.
24873         (if_nameindex): Rename to __if_nameindex and define as weak alias
24874         of __if_nameindex.
24875         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24876         __if_nametoindex and define as weak alias of __if_nametoindex.
24877         Use libc_hidden_weak.
24878         (if_freenameindex): Rename to __if_freenameindex and define as
24879         weak alias of __if_freenameindex.
24880         (if_nameindex): Rename to __if_nameindex and define as weak alias
24881         of __if_nameindex.
24882         (if_indextoname): Rename to __if_indextoname and define as weak
24883         alias of __if_indextoname.  Use libc_hidden_weak.
24884         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24885         __if_nametoindex and define as weak alias of __if_nametoindex.
24886         Use libc_hidden_weak.
24887         (if_freenameindex): Rename to __if_freenameindex and define as
24888         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24889         (if_nameindex_netlink): Use __if_freenameindex instead of
24890         if_freenameindex.
24891         (if_nameindex): Rename to __if_nameindex and define as weak alias
24892         of __if_nameindex.  Use libc_hidden_weak.
24893         (if_indextoname): Rename to __if_indextoname and define as weak
24894         alias of __if_indextoname.  Use libc_hidden_weak.
24895         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24896         libc_hidden_proto.
24897         [!_ISOMAC] (__if_freenameindex): Likewise.
24898         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24899         if_nametoindex.
24900         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24901         variable.
24902         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24903         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24904         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24905         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24906         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24907         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24908         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24910         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24911         Remove variable.
24912         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24913         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24915 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24917         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24918         subscript above bounds'
24920         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24921         bounds.
24923 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24925         * libio/tst-fopenloc.c: Use test-skeleton.c.
24927         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24928         (entry): Rename to ITEM.
24929         (do_test, comp): Adjust.
24931         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24933 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24935         * string/tester.c: Include <libc-internal.h>.
24936         (test_memset): Ignore -Wmemset-transposed-args.
24938 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24940         * misc/tst-mntent2.c (do_test): Fix warning.
24942 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24944         * elf/tst-unique4lib.cc(a): Mark as used.
24946 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24948         [BZ #17630]
24949         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24950         names.
24952 2014-12-16  Allan McRae  <allan@archlinux.org>
24954         * stdio-common/Makefile (tests): Re-add bug26.
24956 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24958         [BZ #17657]
24959         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24960         static array.
24962 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24964         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24965         (__lll_lock_wait): Likewise.
24966         (__lll_timedlock_wait): Likewise.
24967         (__lll_timedwait_tid): Likewise.
24968         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24969         (__lll_robust_timedlock_wait): Likewise.
24970         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24971         (lll_cond_trylock): Likewise.
24972         (__lll_lock): Likewise.
24973         (__lll_robust_lock): Likewise.
24974         (__lll_cond_lock): Likewise.
24975         (lll_robust_cond_lock): Likewise.
24976         (__lll_timedlock): Likewise.
24977         (__lll_robust_timedlock): Likewise.
24978         (__lll_unlock): Likewise.
24979         (__lll_robust_unlock): Likewise.
24980         (lll_wait_tid): Likewise.
24981         (lll_timedwait_tid): Likewise.
24983 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24985         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24987 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24989         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24991 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24993         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24994         * stdio-common/tst-sprintf.c: Likewise.
24996 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24998         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25000 2014-12-15  Jeff Law  <law@redhat.com>
25002         [BZ #16617]
25003         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25004         on the heap.  (CVE-2012-3406)
25005         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25006         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25007         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25009 2014-12-15  Will Newton  <will.newton@linaro.org>
25011         * manual/install.texi: Bump required version of texinfo
25012         to 4.7 from 4.5.
25013         * INSTALL: Regenerated.
25014         * configure.ac: Check for makeinfo version 4.7 and above.
25015         * configure: Regenerated.
25017 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25019         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25020         PREFIX, string constant to insert between directory and name.
25021         * sysdeps/posix/shm_open.c: Update caller.
25022         * sysdeps/posix/shm_unlink.c: Likewise.
25023         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25024         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25025         (SEM_SHM_PREFIX): New macro.
25026         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25027         [$(have-thread-library) = no].
25028         * nptl/Makefile (libpthread-routines): Add shm-directory.
25029         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25030         * sysdeps/nptl/shm-directory.h: New file.
25031         * sysdeps/posix/shm-directory.c
25032         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25033         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25034         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25035         INTERNAL_SYSCALL.
25036         (__where_is_shmfs): Function removed.
25037         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25038         Variables removed.
25039         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25040         Use SHM_GET_NAME.
25041         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25043         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25044         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25045         unconditional for use inside libpthread.
25046         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25048 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25050         * nptl/pthread_getaffinity.c: New file.
25051         * nptl/pthread_setaffinity.c: New file.
25052         * nptl/pthread_getname.c: New file.
25053         * nptl/pthread_setname.c: New file.
25055         * nptl/pthread_create.c (START_THREAD_DEFN)
25056         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25058 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25059             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25061         * resolv/res_send.c (send_vc): Disable warning resplen may
25062         be used uninitialized.
25064 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25066         * nptl/tst-mutex6.c
25067         (ATTR_NULL): New define checks ATTR against NULL.
25068         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25069         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25071 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25073         [BZ #17581]
25074         * malloc/hooks.c
25075         (mem2mem_check): Revert my previous change.
25076         (malloc_check_get_size): Revert my previous change.
25077         (mem2chunk_check): Revert my previous change.
25079 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25081         * sysdeps/posix/shm-directory.c: New file.
25082         * sysdeps/posix/shm-directory.h: New file.
25083         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25084         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25085         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25086         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25087         Transmute EPERM to EACCES.
25088         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25089         from ...
25090         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25091         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25093 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25095         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25096         pointer and cast to uintptr_t.
25097         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25098         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25099         Add cast to avoid warning.
25100         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25102 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25104         * nptl/semaphore.h: Move to ...
25105         * sysdeps/pthread/semaphore.h: ... here.
25106         * Makefile (installed-headers): Change nptl/semaphore.h to
25107         sysdeps/pthread/semaphore.h.
25109 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25111         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25112         generated error format strings.
25114         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25115         -Wformat-extra-args warnings for scanf formats.
25116         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25117         test of zero-length format (duh).
25118         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25119         corner-case scanf format test.
25120         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25121         generated fprintf format string.
25122         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25123         corner-case sprintf format tests.
25124         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25125         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25126         -Wformat-extra-args warnings throughout.
25127         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25128         (CFLAGS-scanf4.c): Likewise.
25129         (CFLAGS-scanf7.c): Likewise.
25130         (CFLAGS-tst-sprintf.c): Likewise.
25131         (CFLAGS-tst-printf.c): Likewise.
25132         (CFLAGS-tst-printfsz.c): Likewise.
25134 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25136         * include/cpio.h: New file.
25137         * include/fmtmsg.h: Likewise.
25139         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25140         corresponding format argument to size_t.
25141         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25142         arguments.
25143         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25144         corresponding format argument to size_t.
25145         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25146         arguments.
25147         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25148         corresponding format argument to size_t.
25149         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25150         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25151         (CFLAGS-tst-mbswcs2.c): Likewise.
25152         (CFLAGS-tst-mbswcs3.c): Likewise.
25153         (CFLAGS-tst-mbswcs4.c): Likewise.
25154         (CFLAGS-tst-mbswcs5.c): Likewise.
25155         (CFLAGS-tst-trans.c): Likewise.
25157 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25159         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25160         rather than assuming they won't contain any '%'s.
25162 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25164         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25165         inhibit_loop_to_libcall to avoid recursive calls.
25166         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25167         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25169 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25171         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25172         prototype.
25174 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25176         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25177         integer value instead of boolean.
25179 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25181         * malloc/malloc.c: Fix powerof2 check.
25183 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25185         * locale/programs/locfile.h (maybe_swap_uint32):
25186         Remove inline and add unused attribute.
25188 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25190         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25191         Truncating assembler expression to a .long expression.
25193 2014-12-11  Andreas Schwab  <schwab@suse.de>
25195         * elf/rtld.c (struct map_args): Constify str member.
25196         (do_preload): Constify fname argument.
25198 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25200         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25201         constants definition.
25203 2014-12-11  Andreas Schwab  <schwab@suse.de>
25205         [BZ #16657]
25206         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25207         FORCE_ELISION instead of DO_ELISION.
25208         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25209         Remove.
25210         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25211         Likewise.
25213         * iconvdata/gconv-modules: Remove duplicate entry.
25215 2014-12-11  Will Newton  <will.newton@linaro.org>
25217         Merge gettext 0.19.3 into intl/.
25219         This involves a number of cosmetic changes to comments
25220         and ANSI function definitions and prototypes throughout
25221         all the files. The gettext copyright header is used but
25222         with the date ranges taken from the glibc copy.
25224         * NEWS: Add gettext merge to 2.21.
25225         * intl/bindtextdom.c: Switch to gettext copyright.
25226         Use ANSI definitions and prototypes.
25227         Use gl_* locking primitives rather than __libc_* ones.
25228         Use __builtin_expect rather than __glibc_likely/unlikely.
25229         * intl/dcgettext.c: Switch to gettext copyright.
25230         Use ANSI definitions and prototypes.
25231         * intl/dcigettext.c: Switch to gettext copyright.
25232         Use ANSI definitions and prototypes.
25233         (INTDIV0_RAISES_SIGFPE): New define.
25234         Use gl_* locking primitives rather than __libc_* ones.
25235         Include eval-plural.h instead of plural-eval.c.
25236         Use __builtin_expect rather than __glibc_likely/unlikely.
25237         * intl/dcngettext.c: Switch to gettext copyright.
25238         Use ANSI definitions and prototypes.
25239         * intl/dgettext.c: Likewise.
25240         * intl/dngettext.c: Likewise.
25241         * intl/plural-eval.c: Renamed to...
25242         * intl/eval-plural.h: ...this.
25243         * intl/explodename.c: Switch to gettext copyright.
25244         Use ANSI definitions and prototypes.
25245         (_nl_explode_name): Use strchr instead of __rawmemchr.
25246         * intl/finddomain.c: Switch to gettext copyright.
25247         Use ANSI definitions and prototypes.
25248         Use gl_* locking primitives rather than __libc_* ones.
25249         (_nl_find_domain): Use malloc rather than alloca for
25250         allocation of temporary locale name.
25251         * intl/gettext.c: Switch to gettext copyright.
25252         Use ANSI definitions and prototypes.
25253         * intl/gettextP.h: Switch to gettext copyright.
25254         Use ANSI definitions and prototypes.
25255         Use gl_* locking primitives rather than __libc_* ones.
25256         * intl/gmo.h: Switch to gettext copyright.
25257         (struct sysdep_string): Move struct segment_pair outside of
25258         struct definition.
25259         * intl/hash-string.c: Use ANSI definitions and prototypes.
25260         * intl/hash-string.h: Switch to gettext copyright.
25261         Use ANSI definitions and prototypes.
25262         * intl/l10nflist.c: Switch to gettext copyright.
25263         Use ANSI definitions and prototypes.
25264         (_nl_normalize_codeset): Avoid integer overflow.
25265         * intl/loadinfo.h: Switch to gettext copyright.
25266         Use ANSI definitions and prototypes.
25267         (LIBINTL_DLL_EXPORTED): New define.
25268         (PATH_SEPARATOR): New define.
25269         * intl/loadmsgcat.c: Switch to gettext copyright.
25270         * intl/localealias.c: Switch to gettext copyright.
25271         Use ANSI definitions and prototypes.
25272         (_nl_expand_alias): Use PATH_SEPARATOR.
25273         * intl/ngettext.c: Switch to gettext copyright.
25274         Use ANSI definitions and prototypes.
25275         * intl/plural-exp.c: Likewise.
25276         * intl/plural-exp.h: Switch to gettext copyright.
25277         Use ANSI definitions and prototypes.
25278         (struct expression): Move definition of enum operator outside
25279         of struct definition.
25280         * intl/plural.c: Regenerate.
25281         * intl/plural.y: Switch to gettext copyright.
25282         Use ANSI definitions and prototypes.
25283         Port to bison 3.0.
25284         * intl/textdomain.c: Switch to gettext copyright.
25285         Use ANSI definitions and prototypes.
25286         Use gl_* locking primitives rather than __libc_* ones.
25288 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25290         * debug/warning-nop.c: Add used atrribute.
25292 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25294         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25296         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25297         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25298         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25300 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25301             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25303         [BZ #17634]
25304         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25305         Undefine after defining function.  Define as weak alias of
25306         __wcschr.  Use libc_hidden_weak.
25307         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25308         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25309         (libc_hidden_def): Also define __GI___wcschr alias.
25310         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25311         __wcschr and define as weak alias of __wcschr.
25312         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25313         __wcschr.
25314         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25315         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25316         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25317         libc_hidden_weak.  Do not use libc_hidden_def.
25318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25319         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25320         __GI___wcschr alias.
25321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25322         [IS_IN (libc)] (wcschr): Define as macro expanding to
25323         __redirect_wcschr.
25324         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25325         [IS_IN (libc)] (__wcschr_power6): Likewise.
25326         [IS_IN (libc)] (__wcschr_power7): Likewise.
25327         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25328         instead of wcschr.
25329         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25330         __libc_wcschr.
25331         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25332         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25333         __wcschr and define as weak alias of __wcschr.  Use
25334         libc_hidden_builtin_def.
25335         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25336         as weak alias of __wcschr.  Use libc_hidden_weak.
25337         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25338         wcschr.
25339         * time/era.c (_nl_init_era_entries): Likewise.
25340         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25341         variable.
25342         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25343         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25345 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25347         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25348         format for long int variable.
25350 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25352         [BZ #10672]
25353         * manual/search.texi: (Array Sort Function): Remove claim how to make
25354         qsort stable.
25356 2014-12-10  Andreas Schwab  <schwab@suse.de>
25358         [BZ #12847]
25359         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25360         user-controlled locks.
25362 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25364         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25365         register.
25367 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25369         * configure.ac (--disable-werror): New configure option.
25370         (enable_werror): New AC_SUBST.
25371         * configure: Regenerated.
25372         * config.make.in (enable-werror): New variable.
25373         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25374         -Wno-error=undef.
25375         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25376         * manual/install.texi (Configuring and compiling): Document
25377         --disable-werror.
25378         * INSTALL: Regenerated.
25379         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25380         (CFLAGS-tst-chk2.c): Likewise.
25381         (CFLAGS-tst-chk3.c): Likewise.
25382         (CFLAGS-tst-chk4.cc): Likewise.
25383         (CFLAGS-tst-chk5.cc): Likewise.
25384         (CFLAGS-tst-chk6.cc): Likewise.
25385         (CFLAGS-tst-lfschk1.c): Likewise.
25386         (CFLAGS-tst-lfschk2.c): Likewise.
25387         (CFLAGS-tst-lfschk3.c): Likewise.
25388         (CFLAGS-tst-lfschk4.cc): Likewise.
25389         (CFLAGS-tst-lfschk5.cc): Likewise.
25390         (CFLAGS-tst-lfschk6.cc): Likewise.
25392         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25393         (main): Disable -Wdeprecated-declarations around calls to
25394         register_printf_function.
25396         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25397         (do_test): Disable -Wdiv-by-zero around some calls to
25398         fwrite_unlocked and fread_unlocked.
25400         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25401         (DIAG_POP_NEEDS_COMMENT): Likewise.
25402         (_DIAG_STR1): Likewise.
25403         (_DIAG_STR): Likewise.
25404         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25405         * stdio-common/bug21.c: Include <libc-internal.h>.
25406         (do_test): Disable -Wformat around call to sscanf.
25407         * stdio-common/scanf14.c: Include <libc-internal.h>.
25408         (main): Disable -Wformat around some calls to scanf functions.
25410 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25412         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25414 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25416         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25417         stack variable alignment.
25419 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25421         [BZ #17682]
25422         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25423         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25424         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25425         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25426         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25427         __getrlimit instead of getrlimit.
25428         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25429         __gettimeofday instead of gettimeofday.
25430         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25431         Likewise.
25432         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25433         Likewise.
25434         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25435         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25436         Remove variable.
25437         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25438         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25440 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25442         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25443         for wide-character tests.
25445 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25447         * io/openat64.c: #include <libc-internal.h>
25448         (__openat64): Prototypify.  Use ignore_value on MODE.
25449         * io/openat.c: Likewise.
25450         * misc/reboot.c: #include <libc-internal.h>
25451         (reboot): Prototypify.  Use ignore_value on HOWTO.
25452         * misc/ptrace.c: #include <libc-internal.h>
25453         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25455 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25457         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25458         XPG4, UNIX98 and XOPEN2K.
25459         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25460         Remove variable.
25461         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25463 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25465         * libio/fileops.c: Use ISO C style for function definitions.
25466         * libio/iofopen.c: Likewise.
25467         * libio/wfileops.c: Likewise.
25469         [BZ #17653]
25470         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25471         offset on EOF.
25472         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25473         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25474         (fgets_func): Function pointer to fgets and fgetws.
25475         (do_ftell_test): Add test to verify ftell value after read
25476         EOF.
25477         (do_test): Set fgets_func.
25479         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25480         O_TRUNC flag for w and w+ modes.
25481         (do_rewind_test): Likewise.
25482         (do_ftell_test): Likewise.
25483         (do_write_test): Likewise.
25485         [BZ #17647]
25486         * libio/fileops.c (do_ftell): Seek only when there are
25487         unflushed writes.
25488         * libio/wfileops.c (do_ftell_wide): Likewise.
25489         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25490         test case.
25491         (do_one_test): Call it.
25493 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25495         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25496         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25497         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25498         Remove variable.
25499         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25500         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25501         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25503 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25505         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25506         Remove variable.
25507         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25509         [BZ #17668]
25510         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25511         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25512         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25513         __freeifaddrs.  Use libc_hidden_weak.
25514         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25515         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25516         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25517         __freeifaddrs.  Use libc_hidden_weak.
25518         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25519         __getifaddrs and define as weak alias of __getifaddrs.  Use
25520         libc_hidden_weak.
25521         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25522         __freeifaddrs.  Use libc_hidden_weak.
25523         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25524         Remove variable.
25525         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25526         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25528 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25530         [BZ #17601]
25531         * sysdeps/mips/start.S (__start): Use indirect jump to call
25532         __libc_start_main.
25534 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25536         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25538         * nptl/tst-mutex1.c: Include <stdbool.h>.
25539         [!ATTR] (ATTR_NULL): New macro.
25540         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25541         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25542         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25544         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25545         to char *.
25547         [BZ #17665]
25548         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25549         Change conditional to [__USE_MISC].
25551         [BZ #17664]
25552         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25553         fgets_unlocked.
25554         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25555         __fgets_unlocked.
25556         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25557         fgets_unlocked.
25558         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25559         Remove variable.
25560         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25561         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25562         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25563         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25564         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25565         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25566         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25567         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25568         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25570         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25572 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25575         Remove strpbrk objects.
25576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25577         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25578         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25579         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25580         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25581         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25584         Remove strcspn objects.
25585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25586         (__libc_ifunc_impl_list): Remove strcspn implementation.
25587         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25588         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25589         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25590         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25593         Remove strspn objetcs.
25594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25595         (__libc_ifunc_impl_list): Remove strspn implementation.
25596         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25597         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25598         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25599         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25601 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25603         [BZ #17581]
25604         * malloc/hooks.c
25605         (mem2mem_check): Add a terminator to the chain of checking blocks.
25606         (malloc_check_get_size): Use it here.
25607         (mem2chunk_check): Ditto.
25609 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25611         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25612         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25614 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25616         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25618         * nptl/nptl-init.c: Include libc-internal.h.
25619         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25621         * elf/ldconfig.c (search_dir): Expand comment.
25623 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25625         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25626         variable.
25627         (linknamespace-symlist-stdlibs-tests): Likewise.
25628         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25629         instead of $(objpfx)symlist-stdlibs.
25630         (linknamespace-libs-isoc): New variable.
25631         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25632         (linknamespace-libs-ISO): New variable.
25633         (linknamespace-libs-ISO99): Likewise.
25634         (linknamespace-libs-ISO11): Likewise.
25635         (linknamespace-libs-XPG3): Likewise.
25636         (linknamespace-libs-XPG4): Likewise.
25637         (linknamespace-libs-POSIX): Likewise.
25638         (linknamespace-libs-UNIX98): Likewise.
25639         (linknamespace-libs-XOPEN2K): Likewise.
25640         (linknamespace-libs-POSIX2008): Likewise.
25641         (linknamespace-libs-XOPEN2K8): Likewise.
25642         ($(objpfx)symlist-stdlibs): Replace by
25643         $(linknamespace-symlist-stdlibs-tests).  Use
25644         $(linknamespace-libs-$*) as set of libraries.
25645         ($(linknamespace-header-tests)): Update dependencies.  Use
25646         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25647         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25648         * conform/linknamespace.pl: Remove comment about considering
25649         definitions of symbols from irrelevant libraries.
25651 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25653         [BZ #13862]
25654         * elf/dl-tls.c: Include <atomic.h>.
25655         (oom): Remove #ifdef SHARED/#endif.
25656         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25657         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25658         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25659         big enough.
25660         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25661         * nptl/Makefile (tests): Add tst-stack4.
25662         (modules-names): Add tst-stack4mod.
25663         ($(objpfx)tst-stack4): New.
25664         (tst-stack4mod.sos): Likewise.
25665         ($(objpfx)tst-stack4.out): Likewise.
25666         ($(tst-stack4mod.sos)): Likewise.
25667         (clean): Likewise.
25668         * nptl/tst-stack4.c: New file.
25669         * nptl/tst-stack4mod.c: Likewise.
25671 2014-11-27  J. Brown  <jb999@gmx.de>
25673         * sysdeps/x86/bits/string.h: Add recent CPUs.
25675 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25677         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25678         sigblock.
25680         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25681         feof.
25683         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25684         variable.
25686 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25688         * nscd/connections.c: Include libc-internal.h because of macro
25689         usage ignore_value.
25691 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693         * string/bits/string3.h (__warn_memset_zero_len): Don't
25694         declare for gcc newer than 5.0.
25695         (memset): Don't test for zero-length __LEN for gcc newer than
25696         5.0.
25698 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25700         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25701         size_t for %zu format.
25703         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25704         difference, not %ju.
25706 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25708         * include/libc-internal.h (ignore_value): New macro.
25709         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25710         with ignore_value.
25712         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25713         definition.
25715         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25716         pthread_cleanup_push to void *.
25718         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25719         Undefine.
25721         [BZ #16619]
25722         [BZ #16740]
25723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25724         instead of 1L << 52.
25726         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25727         * libio/bug-rewind2.c (do_test): Likewise.
25729         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25730         * debug/test-strcpy_chk-ifunc.c: Likewise.
25731         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25732         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25733         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25734         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25735         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25736         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25737         * Rules [$(multi-arch) = no] (tests): Do not filter out
25738         $(tests-ifunc).
25739         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25740         * debug/Makefile (tests-ifunc): Remove variable.
25741         (tests): Do not add $(tests-ifunc).
25742         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25743         (tests): Do not add $(tests-ifunc).
25744         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25745         [TEST_IFUNC]: Remove conditionals.
25746         * string/test-string.h (TEST_IFUNC): Remove macro.
25747         [TEST_IFUNC]: Remove conditionals.
25749         * string/test-strchr.c [!WIDE] (L): New macro.
25750         [WIDE] (L): Likewise.
25751         (check1): Use CHAR instead of char.  Use L on string and character
25752         constants.
25754 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25756         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25757         tests.
25758         * sysdeps/powerpc/bits/atomic.h
25759         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25760         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25761         (atomic_exchange_and_add_acq): Likewise.
25762         (atomic_exchange_and_add_rel): Likewise.
25763         * sysdeps/powerpc/powerpc32/bits/atomic.h
25764         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25765         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25766         * sysdeps/powerpc/powerpc64/bits/atomic.h
25767         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25768         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25770 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25772         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25773         Change synchronization of __sched_fifo_min_prio and
25774         __sched_fifo_max_prio.
25775         * nptl/pthread_mutexattr_getprioceiling.c
25776         (pthread_mutexattr_getprioceiling): Likewise.
25777         * nptl/pthread_mutexattr_setprioceiling.c
25778         (pthread_mutexattr_setprioceiling): Likewise.
25779         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25780         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25781         Likewise.
25783 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25785         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25786         void.
25788 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25790         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25791         third argument const.
25793 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25795         fnmatch: work around GCC compiler warning bug with uninit var
25796         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25797         This works around a bug with x86-64 GCC 4.9.2 and earlier
25798         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25799         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25800         used uninitialized in this function [-Wmaybe-uninitialized]".
25802 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25804         * posix/bug-regex31.c (main): Return RES not 0.
25806 2014-11-25  Anton Blanchard <anton@samba.org>
25808         * sysdeps/powerpc/bits/atomic.h
25809         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25811 2014-11-24  Sterling Augustine  <saugustine@google.com>
25813         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25815 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25817         [BZ #17608]
25818         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25820 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #17633]
25823         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25824         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25825         variable.
25826         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25827         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25829 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25831         * string/strncpy.c (strncpy): Improve performance by using memset.
25833 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25835         * string/strcpy.c (strcpy):
25836         Improve performance by using strlen and memcpy.
25838 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25840         * string/strcoll_l.c (get_next_seq): __always_inline.
25841         * string/strcoll_l.c (do_compare): __always_inline.
25843 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25845         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25846         defined.
25847         * include/mqueue.h: Likewise.
25848         * include/stdlib.h: Likewise.
25850         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25851         (get_null_defines): Adjust.
25852         * sunrpc/Makefile: Adjust comment.
25853         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25854         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25855         (CFLAGS-interp.c): Likewise.
25856         (CFLAGS-ldconfig.c): Likewise.
25857         (CPPFLAGS-.os): Likewise.
25858         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25859         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25860         * extra-modules.mk (extra-modules.mk): Likewise.
25861         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25862         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25863         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25864         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25865         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25866         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25867         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25868         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25869         * iconvdata/Makefile (CPPFLAGS): Likewise.
25870         (cpp-srcs-left): Add libof for all iconvdata routines.
25871         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25872         * include/assert.h: Likewise.
25873         * include/ctype.h: Likewise.
25874         * include/errno.h: Likewise.
25875         * include/libc-symbols.h: Likewise.
25876         * include/math.h: Likewise.
25877         * include/netdb.h: Likewise.
25878         * include/resolv.h: Likewise.
25879         * include/stdio.h: Likewise.
25880         * include/stdlib.h: Likewise.
25881         * include/string.h: Likewise.
25882         * include/sys/stat.h: Likewise.
25883         * include/wctype.h: Likewise.
25884         * intl/l10nflist.c: Likewise.
25885         * libidn/idn-stub.c: Likewise.
25886         * libio/libioP.h: Likewise.
25887         * nptl/libc_multiple_threads.c: Likewise.
25888         * nptl/pthreadP.h: Likewise.
25889         * posix/regex_internal.h: Likewise.
25890         * resolv/res_hconf.c: Likewise.
25891         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25892         * sysdeps/arm/memmove.S: Likewise.
25893         * sysdeps/arm/sysdep.h: Likewise.
25894         * sysdeps/generic/_itoa.h: Likewise.
25895         * sysdeps/generic/symbol-hacks.h: Likewise.
25896         * sysdeps/gnu/errlist.awk: Likewise.
25897         * sysdeps/gnu/errlist.c: Likewise.
25898         * sysdeps/i386/i586/memcpy.S: Likewise.
25899         * sysdeps/i386/i586/memset.S: Likewise.
25900         * sysdeps/i386/i686/memcpy.S: Likewise.
25901         * sysdeps/i386/i686/memmove.S: Likewise.
25902         * sysdeps/i386/i686/mempcpy.S: Likewise.
25903         * sysdeps/i386/i686/memset.S: Likewise.
25904         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25905         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25906         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25907         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25908         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25909         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25910         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25911         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25912         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25913         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25914         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25915         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25916         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25917         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25918         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25919         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25920         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25921         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25922         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25923         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25924         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25925         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25926         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25927         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25928         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25929         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25930         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25931         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25932         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25933         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25934         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25935         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25937         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25938         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25939         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25942         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25943         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25944         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25945         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25946         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25947         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25948         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25949         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25950         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25951         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25952         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25953         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25955         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25956         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25957         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25958         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25959         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25960         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25961         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25962         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25963         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25964         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25965         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25966         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25967         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25968         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25969         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25970         * sysdeps/posix/closedir.c: Likewise.
25971         * sysdeps/posix/opendir.c: Likewise.
25972         * sysdeps/posix/readdir.c: Likewise.
25973         * sysdeps/posix/rewinddir.c: Likewise.
25974         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25975         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25976         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25977         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25978         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25985         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25987         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25988         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25989         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25991         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25993         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25994         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25996         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25998         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25999         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26000         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26001         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26009         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26010         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26011         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26012         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26013         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26014         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26015         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26016         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26017         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26018         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26019         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26020         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26021         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26022         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26023         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26024         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26025         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26026         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26028         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26029         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26031         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26032         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26033         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26034         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26035         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26036         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26037         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26038         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26039         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26040         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26041         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26042         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26043         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26044         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26045         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26046         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26047         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26048         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26049         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26050         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26051         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26052         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26053         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26054         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26055         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26056         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26057         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26058         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26059         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26060         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26061         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26062         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26063         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26064         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26065         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26066         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26068         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26070         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26072         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26073         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26075         * sysdeps/unix/alpha/sysdep.S: Likewise.
26076         * sysdeps/unix/alpha/sysdep.h: Likewise.
26077         * sysdeps/unix/make-syscalls.sh: Likewise.
26078         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26080         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26081         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26082         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26083         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26084         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26085         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26086         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26087         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26088         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26089         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26091         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26092         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26093         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26094         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26095         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26096         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26097         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26098         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26099         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26100         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26101         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26102         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26103         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26104         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26107         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26108         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26110         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26112         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26115         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26116         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26117         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26118         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26119         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26120         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26121         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26122         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26125         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26128         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26129         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26130         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26131         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26134         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26136         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26137         * sysdeps/x86_64/memcpy.S: Likewise.
26138         * sysdeps/x86_64/memmove.c: Likewise.
26139         * sysdeps/x86_64/memset.S: Likewise.
26140         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26141         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26142         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26143         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26144         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26146         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26147         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26148         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26149         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26150         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26151         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26152         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26153         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26154         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26155         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26156         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26157         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26158         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26159         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26160         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26161         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26163         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26164         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26165         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26166         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26167         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26168         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26169         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26170         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26171         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26172         * sysdeps/x86_64/strcmp.S: Likewise.
26174         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26176         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26177         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26178         * elf/rtld-Rules: Likewise.
26179         * elf/setup-vdso.h: Likewise.
26180         * include/assert.h: Likewise.
26181         * include/bits/stdlib-float.h: Likewise.
26182         * include/errno.h: Likewise.
26183         * include/sys/stat.h: Likewise.
26184         * include/unistd.h: Likewise.
26185         * sysdeps/aarch64/setjmp.S: Likewise.
26186         * sysdeps/alpha/setjmp.S: Likewise.
26187         * sysdeps/arm/__longjmp.S: Likewise.
26188         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26189         * sysdeps/arm/setjmp.S: Likewise.
26190         * sysdeps/arm/sysdep.h: Likewise.
26191         * sysdeps/generic/_itoa.h: Likewise.
26192         * sysdeps/generic/dl-sysdep.h: Likewise.
26193         * sysdeps/generic/ldsodefs.h: Likewise.
26194         * sysdeps/i386/dl-tls.h: Likewise.
26195         * sysdeps/i386/setjmp.S: Likewise.
26196         * sysdeps/m68k/setjmp.c: Likewise.
26197         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26198         * sysdeps/mach/hurd/opendir.c: Likewise.
26199         * sysdeps/posix/getcwd.c: Likewise.
26200         * sysdeps/posix/opendir.c: Likewise.
26201         * sysdeps/posix/profil.c: Likewise.
26202         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26203         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26204         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26205         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26206         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26207         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26208         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26209         * sysdeps/s390/dl-tls.h: Likewise.
26210         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26211         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26212         * sysdeps/sh/sh3/setjmp.S: Likewise.
26213         * sysdeps/sh/sh4/setjmp.S: Likewise.
26214         * sysdeps/unix/alpha/sysdep.h: Likewise.
26215         * sysdeps/unix/arm/sysdep.S: Likewise.
26216         * sysdeps/unix/i386/sysdep.S: Likewise.
26217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26218         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26219         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26220         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26222         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26223         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26224         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26225         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26226         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26227         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26228         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26229         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26232         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26235         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26236         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26237         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26240         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26241         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26242         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26244         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26245         * sysdeps/x86_64/setjmp.S: Likewise.
26247         * include/math.h: Use IS_IN instead of IS_IN_libm.
26248         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26249         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26250         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26251         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26252         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26253         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26254         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26255         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26257         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26258         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26259         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26260         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26261         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26262         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26263         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26265         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26266         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26267         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26268         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26269         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26270         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26271         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26272         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26273         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26274         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26275         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26276         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26277         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26278         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26279         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26280         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26282         Likewise.
26283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26284         Likewise.
26285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26286         Likewise.
26287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26288         Likewise.
26289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26290         Likewise.
26291         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26292         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26293         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26294         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26295         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26296         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26302         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26303         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26304         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26305         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26306         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26307         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26308         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26309         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26310         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26311         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26312         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26313         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26314         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26315         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26317         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26319         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26320         * nptl/pthreadP.h: Likewise.
26321         * nptl_db/structs.def: Likewise.
26322         * sysdeps/arm/sysdep.h: Likewise.
26323         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26324         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26325         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26326         * sysdeps/unix/alpha/sysdep.h: Likewise.
26327         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26329         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26330         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26331         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26332         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26334         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26335         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26336         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26337         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26338         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26339         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26340         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26343         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26345         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26348         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26349         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26350         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26351         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26352         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26354         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26355         * nptl/pthreadP.h: Likewise.
26356         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26357         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26358         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26359         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26360         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26361         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26362         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26363         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26364         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26365         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26366         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26367         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26369         Likewise.
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26371         Likewise.
26372         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26373         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26374         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26375         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26377         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26378         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26379         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26381         * dlfcn/dladdr.c: Use IS_IN.
26382         * dlfcn/dladdr1.c: Likewise.
26383         * dlfcn/dlclose.c: Likewise.
26384         * dlfcn/dlerror.c: Likewise.
26385         * dlfcn/dlinfo.c: Likewise.
26386         * dlfcn/dlmopen.c: Likewise.
26387         * dlfcn/dlopen.c: Likewise.
26388         * dlfcn/dlsym.c: Likewise.
26389         * dlfcn/dlvsym.c: Likewise.
26391         * include/ifaddrs.h: Use IS_IN.
26392         * inet/check_pf.c: Likewise.
26393         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26394         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26396         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26397         IS_IN_ldconfig.
26398         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26399         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26401         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26402         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26403         IS_IN (libc).
26405         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26407         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26408         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26409         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26410         * include/libc-symbols.h (IS_IN_LIB): New macro.
26411         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26412         * include/netdb.h: Likewise.
26413         * include/stap-probe.h: Remove all uses of IN_LIB.
26415         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26416         instead of IN_MODULE.
26417         * include/libc-symbols.h (IN_MODULE): Define using
26418         MODULE_NAME.
26419         (PASTE_NAME, PASTE_NAME1): New macros.
26420         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26421         of IN_LIB.
26422         (STAP_PROBE_ASM): Likewise.
26424 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26426         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26427         __mach_init in dlopened libc.
26429 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26431         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26432         * sysdeps/arm/preconfigure: Regenerate.
26434 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26436         * nptl/pthread_create.c (__pthread_create_2_1): Set
26437         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26438         when copying values from IATTR into PD.
26440 2014-11-21  Will Newton  <will.newton@linaro.org>
26441             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26443         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26444         Refactor inline-asm.  Also add comment.
26446         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26447         ElfW macro instead of hardcoded Elf64 types.
26448         (la_aarch64_gnu_pltenter): Likewise.
26449         * sysdeps/aarch64/dl-machine.h
26450         (elf_machine_runtime_setup): Use ElfW(Addr).
26452         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26453         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26454         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26455         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26456         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26457         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26458         (R_AARCH64_TLS_DTPMOD): This.
26459         (R_AARCH64_TLS_DTPREL64): Rename to ...
26460         (R_AARCH64_TLS_DTPREL): This.
26461         (R_AARCH64_TLS_TPREL64): Rename to ...
26462         (R_AARCH64_TLS_TPREL): This.
26463         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26464         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26465         R_AARCH64_TLS_TPREL64.
26466         (elf_machine_rela): Likewise.
26468 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26470         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26471         by setting it to 0.  64b atomics are not supported currently.
26473 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26475         [BZ #16469]
26476         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26477         search domain names.
26479 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26481         [BZ #16469]
26482         * NEWS: Update.
26483         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26484         trailing dot.
26485         * posix/tst-getaddrinfo5.c: New.
26486         * posix/Makefile (tests): Add it.
26488 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26490         [BZ #14498]
26491         * NEWS: Fixed.
26492         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26493         after parsing line but before break_if_match.
26494         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26495         if there is a protocol mismatch.
26497 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26499         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26500         because the potential race is on the user-supplied stream.
26502 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26504         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26505         string literal if not passed a buffer.
26506         * manual/job.texi (ctermid): Update reasoning, note deviation
26507         from posix, suggest mtasurace when not passed a buffer, for
26508         future non-preliminary safety notes.
26510 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26512         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26513         of not passing it a buffer.
26514         Reported by Peng Haitao.
26516 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26518         * manual/Makefile ($(objpfx)stamp-summary): Require
26519         check-safety.sh to pass.
26520         * manual/check-safety.sh: Wish for verification that every
26521         @deftypefn and @deftypefun is followed by a @safety remark.
26523 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26525         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26527         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26528         PTHREAD_CANCEL_ASYNCHRONOUS.
26529         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26530         send SIGCANCEL.
26532         * nptl/default-sched.h: New file.
26533         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26534         * nptl/pthread_create.c: Include it.
26535         (__pthread_create_2_1): Use collect_default_sched instead of making
26536         Linux syscalls here directly.
26538 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26540         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26541         __pthread_once): Use C11 atomics.
26543 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26545         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26547 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26549         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26550         atomic_thread_fence_acquire, atomic_thread_fence_release,
26551         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26552         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26553         atomic_compare_exchange_weak_relaxed,
26554         atomic_compare_exchange_weak_acquire,
26555         atomic_compare_exchange_weak_release,
26556         atomic_exchange_acquire, atomic_exchange_release,
26557         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26558         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26559         atomic_fetch_and_acquire,
26560         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26562 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26564         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26565         USE_ATOMIC_COMPILER_BUILTINS): Define.
26566         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26568         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26570         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26572         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26574         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26576         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26578         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26580         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26582         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26584         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26586         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26588         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26590         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26592         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26594         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26596         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26598         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26600         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26601         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26602         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26604         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26607 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26609         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26610         the sched_priority value here.  It was already checked when the user
26611         called pthread_attr_setschedparam.
26613         * nptl/tst-bad-schedattr.c: New file.
26614         * nptl/Makefile (tests): Add it.
26616 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26617             Florian Weimer  <fweimer@redhat.com>
26618             Joseph Myers  <joseph@codesourcery.com>
26619             Adam Conrad  <adconrad@0c3.net>
26620             Andreas Schwab  <schwab@suse.de>
26621             Brooks  <bmoses@google.com>
26623         [BZ #17625]
26624         * wordexp-test.c (__dso_handle): Add prototype.
26625         (__register_atfork): Likewise.
26626         (__app_register_atfork): New function.
26627         (registered_forks): New global.
26628         (register_fork): New function.
26629         (test_case): Add 3 new tests for WRDE_CMDSUB.
26630         (main): Call __app_register_atfork.
26631         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26632         fork count is non-zero fail the test.
26633         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26634         is set.
26635         (parse_dollars): Remove check for WRDE_NOCMD.
26636         (parse_dquote): Likewise.
26638 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26640         * Makeconfig (built-modules): List non-library modules to be
26641         built.
26642         (module-cppflags): Include libc-modules.h for
26643         everything except shlib-versions.v.i.
26644         (CPPFLAGS): Use it.
26645         (before-compile): Add libc-modules.h.
26646         ($(common-objpfx)libc-modules.h,
26647         $(common-objpfx)libc-modules.stmp): New targets.
26648         (common-generated): Add libc-modules.h and libc-modules.stmp.
26649         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26650         * include/libc-symbols.h: Don't include libc-modules.h.
26651         * include/libc-modules.h: Remove file.
26652         * scripts/gen-libc-modules.awk: New script to generate
26653         libc-modules.h.
26654         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26655         Depend on libc-modules.stmp.
26657         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26659         * Makeconfig (in-module): Get value of libof set for the
26660         translation unit.
26661         (CPPFLAGS): Use $(in-module).
26662         * Makerules: Don't suffix routine names for nonlib.
26663         * include/libc-modules.h: New file.
26664         * include/libc-symbols.h: Include libc-modules.h
26665         (IS_IN): New macro to replace IS_IN_* macros.
26666         * elf/Makefile: Set libof-* for each routine.
26667         * elf/rtld-Rules: Likewise.
26668         * extra-modules.mk: Likewise.
26669         * iconv/Makefile: Likewise.
26670         * iconvdata/Makefile: Likewise.
26671         * locale/Makefile: Likewise.
26672         * malloc/Makefile: Likewise.
26673         * nss/Makefile: Likewise.
26674         * sysdeps/gnu/Makefile: Likewise.
26675         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26676         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26677         * sysdeps/s390/s390-64/Makefile: Likewise.
26678         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26679         CPPFLAGS for nscd instead of nonlib.
26681 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26683         * nptl/createthread.c: New file.
26685         * nptl/createthread.c: Moved ...
26686         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26688         * nptl/createthread.c: Add proper top-line comment.
26689         (do_clone): Folded into ...
26690         (create_thread): ... here.  Take new arguments STOPPED_START and
26691         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26692         increment __nptl_threads, do event-reporting logic, do
26693         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26694         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26695         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26696         just send SIGCANCEL.
26697         * nptl/pthread_create.c: Forward-declare create_thread before
26698         including createthread.c.
26699         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26700         declaration, and new macro START_THREAD_SELF to replace argument.
26701         Remove return statement.
26702         (report_thread_creation): New function.
26703         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26704         synchronization logic, and __nptl_nthreads increment here, around
26705         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26706         PD->parent_cancelhandling here, before create_thread.  When
26707         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26708         __deallocate_stack, and ENOMEM translation here.
26710 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26712         [BZ #17616]
26713         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26714         (mptwo): Rename to __mptwo.
26715         (__inv): Use __mptwo instead of mptwo.
26716         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26717         (mptwo): Rename to __mptwo.
26718         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26719         of mpone and __mptwo instead of mptwo.
26720         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26721         instead of mpone.
26722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26723         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26724         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26725         of mpone and __mptwo instead of mptwo.
26726         (__mpranred): Use __mpone instead of mpone.
26727         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26728         variable.
26729         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26730         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26731         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26732         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26733         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26734         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26735         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26736         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26737         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26738         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26739         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26740         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26741         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26742         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26743         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26744         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26745         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26746         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26747         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26749 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26751         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26752         replace BSD Handler xref with BSD Signal Handling.
26754 2014-11-17  Richard Henderson  <rth@redhat.com>
26756         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26757         (_FP_PACK_RAW_2): Remove.
26758         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26759         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26760         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26761         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26762         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26763         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26764         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26765         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26766         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26767         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26768         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26769         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26770         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26771         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26772         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26773         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26775 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26777         * signal/signal.h [__USE_MISC]
26778         (struct sigvec): Remove type.
26779         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26780         (sigvec): Remove declaration.
26781         * sysdeps/posix/sigvec.c: Moved ...
26782         * signal/sigvec.c: ... here, replacing old file.
26783         (struct sigvec): New type, copied from old signal.h definition.
26784         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26785         (__sigvec): Convert definition to prototype.
26786         (sigvec): Replace weak_alias with compat_symbol.
26787         * signal/Versions (libc: GLIBC_2.21): New version set.
26788         * include/signal.h: Remove __sigvec declaration.
26789         * sysdeps/unix/bsd/sigvec.c: Remove file.
26790         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26791         * manual/signal.texi (BSD Handler): Remove subsection.
26792         Move siginterrupt up to ...
26793         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26794         (Blocking in BSD): Fold subsection into its parent.
26795         * NEWS: Mention sigvec removal.
26797 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26799         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26800         (DLA_FMS): Make definition conditional only on [__FMA4__].
26801         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26802         definition.
26804         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26805         Make definition conditional only on [PROF].
26806         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26807         definition.
26808         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26809         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26811         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26812         !__GNUC__].
26813         * include/signal.h (__sigpause): Move declaration above call to
26814         libc_hidden_proto.
26815         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26816         variable.
26817         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26818         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26820 2014-11-14  David S. Miller  <davem@davemloft.net>
26822         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26823         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26825 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26827         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26828         * configure: Regenerated.
26829         * manual/install.texi (Tools for Compilation): Document a
26830         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26831         compiler verified to work.
26832         * INSTALL: Regenerated.
26834         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26835         redeclare with asm name.
26836         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26837         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26838         including <string.h>.
26839         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26840         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26841         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26842         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26843         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26845         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26847 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26849         * stdlib/strtol.c (__strtol): Use prototype definition.
26851         [BZ #17594]
26852         * stdlib/strtol.c (SYM__): New macro.
26853         (SYM__1): Likewise.
26854         (__strtol): Likewise.
26855         (strtol): Rename to __strtol and define as weak alias of
26856         __strtol.  Use libc_hidden_weak.
26858 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26860         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26861         Use numbered labels in inline assembly.
26863 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26865         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26866         Add setjmp LIBC_PROBE.
26867         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26868         Likewise.
26869         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26870         Add longjmp, longjmp_target LIBC_PROBE.
26871         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26872         Likewise.
26874 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26876         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26877         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26878         to get rid of unused variable warning.
26880 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26882         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26883         Check for unwind_backtrace ==  NULL only in SHARED case.
26884         (__backchain_backtrace): Compile only in SHARED case.
26885         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26886         Likewise.
26887         (__backchain_backtrace): Declare as static.
26889 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26891         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26892         (__libc_multiple_threads_ptr): Variable moved ...
26893         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26895 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26897         * conform/GlibcConform.pm: New file.
26898         * conform/conformtest.pl: Use GlibcConform module.
26899         * conform/linknamespace.pl: New file.
26900         * conform/list-header-symbols.pl: Likewise.
26901         * conform/Makefile (linknamespace-symlists-base): New variable.
26902         (linknamespace-symlists-tests): Likewise.
26903         (linknamespace-header-base): Likewise.
26904         (linknamespace-header-tests): Likewise.
26905         (tests-special): Add new tests.
26906         ($(linknamespace-symlists-tests)): New rule.
26907         (linknamespace-libs): New variable.
26908         ($(objpfx)symlist-stdlibs): New rule.
26909         ($(linknamespace-header-tests)): Likewise.
26910         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26911         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26912         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26913         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26914         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26915         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26916         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26917         (test-xfail-ISO/math.h/linknamespace): Likewise.
26918         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26919         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26920         (test-xfail-ISO/time.h/linknamespace): Likewise.
26921         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26922         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26923         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26924         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26925         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26926         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26927         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26928         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26929         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26930         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26931         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26932         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26933         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26934         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26935         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26936         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26937         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26938         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26939         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26940         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26941         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26942         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26943         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26944         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26945         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26946         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26947         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26948         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26949         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26950         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26951         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26952         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26953         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26954         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26955         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26956         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26957         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26958         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26959         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26960         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26961         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26962         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26963         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26964         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26965         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26966         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26967         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26968         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26969         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26970         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26971         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26972         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26973         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26974         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26975         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26976         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26977         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26978         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26979         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26980         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26981         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26982         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26983         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26984         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26985         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26986         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26987         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26988         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26989         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26990         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26991         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26992         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26993         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26994         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26995         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26996         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26997         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26998         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26999         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27000         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27001         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27002         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27003         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27004         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27005         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27006         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27007         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27008         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27009         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27010         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27011         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27012         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27013         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27014         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27015         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27016         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27017         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27018         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27019         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27020         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27021         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27022         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27023         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27024         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27025         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27026         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27027         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27028         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27029         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27030         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27031         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27032         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27033         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27034         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27035         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27036         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27037         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27038         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27039         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27040         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27041         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27042         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27043         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27044         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27045         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27046         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27047         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27048         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27049         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27050         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27051         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27052         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27053         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27054         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27055         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27056         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27057         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27058         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27059         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27060         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27061         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27062         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27063         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27064         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27065         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27066         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27067         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27068         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27069         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27070         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27072         [BZ #17589]
27073         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27074         of fgets_unlocked.
27076         [BZ #17585]
27077         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27078         (memmem): Rename to __memmem and define as weak alias of
27079         __memmem.  Use libc_hidden_weak.
27080         (__memmem): Use libc_hidden_def.
27081         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27082         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27083         memmem.
27085         [BZ #17582]
27086         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27087         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27088         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27089         and define as weak alias of __fgets_unlocked.  Use
27090         libc_hidden_weak.
27091         (__fgets_unlocked): Use libc_hidden_def.
27092         * include/stdio.h (__fgets_unlocked): Declare.  Use
27093         libc_hidden_proto.
27094         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27095         __fgets_unlocked instead of fgets_unlocked.
27096         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27097         (GET_NPROCS_CONF_PARSER): Likewise.
27098         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27099         (GET_NPROCS_CONF_PARSER): Likewise.
27101         [BZ #17574]
27102         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27103         weak alias of __wmemset.  Use libc_hidden_weak.
27104         (__wmemset): Use libc_hidden_def.
27105         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27106         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27107         of wmemset.
27109         [BZ #17573]
27110         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27111         with asm name __mempcpy.
27112         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27114         [BZ #17572]
27115         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27116         and define as weak alias of __rawmemchr.
27117         (__rawmemchr): Do not define as strong alias of rawmemchr.
27119         [BZ #17571]
27120         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27121         alias of __qsort_r.
27122         (qsort): Call __qsort_r instead of qsort_r.
27123         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27124         (__qsort_r): Declare.  Call libc_hidden_proto.
27125         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27126         instead of qsort_r.
27127         * nscd/gai.c (__qsort_r): Define to qsort_r.
27128         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27129         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27130         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27132         [BZ #17570]
27133         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27134         define as weak alias of __malloc_info.
27136         [BZ #17584]
27137         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27138         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27139         (__rewinddir): Use libc_hidden_def.
27140         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27141         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27142         (__rewinddir): Use libc_hidden_def.
27143         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27144         weak alias of __rewinddir.  Don't use libc_hidden_def.
27145         (__rewinddir): Use libc_hidden_def.
27146         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27147         (__rewinddir): Use libc_hidden_proto.
27148         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27149         rewinddir.
27150         (__getcwd): Use __rewinddir instead of rewinddir.
27152         [BZ #17583]
27153         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27154         alias of __fileno.  Use libc_hidden_weak.
27155         (__fileno): Use libc_hidden_def.
27156         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27157         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27158         alias of __ftello.
27159         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27160         __ftello.
27161         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27162         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27163         libc_hidden_def.
27164         (fread_unlocked): Don't use libc_hidden_ver.
27165         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27166         and define as weak alias of __fread_unlocked.  Don't use
27167         libc_hidden_def.
27168         (__fread_unlocked): Use libc_hidden_def.
27169         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27170         (ftello): Don't use libc_hidden_proto.
27171         (__ftello): Declare.  Use libc_hidden_proto.
27172         (fread_unlocked): Don't use libc_hidden_proto.
27173         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27174         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27175         and __ftello instead of fileno, fread_unlocked and ftello.
27177 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27179         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27180         GOT12.
27181         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27182         Likewise.
27183         (_dl_start_user): Likewise.
27184         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27186 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27187             Siddhesh Poyarekar  <siddhesh@redhat.com>
27189         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27190         Move argv and envp down instead of moving argc up.
27191         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27193 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27195         [BZ #17506]
27196         * test-skeleton.c (main): Return successful if one of
27197         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27198         * string/tst-strcoll-overflow.c: Define expected status.
27200 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27202         [BZ #17475]
27203         * locale/iso-639.def: Define Bhili and Tulu language codes.
27205 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27207         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27209 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27211         [BZ #17555]
27212         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27214 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27216         * configure.ac: Updated check of minimal required version to
27217         2.22.
27218         * manual/install.texi (Tools for Compilation): Updated version
27219         number.
27220         * configure: Regenerated.
27221         * INSTALL: Likewise.
27223 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27225         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27226         __tls_get_addr.
27228 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27230         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27231         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27232         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27233         libc_hidden_weak.
27234         (waitpid): Define as alias of __waitpid.
27235         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27236         __waitpid.
27237         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27238         libc_hidden_weak.
27239         (waitpid): Define as alias of __waitpid.
27240         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27241         __libc_waitpid alias.
27242         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27243         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27244         Likewise.
27245         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27246         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27247         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27248         alias.
27249         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27250         __waitpid.
27251         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27252         libc_hidden_weak.
27253         (waitpid): Define as alias of __waitpid.
27255 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27257         * manual/llio.texi: Add comment that write safety has been
27258         fixed in Linux.
27260         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27261         (localplt-build-dso): Add elf/ld.so.
27262         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27263         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27264         and free for ld.so.
27265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27266         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27268         Likewise.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27270         Likewise.
27271         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27272         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27273         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27274         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27275         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27276         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27277         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27278         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27279         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27280         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27281         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27283 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #14132]
27286         * include/libc-symbols.h (INTUSE): Remove macro.
27287         (INTDEF): Likewise.
27288         (INTVARDEF): Likewise.
27289         (_INTVARDEF): Likewise.
27290         (INTDEF2): Likewise.
27291         (INTVARDEF2): Likewise.
27292         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27293         rtld_hidden_def instead of INTVARDEF.
27294         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27295         (_dl_starting_up_internal): Remove declaration.
27296         (_dl_starting_up): Use rtld_hidden_proto.
27297         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27298         declaration.
27299         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27300         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27301         _dl_starting_up.
27302         * elf/dl-writev.h (_dl_writev): Likewise.
27303         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27304         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27305         _dl_starting_up_internal.
27307 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27309         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27310         test-skeleton.c.
27312 2014-11-05  Will Newton  <will.newton@linaro.org>
27314         * benchtests/Makefile: (bench-malloc): Add malloc thread
27315         scalability benchmark.
27316         * benchtests/bench-malloc-threads.c: New file.
27318 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27320         * sysdeps/aarch64/strchrnul.S: New file.
27322 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27324         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27325         definition.
27326         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27327         Likwise.
27328         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27329         Likewise.
27330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27331         Likewise.
27332         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27333         Likewise.
27334         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27335         Likewise.
27337 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27339         * catgets/test-gencat.c: Use test-skeleton.c.
27340         * catgets/tst-catgets.c: Likewise.
27341         * csu/tst-empty.c: Likewise.
27342         * elf/tst-audit2.c: Likewise.
27343         * elf/tst-global1.c: Likewise.
27344         * elf/tst-pathopt.c: Likewise.
27345         * elf/tst-piemod1.c: Likewise.
27346         * elf/tst-tls10.c: Likewise.
27347         * elf/tst-tls11.c: Likewise.
27348         * elf/tst-tls12.c: Likewise.
27349         * gnulib/tst-gcc.c: Likewise.
27350         * iconvdata/tst-e2big.c: Likewise.
27351         * iconvdata/tst-loading.c: Likewise.
27352         * iconv/tst-iconv1.c: Likewise.
27353         * iconv/tst-iconv2.c: Likewise.
27354         * inet/test-inet6_opt.c: Likewise.
27355         * inet/tst-gethnm.c: Likewise.
27356         * inet/tst-network.c: Likewise.
27357         * inet/tst-ntoa.c: Likewise.
27358         * intl/tst-codeset.c: Likewise.
27359         * intl/tst-gettext2.c: Likewise.
27360         * intl/tst-gettext3.c: Likewise.
27361         * intl/tst-ngettext.c: Likewise.
27362         * intl/tst-translit.c: Likewise.
27363         * io/test-stat.c: Likewise.
27364         * libio/test-fmemopen.c: Likewise.
27365         * libio/tst-freopen.c: Likewise.
27366         * libio/tst-sscanf.c: Likewise.
27367         * libio/tst-ungetwc1.c: Likewise.
27368         * libio/tst-ungetwc2.c: Likewise.
27369         * libio/tst-widetext.c: Likewise.
27370         * localedata/tst-ctype.c: Likewise.
27371         * localedata/tst-digits.c: Likewise.
27372         * localedata/tst-leaks.c: Likewise.
27373         * localedata/tst-mbswcs1.c: Likewise.
27374         * localedata/tst-mbswcs2.c: Likewise.
27375         * localedata/tst-mbswcs3.c: Likewise.
27376         * localedata/tst-mbswcs4.c: Likewise.
27377         * localedata/tst-mbswcs5.c: Likewise.
27378         * localedata/tst-setlocale.c: Likewise.
27379         * localedata/tst-trans.c: Likewise.
27380         * localedata/tst-wctype.c: Likewise.
27381         * localedata/tst-xlocale1.c: Likewise.
27382         * login/tst-grantpt.c: Likewise.
27383         * malloc/tst-calloc.c: Likewise.
27384         * malloc/tst-malloc.c: Likewise.
27385         * malloc/tst-mallocstate.c: Likewise.
27386         * malloc/tst-mcheck.c: Likewise.
27387         * malloc/tst-mtrace.c: Likewise.
27388         * malloc/tst-obstack.c: Likewise.
27389         * math/atest-exp2.c: Likewise.
27390         * math/atest-exp.c: Likewise.
27391         * math/atest-sincos.c: Likewise.
27392         * math/test-matherr.c: Likewise.
27393         * math/test-misc.c: Likewise.
27394         * math/test-powl.c: Likewise.
27395         * math/tst-definitions.c: Likewise.
27396         * misc/tst-dirname.c: Likewise.
27397         * misc/tst-efgcvt.c: Likewise.
27398         * misc/tst-fdset.c: Likewise.
27399         * misc/tst-hsearch.c: Likewise.
27400         * misc/tst-mntent2.c: Likewise.
27401         * nptl/tst-sem7.c: Likewise.
27402         * nptl/tst-sem8.c: Likewise.
27403         * nptl/tst-sem9.c: Likewise.
27404         * nss/test-netdb.c: Likewise.
27405         * posix/tst-fnmatch.c: Likewise.
27406         * posix/tst-getlogin.c: Likewise.
27407         * posix/tst-gnuglob.c: Likewise.
27408         * posix/tst-mmap.c: Likewise.
27409         * pwd/tst-getpw.c: Likewise.
27410         * resolv/tst-inet_ntop.c: Likewise.
27411         * rt/tst-timer.c: Likewise.
27412         * stdio-common/test-fseek.c: Likewise.
27413         * stdio-common/test-popen.c: Likewise.
27414         * stdio-common/test-vfprintf.c: Likewise.
27415         * stdio-common/tst-cookie.c: Likewise.
27416         * stdio-common/tst-fileno.c: Likewise.
27417         * stdio-common/tst-gets.c: Likewise.
27418         * stdio-common/tst-obprintf.c: Likewise.
27419         * stdio-common/tst-perror.c: Likewise.
27420         * stdio-common/tst-sprintf2.c: Likewise.
27421         * stdio-common/tst-sprintf3.c: Likewise.
27422         * stdio-common/tst-sprintf.c: Likewise.
27423         * stdio-common/tst-swprintf.c: Likewise.
27424         * stdio-common/tst-tmpnam.c: Likewise.
27425         * stdio-common/tst-unbputc.c: Likewise.
27426         * stdio-common/tst-wc-printf.c: Likewise.
27427         * stdlib/tst-environ.c: Likewise.
27428         * stdlib/tst-fmtmsg.c: Likewise.
27429         * stdlib/tst-limits.c: Likewise.
27430         * stdlib/tst-rand48-2.c: Likewise.
27431         * stdlib/tst-rand48.c: Likewise.
27432         * stdlib/tst-random2.c: Likewise.
27433         * stdlib/tst-random.c: Likewise.
27434         * stdlib/tst-strtol.c: Likewise.
27435         * stdlib/tst-strtoll.c: Likewise.
27436         * stdlib/tst-tls-atexit.c: Likewise.
27437         * stdlib/tst-xpg-basename.c: Likewise.
27438         * string/test-ffs.c: Likewise.
27439         * string/tst-bswap.c: Likewise.
27440         * string/tst-inlcall.c: Likewise.
27441         * string/tst-strtok.c: Likewise.
27442         * string/tst-strxfrm.c: Likewise.
27443         * sysdeps/x86_64/tst-audit10.c: Likewise.
27444         * sysdeps/x86_64/tst-audit3.c: Likewise.
27445         * sysdeps/x86_64/tst-audit4.c: Likewise.
27446         * sysdeps/x86_64/tst-audit5.c: Likewise.
27447         * time/tst-ftime_l.c: Likewise.
27448         * time/tst-getdate.c: Likewise.
27449         * time/tst-mktime3.c: Likewise.
27450         * time/tst-mktime.c: Likewise.
27451         * time/tst-posixtz.c: Likewise.
27452         * time/tst-strptime2.c: Likewise.
27453         * time/tst-strptime3.c: Likewise.
27454         * wcsmbs/tst-btowc.c: Likewise.
27455         * wcsmbs/tst-mbrtowc.c: Likewise.
27456         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27457         * wcsmbs/tst-wchar-h.c: Likewise.
27458         * wcsmbs/tst-wcpncpy.c: Likewise.
27459         * wcsmbs/tst-wcrtomb.c: Likewise.
27460         * wcsmbs/tst-wcsnlen.c: Likewise.
27461         * wcsmbs/tst-wcstof.c: Likewise.
27463 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27465         [BZ #14132]
27466         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27467         INTDEF.
27468         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27469         declaration.
27470         (_dl_mcount): Use rtld_hidden_proto.
27471         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27472         _dl_mcount.
27473         * elf/rtld.c (_rtld_global_ro): Likewise.
27475         [BZ #14132]
27476         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27477         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27478         of _dl_init_internal.
27479         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27480         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27481         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27482         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27483         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27484         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27485         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27486         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27487         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27488         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27489         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27490         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27491         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27492         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27493         * sysdeps/tile/dl-start.S (_start): Likewise.
27494         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27495         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27497         [BZ #14132]
27498         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27499         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27500         (rtld_progname): Make macro definition unconditional.
27501         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27502         INTDEF.
27503         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27504         (dl_main): Likewise.
27505         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27506         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27507         instead of _dl_argv_internal.
27508         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27509         __GI__dl_argv instead of INTUSE(_dl_argv).
27510         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27511         __GI__dl_argv instead of _dl_argv_internal.
27513         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27514         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27515         macro.
27516         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27518         New macro.
27519         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27520         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27521         macro.
27522         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27523         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27525 2014-11-04  Andreas Schwab  <schwab@suse.de>
27527         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27529 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27531         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27532         mtvsrd instruction in binary form.
27534 2014-11-03  Andreas Schwab  <schwab@suse.de>
27536         [BZ #17522]
27537         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27538         for less than MB_LEN_MAX use a local buffer of that size.
27539         * libio/tst-fputws.c: New file.
27540         * libio/Makefile (tests): Add tst-fputws.
27542 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27544         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27545         the size of the fpu_fr.fpu_dregs[] array.
27547 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27549         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27550         (__nanosleep): Do not define as alias.
27551         (nanosleep): Define as alias of __nanosleep.
27552         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27553         __libc_nanosleep name.
27555 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27557         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27558         install.texi in comment.
27560 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27562         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27563         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27564         ... add here and use lwsync or sync ...
27565         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27566         ... and add here using lwsync.
27568 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27570         * elf/dl-machine-reject-phdr.h: New file.
27571         * elf/dl-load.c: #include that.
27572         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27573         if that returned true.
27575 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27577         [BZ #17496]
27578         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27579         gen-as-const-headers chunk.  Add a big scare comment after the last
27580         safe place to touch before-compile.
27582 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27584         * manual/install.texi (Tools for Compilation): Update autoconf
27585         version requirements.
27586         * INSTALL: Regenerated.
27588         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27589         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27590         (__libc_pselect): Likewise.
27592         [BZ #14138]
27593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27598 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27600         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27601         correct barrier instruction.
27602         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27603         Likewise.
27604         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27605         Likewise.
27607 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27609         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27610         after defining inlines.  Instead, just use parens to defeat macro
27611         expansion of __isctype in its declaration.
27613 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27615         * include/sys/uio.h (__libc_readv): Remove declaration.
27616         (__libc_writev): Likewise.
27617         * misc/readv.c (__libc_readv): Rename to __readv.
27618         (__readv): Do not define as alias.
27619         (readv): Define as alias of __readv.
27620         * misc/writev.c (__libc_writev): Rename to __writev.
27621         (__writev): Do not define as alias.
27622         (writev): Define as alias of __writev.
27623         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27624         (__readv): Do not define as alias.
27625         (readv): Define unconditionally as alias of __readv.
27626         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27627         (__writev): Do not define as alias.
27628         (writev): Define unconditionally as alias of __writev.
27629         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27630         name.
27631         (writev): Do not define __libc_writev name.
27633 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27635         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27636         (convert_charseq): New function, broken out of ...
27637         (use_from_charmap): ... here.  Call it.
27638         (use_to_charmap): Use convert_charseq and free instead of duplicating
27639         its code with a variable-length stack struct.
27641 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27643         * include/fcntl.h (__libc_creat): Remove declaration.
27644         * io/creat.c (__libc_creat): Rename to creat.
27645         (creat): Do not define as alias.
27646         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27647         of creat instead of __libc_creat.
27648         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27649         to creat.
27650         (creat): Do not define as alias.
27651         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27652         __libc_creat.
27653         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27654         __libc_creat name.
27655         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27656         Likewise.
27658 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27660         * manual/llio.texi: Add comments discussing why write() may be
27661         considered MT-unsafe on Linux.
27663 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27665         * dl-load.c (local_strdup): Remove.
27666         (expand_dynamic_string_token): Use __strdup.
27667         (decompose_rpath): Likewise.
27668         (_dl_map_object): Likewise.
27670 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27672         [BZ #14132]
27673         * sysdeps/generic/unwind-dw2-fde.c
27674         (__register_frame_info_bases_internal): Do not declare.
27675         (__register_frame_info_table_bases_internal): Likewise.
27676         (__deregister_frame_info_bases_internal): Likewise.
27677         (__register_frame_info_bases): Declare and use hidden_proto before
27678         definition.  Use hidden_def instead of INTDEF.
27679         (__register_frame_info_table_bases): Likewise.
27680         (__deregister_frame_info_bases): Likewise.
27681         (__register_frame_info): Do not use INTUSE.
27682         (__register_frame): Likewise.
27683         (__register_frame_info_table): Likewise.
27684         (__register_frame_table): Likewise.
27685         (__deregister_frame_info): Likewise.
27686         (__deregister_frame): Likewise.
27688 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27691         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27692         not undefine.
27693         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27694         Likewise.
27695         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27696         Likewise.
27698 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #14138]
27701         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27702         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27703         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27704         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27705         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27706         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27707         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27708         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27709         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27710         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27711         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27712         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27713         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27714         syscall.
27715         (setfsuid): Likewise.
27716         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27717         (setfsuid): Likewise.
27718         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27719         (setfsuid): Likewise.
27720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27721         Likewise.
27722         (setfsuid): Likewise.
27723         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27724         (setfsuid): Likewise.
27725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27726         Likewise.
27727         (setfsuid): Likewise.
27729 2014-10-27  Andreas Schwab  <schwab@suse.de>
27731         [BZ #17501]
27732         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27733         check for Slow_SSE4_2 feature bit.
27734         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27735         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27736         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27737         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27739 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27741         * configure.ac: Validate compiler version with a empirical test of
27742         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27743         $CC -v output.
27744         * configure: Regenerated.
27746         * inet/htons.c (htons): Prototypify.
27747         * inet/htonl.c (htonl): Likewise.
27749 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27751         * string/strncat.c (strncat): Improve performance by using strlen.
27753 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27755         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27757 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27759         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27760         Call libc_fetestexcept_aarch64.
27762 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27764         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27765         Call libc_feholdexcept_aarch64.
27767 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27769         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27770         Call get_rounding_mode.
27772 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27774         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27775         Simplify logic.
27777 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27779         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27780         Simplify logic.
27782 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27784         [BZ #14138]
27785         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27786         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27787         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27788         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27789         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27790         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27791         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27792         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27793         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27794         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27795         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27796         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27797         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27798         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27799         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27800         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27801         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27802         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27803         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27804         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27805         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27806         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27807         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27808         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27809         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27810         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27811         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27812         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27813         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27814         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27815         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27816         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27817         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27818         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27819         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27820         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27821         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27822         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27823         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27824         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27825         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27826         syscall.
27827         (geteuid): Likewise.
27828         (getgid): Likewise.
27829         (getuid): Likewise.
27830         (getresgid): Likewise.
27831         (getresuid): Likewise.
27832         (getgroups): Likewise.
27833         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27834         (geteuid): Likewise.
27835         (getgid): Likewise.
27836         (getuid): Likewise.
27837         (getresgid): Likewise.
27838         (getresuid): Likewise.
27839         (getgroups): Likewise.
27840         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27841         (geteuid): Likewise.
27842         (getgid): Likewise.
27843         (getuid): Likewise.
27844         (getresgid): Likewise.
27845         (getresuid): Likewise.
27846         (getgroups): Likewise.
27847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27848         Likewise.
27849         (geteuid): Likewise.
27850         (getgid): Likewise.
27851         (getuid): Likewise.
27852         (getresgid): Likewise.
27853         (getresuid): Likewise.
27854         (getgroups): Likewise.
27855         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27856         (geteuid): Likewise.
27857         (getgid): Likewise.
27858         (getuid): Likewise.
27859         (getresgid): Likewise.
27860         (getresuid): Likewise.
27861         (getgroups): Likewise.
27862         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27863         Likewise.
27864         (geteuid): Likewise.
27865         (getgid): Likewise.
27866         (getuid): Likewise.
27867         (getgroups): Likewise.
27869         [BZ #14138]
27870         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27871         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27872         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27873         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27874         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27875         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27876         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27877         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27878         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27879         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27880         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27881         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27882         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27883         __chown.
27884         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27885         (lchown): Likewise.
27886         (fchown): Likewise.
27887         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27888         Likewise.
27889         (lchown): Likewise.
27890         (fchown): Likewise.
27891         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27892         (lchown): Likewise.
27893         (fchown): Likewise.
27894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27895         Likewise.
27896         (lchown): Likewise.
27897         (fchown): Likewise.
27899 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27901         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27902         Simplify logic.
27904 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27906         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27907         Cleanup logic.
27909 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27911         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27912         Remove unused include.
27914 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27916         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27917         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27918         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27919         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27921 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27922             Helge Deller <deller@gmx.de>
27924         [BZ #17508]
27925         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27926         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27927         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27929 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27931         [BZ #14132]
27932         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27933         Remove macro definition.
27934         (__ashrdi3_v_glibc20): Likewise.
27935         (__lshrdi3_v_glibc20): Likewise.
27936         (__cmpdi2_v_glibc20): Likewise.
27937         (__ucmpdi2_v_glibc20): Likewise.
27938         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27939         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27940         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27941         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27942         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27943         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27945 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27947         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27948         old GNU extension [0] syntax.
27949         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27950         alloca rather than an array member with variable length.
27951         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27952         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27953         (parse_opt): ... here.  Likewise use alloca there.
27954         Validate the -i argument before checking for rootness.
27955         (send_shutdown): New function, broken out of ...
27956         (parse_opt): ... here.
27958 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27960         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27961         macro to get at the _rt_local_ro field.
27962         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27963         ([PIC] case) or _dl_hwcap ([!PIC] case).
27964         * sysdeps/arm/setjmp.S: Likewise.
27966         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27967         * sysdeps/arm/configure.ac: New check to define it.
27968         * sysdeps/arm/configure: Regenerated.
27969         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27970         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27971         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27972         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27973         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27974         Use move/movt pair instead of a load.
27975         (LDST_GLOBAL): Macro removed.
27976         (LDR_GLOBAL): New macro replaces it.
27977         (LDR_HIDDEN): New macro.
27978         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27979         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27981         * setjmp/tst-setjmp-static.c: New file.
27982         * setjmp/Makefile (tests): Add it.
27983         (tests-static): New variable.
27985 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27987         [BZ #17485]
27988         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27990 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27992         [BZ #14132]
27993         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27995 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27997         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27999 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28001         * io/fts.c (dirent_not_directory): New function.
28002         (fts_build): Call it.
28004 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28006         * nptl/version.c (__nptl_main): Use normal __write rather than
28007         INTERNAL_SYSCALL.
28008         (banner): Update copyright years.
28010         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28011         gettimeofday.
28012         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28013         * nptl/pthread_cond_timedwait.c: Likewise.
28014         * nptl/pthread_mutex_timedlock.c: Likewise.
28015         * nptl/sem_timedwait.c: Likewise.
28017         * sysdeps/nptl/bits/libc-lock.h
28018         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28019         (__libc_lock_init_recursive): Return void, not 0.
28020         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28021         (__libc_rwlock_init): Likewise.
28022         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28024 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28026         [BZ #15215]
28027         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28028         (__pthread_once_slow): ... here.
28029         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28030         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28032 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28034         [BZ #15215]
28035         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28036         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28037         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28038         * nptl/pthread_once.c (__pthread_once): Likewise.
28039         Update comments.
28041 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28043         [BZ #14138]
28044         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28045         name.
28046         (writev): Use __libc_writev as strong name.
28047         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28048         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28050 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28052         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28054         * sysdeps/i386/nptl/tls.h
28055         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28056         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28057         New macros.
28058         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28059         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28060         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28061         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28062         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28063         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28065         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28066         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28067         on [__NR_futex].
28068         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28069         broken out of ...
28070         (__pthread_mutex_init): ... here.  Call it.
28071         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28072         Conditionalize PI cases on [__NR_futex].
28073         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28074         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28075         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28077         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28078         conditional on [SIGSETXID].
28079         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28080         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28081         is defined.  Likewise for SIGSETXID.
28082         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28083         Conditionalize definitions on [SIGSETXID].
28084         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28085         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28086         unblocking on [SIGCANCEL].
28088         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28089         [__NR_set_robust_list].
28091 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28093         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28094         (do_compare): Likewise.
28096 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28098         [BZ #15884]
28099         * string/strcoll_l.c: Don't include stdio.h.
28100         (coll_seq): Remove members idxarr and rulearr.
28101         (get_next_seq_cached): Remove function.
28102         (get_next_seq): Likewise.
28103         (get_next_seq_nocache): Rename to get_next_seq.
28104         (do_compare): Remove function.
28105         (do_compare_nocache): Rename to do_compare.
28106         (STRCOLL): Remove weight and rules cache.
28108 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28110         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28111         * sysdeps/arm/sfp-machine.h: ... to here.
28112         * sysdeps/arm/Implies: Remove arm/soft-fp.
28114 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28116         * conform/data/sys/utsname.h-data (*_t): Allow.
28117         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28118         [POSIX] (WEXITED): Do not expect constant.
28119         [POSIX] (WSTOPPED): Likewise.
28120         [POSIX] (WNOHANG): Likewise.
28121         [POSIX] (WNOWAIT): Likewise.
28122         [POSIX] (siginfo_t): Do not expect type or elements.
28123         [POSIX] (pid_t): Do not expect type.
28124         [POSIX] (signal.h): Do not allow header.
28125         [POSIX] (sys/resource.h): Likewise.
28126         [POSIX] (si_*): Do not allow pattern.
28127         [POSIX] (W*): Likewise.
28128         [POSIX] (P_*): Likewise.
28129         [POSIX] (BUS_*): Likewise.
28130         [POSIX] (CLD_*): Likewise.
28131         [POSIX] (FPE_*): Likewise.
28132         [POSIX] (ILL_*): Likewise.
28133         [POSIX] (POLL_*): Likewise.
28134         [POSIX] (SEGV_*): Likewise.
28135         [POSIX] (SI_*): Likewise.
28136         [POSIX] (TRAP_*): Likewise.
28137         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28138         variable.
28140 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28142         [BZ #12926]
28143         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28144         infinite loop when __recvmsg returns 0.
28146 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28148         * CANCEL-FCT-WAIVE: Remove file.
28149         * CANCEL-FILE-WAIVE: Likewise.
28151         [BZ #14132]
28152         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28153         instead of INTVARDEF.
28154         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28155         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28156         rtld_hidden_data_def instead of INTVARDEF.
28157         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28158         * elf/dl-deps.c (expand_dst): Likewise.
28159         * elf/dl-load.c (_dl_dst_count): Likewise.
28160         (_dl_dst_substitute): Likewise.
28161         (decompose_rpath): Likewise.
28162         (_dl_init_paths): Likewise.
28163         (open_path): Likewise.
28164         (_dl_map_object): Likewise.
28165         * elf/rtld.c (dl_main): Likewise.
28166         (process_dl_audit): Likewise.
28167         (process_envvars): Likewise.
28168         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28169         Remove declaration.
28170         (__libc_enable_secure): Use rtld_hidden_proto.
28172 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28174         * elf/dl-load.c
28175         (add_path): New function broken out of _dl_rtld_di_serinfo.
28176         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28178 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28180         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28181         parentheses around macro arguments.
28182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28183         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28184         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28187         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28193         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28194         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28195         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28197         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28198         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28201         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28202         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28205         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28206         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28209         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28210         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28211         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28213         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28214         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28215         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28216         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28217         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28218         Likewise.
28219         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28225         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28226         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28227         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28228         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28229         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28230         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28231         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28240         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28241         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28243         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28244         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28245         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28246         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28247         (_FP_FRAC_SRS_1): Likewise.
28248         (_FP_FRAC_CLZ_1): Likewise.
28249         (_FP_MUL_MEAT_1_imm): Likewise.
28250         (_FP_MUL_MEAT_1_wide): Likewise.
28251         (_FP_MUL_MEAT_1_hard): Likewise.
28252         (_FP_SQRT_MEAT_1): Likewise.
28253         (_FP_FRAC_ASSEMBLE_1): Likewise.
28254         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28255         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28256         (__FP_CLZ_2): Likewise.
28257         (_FP_MUL_MEAT_2_wide): Likewise.
28258         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28259         (_FP_MUL_MEAT_2_gmp): Likewise.
28260         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28261         (_FP_SQRT_MEAT_2): Likewise.
28262         (_FP_FRAC_ASSEMBLE_2): Likewise.
28263         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28264         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28265         (_FP_FRAC_CLZ_4): Likewise.
28266         (_FP_MUL_MEAT_4_wide): Likewise.
28267         (_FP_MUL_MEAT_4_gmp): Likewise.
28268         (_FP_SQRT_MEAT_4): Likewise.
28269         (_FP_FRAC_ASSEMBLE_4): Likewise.
28270         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28271         * soft-fp/op-common.h (_FP_CMP): Likewise.
28272         (_FP_CMP_EQ): Likewise.
28273         (_FP_CMP_UNORD): Likewise.
28274         (_FP_TO_INT): Likewise.
28275         (_FP_FROM_INT): Likewise.
28276         [!__FP_CLZ] (__FP_CLZ): Likewise.
28277         (_FP_DIV_HELP_imm): Likewise.
28278         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28279         Likewise.
28280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28281         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28282         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28285         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28286         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28289         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28290         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28291         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28292         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28293         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28294         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28295         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28296         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28309         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28310         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28311         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28312         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28313         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28314         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28315         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28316         (FP_UNPACK_RAW_SP): Likewise.
28317         (FP_PACK_RAW_S): Likewise.
28318         (FP_PACK_RAW_SP): Likewise.
28319         (FP_UNPACK_S): Likewise.
28320         (FP_UNPACK_SP): Likewise.
28321         (FP_UNPACK_SEMIRAW_S): Likewise.
28322         (FP_UNPACK_SEMIRAW_SP): Likewise.
28323         (FP_PACK_S): Likewise.
28324         (FP_PACK_SP): Likewise.
28325         (FP_PACK_SEMIRAW_S): Likewise.
28326         (FP_PACK_SEMIRAW_SP): Likewise.
28327         (_FP_SQRT_MEAT_S): Likewise.
28328         (FP_CMP_S): Likewise.
28329         (FP_CMP_EQ_S): Likewise.
28330         (FP_CMP_UNORD_S): Likewise.
28331         (FP_TO_INT_S): Likewise.
28332         (FP_FROM_INT_S): Likewise.
28334         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28336         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28337         (FP_EX_INVALID_IMZ): Likewise.
28338         (FP_EX_INVALID_IMZ_FMA): Likewise.
28339         (FP_EX_INVALID_ISI): Likewise.
28340         (FP_EX_INVALID_ZDZ): Likewise.
28341         (FP_EX_INVALID_IDI): Likewise.
28342         (FP_EX_INVALID_SQRT): Likewise.
28343         (FP_EX_INVALID_CVI): Likewise.
28344         (FP_EX_INVALID_VC): Likewise.
28345         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28346         "invalid" exceptions.
28347         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28348         (_FP_ADD_INTERNAL): Likewise.
28349         (_FP_MUL): Likewise.
28350         (_FP_FMA): Likewise.
28351         (_FP_DIV): Likewise.
28352         (_FP_CMP_CHECK_NAN): Likewise.
28353         (_FP_SQRT): Likewise.
28354         (_FP_TO_INT): Likewise.
28355         (FP_EXTEND): Likewise.
28357 2014-10-09  Allan McRae  <allan@archlinux.org>
28359         * po/fr.po: Update French translation from translation project.
28361 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28363         [BZ #14132]
28364         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28365         of INTDEF.
28366         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28367         (__cxa_atexit): Use libc_hidden_proto.
28368         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28370         [BZ #14132]
28371         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28372         declaration.
28373         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28374         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28375         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28376         [!_ISOMAC] (__iswctype_internal): Likewise.
28377         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28378         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28379         alias.
28380         (fcntl): Remove __fcntl_internal alias.
28381         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28382         __connect_internal alias.
28383         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28384         Likewise.
28386         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28387         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28388         FP_DENORM_ZERO.
28389         (_FP_CHECK_FLUSH_ZERO): New macro.
28390         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28391         (_FP_CMP): Likewise.
28392         (_FP_CMP_EQ): Likewise.
28393         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28394         FP_DENORM_ZERO.
28395         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28396         (FP_TRUNC): Likewise.
28398         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28399         treated as invalid conversion, not as normal exponent.
28401         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28402         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28403         (_FP_CMP_EQ): Likewise.
28404         (_FP_CMP_UNORD): Likewise.
28405         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28406         (FP_CMP_EQ_D): Likewise.
28407         (FP_CMP_UNORD_D): Likewise.
28408         * soft-fp/extended.h (FP_CMP_E): Likewise.
28409         (FP_CMP_EQ_E): Likewise.
28410         (FP_CMP_UNORD_E): Likewise.
28411         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28412         (FP_CMP_EQ_Q): Likewise.
28413         (FP_CMP_UNORD_Q): Likewise.
28414         * soft-fp/single.h (FP_CMP_S): Likewise.
28415         (FP_CMP_EQ_S): Likewise.
28416         (FP_CMP_UNORD_S): Likewise.
28417         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28418         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28419         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28420         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28421         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28422         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28423         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28424         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28425         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28426         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28427         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28428         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28429         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28430         to FP_CMP_Q.
28431         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28432         FP_CMP_Q.
28433         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28434         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28435         FP_CMP_EQ_Q.
28436         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28437         FP_CMP_Q.
28438         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28439         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28440         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28441         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28442         FP_CMP_EQ_Q.
28443         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28444         FP_CMP_Q.
28445         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28446         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28447         FP_CMP_EQ_Q.
28448         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28449         FP_CMP_Q.
28450         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28451         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28452         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28453         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28454         FP_CMP_EQ_Q.
28456         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28457         a subnormal result, set the underflow exception if trapping on
28458         underflow is enabled.
28459         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28460         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28461         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28462         redefine to 0.
28463         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28464         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28465         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28466         * soft-fp/extendxftf2.c (__extendxftf2): Use
28467         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28469         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28470         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28471         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28472         FP_HANDLE_EXCEPTIONS.
28473         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28474         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28475         FP_HANDLE_EXCEPTIONS.
28476         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28477         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28478         FP_HANDLE_EXCEPTIONS.
28479         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28480         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28481         FP_HANDLE_EXCEPTIONS.
28483 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28485         [BZ #14132]
28486         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28487         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28488         use INTUSE.
28489         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28490         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28491         Remove alias.
28492         (__adjtimex): Define using libc_hidden_ver.
28493         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28494         Remove declaration.
28495         (ntp_gettime): Call __adjtimex directly.
28496         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28497         Remove declaration.
28498         (ntp_gettimex): Call __adjtimex directly.
28499         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28500         __adjtimex_internal alias.
28502 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28504         [BZ #17460]
28505         * nscd/nscd.c (more_help): Rewrite list of tables collection
28506         using xstrdup and asprintf.
28508         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28510 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28511             Roland McGrath  <roland@hack.frob.com>
28513         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28514         (do_lookup_unique): ... local function 'enter' here; update callers.
28516 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28518         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28519         compat_symbol calls on [SHARED].
28520         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28521         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28522         Remove.
28523         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28524         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28525         (oldsetrlimit): Remove.
28526         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28528         (lchown): New syscall entry.
28529         (oldsetrlimit): Remove.
28530         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28532         (oldsetrlimit): Remove.
28533         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28535         [BZ #14138]
28536         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28537         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28538         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28539         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28540         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28541         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28542         (fchown): Likewise.
28543         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28544         (fchown): Likewise.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28546         Likewise.
28548 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28550         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28551         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28552         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28553         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28554         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28555         Likewise.
28556         (__old_sem_post): Likewise.
28558 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28560         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28561         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28562         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28563         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28564         Use INLINE_VSYSCALL macro.
28565         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28566         __vdso_clock_gettime.
28567         * sysdeps/unix/sysv/linux/tile/init-first.c
28568         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28569         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28570         __vdso_clock_gettime.
28572         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28573         to set up frame more cleanly.
28575         * sysdeps/tile/memcmp.c: New file.
28577         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28579         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28580         * sysdeps/tile/tilegx/strcasestr.c: New file.
28581         * sysdeps/tile/tilegx/strnlen.c: New file.
28582         * sysdeps/tile/tilegx/strstr.c: New file.
28584         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28586 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28588         * nptl/tst-setuid3.c: Write errors to stdout.
28590 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28592         * elf/dl-deps.c
28593         (preload): New functions broken out of _dl_map_object_deps.
28594         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28596 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28598         [BZ #14138]
28599         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28600         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28602 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28604         * sysdeps/mips/strcmp.S: New.
28606 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28608         [BZ #14138]
28609         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28610         (linkat): Likewise.
28611         (mkdirat): Likewise.
28612         (readlinkat): Likewise.
28613         (renameat): Likewise.
28614         (symlinkat): Likewise.
28615         (unlinkat): Likewise.
28616         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28617         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28618         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28619         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28620         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28621         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28622         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28624 2014-09-30  Will Newton  <will.newton@linaro.org>
28626         * math/math.h: Define long double math functions if
28627         _LIBC_TEST is defined.
28628         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28630         * localedata/Makefile: Move assignment to tests-special
28631         into an ifdef testing run-built-tests.
28632         * timezone/Makefile: Likewise.
28634 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28636         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28637         with $(BASH) not $(SHELL).
28639 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28640             Matthew LeGendre  <legendre1@llnl.gov>
28642         [BZ #17411]
28643         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28644         l_reloc_result.
28646 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28648         * stdio-common/printf_fp.c
28649         (hack_digit): New function, broken out of ...
28650         (__printf_fp): ... local function here.  Update call sites.
28651         hack_digit now takes an additional parameter that is a pointer
28652         to a struct of the referenced locals.  Those locals moved inside
28653         the struct and references updated.
28655 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28657         * aclocal.m4: Require autoconf 2.69.
28658         * configure: Regenerated.
28659         * sysdeps/aarch64/configure: Likewise.
28660         * sysdeps/alpha/configure: Likewise.
28661         * sysdeps/arm/armv7/configure: Likewise.
28662         * sysdeps/arm/configure: Likewise.
28663         * sysdeps/ia64/configure: Likewise.
28664         * sysdeps/mach/configure: Likewise.
28665         * sysdeps/mips/configure: Likewise.
28666         * sysdeps/s390/configure: Likewise.
28667         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28670         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28671         file.
28672         * sysdeps/ia64/configure.ac: Likewise.
28674 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28677         specify symbol version for ld.so.  Do not include entry for
28678         libpthread.
28679         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28680         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28681         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28683         [BZ #14171]
28684         * Makeconfig [$(build-shared) = yes]
28685         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28686         makefiles.
28687         [$(build-shared) = yes && $(soversions.mk-done) = t]
28688         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28689         [$(build-shared) = yes && $(soversions.mk-done) = t]
28690         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28691         to Makerules.
28692         [$(build-shared) = yes && $(soversions.mk-done) = t]
28693         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28694         here.
28695         [$(build-shared) = yes && $(soversions.mk-done) = t]
28696         (common-generated): Don't append gnu/lib-names.h and
28697         gnu/lib-names.stmp here.
28698         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28699         (lib-names-h-abi): New variable.
28700         [$(build-shared) = yes && $(soversions.mk-done) = t]
28701         (lib-names-stmp-abi): Likewise.
28702         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28703         abi-variants] (before-compile): Append
28704         $(common-objpfx)$(lib-names-h-abi).
28705         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28706         abi-variants] (common-generated): Append gnu/lib-names.h.
28707         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28708         abi-variants] (install-others-nosubdir): Depend on
28709         $(inst_includedir)/$(lib-names-h-abi).
28710         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28711         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28712         [$(build-shared) = yes && $(soversions.mk-done) = t]
28713         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28714         [$(build-shared) = yes && $(soversions.mk-done) = t]
28715         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28716         [$(build-shared) = yes && $(soversions.mk-done) = t]
28717         (common-generated): Append $(lib-names-h-abi) and
28718         $(lib-names-stmp-abi).
28719         * scripts/lib-names.awk: Do not handle multi being set.
28720         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28721         Remove variable.
28722         (abi-lp64_be-ld-soname): Likewise.
28723         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28724         Likewise.
28725         (abi-hard-ld-soname): Likewise.
28726         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28727         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28728         Remove variable.
28729         (abi-o32_hard-ld-soname): Likewise.
28730         (abi-o32_soft_2008-ld-soname): Likewise.
28731         (abi-o32_hard_2008-ld-soname): Likewise.
28732         (abi-n32_soft-ld-soname): Likewise.
28733         (abi-n32_hard-ld-soname): Likewise.
28734         (abi-n32_soft_2008-ld-soname): Likewise.
28735         (abi-n32_hard_2008-ld-soname): Likewise.
28736         (abi-n64_soft-ld-soname): Likewise.
28737         (abi-n64_hard-ld-soname): Likewise.
28738         (abi-n64_soft_2008-ld-soname): Likewise.
28739         (abi-n64_hard_2008-ld-soname): Likewise.
28740         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28741         Likewise.
28742         (abi-64-v2-ld-soname): Likewise.
28743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28744         ld.so entries.
28745         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28746         variable.
28747         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28748         entry.
28749         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28750         variable.
28751         (abi-64-ld-soname): Likewise.
28752         (abi-x32-ld-soname): Likewise.
28753         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28754         entry.
28755         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28757 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28759         [BZ #14138]
28760         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28761         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28762         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28763         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28764         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28765         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28766         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28767         syscall entry for GLIBC_2.2 symbol version.
28768         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28769         Likewise.
28770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28771         (setrlimit): Likewise.
28772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28773         Likewise.
28775 2014-09-23  Will Newton  <will.newton@linaro.org>
28777         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28778         _LINUX_ARM_SYSDEP_H include guard too.
28779         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28780         define.
28782 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28784         * sysdeps/unix/sysv/linux/eventfd.c:
28785         Make first argument unsigned.
28786         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28787         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28789 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28791         [BZ #16852]
28792         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28793         * socket/sys/socket.h: Likewise.
28794         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28796 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28798         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28800 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28802         * time/tst-ftime.c: New test.
28803         * time/Makefile (tests): Add tst-ftime.
28805 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28807         * soft-fp/extended.h: Fix comment formatting.
28808         * soft-fp/op-1.h: Likewise.
28809         * soft-fp/op-2.h: Likewise.
28810         * soft-fp/op-4.h: Likewise.
28811         * soft-fp/op-8.h: Likewise.
28812         * soft-fp/op-common.h: Likewise.
28813         * soft-fp/soft-fp.h: Likewise.
28815         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28817 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28819         [BZ #6652]
28820         * Makeconfig (soversions-default-setname): Remove variable.
28821         ($(common-objpfx)soversions.i): Don't pass default_setname to
28822         soversions.awk.
28823         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28824         oldest_abi to abi-versions.awk.
28825         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28826         * config.make.in (oldest-abi): Remove variable.
28827         * configure.ac (--enable-oldest-abi): Remove configure option.
28828         * configure: Regenerated.
28829         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28830         text.
28831         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28832         * scripts/soversions.awk: Do not handle default_setname variable.
28833         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28834         variable.
28835         * sysdeps/mach/hurd/configure: Regenerated.
28836         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28837         variable.
28838         * sysdeps/unix/sysv/linux/configure: Regenerated.
28840 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28842         * elf/Makefile (CFLAGS-interp.c): Remove.
28843         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28844         path string.
28845         * elf/interp.c: Include generated runtime-linker.h
28847         * Makerules (lib%.so): Don't include $(+interp) in
28848         prerequisites.
28849         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28850         * dlfcn/eval.c: Remove file.
28852         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28853         macros.
28855         [BZ #17266]
28856         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28857         4.2 and newer.
28859         [BZ #17370]
28860         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28862 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28863             Jakub Jelinek  <jakub@redhat.com>
28865         [BZ #17266]
28866         * libio/stdio.h: Check definition of __fortify_function
28867         instead of __extern_always_inline to include bits/stdio2.h.
28868         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28869         check if __extern_always_inline is defined.
28870         [__USE_MISC || __USE_XOPEN]: Likewise.
28871         [__USE_ISOC99] Likewise.
28872         * misc/sys/cdefs.h (__fortify_function): Define only if
28873         __extern_always_inline is defined.
28874         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28875         __extern_always_inline and __extern_inline only for g++-4.3
28876         and newer or a compatible gcc.
28878 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28880         [BZ #17371]
28881         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28882         last change to handle zero prefix length.
28884 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28886         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28887         _SC_REGEX_VERSION.
28889         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28890         _POSIX_RAW_SOCKETS.
28892 2014-09-13  Allan McRae  <allan@archlinux.org>
28894         * po/ru.po: Update Russian translation from translation project.
28896 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28898         * locale/programs/locale.c (show_locale_vars): Inline local function
28899         into its sole call site.  Clean up some style nits.
28900         (print_item): New function, broken out of ...
28901         (show_info): ... local function here.  Clean up style nits.
28903         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28904         out of ...
28905         (set_class_defaults): ... local function set_default here.
28906         Define set_default as a macro locally to pass constant parameters.
28907         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28908         rather than a shared local.
28910         * stdlib/rpmatch.c (try): New function, broken out of ...
28911         (rpmatch): ... local function here.  Also, prototypify definition.
28913 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28915         * scripts/soversions.awk: Do not handle configuration names.
28916         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28917         vendor and os variables to soversions.awk.
28918         * configure.ac: Do not modify gnu-* host_os.
28919         * configure: Regenerated
28920         * shlib-versions: Remove first column with configuration names.
28921         * nptl/shlib-versions: Likewise.
28922         * nptl_db/shlib-versions: Likewise.
28923         * sysdeps/hppa/shlib-versions: Likewise.
28924         * sysdeps/m68k/shlib-versions: Likewise.
28925         * sysdeps/mach/hurd/shlib-versions: Likewise.
28926         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28927         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28928         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28929         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28930         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28931         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28932         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28933         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28935         Likewise.
28936         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28937         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28938         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28939         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28940         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28941         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28942         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28943         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28946         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28948         Regenerated.
28949         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28951         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28953         * shlib-versions: Remove OS-specific entries.  Moved to files in
28954         sysdeps.
28955         * sysdeps/mach/hurd/shlib-versions: New file.
28956         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28958         * nptl/shlib-versions: Remove architecture-specific entries.
28959         Moved to files in sysdeps.
28960         * shlib-versions: Likewise.
28961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28962         file.
28963         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28964         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28965         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28966         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28968         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28969         (UDP_NO_CHECK6_RX): Likewise.
28971 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28973         * sysdeps/posix/sysconf.c (__sysconf): Spell
28974         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28976 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28978         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28979         loading.
28980         * iconv/Versions (__gconv_transliterate): Export for use from
28981         gconv modules.
28982         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28983         (struct __gconv_trans_data, __gconv_trans_fct,
28984         __gconv_trans_context_fct, __gconv_trans_query_fct,
28985         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28986         definitions.
28987         (struct __gconv_step_data): Remove __trans member.
28988         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28989         longer hidden.  Remove unused trans_data argument.
28990         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28991         (__gconv_translit_find): Remove declaration.
28992         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28993         prototype.
28994         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28995         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28996         trans_data argument.  Add hidden definition.
28997         (__gconv_translit_find): Remove.
28998         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28999         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29000         * iconv/skeleton.c: Remove transliteration initialization.
29001         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29002         __gconv_step_data initialization.
29003         * libio/iofwide.c (__libio_translit_): Remove.
29004         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29005         * wcsmbs/btowc.c (__btowc): Likewise.
29006         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29007         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29008         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29009         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29010         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29011         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29012         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29013         * wcsmbs/wctob.c (wctob): Likewise.
29015 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29017         [BZ #16194]
29018         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29019         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29020         register usage.
29021         * sysdeps/x86/Makefile: Adjust.
29023 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29024             Roland McGrath  <roland@hack.frob.com>
29026         * locale/weight.h: Add include guard.
29027         (findidx): Make static rather than auto; take new parameters
29028         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29029         * locale/weightwc.h: Likewise.
29030         * posix/fnmatch_loop.c
29031         (FCT): Change type of EXTRA from int32_t to wint_t.
29032         Don't include either header inside the function.
29033         Call FINDIDX rather than findidx, and pass new arguments.
29034         #undef FINDIDX at the end of the file.
29035         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29036         FINDIDX before including fnmatch_loop.c for the non-wide version.
29037         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29038         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29039         for the wide version.
29040         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29041         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29042         Pass new arguments to findidx.
29043         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29044         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29045         Don't #include it inside the function.  Pass new arguments to findidx.
29046         * posix/regex_internal.h
29047         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29048         (re_string_elem_size_at): Don't #include it inside the function.
29049         Pass new arguments to findidx.
29050         * string/strcoll_l.c: #include WEIGHT_H at top level.
29051         (get_next_seq): Don't #include it inside the function.
29052         Pass new arguments to findidx.
29053         (get_next_seq_nocache): Likewise.
29054         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29055         (STRXFRM): Don't #include it inside the function.
29056         Pass new arguments to findidx.
29058 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29060         [BZ #17344]
29061         * malloc/malloc.c (unlink): Turn asserts into a call to
29062         malloc_printerr.
29064 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29066         [BZ #17370]
29067         * libio/wfileops (do_ftell_wide): Free OUT.
29069 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29071         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29073 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29075         [BZ #17363]
29076         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29077         group if the current group is empty.
29079 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29081         * benchtests/bench-memset.c (test_main): Add more test from size
29082         from 32 to 512 bytes.
29083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29084         Add POWER8 memset object.
29085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29086         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29087         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29088         implementation.
29089         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29090         Likewise.
29091         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29092         multiarch POWER8 memset optimization.
29093         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29094         POWER8 memset optimization.
29096         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29097         Remove bzero multiarch objects.
29098         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29099         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29100         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29101         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29102         Remove define.
29103         [__bzero]: Redefine to specific name.
29104         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29105         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29106         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29107         define.
29108         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29109         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29111 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29113         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29114         warnings into errors.
29116         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29117         __cxa_thread_atexit_impl prototype.
29119 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29121         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29122         Fix capitalization of error message.
29124 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29126         * sysdeps/mips/preconfigure: Modify ABI tests.
29128 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29130         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29132 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29133             Carlos O'Donell  <carlos@systemhalted.org>
29135         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29136         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29137         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29138         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29139         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29140         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29141         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29142         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29143         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29144         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29145         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29146         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29147         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29148         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29152         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29156         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29157         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29158         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29159         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29160         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29161         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29162         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29163         Deconditionalize the code that was previously under [RESET_PID].
29164         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29165         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29166         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29167         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29168         include sysdep.h.
29170 2014-09-08  Allan McRae  <allan@archlinux.org>
29172         * version.h (RELEASE): Set to "development".
29173         (VERSION): Set to "2.20.90"
29175 2014-09-07  Allan McRae  <allan@archlinux.org
29177         * version.h (RELEASE): Set to "stable".
29178         (VERSION): Set to "2.20"
29179         * include/features.h (__GLIBC_MINOR__): Set to 20.
29181         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29182         Liebler.
29184         * po/ko.po: Update Korean translation from translation project.
29186 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29188         [BZ #17354]
29189         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29190         macro for handling signed relocations.
29192 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29194         [BZ #17325]
29195         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29196         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29197         assert.
29198         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29199         * iconvdata/ibm935.c (BODY): Likewise.
29200         * iconvdata/ibm937.c (BODY): Likewise.
29201         * iconvdata/ibm939.c (BODY): Likewise.
29202         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29203         assert.
29204         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29205         script.
29206         * iconvdata/run-iconv-test.sh: New test loop for checking for
29207         decoder crashers.
29209 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29211         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29212         libm_hidden_ver.
29214 2014-09-01  Allan McRae  <allan@archlinux.org>
29216         * po/eo.po: Update Esperanto translation from translation project.
29218         * po/ca.po: Update Catalan translation from translation project.
29220 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29222         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29223         __proc_dostop call.
29225 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29227         [BZ #17319]
29228         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29229         to call set_thread_area instead of hand written asm.
29230         (__NR_set_thread_area): Removed define.
29231         (TLS_FLAG_WRITABLE): Likewise.
29232         (__ASSUME_SET_THREAD_AREA): Remove check.
29233         (TLS_EBX_ARG): Remove define.
29234         (TLS_LOAD_EBX): Likewise.
29236 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29238         Simplify atomicity of socket creation in bind.
29240         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29241         looking up the name after linking the file.
29243 2014-08-27  Allan McRae  <allan@archlinux.org>
29245         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29247 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29249         [BZ #17187]
29250         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29251         trans_compare, open_translit, __gconv_translit_find):
29252         Remove module loading code.
29254 2014-08-26  Allan McRae  <allan@archlinux.org>
29256         * po/vi.po: Update Vietnamese translation from translation project.
29258         * po/uk.po: Update Ukrainian translation from translation project.
29260         * po/fr.po: Update French translation from translation project.
29262         * po/ru.po: Update Russian translation from translation project.
29264         * po/pl.po: Update Polish translation from translation project.
29266         * po/cs.po: Update Czech translation from translation project.
29268         * po/de.po: Update German translation from translation project.
29270         * po/bg.po: Update Bulgarian translation from translation project.
29272         * po/sv.po: Update Sweedish translation from translation project.
29274         * po/nl.po: Update Dutch translation from translation project.
29276         * po/es.po: Update Spanish translation from translation project.
29278 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29280         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29282         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29283         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29284         (CPPFLAGS-iconvconfig): Likewise.
29285         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29287         * include/libc-symbols.h: Remove unnecessary check for
29288         NOT_IN_libc.
29289         * nptl/pthreadP.h: Likewise.
29290         * sysdeps/aarch64/setjmp.S: Likewise.
29291         * sysdeps/alpha/setjmp.S: Likewise.
29292         * sysdeps/arm/sysdep.h: Likewise.
29293         * sysdeps/i386/setjmp.S: Likewise.
29294         * sysdeps/m68k/setjmp.c: Likewise.
29295         * sysdeps/posix/getcwd.c: Likewise.
29296         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29297         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29298         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29299         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29300         * sysdeps/sh/sh3/setjmp.S: Likewise.
29301         * sysdeps/sh/sh4/setjmp.S: Likewise.
29302         * sysdeps/unix/alpha/sysdep.h: Likewise.
29303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29305         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29306         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29311         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29314         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29316         * sysdeps/x86_64/setjmp.S: Likewise.
29318 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29320         [BZ #17263]
29321         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29322         <stdint.h>.
29323         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29324         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29326 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29328         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29330         [BZ #17262]
29331         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29332         and __x86_64__ when disabling x87 inline functions.
29334 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29336         [BZ #17259]
29337         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29338         asm statement with __cpuid_count.
29340 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29342         * configure.ac: Change __ehdr_start code to dereference the struct.
29343         Run readelf on the output to look for relocations.
29344         * configure: Regenerated.
29346 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29348         [BZ #17261]
29349         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29350         value to 0.
29351         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29353 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29355         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29357 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29359         [BZ #16892]
29360         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29361         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29363 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29365         * malloc/malloc.c: Fix typo in comment.
29367 2014-08-09  Allan McRae  <allan@archlinux.org>
29369         * Regenerate libc.po.
29371 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29373         * intl/tst-gettext2.sh: Check every lang file for creation.
29375 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29377         * sysdeps/aarch64/fpu/math_private.h
29378         (libc_feholdsetround_noex_aarch64_ctx): New function.
29380 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29382         * sysdeps/arm/armv6/strcpy.S (strcpy):
29383         Fix performance issue in misaligned cases.
29385 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29387         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29388         Move definition from termios.h.
29389         (struct termio): Likewise.
29390         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29391         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29392         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29393         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29394         Likewise.
29395         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29396         Move definition to ioctl-types.h
29397         (struct termio): Likewise.
29398         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29399         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29400         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29401         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29402         Likewise.
29404 2014-08-05  Richard Henderson  <rth@redhat.com>
29406         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29407         exceptions.
29408         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29409         Add fraiseexcpt.
29410         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29411         Use __feraiseexcept.
29412         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29413         Protect libm symbols with IS_IN_libm.
29415         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29417 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29419         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29421 2014-08-04  Will Newton  <will.newton@linaro.org>
29423         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29424         file.
29426 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29428         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29429         variants for each function.
29431 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29433         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29434         appended ...
29435         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29436         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29437         appended ...
29438         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29439         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29440         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29441         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29442         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29443         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29444         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29445         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29446         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29447         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29448         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29449         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29450         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29451         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29452         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29453         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29454         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29455         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29456         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29457         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29458         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29459         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29460         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29461         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29462         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29474         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29475         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29476         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29477         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29478         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29480         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29482         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29484         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29485         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29486         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29488         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29489         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29490         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29491         Update #include.
29492         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29493         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29495 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29497         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29498         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29499         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29500         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29501         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29502         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29504 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29506         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29507         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29508         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29509         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29511 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29513         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29514         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29515         (__libc_vfork): Define function under this name.
29516         (__vfork): Define as an alias.
29517         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29518         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29520 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29522         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29523         that was previously under [RESET_PID].
29524         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29526 2014-08-04  Andreas Schwab  <schwab@suse.de>
29528         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29530 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29532         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29533         (main): Likewise.
29535 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29537         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29539 2014-08-01  Richard Henderon  <rth@redhat.com>
29541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29542         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29543         typo in exact zero test.
29544         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29545         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29548 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29550         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29551         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29552         * sysdeps/arm/sysdep.h: ... here.
29553         [!__ASSEMBLER__]: Include <stdint.h>.
29555 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29557         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29558         (HAVE_WCTYPE_H): Likewise.
29559         (HAVE_ISWCTYPE): Likewise.
29560         (ENABLE_NLS): Likewise.
29561         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29562         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29564         * posix/regex_internal.c: Check if DEBUG is defined and is
29565         set.
29567         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29568         (HAVE_MBSRTOWCS): Likewise.
29569         * posix/fnmatch.c: Include string.h unconditionally.
29571 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29573         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29574         reversal.
29576 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29578         * sysdeps/generic/safe-fatal.h: New file.
29579         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29580         * nptl/forward.c: Include it.
29581         (__pthread_unwind): Use __safe_fatal as default action, rather
29582         than a bogus use of INTERNAL_SYSCALL that could never work.
29584         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29585         * configure.ac (libc_cv_builtin_trap): New test.
29586         * configure: Regenerated.
29587         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29588         (ABORT_INSTRUCTION): Define using __builtin_trap.
29590         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29591         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29592         * sysdeps/nptl/nptl-signals.h: New file.
29593         * nptl/pthreadP.h: Include <nptl-signals.h>.
29595 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29597         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29598         (ONE_DIRECTION): Define.
29599         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29600         (ONE_DIRECTION): Define.
29601         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29602         (ONE_DIRECTION): Define.
29604 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29606         * sysdeps/s390/Makefile: Delete file.
29607         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29608         * sysdeps/s390/__longjmp.c: Delete file.
29609         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29610         Remove fields __flags and __reserved.
29611         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29612         and add versioning.
29613         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29614         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29615         * sysdeps/s390/rtld-setjmp.S: Likewise.
29616         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29617         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29618         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29619         * sysdeps/s390/s390-32/setjmp.S: ... here.
29620         Add versioning.
29621         (__sigsetjmp): Remove setting __flags field.
29622         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29623         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29624         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29625         * sysdeps/s390/s390-64/setjmp.S: ... here.
29626         Add versioning.
29627         (__sigsetjmp): Remove setting __flags field.
29628         * sysdeps/s390/setjmp.S: Delete file.
29629         * sysdeps/s390/sigjmp.c: Likewise.
29630         * sysdeps/s390/v1-longjmp.c: Likewise.
29631         * sysdeps/s390/v1-setjmp.h: Likewise.
29632         * sysdeps/s390/v1-sigjmp.c: Likewise.
29633         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29634         Remove v1-longjmp_chk.
29635         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29636         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29637         Include debug/longjmp_chk.c and add versioning.
29638         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29639         Include nptl/pt-longjmp.c and add versioning.
29640         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29641         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29642         Include __longjmp.c.
29643         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29644         Move to ...
29645         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29646         (__getcontext): Remove setting __flags field.
29647         Add versioning.
29648         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29649         Don't restore upper high grps.
29650         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29651         Likewise.
29652         (__swapcontext): Remove setting uc_flags field.
29653         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29654         Delete file.
29655         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29656         Include __longjmp.c.
29657         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29658         Move to ...
29659         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29660         (__getcontext): Remove setting __flags field.
29661         Add versioning.
29662         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29663         (__swapcontext): Remove setting uc_flags field.
29664         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29665         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29666         Remove fields uc_high_gprs and __reserved.
29667         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29668         New file with reverted content.
29669         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29670         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29671         Regenerated.
29672         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29673         Regenerated.
29675 2014-07-31  Andreas Schwab  <schwab@suse.de>
29677         * config.h.in (HAVE_IFUNC): Define to 0.
29678         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29679         definedness.
29681 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29684         memmove-avx-unaligned, memcpy-avx-unaligned and
29685         mempcpy-avx-unaligned.
29686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29687         Add tests for AVX memcpy functions.
29688         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29689         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29690         memcpy_chk.
29691         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29692         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29693         memmove_chk.
29694         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29695         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29696         mempcpy_chk.
29697         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29698         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29699         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29701 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29703         [BZ #17213]
29704         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29705         powerpc64le.
29707 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29709         [BZ #16839]
29710         * manual/llio.texi: Add section about open file description locks.
29711         * manual/examples/ofdlocks.c: Example of open file description
29712         lock usage.
29713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29714         F_OFD_SETLK, and F_OFD_SETLKW.
29716 2014-07-23  Allan McRae  <allan@archlinux.org>
29718         * po/es.po: Update Spanish translation from translation project.
29720 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29722         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29724 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29726         [BZ #17078]
29727         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29728         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29729         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29731 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29733         [BZ #17088]
29734         * math/fesetenv.c (__fesetenv)
29735         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29736         * math/feupdateenv.c (__feupdateenv)
29737         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29739         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29740         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29741         (__ASSUME_SOCKETCALL): Do not define.
29743         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29744         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29745         (__ASSUME_SOCKETCALL): Do not define.
29746         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29747         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29749         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29751         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29753         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29755         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29756         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29757         (__ASSUME_SOCKETCALL): Do not define.
29758         (__ASSUME_IPC64): Define unconditionally.
29759         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29760         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29761         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29762         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29763         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29764         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29765         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29766         Likewise.
29768         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29769         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29770         (__ASSUME_SOCKETCALL): Do not define.
29771         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29772         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29773         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29774         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29775         (__ASSUME_REQUEUE_PI): Define unconditionally.
29776         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29777         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29778         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29779         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29780         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29781         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29783         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29784         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29785         (__ASSUME_SOCKETCALL): Do not define.
29786         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29788         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29789         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29790         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29791         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29793         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29794         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29795         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29796         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29798         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29800         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29801         (__ASSUME_GETCPU_SYSCALL): Likewise.
29803         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29804         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29805         cases for individual architectures.
29806         * sysdeps/gnu/configure: Regenerated.
29807         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29808         LIBC_SLIBDIR_RTLDDIR.
29809         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29810         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29811         LIBC_SLIBDIR_RTLDDIR.
29812         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29814         LIBC_SLIBDIR_RTLDDIR.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29816         Regenerated.
29817         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29818         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29819         file.
29820         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29821         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29822         file.
29823         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29824         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29825         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29826         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29828         * sysdeps/aarch64/shlib-versions: Move to ...
29829         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29830         * sysdeps/alpha/shlib-versions: Move to ...
29831         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29832         * sysdeps/arm/shlib-versions: Move to ...
29833         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29834         * sysdeps/hppa/shlib-versions: Move all contents except for
29835         libgcc_s entry to ...
29836         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29837         entry from ...
29838         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29839         * sysdeps/ia64/shlib-versions: Move to ...
29840         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29841         entry from ...
29842         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29843         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29844         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29845         * sysdeps/microblaze/shlib-versions: Move to ...
29846         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29847         * sysdeps/mips/shlib-versions: Move to ...
29848         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29849         entry from ...
29850         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29851         * sysdeps/tile/shlib-versions: Move to ...
29852         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29853         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29854         from ...
29855         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29856         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29857         entry from ...
29858         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29860 2014-07-17  Will Newton  <will.newton@linaro.org>
29862         * sysdeps/arm/bits/atomic.h
29863         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29864         (__arch_compare_and_exchange_bool_16_int): Likewise.
29865         (__arch_compare_and_exchange_bool_64_int): Likewise.
29867         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29868         into an #else block.
29870 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29872         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29873         just Linux configurations.  Test empirically that the compiler sets
29874         __ARM_EABI__, rather than using the tuple to decide.
29875         * sysdeps/arm/preconfigure: Regenerated.
29876         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29877         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29878         contents appended ...
29879         * sysdeps/arm/configure.ac: ... here.
29880         * sysdeps/arm/configure: Regenerated.
29882 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29884         * nptl/pthread_kill.c: New file.
29885         * nptl/pthread_sigmask.c: New file.
29886         * nptl/pthread_sigqueue.c: New file.
29888         * sysdeps/nptl/lowlevellock.h: New file.
29889         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29890         * sysdeps/nptl/lowlevellock-futex.h: New file.
29892         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29893         Remove dead declarations.
29895 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29897         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29898         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29899         config-cflags-avx2.
29900         * sysdeps/x86_64/configure.ac: Likewise.
29901         * sysdeps/i386/configure: Regenerated.
29902         * sysdeps/x86_64/configure: Likewise.
29903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29904         memset-avx2 only if config-cflags-avx2 is yes.
29905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29906         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29907         defined.
29908         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29909         only if HAVE_AVX2_SUPPORT is defined.
29910         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29912 2014-07-14  Alan Modra  <amodra@gmail.com>
29914         [BZ #17153]
29915         * elf/elf.h (DT_PPC64_NUM): Correct value.
29916         * NEWS: Add to fixed bug list.
29918 2014-07-13  Jim Meyering  <meyering@fb.com>
29920         [BZ 17150]
29921         regex: don't deref NULL upon heap allocation failure
29922         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29923         failure in one more place.
29924         To trigger the segfault, configure grep -with-included-regex,
29925         build it, and run these commands:
29926         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29928 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29930         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29932 2014-07-11  Richard Henderson  <rth@redhat.com>
29934         * sysdeps/aarch64/libm-test-ulps: Update.
29936 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29938         [BZ #17135]
29939         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29940         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29941         (__nptl_setxid): Initialize error member.  Call
29942         __nptl_setxid_error.
29943         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29944         * nptl/descr.h (struct xid_command): Add error member.
29945         * nptl/tst-setuid3.c: New file.
29946         * nptl/Makefile (tests): Add it.
29948 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29950         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29951         New define.
29952         (__lll_trylock): Use __lll_base_trylock.
29953         (__lll_cond_trylock): Likewise.
29955 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29957         * nptl/pthread_create.c (start_thread): Use atomic_or and
29958         lll_futex_wake directly rather than lll_robust_dead.
29959         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29960         (lll_robust_dead): Macro removed.
29961         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29962         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29963         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29964         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29965         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29966         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29967         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29968         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29969         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29970         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29971         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29972         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29973         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29974         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29975         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29977         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29978         Use atomic_compare_and_exchange_val_acq directly rather than
29979         lll_robust_trylock.
29980         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29981         (__lll_robust_trylock, lll_robust_trylock): Removed.
29982         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29983         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29984         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29985         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29986         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29987         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29988         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29989         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29990         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29991         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29992         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29993         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29994         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29995         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29997 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29999         * manual/locale.texi (Locale Names): New section documenting
30000         locale name syntax.  Adjust menu and node chaining accordingly.
30001         (Choosing Locale): Reference Locale Names, Locale Categories.
30002         Mention setting LC_ALL=C.  Reflect that name syntax is now
30003         documented.
30004         (Locale Categories): New section title.  Reference Locale Names.
30005         LC_ALL is an environment variable, but not a category.
30006         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30007         description, now in Locale Name.  Reference that section.  Locale
30008         name syntax is now documented.
30010 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30012         [BZ #17137]
30013         * locale/findlocale.c (name_present, valid_locale_name): New
30014         functions.
30015         (_nl_find_locale): Use the loc_name variable to store name
30016         candidates.  Call name_present and valid_locale_name to check and
30017         validate locale names.  Return an error if the locale is invalid.
30019 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30021         * locale/setlocale.c (setlocale): Use strdup for allocating
30022         composite name copy.
30024 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30026         Sync up with gnulib.
30027         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30028         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30029         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30030         and _GL_ARG_NONNULL.
30031         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30032         [!_LIBC]: Include code for Windows and Cygwin.
30033         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30034         Include prototype for int strerror_r.
30035         [!_LIBC] (is_open): New function.
30036         (flush_stdout): New function.
30037         (print_errno_message): Use it.
30038         (error): Likewise.
30039         (error_at_line): Likewise.
30040         (error_tail) Add function attribute macros.  Use
30041         __builtin_expect.
30043         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30045         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30047         * io/ftw.c: Include sys/param.h unconditionally.
30049         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30051         [BZ #17125]
30052         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30053         libc_freeres_ptr.
30054         (freecache): New function to free CACHE on exit.
30056         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30057         initialization.
30059 2014-07-09  David S. Miller  <davem@davemloft.net>
30061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30063         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30064         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30065         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30066         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30067         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30068         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30069         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30070         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30071         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30072         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30073         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30074         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30075         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30077 2014-07-09  Andreas Schwab  <schwab@suse.de>
30079         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30080         output.
30081         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30082         (do_test): Likewise.
30084         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30086 2014-07-09  Will Newton  <will.newton@linaro.org>
30088         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30089         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30090         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30091         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30092         * sysdeps/hppa/start.S (_start): Likewise.
30094 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30096         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30098         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30099         defined.
30101 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30103         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30104         after checking that it is non-NULL.
30106         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30108 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30110         * sysdeps/powerpc/memmove.c: Remove file.
30111         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30112         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30113         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30114         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30115         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30116         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30117         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30118         string memmove instead of removed powerpc one.
30120         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30121         [weak_alias]: Fix compiler warning due trailing data.
30122         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30123         [weak_alias]: Likewise.
30124         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30125         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30128         (__libc_ifunc_impl_list): Add memmove functions.
30130 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30132         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30133         Remove code.
30134         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30135         Likewise.
30136         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30137         Likewise.
30138         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30139         Likewise.
30140         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30141         Likewise.
30142         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30143         Likewise.
30144         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30145         Likewise.
30146         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30147         Likewise.
30148         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30149         Likewise.
30150         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30151         Likewise.
30152         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30153         Likewise.
30154         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30155         Likewise.
30156         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30157         Likewise.
30158         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30159         Likewise.
30160         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30161         Likewise.
30162         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30163         Likewise.
30164         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30165         Likewise.
30167 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30170         to avoid alignment traps in non-cacheable memory.
30171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30174         multiarch objects.
30175         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30176         file: multiarch power7 memmove.
30177         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30178         multiarch default memmove.
30179         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30180         multiarch memove for powerpc32/power4.
30182         * string/bcopy.c: Use full path to include memmove.c.
30183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30184         multiarch objects.
30185         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30186         bcopy for powerpc64.
30187         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30188         bcopy for powerpc64.
30189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30190         and memmove implementations.
30191         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30192         optimized multiarch memmove for POWER7/powerpc64.
30193         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30194         default multiarch memmove for powerpc64.
30195         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30196         multiarch for powerpc64.
30197         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30198         for POWER7/powerpc64.
30199         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30200         memmove for POWER7/powerpc64.
30202         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30203         glibc default one.
30205         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30206         __ELF_NATIVE_CLASS equal to 64.
30208 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30210         * sysdeps/nptl/lowlevellock.h: File removed.
30212         * NEWS: NPTL is no longer an add-on!
30213         * nptl/internaltypes.h: Moved ...
30214         * sysdeps/nptl/internaltypes.h: ... here.
30215         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30216         * sysdeps/nptl/fork.c: Likewise.
30217         * sysdeps/nptl/gai_misc.h: Likewise.
30218         * sysdeps/nptl/librt-cancellation.c: Likewise.
30219         * sysdeps/nptl/jmp-unwind.c: Likewise.
30220         * sysdeps/nptl/setxid.h: Likewise.
30221         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30222         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30223         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30224         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30225         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30226         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30227         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30228         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30229         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30230         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30231         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30232         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30233         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30234         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30235         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30236         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30237         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30238         * nptl/Makeconfig: Moved ...
30239         * sysdeps/nptl/Makeconfig: ... here.
30240         * nptl/configure: File removed.
30241         * nptl/ANNOUNCE: File removed.
30242         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30243         * sysdeps/unix/sysv/linux/configure: Regenerated.
30245         * nptl/Makefile (routines): Add libc_pthread_init,
30246         libc_multiple_threads, register-atfork and unregister-atfork.
30247         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30248         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30249         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30250         pthread-pi-defines.sym, structsem.sym.
30251         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30252         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30253         [$(subdir) = nptl] (tests): Add tst-setgetname.
30254         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30255         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30256         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30257         [!LIBC_SIGACTION]: Remove aliases.
30258         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30259         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30260         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30261         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30262         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30263         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30265         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30266         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30267         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30268         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30269         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30270         __libc_allocate_rtsig_private.
30271         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30272         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30273         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30274         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30275         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30276         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30277         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30278         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30279         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30280         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30281         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30282         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30283         * nptl/internaltypes.h: ... here.
30284         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30285         * sysdeps/nptl/jmp-unwind.c: ... here.
30286         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30287         * nptl/libc-lowlevellock.c: ... here.
30288         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30289         * nptl/libc_multiple_threads.c: ... here.
30290         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30291         * nptl/libc_pthread_init.c: ... here.
30292         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30293         * nptl/lowlevelbarrier.sym: ... here.
30294         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30295         * nptl/lowlevelcond.sym: ... here.
30296         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30297         * nptl/lowlevellock.c: ... here.
30298         * nptl/lowlevellock.h: Moved ...
30299         * sysdeps/nptl/lowlevellock.h: ... here.
30300         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30301         * nptl/lowlevelrobustlock.c: ... here.
30302         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30303         * nptl/lowlevelrobustlock.sym: ... here.
30304         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30305         * nptl/lowlevelrwlock.sym: ... here.
30306         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30307         * nptl/pt-fork.c: ... here.
30308         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30309         * nptl/pthread-pi-defines.sym: ... here.
30310         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30311         * nptl/pthread_attr_getaffinity.c: ... here.
30312         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30313         * nptl/pthread_attr_setaffinity.c: ... here.
30314         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30315         * nptl/pthread_mutex_cond_lock.c: ... here.
30316         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30317         Update #include.
30318         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30319         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30320         * nptl/pthread_once.c: ... here, replacing old file.
30321         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30322         * nptl/pthread_yield.c: ... here.
30323         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30324         * nptl/register-atfork.c: ... here.
30325         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30326         * nptl/sem_post.c: ... here.
30327         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30328         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30329         * nptl/sem_timedwait.c: ... here.
30330         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30331         * nptl/sem_trywait.c: ... here.
30332         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30333         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30334         * nptl/sem_wait.c: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30336         * nptl/structsem.sym: ... here.
30337         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30338         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30339         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30340         * nptl/unregister-atfork.c: ... here.
30341         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30342         * nptl/unwindbuf.sym: ... here.
30343         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30344         * sysdeps/nptl/fork.c: ... here.
30345         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30346         * sysdeps/nptl/fork.h: ... here.
30347         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30348         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30349         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30350         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30351         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30352         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30353         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30354         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30355         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30356         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30357         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30358         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30359         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30360         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30361         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30362         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30363         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30364         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30365         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30366         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30367         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30368         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30369         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30370         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30371         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30372         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30373         * sysdeps/unix/sysv/linux/raise.c: ... here.
30374         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30375         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30376         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30377         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30378         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30379         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30380         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30381         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30382         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30383         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30384         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30385         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30386         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30387         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30388         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30390 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30392         * sysdeps/generic/memcopy.h: Add comment for
30393         MEMCPY_OK_FOR_FWD_MEMMOVE.
30395 2014-07-04  Will Newton  <will.newton@linaro.org>
30397         * string/memchr.c: Merge from gnulib.
30398         [_LIBC]: Remove conditionals.
30399         (__ptr_t): Remove define.
30400         (LONG_MAX_32_BITS): Likewise.
30401         (LONG_MAX): Likewise.
30402         (MEMCHR): Use ANSI prototype and optimize algorithm.
30404         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30406 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30408         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30409         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30411         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30412         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30413         in a bare environment with no <stdlib.h> installed.
30414         * sysdeps/nptl/configure: Regenerated.
30416         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30418         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30419         AC_EGREP_CPP for kernel header checks, so they only succeed if
30420         including <linux/version.h> actually works right.
30421         * sysdeps/unix/sysv/linux/configure: Regenerated.
30423         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30424         value so it's not diagnosed as unused.
30426         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30427         thing) with "ifeq ($(subdir),rt)".
30429 2014-07-03  Richard Henderson  <rth@redhat.com>
30431         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30432         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30433         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30435         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30436         (math_force_eval): New.
30438         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30439         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30441         * sysdeps/alpha/fpu/s_round.c: Remove file.
30442         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30444         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30445         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30446         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30447         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30448         (_dl_start, print_statistics): Likewise.
30449         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30450         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30452         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30453         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30454         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30455         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30456         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30457         (HP_SMALL_TIMING_AVAIL): Define.
30458         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30459         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30460         (HP_SMALL_TIMING_AVAIL): Define.
30461         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30462         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30464         * sysdeps/aarch64/hp-timing.h: New file.
30466         * sysdeps/generic/hp-timing.h: Remove dead comment.
30467         * sysdeps/generic/hp-timing-common.h: New file.
30468         * sysdeps/alpha/hp-timing.h: Include it.
30469         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30470         * sysdeps/i386/i686/hp-timing.h: Likewise.
30471         * sysdeps/ia64/hp-timing.h: Likewise.
30472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30473         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30475         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30476         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30477         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30478         (hp_timing_t): New.
30480         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30481         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30482         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30483         * elf/rtld.c (_dl_start_final): Likewise.
30484         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30485         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30486         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30487         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30488         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30490         (HP_TIMING_DIFF_INIT): Remove.
30491         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30492         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30493         (HP_TIMING_DIFF_INIT): Remove.
30494         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30495         * sysdeps/i386/i686/hp-timing.c: Remove file.
30496         * sysdeps/x86_64/hp-timing.c: Remove file.
30497         * sysdeps/ia64/hp-timing.c: Remove file.
30498         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30499         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30500         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30501         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30503         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30504         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30505         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30506         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30508         (HP_TIMING_ACCUM): Remove.
30509         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30511         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30513         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30514         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30515         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30516         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30518         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30520         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30522         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30524 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30526         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30528 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30530         Sync up with gettext.
30531         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30532         [_MSC_VER]: Include malloc.h
30533         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30534         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30535         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30536         TEMP_FAILURE_RETRY.  Cast return of alloca.
30537         [!_LIBC] Call gl_rwlock_init.
30538         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30540 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30542         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30543         before checking its value.
30545 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30547         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30549         * debug/memcpy_chk.c: Don't include pagecopy.h.
30550         * debug/mempcpy_chk.c: Likewise.
30551         * string/memcpy.c: Likewise.
30552         * string/memmove.c: Likewise.
30553         * sysdeps/powerpc/memmove.c: Likewise.
30554         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30555         definition of PAGE_COPY_FWD_MAYBE here...
30556         * sysdeps/generic/pagecopy.h: ... from here.
30557         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30559 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30560             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30562         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30564         optimizations.
30565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30566         (__libc_ifunc_impl_list): Likewise.
30567         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30568         multiarch strcat for PPC64.
30569         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30570         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30572 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30574         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30576 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30578         * intl/loadmsgcat.c: Remove declaration of
30579         get_sysdep_segment_value.
30580         (get_sysdep_segment_value): Use ISO C style.
30581         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30582         semicolon.  Fix typo and formatting in comment.
30583         (_nl_unload_domain): Use ISO C style.
30585         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30587 2014-07-02  Will Newton  <will.newton@linaro.org>
30589         * malloc/obstack.c: Merge from gnulib master.
30590         [HAVE_CONFIG_H]: Remove conditional code.
30591         [!_LIBC]: Include config.h.
30592         [!ELIDE_CODE]: Don't include inttypes.h, include
30593         stdint.h unconditionally.
30594         (print_and_abort): Mark as _Noreturn.
30595         (_obstack_allocated_p): Mark as __attribute_pure__.
30596         (obstack_free): Rename to __obstack_free.
30597         [!__attribute__]: Remove conditional code.
30598         * malloc/obstack.h: Merge from gnulib master.
30599         [__cplusplus]: Move conditional down.
30600         [!__attribute_pure__]: Define __attribute_pure__ here
30601         if it is not already defined.
30602         (_obstack_memory_used): Mark as __attribute_pure__.
30603         [!__obstack_free]: Define as obstack_free.
30604         [__GNUC__]: Remove check for ancient NeXT gcc.
30606 2014-07-02  Will Newton  <will.newton@linaro.org>
30607             Paul Eggert  <eggert@cs.ucla.edu>
30609         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30611 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30613         * resolv/gethnamaddr.c: Add comment warning that the file is
30614         not maintained.
30616 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30618         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30619         entries.
30621         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30622         entry for aio_cancel and aio_cancel64.
30623         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30624         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30625         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30626         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30627         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30628         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30629         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30630         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30631         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30632         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30633         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30634         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30635         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30637 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30639         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30640         * nptl/pthread_mutex_lock.c: Likewise.
30641         * nptl/pthread_mutex_timedlock.c: Likewise.
30642         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30644 2014-07-01  Richard henderson  <rth@redhat.com>
30646         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30647         (__isnan, __isnanl): Remove.
30648         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30650         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30652 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30654         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30656 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30658         * resolv/nss_dns/dns-host.c (getanswer_r)
30659         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30661 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30664         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30665         undefine.
30666         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30667         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30669 2014-07-01  Roland McGrath <roland@hack.frob.com>
30671         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30672         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30674         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30675         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30677         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30678         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30679         ... here.
30680         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30681         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30683         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30684         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30685         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30686         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30688         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30689         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30690         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30691         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30692         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30693         Moved ...
30694         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30695         ... here.
30696         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30697         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30698         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30699         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30700         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30701         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30703         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30704         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30705         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30706         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30707         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30708         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30709         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30710         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30711         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30713         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30714         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30715         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30716         ... here.
30717         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30718         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30719         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30720         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30721         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30722         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30723         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30724         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30726 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30728         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30729         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30730         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30731         Add sysdep.
30733 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30737 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30739         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30740         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30742         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30744         * sysdeps/arm/libm-test-ulps: Regenerated.
30746 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30747             Roland McGrath <roland@hack.frob.com>
30749         * test-skeleton.c (signal_handler): Kill the whole process group
30750         before killing the child individually.
30751         (main): Report any failure on `setpgid'.
30753 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30755         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30756         from _TLS_H to _ARM_NPTL_TLS_H.
30757         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30758         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30760 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30762         [BZ #16539]
30763         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30764         (__expm1l): Return argument unchanged when small but not
30765         subnormal.
30767         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30768         include macro name.
30769         (_FP_UNPACK_RAW_1_P): Likewise.
30770         (_FP_PACK_RAW_1): Likewise.
30771         (_FP_PACK_RAW_1_P): Likewise.
30772         (_FP_MUL_MEAT_1_wide): Likewise.
30773         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30774         (_FP_MUL_MEAT_1_hard): Likewise.
30775         (_FP_DIV_MEAT_1_imm): Likewise.
30776         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30777         (_FP_DIV_MEAT_1_udiv): Likewise.
30778         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30779         (_FP_UNPACK_RAW_2): Likewise.
30780         (_FP_UNPACK_RAW_2_P): Likewise.
30781         (_FP_PACK_RAW_2): Likewise.
30782         (_FP_PACK_RAW_2_P): Likewise.
30783         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30784         (_FP_MUL_MEAT_2_wide): Likewise.
30785         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30786         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30787         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30788         (_FP_MUL_MEAT_2_gmp): Likewise.
30789         (_FP_DIV_MEAT_2_udiv): Likewise.
30790         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30791         (_FP_FRAC_SRL_4): Likewise.
30792         (_FP_FRAC_SRST_4): Likewise.
30793         (_FP_FRAC_SRS_4): Likewise.
30794         (_FP_UNPACK_RAW_4): Likewise.
30795         (_FP_UNPACK_RAW_4_P): Likewise.
30796         (_FP_PACK_RAW_4): Likewise.
30797         (_FP_PACK_RAW_4_P): Likewise.
30798         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30799         (_FP_MUL_MEAT_4_wide): Likewise.
30800         (_FP_MUL_MEAT_4_gmp): Likewise.
30801         (umul_ppppmnnn): Likewise.
30802         (_FP_DIV_MEAT_4_udiv): Likewise.
30803         (__FP_FRAC_ADD_4): Likewise.
30804         (__FP_FRAC_SUB_3): Likewise.
30805         (__FP_FRAC_SUB_4): Likewise.
30806         (__FP_FRAC_DEC_3): Likewise.
30807         (__FP_FRAC_DEC_4): Likewise.
30808         (__FP_FRAC_ADDI_4): Likewise.
30809         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30810         (_FP_FRAC_SRL_8): Likewise.
30811         (_FP_FRAC_SRS_8): Likewise.
30813         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30814         include macro name.
30815         (FP_UNPACK_RAW_EP): Likewise.
30816         (FP_PACK_RAW_E): Likewise.
30817         (FP_PACK_RAW_EP): Likewise.
30818         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30819         (_FP_ISSIGNAN): Likewise.
30820         (_FP_ADD_INTERNAL): Likewise.
30821         (_FP_FMA): Likewise.
30822         (_FP_CMP): Likewise.
30823         (_FP_SQRT): Likewise.
30824         (_FP_TO_INT): Likewise.
30825         (_FP_FROM_INT): Likewise.
30826         (FP_EXTEND): Likewise.
30827         (_FP_DIV_MEAT_N_loop): Likewise.
30829 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30831         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30832         throughout.
30834 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30836         [BZ #17097]
30837         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30838         result with correct sign in case of exponents that produce
30839         overflow except for X very close to 1.
30841 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30843         mktime: merge #if/#ifdef usage from glibc
30844         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30845         as that works with both Glibc's and Gnulib's style.
30846         See thread starting at Siddhesh Poyarekar's bug report at:
30847         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30849 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30852         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30853         * sysdeps/tile/tilegx/memmove.c: Remove file.
30855 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30857         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30858         abi-name definition.
30859         * scripts/soversions.awk: Do not handle or generate ABI lines.
30860         * shlib-versions: Remove ABI entries.
30861         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30862         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30864 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30867         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30868         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30869         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30871         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30873         Moved ...
30874         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30875         ... here.
30876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30877         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30879         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30881         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30883         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30885         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30887         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30889         Moved ...
30890         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30892         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30894         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30896         Moved ...
30897         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30899         Moved ...
30900         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30902         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30904         Moved ...
30905         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30907         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30909         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30911         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30913         Moved ...
30914         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30916         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30917         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30918         Moved ...
30919         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30920         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30921         Moved ...
30922         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30924         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30926         Moved ...
30927         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30928         ... here.
30929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30930         Identical file removed.
30931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30932         Moved ...
30933         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30935         Identical file removed.
30936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30937         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30939         Moved ...
30940         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30942         Identical file removed.
30943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30944         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30946         Identical file removed.
30947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30948         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30950         Identical file removed.
30951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30952         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30954         Identical file removed.
30955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30956         Moved ...
30957         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30959         Identical file removed.
30960         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30961         Moved ...
30962         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30964         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30966         Identical file removed.
30967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30968         Moved ...
30969         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30970         ... here.
30971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30972         Identical file removed.
30973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30974         Moved ...
30975         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30977         Identical file removed.
30978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30979         Moved ...
30980         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30982         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30984         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30986         Moved ...
30987         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30988         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30989         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30991         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30992         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30993         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30994         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30995         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30997 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30999         [BZ #17092]
31000         * nscd/nscd.c (monitor_child): Return exit status of child
31001         instead of return value from wait syscall.
31003 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31005         * configure.ac (libc_commonpagesize): Remove variable.
31006         (libc_relro_required): Likewise.
31007         (libc_cv_z_relro): Remove configure test.
31008         * configure: Regenerated.
31009         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31010         variable.
31011         (libc_relro_required): Likewise.
31012         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31013         (libc_relro_required): Likewise.
31014         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31015         (libc_relro_required): Likewise.
31016         * sysdeps/arm/preconfigure: Regenerated.
31017         * sysdeps/ia64/preconfigure: Remove file.
31018         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31019         variable.
31020         (libc_relro_required): Likewise.
31022         [BZ #16561]
31023         [BZ #16562]
31024         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31025         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31026         recompute overflowing results in original rounding mode.
31027         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31028         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31029         recompute overflowing results in original rounding mode.
31030         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31031         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31032         recompute overflowing results in original rounding mode.
31033         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31034         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31035         recompute overflowing results in original rounding mode.
31036         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31037         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31038         recompute overflowing results in original rounding mode.
31039         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31040         (libc_feholdsetround_ctx): New macro.
31041         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31042         * sysdeps/i386/fpu/libm-test-ulps: Update.
31043         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31045 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31047         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31048         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31049         corresponding .cpsetup call.
31051 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31053         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31054         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31055         * sysdeps/arm/Makefile [$(subdir) = csu]
31056         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31057         (static-only-routines): Add aeabi_read_tp here.
31058         (shared-only-routines): Add libc-aeabi_read_tp here.
31059         (CFLAGS-libc-start.c): Add -fexceptions here.
31060         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31061         (sysdep_routines, static-only-routines, shared-only-routines):
31062         Don't add to these here.
31063         (CFLAGS-libc-start.c): Likewise.
31065         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31066         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31067         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31068         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31069         * sysdeps/arm/Makefile [$(subdir) = rt]
31070         (librt-sysdep_routines, librt-shared-only-routines):
31071         Append rt-aeabi_unwind_cpp_pr1 here.
31072         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31073         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31074         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31075         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31076         Append nptl-aeabi_unwind_cpp_pr1 here.
31077         (tests): Filter out tst-cleanupx4 here.
31078         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31079         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31080         Don't do those here.
31082 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31084         * scripts/list-sources.sh: Do not handle ports specially.
31086 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31088         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31089         * sysdeps/arm/feupdateenv.c: Likewise.
31091         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31093 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31095         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31096         trailing whitespace removed.
31097         * scripts/config.guess: Update to version 2014-03-23.
31098         * scripts/config.sub: Update to version 2014-05-01
31099         * scripts/install-sh: Update to version 2013-12-25.23.
31100         * scripts/move-if-change: Update from gnulib.
31102 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31104         * debug/memmove_chk.c: Remove pagecopy.h include.
31106 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31108         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31109         identical to gnulib mktime.
31111 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31113         * configure.ac: Do not test for machine being rs6000.  Do not test
31114         for powerpc*-*soft.
31115         * configure: Regenerated.
31117         [BZ #11505]
31118         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31119         test.
31120         * configure: Regenerated.
31121         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31122         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31123         Remove configure test.
31124         * sysdeps/arm/configure: Regenerated.
31125         * sysdeps/nptl/configure.ac: Do not check
31126         libc_cv_asm_cfi_directives.
31127         * sysdeps/nptl/configure: Regenerated.
31128         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31129         * sysdeps/x86_64/nptl/configure: Remove generated file.
31130         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31131         unconditional.
31132         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31134 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31136         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31137         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31138         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31139         it is defined.
31141         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31142         instead of whether it is defined.
31143         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31144         * sysdeps/hppa/dl-machine.h: Likewise.
31145         * sysdeps/ia64/dl-machine.h: Likewise.
31146         * sysdeps/m68k/dl-machine.h: Likewise.
31147         * sysdeps/microblaze/dl-machine.h: Likewise.
31148         * sysdeps/mips/dl-machine.: Likewise.
31149         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31150         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31151         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31152         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31153         * sysdeps/sh/dl-machine.h: Likewise.
31154         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31155         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31156         * sysdeps/tile/dl-machine.h: Likewise.
31157         * sysdeps/x86_64/dl-machine.h: Likewise.
31159         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31160         code.
31161         (verify_persistent_db): Likewise.
31163 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31166         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31170         Moved ...
31171         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31172         ... here.
31173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31174         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31176         Identical file removed.
31177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31178         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31180         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31182         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31186         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31188         Moved ...
31189         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31195         Moved ...
31196         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31198         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31200         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31202         Identical file removed.
31203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31204         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31206         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31208         Moved ...
31209         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31210         ... here.
31211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31212         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31214         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31216         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31218         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31220         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31222         Moved ...
31223         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31225         Moved ...
31226         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31228         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31230         Moved ...
31231         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31233         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31235         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31236         folded into ...
31237         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31238         * sysdeps/unix/sysv/linux/s390/Versions
31239         (libpthread: GLIBC_2.19): New version set.
31240         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31241         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31242         (librt: GLIBC_2.3.3): New version set.
31243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31244         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31245         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31247         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31248         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31249         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31251         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31252         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31253         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31254         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31255         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31257         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31259         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31260         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31261         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31262         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31263         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31265         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31266         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31267         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31268         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31269         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31270         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31271         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31272         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31273         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31274         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31279         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31281         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31283         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31285         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31287         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31289         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31290         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31291         (__libc_vfork): Define the function under this name.
31292         [!NOT_IN_libc] (__vfork): Make this an alias.
31293         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31295         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31296         (__libc_vfork): Define the function under this name.
31297         [!NOT_IN_libc] (__vfork): Make this an alias.
31298         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31299         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31300         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31302         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31303         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31305         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31306         code that was previously under [RESET_PID].
31307         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31308         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31311         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31312         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31313         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31314         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31315         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31316         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31317         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31318         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31319         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31322         Moved ...
31323         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31324         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31325         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31326         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31327         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31328         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31329         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31330         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31331         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31332         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31333         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31334         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31335         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31336         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31337         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31338         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31339         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31340         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31341         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31342         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31343         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31344         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31345         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31346         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31347         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31348         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31349         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31351         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31353 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31355         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31356         that was previously under [RESET_PID].
31357         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31359 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31361         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31362         not undefine and redefine.
31363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31364         [O_CLOEXEC]: Make code unconditional.
31365         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31366         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31367         <kernel-features.h>.
31368         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31369         conditional variable definition.
31370         (shm_open) [O_CLOEXEC]: Make code unconditional.
31371         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31372         code.
31374         * configure.ac (USE_REGPARMS): Don't define here.
31375         * configure: Regenerated.
31376         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31377         * sysdeps/i386/configure: Regenerated.
31379         * nptl/createthread.c: Don't include kernel-features.h.
31380         * nptl/pthread_cancel.c: Likewise.
31381         * nptl/pthread_condattr_setclock.c: Likewise.
31382         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31383         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31384         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31385         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31386         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31387         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31388         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31391         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31392         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31393         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31394         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31395         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31396         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31397         * nscd/gai.c: Likewise.
31398         * nss/nss_db/db-open.c: Likewise.
31399         * sysdeps/generic/ldsodefs.h: Likewise.
31400         * sysdeps/sh/nptl/tls.h: Likewise.
31401         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31402         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31403         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31404         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31405         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31406         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31407         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31408         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31410         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31411         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31412         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31413         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31414         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31415         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31416         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31417         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31418         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31419         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31420         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31423         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31424         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31427         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31429         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31430         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31431         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31432         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31433         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31434         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31435         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31436         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31437         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31438         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31439         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31440         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31441         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31442         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31443         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31444         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31445         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31446         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31447         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31448         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31449         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31450         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31451         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31452         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31453         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31454         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31455         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31456         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31457         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31458         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31481         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31482         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31483         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31484         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31485         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31486         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31487         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31488         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31489         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31490         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31491         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31492         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31493         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31494         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31495         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31496         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31497         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31498         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31499         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31500         * sysdeps/unix/sysv/linux/system.c: Likewise.
31501         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31502         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31503         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31504         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31505         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31506         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31507         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31509         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31510         * configure: Regenerated.
31511         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31513         * configure.ac (base_machine): Do not set specially for particular
31514         machines here.
31515         * configure: Regenerated.
31516         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31517         settings from configure.ac.
31518         * sysdeps/i386/preconfigure: New file.
31519         * sysdeps/s390/preconfigure: Likewise.
31520         * sysdeps/sh/preconfigure: Likewise.
31521         * sysdeps/sparc/preconfigure: Likewise.
31523 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31525         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31526         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31527         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31528         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31529         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31530         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31531         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31532         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31533         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31534         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31535         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31536         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31537         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31538         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31539         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31540         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31541         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31542         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31543         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31545         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31546         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31547         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31548         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31549         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31550         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31551         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31552         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31553         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31554         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31555         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31556         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31557         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31558         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31559         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31560         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31561         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31562         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31563         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31564         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31566         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31567         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31568         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31569         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31570         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31572         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31575         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31576         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31577         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31578         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31579         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31580         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31582         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31585         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31587         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31589         Moved ...
31590         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31591         ... here.
31592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31593         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31595         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31597         Moved ...
31598         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31600         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31602         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31606         Moved ...
31607         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31609         Moved ...
31610         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31612         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31614         Moved ...
31615         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31617         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31619         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31621         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31623         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31625         Moved ...
31626         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31627         ... here.
31628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31629         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31633         Moved ...
31634         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31636         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31638         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31640         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31642         Moved ...
31643         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31645         Moved ...
31646         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31648         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31650         Moved ...
31651         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31653         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31655         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31657 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31659         * timezone/checktab.awk: Update from tzcode 2014e.
31660         * timezone/private.h: Likewise.
31661         * timezone/tzfile.h: Likewise.
31662         * timezone/zdump.c: Likewise.
31663         * timezone/zic.c: Likewise.
31665         * sysdeps/unix/sysv/linux/kernel-features.h
31666         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31668         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31669         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31670         Remove conditional code.
31672 2014-06-25  Will Newton  <will.newton@linaro.org>
31674         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31675         (_dl_arm_cap_flags): Add HWCAP2 values.
31676         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31677         (_DL_HWCAP_COUNT): Increase to 37.
31678         (_DL_HWCAP_LAST): New define.
31679         (_DL_HWCAP2_LAST): New define.
31680         (_dl_procinfo): Add support for printing
31681         AT_HWCAP2 entries.
31682         (_dl_string_hwcap): Use _dl_hwcap_string.
31684 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31688 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31690         * README: Do not mention ports directory.
31692         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31693         Remove macro.
31694         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31695         <kernel-features.h>.
31696         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31697         conditional variable definition.
31698         (__futimes): Update comment.
31699         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31700         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31702         [BZ #16560]
31703         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31704         arguments close to 0.
31705         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31706         Likewise.
31707         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31708         Likewise.
31709         * math/auto-libm-test-in: Add more tests of exp10.
31710         * math/auto-libm-test-out: Regenerated.
31711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31713         * sysdeps/unix/sysv/linux/kernel-features.h
31714         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31715         * sysdeps/unix/sysv/linux/readv.c: Do not include
31716         <kernel-features.h>.
31717         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31718         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31719         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31720         unconditional.
31721         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31722         conditional code.
31723         * sysdeps/unix/sysv/linux/writev.c: Do not include
31724         <kernel-features.h>.
31725         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31726         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31727         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31728         unconditional.
31729         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31730         conditional code.
31732 2014-06-25  Will Newton  <will.newton@linaro.org>
31734         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31735         comment changes throughout the file.  Remove checks
31736         for HAVE_*_H definitions that are not required.
31737         (__gen_tempname): Call abort if an unknown kind value is
31738         passed.
31740 2014-06-25  Andreas Schwab  <schwab@suse.de>
31742         [BZ #17086]
31743         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31744         scalbln, scalblnf, scalblnl in libc.
31746 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31748         [BZ #17086]
31749         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31750         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31751         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31753 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31755         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31756         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31757         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31758         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31759         Update #include.
31760         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31761         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31762         Update #include.
31763         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31764         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31765         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31766         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31767         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31768         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31769         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31770         * sysdeps/x86/bits/semaphore.h: ... here.
31771         * sysdeps/x86/nptl/elide.h: Moved ...
31772         * sysdeps/x86/elide.h: ... here.
31773         * sysdeps/x86_64/nptl/Implies: File removed.
31774         * sysdeps/i386/nptl/Implies: File removed.
31776 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31778         [BZ #16539]
31779         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31780         return the argument for normal arguments with exponent below -64.
31781         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31782         Likewise.
31783         * math/auto-libm-test-in: Add another test of expm1.
31784         * math/auto-libm-test-out: Regenerated.
31786         [BZ #16287]
31787         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31788         calling __erfcl for arguments at least 16.
31789         * math/auto-libm-test-in: Add more tests of erf.
31790         * math/auto-libm-test-out: Regenerated.
31792         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31793         individual architectures.
31794         * sysdeps/unix/sysv/linux/configure: Regenerated.
31795         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31796         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31797         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31798         (ldd_rewrite_script): Define variable.
31799         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31801         file.
31802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31803         generated file.
31804         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31805         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31806         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31807         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31808         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31809         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31810         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31811         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31813 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31815         [BZ #17084]
31816         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31817         Rename member __data.d to __data.__elision_data.
31819 2014-06-24  Wilco  <wdijkstr@arm.com>
31821         * NEWS: Add 16918 to fixed bug list.
31823 2014-06-24  Wilco  <wdijkstr@arm.com>
31825         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31827 2014-06-24  Wilco  <wdijkstr@arm.com>
31829         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31830         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31831         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31832         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31833         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31834         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31835         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31836         Use _FPU_MASK_RM.
31838 2014-06-24  Wilco  <wdijkstr@arm.com>
31840         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31842 2014-06-24  Wilco  <wdijkstr@arm.com>
31844         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31845         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31846         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31847         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31849 2014-06-24  Wilco  <wdijkstr@arm.com>
31851         [BZ #16918]
31852         * sysdeps/arm/feupdateenv.c (feupdateenv):
31853         Rewrite to reduce FPSCR accesses and fix return value.
31855 2014-06-24  Wilco  <wdijkstr@arm.com>
31857         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31858         Optimize to avoid unnecessary FPSCR writes.
31859         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31860         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31861         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31862         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31864 2014-06-24  Wilco  <wdijkstr@arm.com>
31866         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31867         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31868         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31869         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31870         Call libc_fetestexcept_vfp.
31871         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31872         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31873         __SOFTFP__ ifdef so that they can be built for softfp.
31875 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31877         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31878         argument type signed char.
31880         * Makerules (check-abi): Dump diff of symlist if the test
31881         fails.
31883 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31885         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31886         using abort.
31888         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31889         Remove unused variable ST.
31891 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31893         [BZ #16354]
31894         [BZ #17061]
31895         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31896         small arguments before calling __expm1.
31897         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31898         small arguments before calling __expm1f.
31899         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31900         small arguments before calling __expm1l.
31901         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31902         Likewise.
31903         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31904         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31905         spurious underflow for some cosh tests.
31906         * math/auto-libm-test-out: Regenerated.
31907         * sysdeps/i386/fpu/libm-test-ulps: Update.
31909         [BZ #17050]
31910         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31911         (__ieee754_y1): Set errno if return value overflows.
31912         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31913         (__ieee754_y1f): Set errno if return value overflows.
31914         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31915         (__ieee754_y1l): Set errno if return value overflows.
31916         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31917         (__ieee754_y1l): Set errno if return value overflows.
31918         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31919         * math/auto-libm-test-out: Regenerated.
31921         * math/gen-auto-libm-tests.c: Document use of
31922         ignore-zero-inf-sign.
31923         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31924         (input_flags): Add ignore-zero-inf-sign.
31925         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31926         * math/gen-libm-test.pl (generate_testfile): Handle
31927         ignore-zero-inf-sign.
31928         * math/auto-libm-test-in: Mark some cpow tests with
31929         ignore-zero-inf-sign and some with xfail-rounding.
31930         * math/auto-libm-test-out: Regenerated.
31931         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31932         * sysdeps/i386/fpu/libm-test-ulps: Update.
31933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31935         [BZ #16315]
31936         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31937         overflowing or underflowing operations take place with sign of
31938         result.
31939         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31940         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31941         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31942         (__ieee754_pow): Recompute overflowing and underflowing results in
31943         original rounding mode.
31944         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31945         (__powl_helper): Allow negative argument X and scale negated value
31946         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31947         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31948         overflowing or underflowing operations take place with sign of
31949         result.
31950         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31951         Include <math.h>.
31952         * math/auto-libm-test-in: Add more tests of pow.
31953         * math/auto-libm-test-out: Regenerated.
31954         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31955         (pow_tonearest_test_data): Remove.
31956         (pow_test_tonearest): Likewise.
31957         (pow_towardzero_test_data): Likewise.
31958         (pow_test_towardzero): Likewise.
31959         (pow_downward_test_data): Likewise.
31960         (pow_test_downward): Likewise.
31961         (pow_upward_test_data): Likewise.
31962         (pow_test_upward): Likewise.
31963         (main): Don't call removed functions.
31964         * sysdeps/i386/fpu/libm-test-ulps: Update.
31965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31970         Moved ...
31971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31973         Moved ...
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31976         Moved ...
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31979         Moved ...
31980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31982         File removed.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31984         File removed.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31986         File removed.
31987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31988         File removed.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31990         File removed.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31992         File removed.
31993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31994         File removed.
31995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31996         File removed.
31997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31998         File removed.
31999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32000         File removed.
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32002         File removed.
32003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32004         File removed.
32005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32006         Moved ...
32007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32009         Moved ...
32010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32011         ... here.
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32013         Moved ...
32014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32016         Moved ...
32017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32019         Moved ...
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32022         Moved ...
32023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32025         Moved ...
32026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32028         Moved ...
32029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32031         Moved ...
32032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32035         ... here.
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32037         Moved ...
32038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32040         Moved ...
32041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32042         ... here.
32043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32044         Moved ...
32045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32046         ... here.
32047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32048         Moved ...
32049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32050         ... here.
32051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32052         Moved ...
32053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32055         Moved ...
32056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32060         Moved ...
32061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32062         ... here.
32063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32064         Moved ...
32065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32066         ... here.
32067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32068         Moved ...
32069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32071         Moved ...
32072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32074         Moved ...
32075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32077         Moved ...
32078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32080         Moved ...
32081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32082         ... here.
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32084         Moved ...
32085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32087         Moved ...
32088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32090         Moved ...
32091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32093         Moved ...
32094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32098         Moved ...
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32101         Moved ...
32102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32106         ... here.
32107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32108         Moved ...
32109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32110         ... here.
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32112         Moved ...
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32114         ... here.
32115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32116         Moved ...
32117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32119         Moved ...
32120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32122         Moved ...
32123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32125         Moved ...
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32127         ... here.
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32131         ... here.
32132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32133         Moved ...
32134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32135         ... here.
32136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32137         Moved ...
32138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32140         Moved ...
32141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32143 2014-06-23  Will Newton  <will.newton@linaro.org>
32144             Wilco  <wdijkstr@arm.com>
32146         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32147         implementation.  Include get-rounding-mode.h.
32148         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32149         [!libc_feholdsetround_noex_ctx]: Define
32150         libc_feholdsetround_noex_ctx.
32151         [!libc_feholdsetround_noexf_ctx]: Define
32152         libc_feholdsetround_noexf_ctx.
32153         [!libc_feholdsetround_noexl_ctx]: Define
32154         libc_feholdsetround_noexl_ctx.
32155         (libc_feholdsetround_ctx): New function.
32156         (libc_feresetround_ctx): New function.
32157         (libc_feholdsetround_noex_ctx): New function.
32158         (libc_feresetround_noex_ctx): New function.
32160 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32162         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32163         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32164         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32165         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32166         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32167         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32169         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32170         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32171         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32172         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32173         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32174         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32176         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32178         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32180         Moved ...
32181         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32182         ... here.
32183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32184         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32186         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32188         Moved ...
32189         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32191         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32193         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32195         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32197         Moved ...
32198         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32200         Moved ...
32201         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32203         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32205         Moved ...
32206         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32208         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32209         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32210         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32211         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32212         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32213         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32214         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32215         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32216         Moved ...
32217         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32218         ... here.
32219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32220         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32222         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32224         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32225         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32226         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32227         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32228         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32230         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32232         Moved ...
32233         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32235         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32237         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32242         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32243         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32244         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32246         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32247         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32248         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32249         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32250         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32251         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32252         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32253         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32255         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32256         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32257         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32258         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32259         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32261         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32264         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32265         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32266         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32267         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32268         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32269         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32270         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32271         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32273         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32275 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32277         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32278         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32279         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32280         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32281         (IPV6_PMTUDISC_INTERFACE): Likewise.
32282         (IPV6_PMTUDISC_OMIT): Likewise.
32284 2014-06-23  Andreas Schwab  <schwab@suse.de>
32286         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32287         Remove unused errout label.
32289 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32291         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32292         macro: hardware supports Vector Crypto instructions.
32294 2014-06-23  Will Newton  <will.newton@linaro.org>
32296         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32297         rather than __builtin_expect.
32299         * elf/dl-lookup.c (undefined_msg): Remove variable.
32300         (_dl_lookup_symbol_x): Replace undefined_msg with string
32301         literal.
32303         * elf/dl-lookup.c (do_lookup_unique): New function.
32304         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32305         to a separate function.
32307 2014-06-23  Andreas Schwab  <schwab@suse.de>
32309         [BZ #17079]
32310         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32311         before reading the next line.
32313 2014-06-23  Will Newton  <will.newton@linaro.org>
32315         * test-skeleton.c (signal_handler): Use printf and %m
32316         rather than perror.  Use printf rather than fprintf to
32317         stderr.  Use puts rather than fputs to stderr.
32318         (main): Likewise.
32320 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32322         * nscd/nscd.c (thread_info_t): Remove typedef.
32323         (thread_info): Remove variable.
32325 2014-06-21  Allan McRae  <allan@archlinux.org>
32327         * NEWS: Mention CVE-2014-4043.
32329 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32331         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32332         * nptl/smp.h: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32336         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32337         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32338         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32339         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32341         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32342         * nptl/stack-aliasing.h: New file.
32343         * sysdeps/i386/i686/stack-aliasing.h: New file.
32344         * sysdeps/i386/i686/nptl/Makefile: File removed.
32345         * sysdeps/x86_64/stack-aliasing.h: New file.
32346         * sysdeps/x86_64/nptl/Makefile
32347         (CFLAGS-pthread_create.c): Variable removed.
32349         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32350         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32351         old file.
32352         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32353         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32354         old file.
32356 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32359         (__ASSUME_SIGFRAME_V2): Remove macro.
32360         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32361         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32362         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32363         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32364         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32365         Declare as function.  Remove conditional macro definitions.
32366         (__default_rt_sa_restorer): Likewise.
32367         (__default_sa_restorer_v1): Remove declaration.
32368         (__default_sa_restorer_v2): Likewise.
32369         (__default_rt_sa_restorer_v1): Likewise.
32370         (__default_rt_sa_restorer_v2): Likewise.
32371         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32372         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32373         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32375 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32377         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32378         (libpthread-routines): Add sysdep.
32379         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32380         * sysdeps/unix/sysv/linux/sparc/Versions
32381         (libpthread: GLIBC_2.3.3): New version set.
32382         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32383         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32384         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32385         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32386         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32387         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32388         Moved ...
32389         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32390         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32391         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32393         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32394         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32395         * sysdeps/sparc/nptl/sem_init.c: ... here.
32396         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32397         * sysdeps/sparc/nptl/sem_post.c: ... here.
32398         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32399         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32400         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32401         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32402         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32403         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32404         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32405         (libpthread-routines): Add cpu_relax.
32406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32407         File removed.
32408         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32409         (librt: GLIBC_2.3.3): New version set.
32410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32411         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32412         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32413         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32416         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32418         Moved ...
32419         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32421         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32423         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32425         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32427         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32429         Moved ...
32430         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32431         Update #include.
32432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32433         Moved ...
32434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32435         Update #include.
32436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32437         Moved ...
32438         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32439         Update #include.
32440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32441         Moved ...
32442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32443         Update #include.
32444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32445         Moved ...
32446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32447         Update #include.
32448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32449         Moved ...
32450         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32451         Update #include.
32452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32453         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32459         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32461         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32463         Moved ...
32464         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32466         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32468         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32470 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32472         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32473         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32474         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32475         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32476         * nscd/nscd.c: Likewise.
32477         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32478         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32479         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32480         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32482         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32483         <kernel-features.h>.
32484         (init_mq_netlink): Remove conditional have_sock_cloexec
32485         definitions.  Remove code conditional on have_sock_cloexec < 0.
32486         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32487         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32488         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32489         <kernel-features.h>.
32490         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32491         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32493 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32496         Add tests for memset_chk and memset.
32498         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32499         with AVX2_Usable.
32501 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32503         [BZ #16046]
32504         * elf/tst-dl-iter-static.c: New file.
32505         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32507         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32508         error.
32510 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32512         * sysdeps/unix/sysv/linux/kernel-features.h
32513         (__ASSUME_F_GETOWN_EX): Remove macro.
32514         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32515         <kernel-features.h>.
32516         (miss_F_GETOWN_EX): Remove variable or macro.
32517         (do_fcntl): Do not check miss_F_GETOWN_EX.
32518         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32520         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32521         Remove macro.
32522         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32523         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32524         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32526         * sysdeps/unix/sysv/linux/kernel-features.h
32527         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32528         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32529         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32530         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32532 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32534         [BZ #17075]
32535         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32536         Fix calculation of the symbol's value.
32537         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32538         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32539         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32540         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32541         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32542         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32543         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32544         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32545         (modules-names): Add `tst-armtlsdescmod',
32546         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32547         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32548         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32549         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32550         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32551         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32552         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32553         ($(objpfx)tst-armtlsdescloc): New dependency.
32554         ($(objpfx)tst-armtlsdescextnow): Likewise.
32555         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32556         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32557         TLS scheme support.
32558         * sysdeps/arm/configure: Regenerate.
32560 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32562         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32563         (__atfct_seterrno_2): Likewise.
32564         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32565         <kernel-features.h>.
32566         (__ASSUME_ATFCTS): Do not undefine and redefine.
32567         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32568         (__have_atfcts): Remove conditional definition.
32569         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32570         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32571         unreachable if [__ASSUME_ATFCTS].
32572         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32573         not undefine and redefine.
32574         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32575         <kernel-features.h>.
32576         (faccessat) [__NR_faccessat]: Make code unconditional.
32577         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32578         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32579         <kernel-features.h>.
32580         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32581         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32582         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32583         <kernel-features.h>.
32584         (fchownat) [__NR_fchownat]: Make code unconditional.
32585         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32586         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32587         <kernel-features.h>.
32588         (futimesat) [__NR_futimesat]: Make code unconditional.
32589         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32590         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32591         <kernel-features.h>.
32592         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32593         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32594         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32595         <kernel-features.h>.
32596         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32597         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32598         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32599         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32600         <kernel-features.h>.
32601         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32602         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32603         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32604         <kernel-features.h>.
32605         (linkat) [__NR_linkat]: Make code unconditional.
32606         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32607         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32608         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32609         <kernel-features.h>.
32610         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32611         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32612         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32613         <kernel-features.h>.
32614         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32615         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32616         * sysdeps/unix/sysv/linux/openat.c: Do not include
32617         <kernel-features.h>.
32618         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32619         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32620         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32621         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32622         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32623         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32624         <kernel-features.h>.
32625         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32626         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32627         result of INLINE_SYSCALL directly, not via int variable.
32628         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32629         <kernel-features.h>.
32630         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32631         (renameat) [__NR_renameat]: Make code unconditional.
32632         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32633         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32634         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32635         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32636         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32637         (__ASSUME_ATFCTS): Do not undefine and redefine.
32638         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32639         <kernel-features.h>.
32640         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32641         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32642         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32643         <kernel-features.h>.
32644         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32645         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32646         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32647         (__ASSUME_ATFCTS): Do not undefine and redefine.
32648         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32649         <kernel-features.h>.
32650         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32651         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32652         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32653         <kernel-features.h>.
32654         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32655         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32657 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32659         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32661 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32663         [BZ #17069]
32664         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32665         constructed tree before returning error.
32666         * posix/bug-regexp36.c: Expand test case.
32668 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32670         [BZ #6803]
32671         * math/libm-test.inc (scalbln_test_date):
32672         Add errno expectations.
32673         * math/w_scalblnf.c: New File.
32674         Add wrapper which checks for setting errno to ERANGE.
32675         Add weak_alias for corresponding scalbln function.
32676         * math/w_scalbln.c: Likewise.
32677         * math/w_scalblnl.c: Likewise.
32678         * math/Makefile (libm-calls): Add w_scalbln.
32679         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32680         Remove weak_alias for corresponding scalbln function.
32681         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32682         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32683         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32684         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32685         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32686         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32687         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32688         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32689         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32690         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32691         Remove long_double_symbol for scalblnl function in libm, libc.
32692         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32693         Add wrapper which checks for setting errno to ERANGE.
32694         Add long_double_symbol for scalblnl function in libm, libc.
32695         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32696         Remove long_double_symbol for scalblnl in libm.
32697         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32698         Add wrapper which checks for setting errno to ERANGE.
32699         Add long_double_symbol for scalblnl function in libm.
32700         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32701         Do not use wrapper because of own implementation.
32703 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32705         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32706         3 bytes for __pad1 for x32.
32707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32709 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32710             H.J. Lu  <hongjiu.lu@intel.com>
32712         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32713         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32714         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32715         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32716         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32718 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32720         [BZ #17069]
32721         * posix/regcomp.c (parse_expression): Deallocate partially
32722         constructed tree before returning error.
32723         * posix/Makefile.c (tests): Add bug-regex36.
32724         (generated): Add bug-regex36.mtrace.
32725         (tests-special): Add $(objpfx)bug-regex36-mem.out
32726         (bug-regex36-ENV): New variable.
32727         ($(objpfx)bug-regex36-mem.out): New rule.
32728         * posix/bug-regex36.c: New file.
32730 2014-06-19  Will Newton  <will.newton@linaro.org>
32732         * malloc/malloc.c (systrim): If extra is zero then return
32733         early.
32735 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32739 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32741         * sysdeps/aarch64/strchr.S: New file.
32743 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32745         [BZ #17022]
32746         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32747         from arguments -2 or below.
32748         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32749         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32751 2014-06-18  Andreas Schwab  <schwab@suse.de>
32753         [BZ #17062]
32754         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32755         of a bracket expr not to run off the end of the string.
32756         * posix/Makefile (tests): Add tst-fnmatch3.
32757         * posix/tst-fnmatch3.c: New file.
32759 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32761         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32762         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32763         [$(cross-compiling) = no]: Likewise.
32764         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32765         [$(cross-compiling) = no]: Likewise.
32767 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32769         [BZ #17031]
32770         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32771         double, adjusted for any remainder from the high double.
32772         * math/libm-test.inc (nearbyint): Add tests.
32773         (rint): Likewise.
32775 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32777         * nptl/sysdeps/powerpc/Makefile: Moved ...
32778         * sysdeps/powerpc/nptl/Makefile: ... here.
32779         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32780         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32781         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32782         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32783         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32784         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32785         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32786         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32787         * nptl/sysdeps/powerpc/tls.h: Moved ...
32788         * sysdeps/powerpc/nptl/tls.h: ... here.
32790 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32792         [BZ #16681]
32793         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32794         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32795         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32796         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32797         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32798         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32799         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32800         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32801         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32803 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32805         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32807 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32809         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32810         defined operator.
32812         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32813         $TIMEOUTFACTOR.
32815 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32817         [BZ #17058]
32818         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32819         non-executed part of the test.
32821 2014-06-16  Andreas Schwab  <schwab@suse.de>
32823         * string/bits/string2.h (strdup, strndup): Update feature guard.
32825 2014-06-14  David S. Miller  <davem@davemloft.net>
32827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32829 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32831         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32832         that was previously under [RESET_PID].
32833         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32835         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32836         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32837         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32838         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32839         (__libc_vfork): New strong alias.
32840         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32842 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32844         * sysdeps/generic/elide.h: New file.
32846 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32848         * Makefile (installed-headers): Adjust path of pthread.h header.
32850 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32852         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32853         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32854         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32855         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32857         * nptl/sysdeps/s390/Makefile: Moved ...
32858         * sysdeps/s390/nptl/Makefile: ... here.
32859         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32860         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32861         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32862         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32863         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32864         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32865         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32866         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32867         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32868         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32869         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32870         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32871         * nptl/sysdeps/s390/tls.h: Moved ...
32872         * sysdeps/s390/nptl/tls.h: ... here.
32874         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32875         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32877 2014-06-13  David S. Miller  <davem@davemloft.net>
32879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32882         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32886         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32887         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32888         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32889         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32890         Remove RESET_PID cpp guards.
32891         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32892         Remove RESET_PID cpp guards.
32893         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32895 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32897         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32898         __sp to uintptr_t.
32900 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32902         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32903         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32904         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32905         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32907         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32908         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32910         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32912         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32913         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32916         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32917         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32919         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32920         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32923         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32924         (pthread_rwlock_rdlock): Add elision.
32925         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32926         (pthread_rwlock_wrlock): Add elision.
32927         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32928         (pthread_rwlock_trywrlock): Add elision.
32929         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32930         (pthread_rwlock_tryrdlock): Add elision.
32931         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32932         (pthread_rwlock_tryrdlock): Add elision unlock.
32933         * nptl/sysdeps/pthread/pthread.h:
32934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32935         (PTHREAD_RWLOCK_INITIALIZER,
32936         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32937         Handle new elision field.
32938         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32939         * sysdeps/arm/nptl/bits/pthreadtypes.h
32940         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32941         * sysdeps/sh/nptl/bits/pthreadtypes.h
32942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32943         * sysdeps/tile/nptl/bits/pthreadtypes.h
32944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32945         * sysdeps/a/nptl/bits/pthreadtypes.h
32946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32947         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32949         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32951         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32953         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32955         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32957         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32959         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32961         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32963         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32964         (elision_init): Set try_xbegin to zero when no RTM.
32965         * sysdeps/x86/nptl/bits/pthreadtypes.h
32966         (pthread_rwlock_t): Change __pad1 to __rwelision.
32967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32969 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32971         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32972         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32973         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32974         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32976 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32978         [BZ #16996]
32979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32980         that the cached result has been set before returning it.
32982 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32984         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32985         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32986         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32987         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32988         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32989         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32991         * nptl/sysdeps/sparc/Makefile: Moved ...
32992         * sysdeps/sparc/nptl/Makefile: ... here.
32993         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32994         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32995         * nptl/sysdeps/sparc/tls.h: Moved ...
32996         * sysdeps/sparc/nptl/tls.h: ... here.
32997         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32998         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32999         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33000         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33001         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33002         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33003         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33004         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33005         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33006         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33007         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33008         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33009         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33010         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33011         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33012         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33013         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33014         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33015         Update #include.
33016         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33017         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33018         Update #include.
33019         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33021         Update #include.
33022         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33023         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33024         Update #include.
33026         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33028         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33029         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33031         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33032         (struct list_links): Type removed.
33033         (struct thread_node, struct timer_node): Replace struct list_links
33034         with struct list_head.
33035         (list_unlink_ip): Likewise.
33036         * sysdeps/pthread/timer_routines.c
33037         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33038         (list_append, list_insbefore): Likewise.
33039         (list_init): Function removed.
33040         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33041         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33042         * sysdeps/pthread/Makefile: ... here, new file.
33044         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33045         * sysdeps/nptl/Implies: ... here.
33046         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33047         * nptl/sysdeps/pthread/list.h: Moved ...
33048         * include/list.h: ... here.
33049         * nptl/sysdeps/pthread/createthread.c: Moved ...
33050         * nptl/createthread.c: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33052         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33053         * nptl/pt-longjmp.c: ... here.
33054         * nptl/sysdeps/pthread/Makefile: Moved ...
33055         * sysdeps/nptl/Makefile: ... here.
33056         * nptl/sysdeps/pthread/Subdirs: Moved ...
33057         * sysdeps/nptl/Subdirs: ... here.
33058         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33059         * sysdeps/nptl/aio_misc.h: ... here.
33060         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33061         * sysdeps/nptl/bits/libc-lock.h: ... here.
33062         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33063         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33064         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33065         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33066         * nptl/sysdeps/pthread/configure: Moved ...
33067         * sysdeps/nptl/configure: ... here.
33068         * nptl/sysdeps/pthread/configure.ac: Moved ...
33069         * sysdeps/nptl/configure.ac: ... here.
33070         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33071         * sysdeps/nptl/gai_misc.h: ... here.
33072         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33073         * sysdeps/nptl/librt-cancellation.c: ... here.
33074         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33075         * sysdeps/nptl/malloc-machine.h: ... here.
33076         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33077         * sysdeps/nptl/pthread-functions.h: ... here.
33078         * nptl/sysdeps/pthread/pthread.h: Moved ...
33079         * sysdeps/nptl/pthread.h: ... here.
33080         * nptl/sysdeps/pthread/setxid.h: Moved ...
33081         * sysdeps/nptl/setxid.h: ... here.
33082         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33083         * sysdeps/nptl/sigfillset.c: ... here.
33084         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33085         * sysdeps/nptl/tcb-offsets.h: ... here.
33086         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33087         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33088         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33089         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33090         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33091         * sysdeps/pthread/allocalim.h: ... here.
33092         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33093         * sysdeps/pthread/bits/sigthread.h: ... here.
33094         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33095         * sysdeps/pthread/flockfile.c: ... here.
33096         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33097         * sysdeps/pthread/ftrylockfile.c: ... here.
33098         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33099         * sysdeps/pthread/funlockfile.c: ... here.
33100         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33101         * sysdeps/pthread/posix-timer.h: ... here.
33102         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33103         * sysdeps/pthread/timer_create.c: ... here.
33104         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33105         * sysdeps/pthread/timer_delete.c: ... here.
33106         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33107         * sysdeps/pthread/timer_getoverr.c: ... here.
33108         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33109         * sysdeps/pthread/timer_gettime.c: ... here.
33110         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33111         * sysdeps/pthread/timer_routines.c: ... here.
33112         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33113         * sysdeps/pthread/timer_settime.c: ... here.
33114         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33115         * sysdeps/pthread/tst-timer.c: ... here.
33116         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33117         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33119         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33120         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33122         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33123         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33124         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33125         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33126         Update #include target.
33127         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33128         * sysdeps/i386/i686/nptl/Makefile: ... here.
33129         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33130         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33131         Update #include target.
33132         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33133         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33134         * nptl/sysdeps/i386/Makefile: Moved ...
33135         * sysdeps/i386/nptl/Makefile: ... here.
33136         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33137         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33138         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33139         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33140         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33141         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33142         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33143         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33144         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33145         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33146         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33147         * nptl/sysdeps/i386/tls.h: Moved ...
33148         * sysdeps/i386/nptl/tls.h: ... here.
33150         * sysdeps/sh/Makefile [$(subdir) = csu]
33151         (gen-as-const-headers): Add tcb-offsets.sym.
33152         * nptl/sysdeps/sh/Makefile: File removed.
33153         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33154         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33155         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33156         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33157         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33158         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33159         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33160         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33161         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33162         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33163         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33164         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33165         * nptl/sysdeps/sh/tls.h: Moved ...
33166         * sysdeps/sh/nptl/tls.h: ... here.
33167         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33168         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33169         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33170         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33171         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33172         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33173         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33174         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33175         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33176         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33178         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33180         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33181         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33182         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33183         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33184         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33185         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33186         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33188         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33190         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33192         Moved ...
33193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33195         Moved ...
33196         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33198         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33201         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33202         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33203         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33204         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33205         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33206         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33207         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33208         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33209         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33210         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33211         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33212         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33213         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33214         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33216 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33218         * posix/spawn_faction_addopen.c: Include string.h.
33220 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33222         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33223         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33224         * nptl/sysdeps/x86_64/Makefile: Moved ...
33225         * sysdeps/x86_64/nptl/Makefile: ... here.
33226         * nptl/sysdeps/x86_64/configure: Moved ...
33227         * sysdeps/x86_64/nptl/configure: ... here.
33228         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33229         * sysdeps/x86_64/nptl/configure.ac: ... here.
33230         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33231         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33232         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33233         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33234         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33235         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33236         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33237         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33238         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33239         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33240         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33241         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33242         * nptl/sysdeps/x86_64/tls.h: Moved ...
33243         * sysdeps/x86_64/nptl/tls.h: ... here.
33244         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33245         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33246         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33247         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33249         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33251 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33255 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33257         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33258         type.
33259         [POSIX] (off_t): Likewise.
33260         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33261         [POSIX] (S_ISBLK): Require macro.
33262         [POSIX] (S_ISCHR): Likewise.
33263         [POSIX] (S_ISDIR): Likewise.
33264         [POSIX] (S_ISFIFO): Likewise.
33265         [POSIX] (S_ISREG): Likewise.
33266         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33267         optional-macro.
33268         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33269         type.
33270         [POSIX] (time_t): Likewise.
33271         [POSIX] (timer_t): Likewise.
33273 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33275         [BZ #17048]
33276         * posix/spawn_int.h (struct __spawn_action): Make the path string
33277         non-const to support deallocation.
33278         * posix/spawn_faction_addopen.c
33279         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33280         * posix/spawn_faction_destroy.c
33281         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33282         path in all spawn_do_open actions.
33283         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33284         posix_spawn_file_actions_addopen.
33286 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33288         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33289         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33290         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33291         conditional code always true.
33292         (__libc_vfork): New alias.
33294 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33296         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33297         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33299         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33301         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33302         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33304         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33305         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33307         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33308         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33310 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33312         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33313         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33314         multiarch strcmp for PPC64.
33315         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33316         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33318         multiarch optimizations.
33319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33320         (__libc_ifunc_impl_list): Likewise.
33322 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33324         * benchtests/scripts/validate_benchout.py: New script.
33325         * benchtests/Makefile (bench-func): Call it.
33326         * benchtests/scripts/benchout.schema.json: New file.
33328 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33330         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33331         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33332         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33333         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33334         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33335         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33336         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33337         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33338         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33339         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33340         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33341         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33342         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33343         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33344         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33345         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33347         Moved ...
33348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33349         ... here.
33350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33351         Moved ...
33352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33354         Moved ...
33355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33356         ... here.
33357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33358         Moved ...
33359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33360         ... here.
33361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33362         Moved ...
33363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33365         Moved ...
33366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33367         ... here.
33368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33369         Moved ...
33370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33371         ... here.
33372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33373         Moved ...
33374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33376         Moved ...
33377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33378         ... here.
33379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33380         Moved ...
33381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33382         ... here.
33383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33384         Moved ...
33385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33386         ... here.
33387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33388         Moved ...
33389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33391         Moved ...
33392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33393         ... here.
33394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33395         Moved ...
33396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33397         ... here.
33398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33399         Moved ...
33400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33401         ... here.
33402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33403         Moved ...
33404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33406         Moved ...
33407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33408         ... here.
33409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33410         Moved ...
33411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33412         ... here.
33413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33414         Moved ...
33415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33417         Moved ...
33418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33419         ... here.
33420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33421         Moved ...
33422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33424         Moved ...
33425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33427         Moved ...
33428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33429         ... here.
33430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33431         Moved ...
33432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33433         ... here.
33434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33435         Moved ...
33436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33437         ... here.
33438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33439         Moved ...
33440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33442         Moved ...
33443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33444         ... here.
33445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33446         Moved ...
33447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33448         ... here.
33449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33450         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33452         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33454         Moved ...
33455         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33456         ... here.
33457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33460         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33462         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33464         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33466         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33473         Moved ...
33474         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33476         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33478         Moved ...
33479         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33481         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33482         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33483         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33484         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33485         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33487 2014-06-10  Wilco  <wdijkstr@arm.com>
33489         * math/test-fenv-return.c: New file.
33490         * math/Makefile: Add new test test-fenv-return.
33492 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33494         [BZ #17042]
33495         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33496         when x - 1 is zero.
33497         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33498         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33499         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33500         0.0L for an argument of 1.0L.
33501         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33502         Likewise.
33503         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33504         value when x - 1 is zero.
33505         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33506         * sysdeps/i386/fpu/libm-test-ulps: Update.
33507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33509 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33511         [BZ #15119]
33512         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33514 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33516         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33517         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33519 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33521         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33522         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33524         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33525         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33527         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33528         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33530         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33531         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33533         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33534         if not already defined.
33535         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33536         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33537         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33538         (TLS_INIT_TP): Use it.
33539         (TLS_DEFINE_INIT_TP): New macro.
33540         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33542 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33544         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33545         constant.
33546         [POSIX] (IXANY): Likewise.
33547         [POSIX] (OLCUC): Likewise.
33548         [POSIX || POSIX2008] (CBAUD): Do not allow.
33549         [POSIX || POSIX2008] (DEFECHO): Likewise.
33550         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33551         [POSIX || POSIX2008] (ECHOKE): Likewise.
33552         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33553         [POSIX || POSIX2008] (EXTA): Likewise.
33554         [POSIX || POSIX2008] (EXTB): Likewise.
33555         [POSIX || POSIX2008] (FLUSHO): Likewise.
33556         [POSIX || POSIX2008] (LOBLK): Likewise.
33557         [POSIX || POSIX2008] (PENDIN): Likewise.
33558         [POSIX || POSIX2008] (SWTCH): Likewise.
33559         [POSIX || POSIX2008] (VDISCARD): Likewise.
33560         [POSIX || POSIX2008] (VDSUSP): Likewise.
33561         [POSIX || POSIX2008] (VLNEXT): Likewise.
33562         [POSIX || POSIX2008] (VREPRINT): Likewise.
33563         [POSIX || POSIX2008] (VSTATUS): Likewise.
33564         [POSIX || POSIX2008] (VWERASE): Likewise.
33565         (B*): Change to B[0123456789]*.
33566         * conform/data/time.h-data [POSIX || UNIX98]
33567         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33568         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33569         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33570         [POSIX] (tm_*): Do not allow.
33572 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33574         * Makefile (install): Don't set LANGUAGE.
33575         * Makefile.in (install): Likewise.
33576         * assert/Makefile (test-assert-ENV): Remove variable.
33577         (test-assert-perr-ENV): Likewise.
33578         * elf/Makefile (neededtest4-ENV): Likewise.
33579         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33580         [$(cross-compiling) = no]: Don't set LANGUAGE.
33581         * io/ftwtest-sh (LANG): Remove variable.
33582         * libio/Makefile (tst-widetext-ENV): Likewise.
33583         * manual/install.texi (Running make install): Don't refer to
33584         environment settings for make install.
33585         * INSTALL: Regenerated.
33586         * nptl/tst-tls6.sh: Don't set LANG.
33587         * posix/globtest.sh (LANG): Remove variable.
33588         * string/Makefile (tester-ENV): Likewise.
33589         (inl-tester-ENV): Likewise.
33590         (noinl-tester-ENV): Likewise.
33591         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33592         [$(cross-compiling) = no]: Don't set LANGUAGE.
33593         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33594         without explicit environment settings.
33596 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33598         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33599         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33600         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33601         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33603 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33605         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33606         other files in the crypt directory.
33607         * crypt/crypt.c: Remove duplicate includes.
33608         * crypt/crypt-entry.c: Likewise.
33609         * crypt/crypt_util.c: Likewise.
33611 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33613         * Makeconfig (run-program-env): New variable.
33614         (run-program-prefix-before-env): Likewise.
33615         (run-program-prefix-after-env): Likewise.
33616         (run-program-prefix): Define in terms of new variables.
33617         (built-program-cmd-before-env): New variable.
33618         (built-program-cmd-after-env): Likewise.
33619         (built-program-cmd): Define in terms of new variables.
33620         (test-program-prefix-before-env): New variable.
33621         (test-program-prefix-after-env): Likewise.
33622         (test-program-prefix): Define in terms of new variables.
33623         (test-program-cmd-before-env): New variable.
33624         (test-program-cmd-after-env): Likewise.
33625         (test-program-cmd): Define in terms of new variables.
33626         * Rules (make-test-out): Use $(run-program-env).
33627         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33628         (help): Do not mention environment variables.  Mention
33629         --timeoutfactor option.
33630         (timeoutfactor): New variable.
33631         (blacklist_exports): Remove function.
33632         (exports): Remove variable.
33633         (command): Do not include ${exports}.
33634         * manual/install.texi (Configuring and compiling): Do not mention
33635         test wrappers preserving environment variables.  Mention that last
33636         assignment to a variable must take precedence.
33637         * INSTALL: Regenerated.
33638         * benchtests/Makefile (run-bench): Use $(run-program-env).
33639         * catgets/Makefile ($(objpfx)test1.cat): Use
33640         $(built-program-cmd-before-env), $(run-program-env) and
33641         $(built-program-cmd-after-env).
33642         ($(objpfx)test2.cat): Do not specify environment variables
33643         explicitly.
33644         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33645         $(run-program-env) and $(built-program-cmd-after-env).
33646         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33647         $(run-program-env) and $(test-program-cmd-after-env).
33648         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33649         explicitly.
33650         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33651         run_program_env and test_program_cmd_after_env arguments.
33652         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33653         * elf/tst-pathopt.sh: Use run_program_env argument.
33654         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33655         $(test-wrapper-env) and $(run-program-env).
33656         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33657         run_program_env arguments.
33658         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33659         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33660         $(test-program-prefix-before-env), $(run-program-env) and
33661         $(test-program-prefix-after-env).
33662         ($(objpfx)tst-gettext2.out): Likewise.
33663         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33664         run_program_env and test_program_prefix_after_env arguments.
33665         * intl/tst-gettext2.sh: Likewise.
33666         * intl/tst-gettext4.sh: Do not set environment variables
33667         explicitly.
33668         * intl/tst-gettext6.sh: Likewise.
33669         * intl/tst-translit.sh: Likewise.
33670         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33671         $(test-program-prefix-before-env), $(run-program-env) and
33672         $(test-program-prefix-after-env).
33673         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33674         run_program_env and test_program_prefix_after_env arguments.
33675         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33676         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33677         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33678         explicitly with each use of ${test_wrapper_env}.
33679         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33680         $(test-program-prefix-before-env), $(run-program-env) and
33681         $(test-program-prefix-after-env).
33682         * posix/tst-getconf.sh: Do not set environment variables
33683         explicitly.
33684         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33685         run_program_env and test_program_prefix_after_env arguments.
33686         * stdio-common/tst-printf.sh: Do not set environment variables
33687         explicitly.
33688         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33689         $(test-program-prefix-before-env), $(run-program-env) and
33690         $(test-program-prefix-after-env).
33691         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33692         run_program_env and test_program_prefix_after_env arguments.
33693         Split $test calls into $test_pre and $test.
33694         * timezone/Makefile (build-testdata): Use
33695         $(built-program-cmd-before-env), $(run-program-env) and
33696         $(built-program-cmd-after-env).
33698 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33700         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33701         strlen for non SHARED builds.
33703 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33705         * nptl/allocatestack.c (check_list): Inlined function...
33706         (__reclaim_stacks): ... here.
33708 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33710         [BZ #15698]
33711         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33712         memory overrun.
33714 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33716         * Rules (make-test-out): Include
33717         LOCPATH=$(common-objpfx)localedata in default environment.
33718         * debug/Makefile (tst-chk1-ENV): Remove variable.
33719         (tst-chk2-ENV): Likewise.
33720         (tst-chk3-ENV): Likewise.
33721         (tst-chk4-ENV): Likewise.
33722         (tst-chk5-ENV): Likewise.
33723         (tst-chk6-ENV): Likewise.
33724         (tst-lfschk1-ENV): Likewise.
33725         (tst-lfschk2-ENV): Likewise.
33726         (tst-lfschk3-ENV): Likewise.
33727         (tst-lfschk4-ENV): Likewise.
33728         (tst-lfschk5-ENV): Likewise.
33729         (tst-lfschk6-ENV): Likewise.
33730         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33731         (tst-iconv7-ENV): Likewise.
33732         * intl/Makefile (LOCPATH-ENV): Likewise.
33733         (tst-codeset-ENV): Likewise.
33734         (tst-gettext3-ENV): Likewise.
33735         (tst-gettext5-ENV): Likewise.
33736         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33737         (tst-fopenloc-ENV): Likewise.
33738         (tst-fgetws-ENV): Remove variable.
33739         (tst-ungetwc1-ENV): Likewise.
33740         (tst-ungetwc2-ENV): Likewise.
33741         (bug-ungetwc2-ENV): Likewise.
33742         (tst-swscanf-ENV): Likewise.
33743         (bug-ftell-ENV): Likewise.
33744         (tst-fgetwc-ENV): Likewise.
33745         (tst-fseek-ENV): Likewise.
33746         (tst-ftell-partial-wide-ENV): Likewise.
33747         (tst-ftell-active-handler-ENV): Likewise.
33748         (tst-ftell-append-ENV): Likewise.
33749         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33750         (tst-regexloc-ENV): Likewise.
33751         (bug-regex1-ENV): Likewise.
33752         (tst-regex-ENV): Likewise.
33753         (tst-regex2-ENV): Likewise.
33754         (bug-regex5-ENV): Likewise.
33755         (bug-regex6-ENV): Likewise.
33756         (bug-regex17-ENV): Likewise.
33757         (bug-regex18-ENV): Likewise.
33758         (bug-regex19-ENV): Likewise.
33759         (bug-regex20-ENV): Likewise.
33760         (bug-regex22-ENV): Likewise.
33761         (bug-regex23-ENV): Likewise.
33762         (bug-regex25-ENV): Likewise.
33763         (bug-regex26-ENV): Likewise.
33764         (bug-regex30-ENV): Likewise.
33765         (bug-regex32-ENV): Likewise.
33766         (bug-regex33-ENV): Likewise.
33767         (bug-regex34-ENV): Likewise.
33768         (bug-regex35-ENV): Likewise.
33769         (tst-rxspencer-ENV): Likewise.
33770         (tst-rxspencer-no-utf8-ENV): Likewise.
33771         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33772         (tst-sscanf-ENV): Likewise.
33773         (tst-swprintf-ENV): Likewise.
33774         (tst-swscanf-ENV): Likewise.
33775         (test-vfprintf-ENV): Likewise.
33776         (scanf13-ENV): Likewise.
33777         (bug14-ENV): Likewise.
33778         (tst-grouping-ENV): Likewise.
33779         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33780         (tst-strtod3-ENV): Likewise.
33781         (tst-strtod4-ENV): Likewise.
33782         (tst-strtod5-ENV): Likewise.
33783         (testmb2-ENV): Likewise./
33784         * string/Makefile (tst-strxfrm-ENV): Likewise.
33785         (tst-strxfrm2-ENV): Likewise.
33786         (bug-strcoll1-ENV): Likewise.
33787         (test-strcasecmp-ENV): Likewise.
33788         (test-strncasecmp-ENV): Likewise.
33789         * time/Makefile (tst-strptime-ENV): Likewise.
33790         (tst-ftime_l-ENV): Likewise.
33791         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33792         (tst-mbrtowc-ENV): Likewise.
33793         (tst-wcrtomb-ENV): Likewise.
33794         (tst-mbrtowc2-ENV): Likewise.
33795         (tst-c16c32-1-ENV): Likewise.
33796         (tst-mbsnrtowcs-ENV): Likewise.
33798 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33800         * manual/resource.texi (How to get information about the memory
33801         subsystem?): Fix typo.
33802         Reported by Peon de la Parra Ivan <peon@keba.com>
33804 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33806         [BZ #16882]
33807         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33808         (pthread_spin_lock): Branch out of spin loop to proper location.
33809         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33810         (pthread_spin_lock): Likewise.
33812         * nptl/tst-spin4.c: New test.
33813         * nptl/Makefile (tests): Add tst-spin4.
33815 2014-06-03  Andreas Schwab  <schwab@suse.de>
33817         [BZ #15946]
33818         * resolv/res_send.c (send_dg): Reload file descriptor after
33819         calling reopen.
33821 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33823         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33825 2014-06-03  Richard Henderson  <rth@redhat.com>
33827         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33828         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33829         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33830         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33831         in the SAVE_PID block.
33832         (__libc_vfork): New alias.
33833         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33835         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33836         child in registers, not on the stack.  Remove RESET_PID conditionals.
33837         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33839 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33841         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33843 2014-06-03  Wilco  <wdijkstr@arm.com>
33845         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33846         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33847         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33848         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33849         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33850         Likewise.
33852 2014-06-03  Wilco  <wdijkstr@arm.com>
33854         * sysdeps/aarch64/fpu/math_private.h
33855         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33856         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33857         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33858         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33859         Fix declarations.
33861 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33863         * crypt/crypt-private.h: Include ufc-crypt.h.
33864         (__b64_from_24bit): Declare extern.
33865         * crypt/crypt_util.c(__b64_from_24bit): New function.
33866         (b64t): New static const variable.
33867         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33868         (b64t): Remove variable.
33869         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33870         * crypt/sha256-crypt.c: Include crypt-private.h.
33871         (b64t): Remove variable.
33872         (__sha256_crypt_r): Remove b64_from_24bit and replace
33873         with __b64_from_24bit.
33874         * crypt/sha512-crypt.c: Likewise.
33876 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33878         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33879         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33880         Label the code __libc_vfork rather than __vfork.
33881         [!NOT_IN_libc] (vfork): Define as weak alias.
33882         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33883         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33884         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33886 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33888         * malloc/malloc.c (malloc_info): Fix format specifier for
33889         n_mmaps.
33891 2014-06-02  Wilco  <wdijkstr@arm.com>
33893         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33894         FPCR write.
33896 2014-06-02  Wilco  <wdijkstr@arm.com>
33898         [BZ #17009]
33899         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33900         Rewrite to reduce FPCR/FPSR accesses.
33902 2014-06-01  David S. Miller  <davem@davemloft.net>
33904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33906 2014-05-31  David S. Miller  <davem@davemloft.net>
33908         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33909         to occur in round to nearest mode when |x| >= 2.0
33911 2014-05-30  Richard Henderson  <rth@twiddle.net>
33913         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33914         (PSEUDO_RET_NOERRNO): Remove.
33915         (ret): Don't redefine.
33916         (ret_NOERRNO): Define in terms of ret.
33917         (ret_ERRVAL): Likewise.
33919         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33920         use of PSEUDO_RET; perform the error check directly.
33922 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33924         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33925         with __int128_t.
33927 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33929         * malloc/malloc (malloc_info): Fix formatting.
33931 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33932             Roland McGrath  <roland@hack.frob.com>
33934         * malloc/malloc (malloc_info): Also print mmapped statistics.
33936 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33938         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33939         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33941 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33943         * malloc/malloc.c (malloc_info): Inline mi_arena.
33945 2014-05-29  Richard Henderson  <rth@twiddle.net>
33947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33948         Remove comma before expanding ASM_ARGS_##nr.
33949         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33950         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33951         of ASM_ARGS_##nr.
33952         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33953         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33954         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33955         (ASM_ARGS_1): Add leading comma.
33957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33958         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33959         to __errno_location.
33960         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33961         Remove the expected plt for __errno_location.
33963         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33964         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33965         call to __read_tp.
33967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33968         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33969         it and break it down.
33970         (DOCARGS_0, DOCARGS_1): Do nothing.
33971         (DOCARGS_2): Update to store into the new stack frame.
33972         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33973         (UNDOCARGS_1): Update to restore from the new stack frame.
33974         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33975         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33977         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33978         (SINGLE_THREAD_P): New parameter for result regno.
33979         (PSEUDO): Update to match; use cbz instead of beq.
33981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33982         Use ENTRY to define the _nocancel entry point.  Share the syscall
33983         and syscall error check paths with the cancel path.
33984         (PSEUDO_END): New.
33986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33987         whitespace; tabs before and after asm mnemonics.
33989 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33991         [BZ #15132]
33992         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33993         Call fstat64 or stat64 internally, depending on arguments passed.
33994         Replace stat buffer argument with file descriptor argument.
33995         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33996         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33997         Pass fd to __internal_statvfs instead of calling fstat64.
33998         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33999         Pass fd to __internal_statvfs64 instead of calling fstat64.
34000         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34001         Pass -1 to __internal_statvfs instead of calling stat64.
34002         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34003         Pass -1 to __internal_statvfs64 instead of calling stat64.
34005 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34007         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34008         that was previously under [RESET_PID].
34009         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34011         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34012         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34014 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34016         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34018         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34019         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34021 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34023         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34025 2014-05-27  Andreas Schwab  <schwab@suse.de>
34027         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34028         TLS_INIT_TP macro.
34029         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34030         * elf/rtld.c (init_tls, dl_main): Likewise.
34031         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34032         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34033         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34034         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34035         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34036         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34037         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34038         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34039         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34040         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34041         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34042         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34043         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34044         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34045         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34046         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34047         * sysdeps/generic/tls.h: Update description.
34049 2014-05-27  Will Newton  <will.newton@linaro.org>
34051         [BZ #16990]
34052         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34053         and restore r2 rather than just restoring.
34055 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34057         [BZ #16724]
34058         * libio/tst-ftell-append.c: New test case.
34059         * libio/Makefile (tests): Add test case.
34060         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34061         append mode.
34062         * libio/wfileops.c (do_ftell_wide): Likewise.
34064 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34068         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34069         ...
34070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34072         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34073         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34074         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34075         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34076         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34077         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34079         Moved ...
34080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34082         Moved ...
34083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34084         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34085         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34086         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34087         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34089         ...
34090         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34091         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34092         Moved ...
34093         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34094         here.
34095         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34096         ...
34097         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34098         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34099         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34102         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34104         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34107         merge into ...
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34110         ...
34111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34113         ...
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34116         Moved ...
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34118         here.
34119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34120         Moved ...
34121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34123         Moved ...
34124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34127         conditional [RESET_PID].
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34130         removed.
34131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34132         removed.
34134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34135         <tcb-offsets.h>.
34136         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34137         (__libc_vfork): New strong alias.
34138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34139         removed.
34140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34141         Removed.
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34144         <tcb-offsets.h>.
34145         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34146         (__libc_vfork): New strong alias.
34147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34148         removed.
34149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34150         removed.
34152 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34154         * malloc/malloc.c (mi_arena): New function.
34155         (malloc_info): Remove nested function mi_arena. Call non-nosted
34156         function mi_arena.
34158 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34160         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34161         by insrwi.
34162         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34163         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34164         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34165         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34166         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34167         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34168         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34170 2014-05-26  Andreas Schwab  <schwab@suse.de>
34172         [BZ #16984]
34173         * locale/programs/repertoire.c (repertoire_read): Add slash
34174         between I18NPATH element and file name.
34175         * locale/programs/locfile.c (locfile_read): Likewise.
34177 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34179         * nptl/pthread_mutexattr_settype.c
34180         (__pthread_mutexattr_settype):
34181         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34183 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34185         * nptl/tst-mutex5 (do_test):
34186         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34188 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34190         * benchtests/README: Document 'init' directive.
34191         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34192         BENCH_INIT.
34193         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34194         (parse_file): Recognize 'init' directive.
34196 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34198         [BZ #16796]
34199         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34200         alignment of struct pthread.
34202 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34204         [BZ #16878]
34205         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34206         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34207         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34208         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34210 2014-05-25  Richard Henderson  <rth@twiddle.net>
34212         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34213         (SINGLE_THREAD_P_PIC): Remove.
34214         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34215         (SINGLE_THREAD_P_PIC): Remove.
34217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34218         branch to syscall error ...
34219         (PSEUDO): ... here.
34220         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34221         from __local_syscall_error to .Lsyscall_error.
34222         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34223         (SYSCALL_ERROR): Update label name.
34225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34226         Do not use DOARGS/UNDOARGS.
34227         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34228         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34229         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34230         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34231         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34234         block comment.
34236         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34237         define if !NOT_IN_libc.
34238         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34239         define with non-default symbol versions.
34241 2014-05-23  Richard Henderson  <rth@twiddle.net>
34243         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34244         (vfork, __vfork): Define via compat_symbol.
34246         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34247         [!HAVE_IFUNC] (vfork_compat): Remove.
34248         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34250 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34252         [BZ #16978]
34253         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34254         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34255         variable.
34257 2014-05-23  Richard Henderson  <rth@twiddle.net>
34259         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34260         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34261         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34262         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34264         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34265         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34266         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34267         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34268         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34269         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34270         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34271         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34272         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34273         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34274         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34275         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34276         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34277         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34278         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34279         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34280         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34281         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34282         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34283         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34284         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34285         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34286         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34287         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34288         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34289         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34290         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34291         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34292         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34293         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34294         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34295         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34296         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34297         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34298         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34299         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34300         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34301         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34302         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34303         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34304         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34305         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34306         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34307         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34308         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34309         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34310         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34311         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34312         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34313         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34314         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34315         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34317         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34319         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34321         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34322         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34323         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34324         before exiting on error.
34325         (__libc_vfork): New strong alias.
34326         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34327         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34329         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34330         that was previously under [RESET_PID].
34331         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34333         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34335 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34337         [BZ #16977]
34338         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34339         value when x - 1 is zero.
34340         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34341         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34342         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34343         0.0L for an argument of 1.0L.
34344         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34345         Likewise.
34346         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34347         value when x - 1 is zero.
34348         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34349         * sysdeps/i386/fpu/libm-test-ulps: Update.
34350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34352 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34354         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34355         alphasort and versionsort.
34357 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34359         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34360         macro.
34361         [copysignf]: Likewise.
34363 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34365         * crypt/md5-crypt.c: Fix formatting.
34367 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34369         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34370         (b64_from_24bit): New function.
34372 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34374         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34375         libc_hidden_builtin_def to ifunc.
34376         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34377         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34379 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34381         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34382         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34384 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34386         * nscd/Depend (linuxthreads): Remove.
34387         (nptl): Add.
34388         * resolv/Depend (linuxthreads): Remove.
34389         * rt/Depend (linuxthreads): Remove.
34391         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34392         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34393         $(common-objpfx)elf/.
34394         (link-libc-before-gnulib): Likewise.
34395         (elfobjdir): Remove variable.
34396         * Makefile (install): Use $(elf-objpfx) instead of
34397         $(common-objpfx)elf/.
34398         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34399         $(elfobjdir)/.
34400         (link-libc-deps): Likewise.
34401         ($(common-objpfx)libc.so): Likewise.
34402         ($(common-objpfx)linkobj/libc.so): Likewise.
34403         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34404         instead of $(common-objpfx)elf/.
34405         (symbolic-link-list): Likewise.
34406         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34407         [$(cross-compiling) = no]: Likewise.
34408         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34409         $(elfobjdir)/.
34410         (static-gnulib-arch): Likewise.
34411         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34412         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34413         $(common-objpfx)elf/.
34415 2014-05-21  Richard Henderson  <rth@redhat.com>
34417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34418         (SINGLE_THREAD_P): Use the correct width load.  Fold
34419         into the ldr offset.
34421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34422         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34424 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34426         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34427         (libgcc_s_resume): Use __attribute_used__.
34428         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34429         Likewise.
34431 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34433         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34434         optimization when used with float constants.
34436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34438 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34440         [BZ #16915]
34441         * locale/nl_langinfo_l.c: Make direct reference to every
34442         _nl_current_CATEGORY symbol.
34443         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34444         (tests-static): Add tst-langinfo-static.
34445         (tests-special): Add tst-langinfo-static.out.
34446         ($(objpfx)tst-langinfo.out): Redirect output.
34447         ($(objpfx)tst-langinfo-static.out): New.
34448         * localedata/tst-langinfo.sh: Send output to stdout.
34449         * localedata/tst-langinfo-static.c: New file.
34451         [BZ #16965]
34452         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34453         when the shift amount is modulo the limb size.
34455 2014-05-20  Richard Henderson  <rth@redhat.com>
34457         [BZ #16967]
34458         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34459         Change type of sa_flags from unsigned int to int.
34461         [BZ #16966]
34462         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34464         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34466 2014-05-20  Will Newton  <will.newton@linaro.org>
34468         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34469         Test the return value of the system call in the nocancel case.
34471 2014-05-20  Will Newton  <will.newton@linaro.org>
34472             Yvan Roux  <yvan.roux@linaro.org>
34474         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34475         #include of asm/ptrace.h.
34476         (PTRACE_GET_THREAD_AREA): Remove #undef.
34477         (PTRACE_GETHBPREGS): Likewise.
34478         (PTRACE_SETHBPREGS): Likewise.
34479         (struct user_regs_struct): New structure.
34480         (struct user_fpsimd_struct): New structure.
34481         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34482         #include of asm/ptrace.h and second #include of sys/user.h.
34483         (PTRACE_GET_THREAD_AREA): Remove #undef.
34484         (PTRACE_GETHBPREGS): Likewise.
34485         (PTRACE_SETHBPREGS): Likewise.
34486         (ELF_NGREG): Use new struct user_regs_struct.
34487         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34489 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34494 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34496         [BZ #16958]
34497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34498         membar to avoid block loads/stores to overlap previous stores.
34500 2014-05-17  Richard Henderson  <rth@redhat.com>
34502         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34503         Create the __##syscall_name##_nocancel entry point.
34504         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34505         Remove; let the sysdep-cancel.h code create it.
34507 2014-05-17  David S. Miller  <davem@davemloft.net>
34509         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34510         Protect with __USE_GNU.
34511         (TIOCSET_TEMPT): Likewise.
34512         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34513         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34514         these are already provided in bits/ioctl-types.h
34516 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34518         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34519         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34521         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34522         Use wait4 regardless of [__NR_waitpid].
34524 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34526         PR libgcc/60166
34527         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34528         (_FP_NANSIGN_Q): Set the quiet bit.
34530 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34532         * benchtests/Makefile
34533         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34534         not $(common-objpfx)math/libm.so.
34535         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34536         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34537         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34538         $(common-objpfx)dlfcn/libdl.so.
34539         ($(objpfx)tst-audit8): Depend on $(libm), not
34540         $(common-objpfx)math/libm.so.
34541         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34542         not $(common-objpfx)dlfcn/libdl.so.
34543         * math/Makefile
34544         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34545         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34546         [$(build-shared) = yes].
34547         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34548         $(common-objpfx)nptl/libpthread.so.
34549         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34550         $(common-objpfx)math/libm.so$(libm.so-version) or
34551         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34552         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34553         $(common-objpfx)dlfcn/libdl.so.
34554         * setjmp/Makefile (link-libm): Remove variable.
34555         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34556         * stdio-common/Makefile (link-libm): Remove variable.
34557         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34558         * stdlib/Makefile (link-libm): Remove variable.
34559         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34560         ($(objpfx)tst-strtod-round): Likewise.
34561         ($(objpfx)tst-tininess): Likewise.
34562         ($(objpfx)tst-strtod-underflow): Likewise.
34563         ($(objpfx)tst-strtod6): Likewise.
34564         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34565         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34566         $(common-objpfx)dlfcn/libdl.so.
34568 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34570         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34571         BSD terminal modes definitions.
34573 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34575         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34576         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34578         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34579         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34580         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34581         Don't do #include_next.
34582         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34583         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34584         Don't do #include_next.
34585         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34586         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34587         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34588         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34590 2014-05-16  Allan McRae  <allan@archlinux.org>
34592         * po/sv.po: Update Swedish translation from translation project.
34594         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34595         in sed expression.
34597 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34599         [BZ #16917]
34600         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34601         errno if the TIOCGPTN ioctl fails with an error different than
34602         EINVAL.
34603         * login/tst-ptsname.c: New file.
34604         * login/Makefile (tests): Add tst-ptsname.
34606         [BZ #16943]
34607         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34608         and prlimit64.
34610 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34612         [BZ #16849]
34613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34614         herrno to return EAI_AGAIN.
34616 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34618         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34619         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34620         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34621         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34622         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34623         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34624         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34627         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34628         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34629         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34630         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34631         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34633         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34641         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34645         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34647         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34649         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34651         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34653         Moved ...
34654         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34656         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34658         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34660         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34662         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34664         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34666         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34668         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34670         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34672         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34674         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34676         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34678         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34680         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34682         Moved ...
34683         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34685         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34687         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34689         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34691         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34693         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34695         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34697         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34699         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34701         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34703         Moved ...
34704         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34706         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34709         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34710         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34711         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34712         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34713         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34714         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34715         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34716         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34717         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34718         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34719         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34720         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34721         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34722         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34723         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34724         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34725         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34726         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34727         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34728         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34729         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34730         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34731         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34732         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34734         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34735         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34736         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34737         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34738         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34740         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34741         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34743         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34744         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34745         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34746         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34747         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34748         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34749         Moved ...
34750         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34751         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34752         Moved ...
34753         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34754         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34755         Moved ...
34756         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34758         Moved ...
34759         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34760         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34761         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34763         Moved ...
34764         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34765         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34766         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34768         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34769         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34770         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34772         Moved ...
34773         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34777         ... here.
34778         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34779         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34780         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34781         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34782         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34783         Moved ...
34784         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34785         ... here.
34786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34787         Moved ...
34788         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34789         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34790         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34791         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34792         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34794         Moved ...
34795         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34796         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34797         Moved ...
34798         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34799         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34800         Moved ...
34801         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34803         Moved ...
34804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34805         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34806         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34808         Moved ...
34809         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34810         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34811         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34814         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34815         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34817         Moved ...
34818         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34820         Moved ...
34821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34822         ... here.
34823         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34824         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34825         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34826         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34827         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34828         Moved ...
34829         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34830         ... here.
34831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34832         Moved ...
34833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34834         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34835         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34836         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34837         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34838         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34839         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34840         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34841         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34842         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34843         Moved ...
34844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34846         Moved ...
34847         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34848         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34849         Moved ...
34850         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34852         Moved ...
34853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34854         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34855         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34856         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34857         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34859         Moved ...
34860         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34861         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34862         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34865         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34866         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34868         Moved ...
34869         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34870         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34871         Moved ...
34872         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34873         ... here.
34874         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34875         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34876         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34877         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34878         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34879         Moved ...
34880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34881         ... here.
34882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34883         Moved ...
34884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34885         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34886         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34887         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34888         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34889         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34890         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34891         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34892         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34893         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34894         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34896         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34897         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34899         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34900         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34902         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34903         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34904         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34905         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34906         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34907         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34908         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34909         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34910         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34911         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34913         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34915         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34916         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34918         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34920         Moved ...
34921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34923         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34925         Moved ...
34926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34928         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34930         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34932         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34934         Moved ...
34935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34937         Moved ...
34938         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34939         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34940         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34944         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34945         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34946         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34947         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34948         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34949         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34950         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34951         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34952         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34953         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34954         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34956         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34957         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34958         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34959         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34960         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34962         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34963         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34964         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34965         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34966         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34967         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34968         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34969         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34970         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34971         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34976         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34977         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34978         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34979         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34980         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34981         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34982         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34983         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34984         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34985         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34986         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34987         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34988         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34989         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34991         Update #include.
34992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34993         Likewise.
34994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34995         Likewise.
34996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34997         Likewise.
34998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34999         Likewise.
35000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35001         Likewise.
35002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35003         Likewise.
35004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35005         Likewise.
35006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35007         Likewise.
35008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35009         Likewise.
35010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35011         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35015         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35016         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35017         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35018         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35021         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35022         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35023         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35024         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35026         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35027         that was previously under [RESET_PID].
35028         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35029         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35030         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35032         * sysdeps/i386/nptl/Implies: New file.
35033         * sysdeps/x86_64/nptl/Implies: New file.
35034         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35035         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35036         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35037         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35039         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35040         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35041         (__libc_vfork): New strong alias.
35042         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35043         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35045         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35046         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35047         (__libc_vfork): New strong alias.
35048         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35049         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35051         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35052         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35053         (__libc_vfork): New strong alias.
35054         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35055         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35056         * nptl/pt-vfork.c: New file.
35057         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35058         (libpthread: GLIBC_2.20): New version set (empty).
35060 2014-05-14  Will Newton  <will.newton@linaro.org>
35062         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35063         rather than #if.
35065 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35067         [BZ #16564]
35068         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35069         arguments with exponent 65 or above.
35070         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35071         arguments 0x1p113L or above.
35072         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35073         to arguments 0x1p107L or above.
35074         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35075         positive arguments with exponent 65 or above.
35076         * math/auto-libm-test-in: Add more tests of log1p.
35077         * math/auto-libm-test-out: Regenerated.
35079         [BZ #16928]
35080         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35081         non-finite arguments is +0.
35082         * math/s_cacosf.c (__cacosf): Likewise.
35083         * math/s_cacosl.c (__cacosl): Likewise.
35084         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35085         * sysdeps/i386/fpu/libm-test-ulps: Update.
35086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35088         [BZ #16927]
35089         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35090         value.
35091         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35092         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35093         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35094         for explicit high bit of mantissa when testing for argument equal
35095         to 1.
35096         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35097         * sysdeps/i386/fpu/libm-test-ulps: Update.
35098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35100         [BZ #16516]
35101         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35102         (__erf): Scale by 16 instead of 8 in potentially underflowing
35103         case.  Ensure exception if result actually underflows.
35104         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35105         (__erff): Scale by 16 instead of 8 in potentially underflowing
35106         case.  Ensure exception if result actually underflows.
35107         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35108         (efx8): Remove variable.
35109         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35110         case.  Ensure exception if result actually underflows.
35111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35112         (efx8): Remove variable.
35113         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35114         case.  Ensure exception if result actually underflows.
35115         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35116         (efx8): Remove variable.
35117         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35118         case.  Ensure exception if result actually underflows.
35119         * math/auto-libm-test-in: Add more tests of erf.
35120         * math/auto-libm-test-out: Regenerated.
35122 2014-05-14  Andreas Schwab  <schwab@suse.de>
35124         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35125         Remove code conditionalized on USE___THREAD.
35127         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35128         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35129         not definedness.
35131 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35134         Define unconditionally.
35135         (__ASSUME_O_CLOEXEC): Likewise.
35136         (__ASSUME_SOCK_CLOEXEC): Likewise.
35137         (__ASSUME_IN_NONBLOCK): Likewise.
35138         (__ASSUME_PIPE2): Likewise.
35139         (__ASSUME_EVENTFD2): Likewise.
35140         (__ASSUME_SIGNALFD4): Likewise.
35141         (__ASSUME_DUP3): Likewise.
35142         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35143         (__ASSUME_DUP3): Do not define.
35144         (__ASSUME_EVENTFD2): Likewise.
35145         (__ASSUME_IN_NONBLOCK): Likewise.
35146         (__ASSUME_O_CLOEXEC): Likewise.
35147         (__ASSUME_PIPE2): Likewise.
35148         (__ASSUME_SIGNALFD4): Likewise.
35149         (__ASSUME_SOCK_CLOEXEC): Likewise.
35150         (__ASSUME_UTIMES): Undefine.
35151         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35152         (__ASSUME_UTIMES): Do not define.
35153         (__ASSUME_O_CLOEXEC): Likewise.
35154         (__ASSUME_SOCK_CLOEXEC): Likewise.
35155         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35156         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35157         0x020621].
35158         (__ASSUME_PIPE2): Likewise.
35159         (__ASSUME_EVENTFD2): Likewise.
35160         (__ASSUME_SIGNALFD4): Likewise.
35161         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35162         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35163         Do not define.
35164         (__ASSUME_EVENTFD2): Likewise.
35165         (__ASSUME_SIGNALFD4): Likewise.
35166         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35167         (__ASSUME_32BITUIDS): Likewise.
35168         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35169         (__ASSUME_IPC64): Likewise.
35170         (__ASSUME_ST_INO_64_BIT): Likewise.
35171         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35172         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35174         (__ASSUME_UTIMES): Do not define.
35175         (__ASSUME_PSELECT): Likewise.
35176         (__ASSUME_PPOLL): Likewise.
35177         (__ASSUME_O_CLOEXEC): Likewise.
35178         (__ASSUME_SOCK_CLOEXEC): Likewise.
35179         (__ASSUME_IN_NONBLOCK): Likewise.
35180         (__ASSUME_PIPE2): Likewise.
35181         (__ASSUME_EVENTFD2): Likewise.
35182         (__ASSUME_SIGNALFD4): Likewise.
35183         (__ASSUME_DUP3): Likewise.
35184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35185         (__ASSUME_UTIMES): Likewise.
35186         (__ASSUME_O_CLOEXEC): Likewise.
35187         (__ASSUME_SOCK_CLOEXEC): Likewise.
35188         (__ASSUME_IN_NONBLOCK): Likewise.
35189         (__ASSUME_PIPE2): Likewise.
35190         (__ASSUME_EVENTFD2): Likewise.
35191         (__ASSUME_SIGNALFD4): Likewise.
35192         (__ASSUME_DUP3): Likewise.
35193         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35194         (__ASSUME_UTIMES): Likewise.
35195         (__ASSUME_O_CLOEXEC): Likewise.
35196         (__ASSUME_SOCK_CLOEXEC): Likewise.
35197         (__ASSUME_IN_NONBLOCK): Likewise.
35198         (__ASSUME_PIPE2): Likewise.
35199         (__ASSUME_EVENTFD2): Likewise.
35200         (__ASSUME_SIGNALFD4): Likewise.
35201         (__ASSUME_DUP3): Likewise.
35202         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35203         Likewise.
35204         (__ASSUME_UTIMES): Likewise.
35205         (__ASSUME_EVENTFD2): Likewise.
35206         (__ASSUME_SIGNALFD4): Likewise.
35207         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35208         (__ASSUME_O_CLOEXEC): Likewise.
35209         (__ASSUME_SOCK_CLOEXEC): Likewise.
35210         (__ASSUME_IN_NONBLOCK): Likewise.
35211         (__ASSUME_PIPE2): Likewise.
35212         (__ASSUME_EVENTFD2): Likewise.
35213         (__ASSUME_SIGNALFD4): Likewise.
35214         (__ASSUME_DUP3): Likewise.
35215         (__ASSUME_UTIMES): Undefine.
35217         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35218         feclearexcept.  Remove symbol versioning code.
35219         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35220         symbol versioning code.
35221         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35222         symbol versioning code.
35223         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35224         feupdateenv.  Remove symbol versioning code.
35225         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35226         fegetexceptflag.  Remove symbol versioning code.
35227         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35228         fesetexceptflag.  Remove symbol versioning code.
35229         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35230         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35231         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35232         (__posix_fadvise64_l32): Remove prototype.
35233         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35234         code.
35236 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35238         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35239         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35240         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35241         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35243 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35245         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35246         current working directory
35248 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35250         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35251         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35252         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35253         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35254         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35255         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35256         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35257         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35258         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35259         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35260         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35261         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35262         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35263         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35264         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35265         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35266         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35267         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35268         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35269         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35270         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35271         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35272         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35273         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35274         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35275         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35276         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35277         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35278         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35279         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35280         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35281         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35282         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35283         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35284         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35285         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35286         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35287         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35288         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35289         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35290         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35291         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35293         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35294         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35296         * sysdeps/unix/sysv/linux/arm/Makefile
35297         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35298         Add rt-aeabi_unwind_cpp_pr1.
35299         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35300         Add nptl-aeabi_unwind_cpp_pr1.
35301         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35302         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35303         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35304         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35305         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35306         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35308         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35309         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35310         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35311         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35313         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35314         Deconditionalize the code that was previously under [RESET_PID].
35315         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35317         * sysdeps/generic/exit-thread.h: New file.
35318         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35319         * include/unistd.h (__exit_thread): Remove declaration.
35320         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35321         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35322         * csu/libc-start.c: Include <exit-thread.h>.
35323         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35324         * nptl/pthread_create.c: Include <exit-thread.h>.
35325         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35326         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35327         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35328         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35329         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35330         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35331         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35332         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35333         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35334         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35335         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35336         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35337         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35338         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35339         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35340         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35341         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35343 2014-05-13  Andreas Schwab  <schwab@suse.de>
35345         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35347 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35349         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35350         (__ASSUME_UTIMES): Do not condition on kernel version.
35351         (__ASSUME_PSELECT): Define unconditionally.
35352         (__ASSUME_PPOLL): Likewise.
35353         (__ASSUME_ATFCTS): Likewise.
35354         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35355         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35356         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35357         (__ASSUME_UTIMENSAT): Define unconditionally.
35358         (__ASSUME_PRIVATE_FUTEX): Likewise.
35359         (__ASSUME_FALLOCATE): Likewise.
35360         (__ASSUME_O_CLOEXEC): Likewise.
35361         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35362         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35363         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35364         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35365         (__ASSUME_IN_NONBLOCK): Likewise.
35366         (__ASSUME_PIPE2): Likewise.
35367         (__ASSUME_EVENTFD2): Likewise.
35368         (__ASSUME_SIGNALFD4): Likewise.
35369         (__ASSUME_DUP3): Likewise.
35370         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35371         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35372         (__ASSUME_AT_RANDOM): Likewise.
35373         (__ASSUME_PREADV): Likewise.
35374         (__ASSUME_PWRITEV): Likewise.
35375         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35376         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35377         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35378         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35379         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35381         (__ASSUME_O_CLOEXEC): Define unconditionally.
35382         (__ASSUME_PSELECT): Do not undefine conditionally.
35383         (__ASSUME_PPOLL): Likewise.
35384         (__ASSUME_ATFCTS): Likewise.
35385         (__ASSUME_SET_ROBUST_LIST): Likewise.
35386         (__ASSUME_UTIMENSAT): Likewise.
35387         (__ASSUME_FDATASYNC): Define unconditionally.
35388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35389         (__ASSUME_SIGFRAME_V2): Likewise.
35390         )__ASSUME_EVENTFD2): Likewise.
35391         (__ASSUME_SIGNALFD4): Likewise.
35392         (__ASSUME_PSELECT): Do not undefine conditionally.
35393         (__ASSUME_PPOLL): Likewise.
35394         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35395         (__ASSUME_PSELECT): Define unconditionally.
35396         (__ASSUME_PPOLL): Likewise.
35397         (__ASSUME_O_CLOEXEC): Likewise.
35398         (__ASSUME_SOCK_CLOEXEC): Likewise.
35399         (__ASSUME_IN_NONBLOCK): Likewise.
35400         (__ASSUME_PIPE2): Likewise.
35401         (__ASSUME_EVENTFD2): Likewise.
35402         (__ASSUME_SIGNALFD4): Likewise.
35403         (__ASSUME_DUP3): Likewise.
35404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35405         (__ASSUME_O_CLOEXEC): Likewise.
35406         (__ASSUME_SOCK_CLOEXEC): Likewise.
35407         (__ASSUME_IN_NONBLOCK): Likewise.
35408         (__ASSUME_PIPE2): Likewise.
35409         (__ASSUME_EVENTFD2): Likewise.
35410         (__ASSUME_SIGNALFD4): Likewise.
35411         (__ASSUME_DUP3): Likewise.
35412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35413         (__ASSUME_EVENTFD2): Likewise.
35414         (__ASSUME_SIGNALFD4): Likewise.
35415         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35417 2014-05-12  Andreas Schwab  <schwab@suse.de>
35419         [BZ #16932]
35420         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35421         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35422         than maximum RPC packet size.
35423         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35424         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35425         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35426         (_nss_nis_getservbyport_r): Likewise.
35428 2014-05-12  Will Newton  <will.newton@linaro.org>
35430         * malloc/Makefile (tests): Add tst-mallopt.
35431         * malloc/tst-mallopt.c: New file.
35433 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35435         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35436         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35438 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35440         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35441         (tst-tlsmod6.so): Likewise.
35443 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35445         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35447 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35449         [BZ #16064]
35450         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35451         and <dl-procinfo.h>.
35452         (__fegetenv): Save SSE state in envp->__eip if supported.
35453         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35454         envp->__eip if supported.
35455         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35456         and <dl-procinfo.h>.
35457         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35458         __data_offset and __data_selector in environment to 0.  Set SSE
35459         state if supported.
35460         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35461         test-fenv-sse.
35462         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35463         -mfpmath=sse.
35464         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35466 2014-05-09  Will Newton  <will.newton@linaro.org>
35468         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35469         and libc_relro_required for ARM.
35470         * sysdeps/arm/preconfigure: Regenerate.
35472 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35473             Stefan Liebler  <stli@linux.vnet.ibm.com>
35475         * config.make.in (enable-lock-elision): New Makefile variable.
35476         * configure.ac: Likewise.
35477         * configure: Regenerate.
35478         * sysdeps/s390/configure.ac:
35479         Add check for gcc transactions support.
35480         * sysdeps/s390/configure: Regenerate.
35481         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35482         Build elision files if enabled.
35483         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35484         Add lock elision support for s390.
35485         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35486         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35487         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35488         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35489         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35490         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35491         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35492         Likewise.
35493         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35494         Likewise.
35495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35496         Likewise.
35497         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35498         Likewise.
35499         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35500         (__lll_timedlock_elision, __lll_lock_elision)
35501         (__lll_unlock_elision, __lll_trylock_elision)
35502         (lll_timedlock_elision, lll_lock_elision)
35503         (lll_unlock_elision, lll_trylock_elision): Add.
35504         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35505         (pthread_mutex_t): Add lock elision support for s390.
35507 2014-05-14  Wilco  <wdijkstr@arm.com>
35509         * sysdeps/arm/fclrexcpt.c: Cleanup.
35510         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35511         * sysdeps/arm/feenablxcpt.c: Cleanup.
35512         * sysdeps/arm/fegetenv.c: Cleanup.
35513         * sysdeps/arm/fegetexcept.c: Cleanup.
35514         * sysdeps/arm/fegetround.c: Cleanup.
35515         * sysdeps/arm/feholdexcpt.c: Cleanup.
35516         * sysdeps/arm/fesetenv.c: Cleanup.
35517         * sysdeps/arm/fesetround.c: Cleanup.
35518         * sysdeps/arm/feupdateenv.c: Cleanup.
35519         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35520         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35521         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35522         * sysdeps/arm/ftestexcept.c: Cleanup.
35523         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35524         * sysdeps/arm/setfpucw.c: Cleanup.
35526 2014-05-09  Will Newton  <will.newton@linaro.org>
35528         * sysdeps/arm/armv7/strcmp.S: New file.
35529         * NEWS: Mention addition of ARMv7 optimized strcmp.
35531 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35533         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35534         look for %.ac rather than %.in.
35536         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35537         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35538         * sysdeps/mach/hurd/configure: Regenerated.
35539         * sysdeps/unix/sysv/linux/configure: Regenerated.
35541         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35543 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35545         [BZ# 16922]
35546         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35547         (LONG_SUB): Ditto.
35548         (PTR_SUB): Ditto.
35550 2014-05-07  Andreas Schwab  <schwab@suse.de>
35552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35553         when skipping over non-matching result from nscd.
35555 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35557         [BZ #16876]
35558         * nptl/sockperf.c (client): Check socket return value.
35560         [BZ #16877]
35561         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35562         nscd security class.
35564 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35566         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35567         * sysdeps/arm/unwind.h: ... here.
35569 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35571         [BZ# 16916]
35572         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35573         Define.
35575 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35577         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35578         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35579         multiarch strncpy for PPC64.
35580         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35581         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35583         multiarch optimizations.
35584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35585         (__libc_ifunc_impl_list): Likewise.
35586         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35587         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35588         multiarch stpncpy for PPC64.
35589         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35590         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35592 2014-05-06  Andreas Schwab  <schwab@suse.de>
35594         [BZ #16912]
35595         * gmon/mcount.c (_MCOUNT_DECL): Use
35596         atomic_compare_and_exchange_bool_acq instead of
35597         catomic_compare_and_exchange_bool_acq.
35599 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35601         * elf/Makefile (others, install-bin): Remove pldd.
35602         (pldd-modules): Variable removed.
35603         ($(objpfx)pldd): Target removed.
35604         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35605         (others, install-bin): Append pldd here.
35606         ($(objpfx)pldd): New target.
35608         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35609         to 0, so the first #if test emitted later doesn't see it undefined.
35610         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35611         * sysdeps/gnu/errlist.c: Regenerated.
35613 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35616         [libc_hidden_builtin_def]: Define to empty value.
35617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35618         [libc_hidden_builtin_def]: Likewise.
35619         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35620         [libc_hidden_builtin_def]: Likewise.
35621         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35622         [libc_hidden_builtin_def]: Likewise.
35623         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35624         __redirect_memcpy and define ifunc as default hidden symbol.
35625         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35626         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35628 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35630         * locale/iso-4217.def: Reintroduce XDR currency.
35632 2014-05-04  Allan McRae  <allan@archlinux.org>
35634         * po/eo.po: Update Esperanto translation from translation project.
35636 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35638         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35639         and FEATURE_INDEX_MAX to 1.
35640         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35642 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35644         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35645         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35646         * iconvdata/big5.c (ONE_DIRECTION): Define.
35647         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35648         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35649         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35650         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35651         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35652         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35653         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35654         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35655         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35656         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35657         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35658         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35659         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35660         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35661         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35662         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35663         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35664         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35665         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35666         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35667         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35668         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35669         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35670         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35671         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35672         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35673         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35674         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35675         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35676         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35677         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35678         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35679         * iconvdata/johab.c (ONE_DIRECTION): Define.
35680         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35681         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35682         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35683         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35684         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35685         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35686         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35687         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35688         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35689         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35691 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35693         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35694         (_IO_JUMPS_OFFSET): Define to 0.
35696         * nptl/sysdeps/pthread/bits/libc-lock.h
35697         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35698         (__libc_lock_define_initialized_recursive): Always define using
35699         initializer.  Modern compilers treat uninitialized (implicit zero) and
35700         explicit zero initializers the same (i.e. put the datum in bss).
35702 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35704         * nscd/nscd-client.h: Include <string.h>.
35706 2014-05-01  David S. Miller  <davem@davemloft.net>
35708         [BZ #16885]
35709         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35710         multiple zero bytes exist at the end of a string.
35711         Reported by Aurelien Jarno <aurelien@aurel32.net>
35713         * string/test-strcmp.c (check): Add explicit test for situations where
35714         there are multiple zero bytes after the first.
35716 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35718         [BZ #16890]
35719         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35720         when compiling wprintf.
35721         * stdio-common/tstdiomisc.c (t3): New function.
35722         (main): Call it.
35724 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35726         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35727         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35728         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35729         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35731 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35733         * stdlib/longlong.h: Updated from GCC.
35735 2014-05-01  Will Newton  <will.newton@linaro.org>
35736             Bernard Ogden  <bernie.ogden@linaro.org>
35738         * NEWS: Update fixed bug list.
35740         [BZ #15119]
35741         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35743 2014-04-30  David S. Miller  <davem@davemloft.net>
35745         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35746         (libc_feholdexcept_setround_sparc_ctx): New function.
35747         (libc_fesetenv_sparc_ctx): Likewise.
35748         (libc_feupdateenv_sparc_ctx): Likewise.
35749         (libc_feholdsetround_sparc_ctx): Likewise.
35750         (libc_feholdexcept_setround_ctx): Define.
35751         (libc_feholdexcept_setroundf_ctx): Likewise.
35752         (libc_feholdexcept_setroundl_ctx): Likewise.
35753         (libc_fesetenv_ctx): Likewise.
35754         (libc_fesetenvf_ctx): Likewise.
35755         (libc_fesetenvl_ctx): Likewise.
35756         (libc_feupdateenv_ctx): Likewise.
35757         (libc_feupdateenvf_ctx): Likewise.
35758         (libc_feupdateenvl_ctx): Likewise.
35759         (libc_feresetround_ctx): Likewise.
35760         (libc_feresetroundf_ctx): Likewise.
35761         (libc_feresetroundl_ctx): Likewise.
35762         (libc_feholdsetround_ctx): Likewise.
35763         (libc_feholdsetroundf_ctx): Likewise.
35764         (libc_feholdsetroundl_ctx): Likewise.
35766         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35767         with __USE_GNU instead of XOPEN cpp guards.
35769         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35770         0.
35772         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35773         with XOPEN cpp guards.
35775 2014-04-30  Julian Brown  <julian@codesourcery.com>
35777         [BZ #16888]
35778         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35779         handling.
35781 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35783         [BZ #9894]
35784         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35785         Change to 2.6.32.
35786         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35787         * sysdeps/unix/sysv/linux/configure: Regenerated.
35788         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35789         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35790         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35791         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35792         * README: Update reference to required Linux kernel version.
35793         * manual/install.texi (Linux): Update reference to required Linux
35794         kernel headers version.
35795         * INSTALL: Regenerated.
35797         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35798         header inclusion.
35799         [POSIX] (limits.h): Likewise.
35800         [POSIX] (math.h): Likewise.
35801         [POSIX] (sys/wait.h): Likewise.
35802         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35803         function.
35804         [POSIX] (stddef.h): Do not allow header inclusion.
35806 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35808         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35810 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35812         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35813         Return immediately after lll_futex_wake.
35815 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35817         [BZ #16791]
35818         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35819         structure.
35820         (datahead_init_pos): Call datahead_init_common early.
35821         (datahead_init_neg): Likewise.
35823         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35824         datahead_init_neg): New functions.
35825         * nscd/aicache.c (addhstaiX): Use them.
35826         * nscd/grpcache.c (cache_addgr): Likewise.
35827         * nscd/hstcache.c (cache_addhst): Likewise.
35828         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35829         * nscd/netgroupcache.c (do_notfound): Likewise.
35830         (addgetnetgrentX): Likewise.
35831         (addinnetgrX): Likewise.
35832         * nscd/pwdcache.c (cache_addpw): Likewise.
35833         * nscd/servicescache.c (cache_addserv): Likewise.
35835 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35836             Atsushi Onoe  <atsushi@onoe.org>
35838         [BZ #14308]
35839         [BZ #12994]
35840         [BZ #13651]
35841         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35842         one response is valid.
35843         * resolv/res_send.c (send_dg): Check for validity of other
35844         response if the current response is a referral.
35846 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35848         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35850 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35852         [BZ #16823]
35853         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35854         Always divide by positive zero when computing -Inf result.
35855         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35856         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35858 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35860         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35861         FPSCR if value do not change.
35862         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35863         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35864         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35865         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35866         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35867         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35868         function.
35870 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35872         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35873         * sysdeps/unix/sysv/linux/hppa: Move directory from
35874         ports/systeps/unix/sysv/linux/hppa.
35875         * README: Update listing for hppa-*-linux-gnu.
35877 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35879         [BZ #16754]
35880         * manual/stdio.texi (Hook functions): Fix types of stream hook
35881         functions.
35882         [BZ #16854]
35883         * socket/sys/socket.h: Fix typo in comment.
35885 2014-04-28  Wilco  <wdijkstr@arm.com>
35887         * sysdeps/arm/fenv_private.h: New file.
35888         * sysdeps/arm/math_private.h: New file.
35889         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35891 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35893         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35894         with __int128_t.
35895         (La_x86_64_retval): Likewise.
35897 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35899         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35900         fpsr if value didn't change.
35901         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35902         to fpcr if value didn't change.
35903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35904         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35905         fpsr or fpcr if value didn't change.
35906         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35907         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35908         fpcr if value didn't change.
35909         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35910         to fpsr if value didn't change.
35912 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35914         * nptl/tst-sem3.c: Use test-skeleton.c
35915         (main): Rename to do_test.  Use return instead of
35916         exit.
35917         * nptl/tst-sem4.c: Use test-skeleton.c
35918         (main): Rename to do_test.
35920 2014-04-22  David S. Miller  <davem@davemloft.net>
35922         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35923         (struct sigaction): New struct member __glibc_reserved0, change
35924         type of sa_flags to int.
35926 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35928         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35929         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35931 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35933         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35934         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35936 2014-04-22  Will Newton  <will.newton@linaro.org>
35937             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35939         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35940         (__longjmp): Add longjmp and longjmp_target SystemTap
35941         probes.
35942         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35943         (__sigsetjmp): Add setjmp SystemTap probe.
35945 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35947         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35948         match manual order.
35950 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35952         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35954         * sysdeps/powerpc/fpu/fenv_private.h
35955         (libc_feholdexcept_setroundl_ctx): Define to
35956         libc_feholdexcept_setround_ppc_ctx.
35957         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35958         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35959         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35960         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35962 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35964         * sysdeps/aarch64/math-tests.h: New file.
35966 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35968         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35969         New.
35970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35971         Check and set bit_AVX2_Usable.
35972         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35973         macro.
35974         (bit_AVX2): Likewise.
35975         (index_AVX2_Usable): Likewise.
35976         (CPUID_AVX2): Likewise.
35977         (HAS_AVX2): Likewise.
35979 2014-04-17  Will Newton  <will.newton@linaro.org>
35981         * manual/setjmp.texi (System V contexts): Add note that
35982         calling setcontext on a context created by a call to a
35983         signal handler is undefined.  Update text to note that
35984         setcontext from a signal handler is possible but not
35985         recommended.
35987         [BZ #16629]
35988         * stdlib/tst-setcontext.c: Include signal.h.
35989         (main): Check that the signal stack before and
35990         after swapcontext is the same.
35992         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35993         Re-implement to restore registers in user code and avoid
35994         rt_sigreturn system call.
35996 2014-04-17  Wilco  <wdijkstr@arm.com>
35998         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35999         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36000         * math/test-fenv.c: Skip exception trap tests on targets which only
36001         support non-stop mode.
36003 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36004             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36006         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36007         (libc_feholdsetround_aarch64_ctx)
36008         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36009         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36010         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36011         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36012         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36013         (libc_feresetround_noexl_ctx): Define.
36015 2014-04-16  Richard Henderson  <rth@redhat.com>
36017         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36019         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36020         unwind tables.
36022         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36023         const from the non-libc, non-ldso copy.
36025         * sysdeps/alpha/libm-test-ulps: Regenerate.
36027 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36028             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36030         * sysdeps/aarch64/fpu/math_private.h: New file.
36032 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36034         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36036 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36038         [BZ #16275]
36039         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36040         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36041         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36042         Intel MPX bound registers before _dl_profile_fixup.
36043         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36044         registers after _dl_profile_fixup.  Save and restore bound
36045         registers bnd0/bnd1 when calling _dl_call_pltexit.
36046         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36047         (LR_BND_OFFSET): Likewise.
36048         (LRV_BND0_OFFSET): Likewise.
36049         (LRV_BND1_OFFSET): Likewise.
36051 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36053         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36054         to...
36055         * sysdeps/mach/hurd/i386/tls.h: ... here.
36056         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36057         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36058         fields.
36060 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36062         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36064 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36066         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36068 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36070         [BZ #14770]
36071         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36072         * sysdeps/s390/configure: Regenerate.
36074         [BZ #16824]
36075         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36076         Set round-to-nearest internally to reduce error accumulation.
36078 2014-04-16  Alan Modra  <amodra@gmail.com>
36080         [BZ #16740]
36081         [BZ #16619]
36082         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36083         * math/libm-test.inc (frexp_test_data): Add tests.
36084         * NEWS: Update fixed bug list.
36086 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36088         * benchtests/Makefile: Depend on libraries in build directory.
36089         (bench-math): Separate out math tests.
36090         (bench-pthread): Separate out pthread tests.
36091         (bench): Include math and pthread tests.
36093 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36095         [BZ #16831]
36096         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36097         _dl_debug_initialize.
36099         * configure.ac: Remove SELinux header check.
36100         * configure: Regenerate.
36101         * nscd/selinux.c (perms): Array of const char* to permission names.
36102         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36103         default policy. Call string_to_security_class and string_to_av_perm to
36104         translate strings. Enforce default policy and call avs_has_perm with
36105         results of translated strings.
36107 2014-04-13  David S. Miller  <davem@davemloft.net>
36109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36111 2014-04-12  Allan McRae  <allan@archlinux.org>
36113         [BZ #16838]
36114         * manual/string.texi (Collation Functions): Fix qsort argument
36115         order in example.
36116         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36118 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36120         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36121         Make the test a no-op if there are no exceptions defined.
36123 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36125         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36126         enable-hardcoded-path-in-tests
36128 2014-04-11  Will Newton  <will.newton@linaro.org>
36130         * benchtests/Makefile (extra-objs): Add json-lib.o.
36131         (bench-func): Tidy up JSON output.
36132         * benchtests/bench-skeleton.c: Include json-lib.h.
36133         (main): Use JSON library functions to do output of
36134         benchmark results.
36135         * benchtests/bench-timing-type.c (main): Output the
36136         timing type simply, leaving formatting to the user.
36137         * benchtests/json-lib.c: New file.
36138         * benchtests/json-lib.h: Likewise.
36140 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36142         [BZ #15215]
36143         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36144         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36145         memory barriers.  Add comments.
36146         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36147         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36148         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36149         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36150         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36151         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36153 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36155         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36156         * sysdeps/s390/s390-64/configure.ac: ... this ...
36157         * sysdeps/s390/configure.ac: ... to here.
36158         * sysdeps/s390/s390-32/configure: Delete file.
36159         * sysdeps/s390/s390-64/configure: Delete file.
36160         * sysdeps/s390/configure: Regenerate.
36162 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36164         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36166 2014-04-11  Will Newton  <will.newton@linaro.org>
36168         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36169         to zero if it is not defined elsewhere.  (mtrim): Test
36170         the value of MALLOC_DEBUG with #if rather than #ifdef.
36172 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36174         * benchtests/pthread_once-inputs: New file.
36175         * benchtests/pthread_once-source.c: New file.
36176         * benchtests/README: Update documentation.
36178 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36179             H.J. Lu  <hongjiu.lu@intel.com>
36181         [BZ #16275]
36182         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36183         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36184         * sysdeps/x86_64/configure: Regenerated.
36185         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36186         macro.
36187         (REGISTER_SAVE_RAX): Likewise.
36188         (REGISTER_SAVE_RCX): Likewise.
36189         (REGISTER_SAVE_RDX): Likewise.
36190         (REGISTER_SAVE_RSI): Likewise.
36191         (REGISTER_SAVE_RDI): Likewise.
36192         (REGISTER_SAVE_R8): Likewise.
36193         (REGISTER_SAVE_R9): Likewise.
36194         (REGISTER_SAVE_BND0): Likewise.
36195         (REGISTER_SAVE_BND1): Likewise.
36196         (REGISTER_SAVE_BND2): Likewise.
36197         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36198         bound registers when calling _dl_fixup.
36200 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36202         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36203         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36204         of its definition.
36205         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36206         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36207         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36208         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36209         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36210         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36211         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36213 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36215         [BZ #15514]
36216         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36217         pathconf(_PC_NAME_MAX).
36219 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36221         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36222         Remove macro usage.
36223         (__PTHREAD_SPINS): Move definition to ...
36224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36225         (__PTHREAD_SPINS): ... here.
36226         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36227         (__PTHREAD_SPIN): Likewise.
36228         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36229         (__PTHREAD_SPIN): Likewise.
36230         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36231         (__PTHREAD_SPIN): Likewise.
36232         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36233         (__PTHREAD_SPIN): Likewise.
36234         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36235         (__PTHREAD_SPIN): Likewise.
36236         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36237         (__PTHREAD_SPIN): Likewise.
36238         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36239         (__PTHREAD_SPIN): Likewise.
36240         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36241         (__PTHREAD_SPIN): Likewise.
36242         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36243         (__PTHREAD_SPIN): Likewise.
36244         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36245         (__PTHREAD_SPIN): Likewise.
36246         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36247         (__PTHREAD_SPIN): Likewise.
36248         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36249         (__PTHREAD_SPIN): Likewise.
36251         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36252         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36253         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36254         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36255         imply folder.
36256         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36257         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36258         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36259         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36260         correct imply path.
36261         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36262         strlen symbol for non multi-arch builds.
36263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36264         missing hidden_def and weak_alias.
36266 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36268         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36270 2014-04-07  Will Newton  <will.newton@linaro.org>
36272         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36273         and contents.  [!_LIBC] Remove #ifndef and contents.
36274         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36275         * string/memccpy.c (__memccpy): Use ANSI prototype.
36276         * string/memfrob.c (memfrob): Likewise.
36277         * string/strcoll.c (STRCOLL): Likewise.
36278         * string/strlen.c (strlen): Likewise.
36279         * string/strtok.c (STRTOK): Likewise.
36280         * string/strcat.c: Remove unused #include of memcopy.h.
36281         (strcat): Use ANSI prototype.
36282         * string/strchr.c: Remove unused #include of memcopy.h.
36283         (strchr): Use ANSI prototype.
36284         * string/strcmp.c: Remove unused #include of memcopy.h.
36285         (strcmp): Use ANSI prototype.
36286         * string/strcpy.c: Remove unused #include of memcopy.h.
36287         (strcpy): Use ANSI prototype.
36289 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36291         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36292         * config.make.in (config-extra-cppflags): Set it from
36293         libc_extra_cppflags.
36294         * configure.ac (libc_extra_cflags): Make it accumulate over
36295         configure fragments.
36296         (libc_extra_cppflags): New flag.
36297         * configure. Regenerate.
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36299         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36300         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36303         [BZ #16815]
36304         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36305         result for FE_DOWNWARD rounding mode.
36306         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36307         Likewise.
36308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36310 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36312         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36313         in function argument name.
36315 2014-04-03  David Svoboda  <svoboda@cert.org>
36317         [BZ #5666]
36318         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36319         explicitly.
36321 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36323         * elf/dl-unmap-segments.h: New file.
36324         * sysdeps/generic/ldsodefs.h
36325         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36326         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36327         * elf/dl-fptr.c: Likewise.
36328         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36329         * sysdeps/aarch64/tlsdesc.c: Likewise.
36330         * sysdeps/arm/tlsdesc.c: Likewise.
36331         * sysdeps/i386/tlsdesc.c: Likewise.
36332         * sysdeps/tile/dl-runtime.c: Likewise.
36333         * sysdeps/x86_64/tlsdesc.c: Likewise.
36334         * elf/dl-load.h: New file.
36335         * elf/dl-load.c: Include it.
36336         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36337         Macros moved to dl-load.h.
36338         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36339         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36340         Use _dl_unmap_segments in place of __munmap.
36341         Break out segment-mapping loop into ...
36342         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36344 2014-04-03  Will Newton  <will.newton@linaro.org>
36346         * elf/dl-lookup.c (do_lookup_x): Remove comment
36347         referring to nested function and move variable
36348         declarations down to before first use.
36350 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36352         [BZ #16799]
36353         [BZ #16800]
36354         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36355         with 0 numerator.
36356         * math/s_catanf.c (__catanf): Likewise.
36357         * math/s_catanh.c (__catanh): Likewise.
36358         * math/s_catanhf.c (__catanhf): Likewise.
36359         * math/s_catanhl.c (__catanhl): Likewise.
36360         * math/s_catanl.c (__catanl): Likewise.
36361         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36362         by positive zero when computing -Inf result.
36363         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36364         (catanh_test): Likewise.
36365         * sysdeps/i386/fpu/libm-test-ulps: Update.
36366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36368         [BZ #16789]
36369         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36370         instead of using underflowing value in computing result.
36371         * math/s_clog10.c (__clog10): Likewise.
36372         * math/s_clog10f.c (__clog10f): Likewise.
36373         * math/s_clog10l.c (__clog10l): Likewise.
36374         * math/s_clogf.c (__clogf): Likewise.
36375         * math/s_clogl.c (__clogl): Likewise.
36376         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36377         (clog10_test): Likewise.
36378         * sysdeps/i386/fpu/libm-test-ulps: Update.
36379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36381 2014-04-02  Alan Modra  <amodra@gmail.com>
36383         [BZ #16739]
36384         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36385         output when value is near a power of two.  Use int64_t for lx and
36386         remove casts.  Use decimal rather than hex exponent constants.
36387         Don't use long double multiplication when double will suffice.
36388         * math/libm-test.inc (nextafter_test_data): Add tests.
36389         * NEWS: Add 16739 and 16786 to bug list.
36391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36393         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36395 2014-04-01  Will Newton  <will.newton@linaro.org>
36397         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36398         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36400 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36402         [BZ #13347]
36403         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36404         * nptl/tst-setuid2.c: New file.
36405         * nptl/Makefile (xtests): Add tst-setuid2.
36407 2014-04-01  Alan Modra  <amodra@gmail.com>
36409         [BZ #16786]
36410         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36412 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #6803]
36415         [BZ #6804]
36416         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36417         set errno as appropriate.
36418         * math/w_scalbf.c (__scalbf): Likewise.
36419         * math/w_scalbl.c (__scalbl): Likewise.
36420         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36421         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36422         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36423         Add more NaN tests.
36425         [BZ #16349]
36426         * math/w_atan2.c: Include <errno.h>.
36427         (__atan2): Set errno for result underflowing to zero.
36428         * math/w_atan2f.c: Include <errno.h>.
36429         (__atan2f): Set errno for result underflowing to zero.
36430         * math/w_atan2l.c: Include <errno.h>.
36431         (__atan2l): Set errno for result underflowing to zero.
36432         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36433         tests.
36434         * math/auto-libm-test-out: Regenerated.
36436 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36438         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36439         Encode instruction correctly in little endian.
36440         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36441         Likewise.
36442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36443         Likewise.
36444         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36445         Likewise.
36446         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36447         Likewise.
36449 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36451         [BZ #9894]
36452         * sysdeps/unix/sysv/linux/kernel-features.h
36453         [__sparc__ && !__arch64__ && !__sparc_v9__]
36454         (__ASSUME_SET_ROBUST_LIST): Do not define.
36455         [__sparc__ && !__arch64__ && !__sparc_v9__]
36456         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36457         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36458         Likewise.
36459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36460         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36461         (__ASSUME_REQUEUE_PI): Likewise.
36462         (__ASSUME_SET_ROBUST_LIST): Likewise.
36463         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36464         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36465         Undefine.
36466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36467         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36468         Likewise.
36469         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36470         Likewise.
36471         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36472         Likewise.
36473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36474         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36475         Undefine.
36476         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36477         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36478         Likewise.
36480         [BZ #16648]
36481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36482         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36483         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36485 2014-03-31  Will Newton  <will.newton@linaro.org>
36487         * benchtests/Makefile (bench): Add ffs and ffsll to list
36488         of tests.
36489         * benchtests/ffs-inputs: New file.
36490         * benchtests/ffsll-inputs: Likewise.
36492 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36494         [BZ #16770]
36495         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36496         too large before casting to int.
36497         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36498         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36499         * math/libm-test.inc (scalb_test_data): Add more tests.
36501 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36503         * benchtests/Makefile (DETAILED_OPT): New make option.
36504         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36505         set.
36506         * benchtests/bench-skeleton.c: Include stdbool.h.
36507         (main): Store and print timings per input.
36508         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36509         member to each argument value.
36510         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36511         (_print_arg_data): Initialize per-input timing to 0.
36513         * benchtests/Makefile (timing-type): New binary.
36514         (bench-clean): Also remove bench-timing-type.
36515         (bench): New target for timing-type.
36516         (bench-func): Print output in JSON format.
36517         * benchtests/bench-skeleton.c (main): Print output in JSON
36518         format.
36519         * benchtests/bench-timing-type.c: New file.
36520         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36521         (TIMING_PRINT_STATS): Remove.
36522         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36523         name separately.
36525         * benchtests/bench-modf.c: Remove.
36526         * benchtests/modf-inputs: New inputs file.
36528 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36530         [BZ #16362]
36531         * math/s_clog10.c (M_PI_LOG10E): New macro.
36532         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36533         imaginary parts are 0.
36534         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36535         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36536         imaginary parts are 0.
36537         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36538         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36539         imaginary parts are 0.
36540         * math/libm-test.inc (clog10_test_data): Update expected results
36541         for when real and imaginary parts are 0.
36543 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36545         * elf/dl-load.c: Finish conversion of __builtin_expect into
36546         __glibc_{un}likely.
36548 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36550         [BZ #16348]
36551         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36552         1+x for argument with exponent below -67.
36553         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36554         Likewise.
36555         * math/auto-libm-test-in: Add more tests of exp.
36556         * math/auto-libm-test-out: Regenerated.
36558 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36560         [BZ #16759]
36561         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36562         (nscd_getnetgrent): Use it.
36564         [BZ #16760]
36565         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36566         of stpcpy.
36568 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36570         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36571         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36572         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36573         (lll_robust_unlock): Remove out of line section. Use cfi
36574         intrinsics.
36575         (LLL_STUB_UNWIND_INFO*): Remove.
36576         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36577         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36578         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36579         (lll_robust_unlock): Remove out of line section. Use cfi
36580         intrinsics.
36581         (LLL_STUB_UNWIND_INFO*): Remove.
36583 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         [BZ #16758]
36586         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36587         blank values.
36589 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36591         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36593 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36595         [BZ #16198]
36596         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36597         fnstenv.
36598         * math/test-fenv-preserve.c: New file.
36599         * math/Makefile (tests): Add test-fenv-preserve.
36601 2014-03-26  Will Newton <will.newton@linaro.org>
36603         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36605 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36607         * scripts/versionlist.awk: Partition the version sets and emit all
36608         GLIBC_* (sorted) before all others (sorted).
36610 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36612         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36613         GLIBC_2.2.5 version.
36615 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36617         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36618         calls.
36620         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36621         previous change.
36623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36625 2014-03-25  Andreas Schwab  <schwab@suse.de>
36627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36628         label to be used after in6ailist is initialized.
36630 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36632         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36633         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36635 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36637         [BZ #16357]
36638         [BZ #16599]
36639         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36640         min_plus_half.
36641         (fp_formats): Update initializers.
36642         (init_fp_formats): Initialize new field.
36643         (output_for_one_input_case): Allow underflow for results up to
36644         min_plus_half.
36645         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36646         * math/auto-libm-test-in: Don't mark some underflows from asin and
36647         atanh as spurious.
36648         * math/auto-libm-test-out: Regenerated.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652 2014-03-25  Andreas Schwab  <schwab@suse.de>
36654         * libio/Makefile (tst-ftell-partial-wide-ENV)
36655         (tst-ftell-active-handler-ENV): Define.
36657 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36659         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36661 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36663         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36665 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36667         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36668         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36669         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36671 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36673         [BZ #16634]
36674         * elf/dl-load.c (open_verify): Add mode parameter.
36675         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36676         (open_path): Change from boolean 'secure' to complete flag 'mode'
36677         (_dl_map_object): Adjust.
36678         * elf/Makefile (tests): Add tst-dlopen-aout.
36679         * elf/tst-dlopen-aout.c: New test.
36681 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36683         [BZ #16714]
36684         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36685         (struct stat): Rename member pad0 to __glibc_reserved0.
36687         [BZ #16712]
36688         * sysdeps/s390/s390-32/bits/wordsize.h
36689         (__WORDSIZE32_SIZE_ULONG): New define.
36690         * sysdeps/s390/s390-64/bits/wordsize.h
36691         (__WORDSIZE32_SIZE_ULONG): Likewise.
36692         * sysdeps/generic/stdint.h (SIZE_MAX):
36693         Define as UL if __WORDSIZE32_SIZE_ULONG.
36695         [BZ #16713]
36696         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36697         (__glibc_reserved0): New variable.
36698         (sa_flags): Change type to int.
36700         * posix/Makefile (before-compile): Use += before-compile instead
36701         of a :=.
36703         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36704         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36706 2014-03-20  Andreas Schwab  <schwab@suse.de>
36708         [BZ #16743]
36709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36710         non-matching result from nscd.
36712 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36714         * scripts/bench.py: Moved to ...
36715         * benchtests/scripts/bench.py: ... here.
36716         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36718 2014-03-24  Andreas Schwab  <schwab@suse.de>
36720         [BZ #16002]
36721         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36722         alloca_account and account alloca use for struct in6ailist.
36724 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36726         [BZ #16284]
36727         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36728         rounding mode to recompute results that overflow to infinity or
36729         underflow to zero.
36730         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36731         bug 16284.
36732         * math/auto-libm-test-out: Regenerated.
36733         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36734         (ccosh_test): Likewise.
36735         (csin_test_data): Use plus_oflow.
36736         (csin_test): Use ALL_RM_TEST.
36737         (csinh_test_data): Use plus_oflow.
36738         (csinh_test): Use ALL_RM_TEST.
36739         * sysdeps/i386/fpu/libm-test-ulps: Update.
36740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36742 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36744         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36745         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36746         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36748         [BZ #16731]
36749         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36750         when x - 1 is zero.
36751         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36752         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36753         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36755         argument is 1.
36756         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36757         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36758         zero.
36759         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36760         * sysdeps/i386/fpu/libm-test-ulps: Update.
36761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36763 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36765         * scripts/bench.pl: Remove file.
36766         * scripts/bench.py: New benchmark script.
36767         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36768         * benchtests/README: Mention python dependency.
36769         * scripts/pylintrc: New file.
36770         * scripts/pylint: New file.
36772         * bits/mathdef.h: Use #ifdef instead of #if.
36773         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36774         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36775         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36776         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36777         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36778         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36780 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36781             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36783         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36785         and strpbrk-ppc64 objects.
36786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36787         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36788         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36789         multiarch strpbrk for POWER7.
36790         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36791         multiarch strpbrk for PPC64.
36792         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36793         ifunc selector.
36794         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36795         strpbrk for POWER7.
36797 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36799         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36800         (atan_test): Likewise.
36801         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36802         (atanh_test): Use ALL_RM_TEST.
36803         (atan2_test_data): Likewise.
36804         (cabs_test): Likewise.
36805         (cacosh_test): Likewise.
36806         (carg_test): Likewise.
36807         (casin_test): Likewise.
36808         (casinh_test): Likewise.
36809         (cbrt_test): Likewise.
36810         (csqrt_test): Likewise.
36811         (erf_test): Likewise.
36812         (erfc_test): Likewise.
36813         (pow10_test): Likewise.
36814         (exp2_test): Likewise.
36815         (hypot_test): Likewise.
36816         (j0_test): Likewise.
36817         (j1_test): Likewise.
36818         (lgamma_test): Likewise.
36819         (gamma_test): Likewise.
36820         (sincos_test): Likewise.
36821         (tanh_test): Likewise.
36822         (y0_test): Likewise.
36823         (y1_test): Likewise.
36824         * sysdeps/i386/fpu/libm-test-ulps: Update.
36825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36827 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36829         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36831         and strcspn-ppc64 objects.
36832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36833         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36834         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36835         multiarch strcspn for POWER7.
36836         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36837         multiarch strcspn for PPC64.
36838         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36839         ifunc selector.
36840         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36841         strcspn for POWER7.
36843 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36845         * math/gen-libm-test.pl (generate_testfile): Expect only function
36846         name as argument to AUTO_TESTS_* and pass results for all rounding
36847         modes to parse_args.
36848         (parse_auto_input): Separate inputs of automatic tests from
36849         outputs before storing in %auto_tests.
36850         * math/libm-test.inc (acos_test_data): Update call to
36851         AUTO_TESTS_f_f.
36852         (acos_test): Use ALL_RM_TEST.
36853         (acos_tonearest_test_data): Remove.
36854         (acos_test_tonearest): Likewise.
36855         (acos_towardzero_test_data): Likewise.
36856         (acos_test_towardzero): Likewise.
36857         (acos_downward_test_data): Likewise.
36858         (acos_test_downward): Likewise.
36859         (acos_upward_test_data): Likewise.
36860         (acos_test_upward): Likewise.
36861         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36862         (asin_test_data): Likewise.
36863         (asin_test): Use ALL_RM_TEST.
36864         (asin_tonearest_test_data): Remove.
36865         (asin_test_tonearest): Likewise.
36866         (asin_towardzero_test_data): Likewise.
36867         (asin_test_towardzero): Likewise.
36868         (asin_downward_test_data): Likewise.
36869         (asin_test_downward): Likewise.
36870         (asin_upward_test_data): Likewise.
36871         (asin_test_upward): Likewise.
36872         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36873         (atan_test_data): Likewise.
36874         (atanh_test_data): Likewise.
36875         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36876         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36877         (carg_test_data): Likewise.
36878         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36879         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36880         (ccosh_test_data): Likewise.
36881         (cexp_test_data): Likewise.
36882         (clog_test_data): Likewise.
36883         (clog10_test_data): Likewise.
36884         (cos_test_data): Update call to AUTO_TESTS_f_f.
36885         (cos_test): Use ALL_RM_TEST.
36886         (cos_tonearest_test_data): Remove.
36887         (cos_test_tonearest): Likewise.
36888         (cos_towardzero_test_data): Likewise.
36889         (cos_test_towardzero): Likewise.
36890         (cos_downward_test_data): Likewise.
36891         (cos_test_downward): Likewise.
36892         (cos_upward_test_data): Likewise.
36893         (cos_test_upward): Likewise.
36894         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36895         (cosh_test): Use ALL_RM_TEST.
36896         (cosh_tonearest_test_data): Remove.
36897         (cosh_test_tonearest): Likewise.
36898         (cosh_towardzero_test_data): Likewise.
36899         (cosh_test_towardzero): Likewise.
36900         (cosh_downward_test_data): Likewise.
36901         (cosh_test_downward): Likewise.
36902         (cosh_upward_test_data): Likewise.
36903         (cosh_test_upward): Likewise.
36904         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36905         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36906         (ctan_test_data): Likewise.
36907         (ctan_test): Use ALL_RM_TEST.
36908         (ctan_tonearest_test_data): Remove.
36909         (ctan_test_tonearest): Likewise.
36910         (ctan_towardzero_test_data): Likewise.
36911         (ctan_test_towardzero): Likewise.
36912         (ctan_downward_test_data): Likewise.
36913         (ctan_test_downward): Likewise.
36914         (ctan_upward_test_data): Likewise.
36915         (ctan_test_upward): Likewise.
36916         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36917         (ctanh_test): Use ALL_RM_TEST.
36918         (ctanh_tonearest_test_data): Remove.
36919         (ctanh_test_tonearest): Likewise.
36920         (ctanh_towardzero_test_data): Likewise.
36921         (ctanh_test_towardzero): Likewise.
36922         (ctanh_downward_test_data): Likewise.
36923         (ctanh_test_downward): Likewise.
36924         (ctanh_upward_test_data): Likewise.
36925         (ctanh_test_upward): Likewise.
36926         (erf_test_data): Update call to AUTO_TESTS_f_f.
36927         (erfc_test_data): Likewise.
36928         (exp_test_data): Likewise.
36929         (exp_test): Use ALL_RM_TEST.
36930         (exp_tonearest_test_data): Remove.
36931         (exp_test_tonearest): Likewise.
36932         (exp_towardzero_test_data): Likewise.
36933         (exp_test_towardzero): Likewise.
36934         (exp_downward_test_data): Likewise.
36935         (exp_test_downward): Likewise.
36936         (exp_upward_test_data): Likewise.
36937         (exp_test_upward): Likewise.
36938         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36939         (exp10_test): Use ALL_RM_TEST.
36940         (exp10_tonearest_test_data): Remove.
36941         (exp10_test_tonearest): Likewise.
36942         (exp10_towardzero_test_data): Likewise.
36943         (exp10_test_towardzero): Likewise.
36944         (exp10_downward_test_data): Likewise.
36945         (exp10_test_downward): Likewise.
36946         (exp10_upward_test_data): Likewise.
36947         (exp10_test_upward): Likewise.
36948         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36949         (expm1_test_data): Likewise.
36950         (expm1_test): Use ALL_RM_TEST.
36951         (expm1_tonearest_test_data): Remove.
36952         (expm1_test_tonearest): Likewise.
36953         (expm1_towardzero_test_data): Likewise.
36954         (expm1_test_towardzero): Likewise.
36955         (expm1_downward_test_data): Likewise.
36956         (expm1_test_downward): Likewise.
36957         (expm1_upward_test_data): Likewise.
36958         (expm1_test_upward): Likewise.
36959         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36960         (fma_test): Use ALL_RM_TEST.
36961         (fma_towardzero_test_data): Remove.
36962         (fma_test_towardzero): Likewise.
36963         (fma_downward_test_data): Likewise.
36964         (fma_test_downward): Likewise.
36965         (fma_upward_test_data): Likewise.
36966         (fma_test_upward): Likewise.
36967         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36968         (j0_test_data): Update call to AUTO_TESTS_f_f.
36969         (j1_test_data): Likewise.
36970         (jn_test_data): Update call to AUTO_TESTS_if_f.
36971         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36972         (log_test_data): Update call to AUTO_TESTS_f_f.
36973         (log10_test_data): Likewise.
36974         (log1p_test_data): Likewise.
36975         (log2_test_data): Likewise.
36976         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36977         (pow_tonearest_test_data): Likewise.
36978         (sin_test_data): Update call to AUTO_TESTS_f_f.
36979         (sin_test): Use ALL_RM_TEST.
36980         (sin_tonearest_test_data): Remove.
36981         (sin_test_tonearest): Likewise.
36982         (sin_towardzero_test_data): Likewise.
36983         (sin_test_towardzero): Likewise.
36984         (sin_downward_test_data): Likewise.
36985         (sin_test_downward): Likewise.
36986         (sin_upward_test_data): Likewise.
36987         (sin_test_upward): Likewise.
36988         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36989         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36990         (sinh_test): Use ALL_RM_TEST.
36991         (sinh_tonearest_test_data): Remove.
36992         (sinh_test_tonearest): Likewise.
36993         (sinh_towardzero_test_data): Likewise.
36994         (sinh_test_towardzero): Likewise.
36995         (sinh_downward_test_data): Likewise.
36996         (sinh_test_downward): Likewise.
36997         (sinh_upward_test_data): Likewise.
36998         (sinh_test_upward): Likewise.
36999         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37000         (sqrt_test): Use ALL_RM_TEST.
37001         (sqrt_tonearest_test_data): Remove.
37002         (sqrt_test_tonearest): Likewise.
37003         (sqrt_towardzero_test_data): Likewise.
37004         (sqrt_test_towardzero): Likewise.
37005         (sqrt_downward_test_data): Likewise.
37006         (sqrt_test_downward): Likewise.
37007         (sqrt_upward_test_data): Likewise.
37008         (sqrt_test_upward): Likewise.
37009         (tan_test_data): Update call to AUTO_TESTS_f_f.
37010         (tan_test): Use ALL_RM_TEST.
37011         (tan_tonearest_test_data): Remove.
37012         (tan_test_tonearest): Likewise.
37013         (tan_towardzero_test_data): Likewise.
37014         (tan_test_towardzero): Likewise.
37015         (tan_downward_test_data): Likewise.
37016         (tan_test_downward): Likewise.
37017         (tan_upward_test_data): Likewise.
37018         (tan_test_upward): Likewise.
37019         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37020         (tgamma_test_data): Likewise.
37021         (y0_test_data): Likewise.
37022         (y1_test_data): Likewise.
37023         (yn_test_data): Update call to AUTO_TESTS_if_f.
37024         (main): Do not call removed functions.
37026 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37028         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37029         (ldexp_test_data): Remove.
37030         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37031         scalbn_test_data.
37032         (scalb_test): Use ALL_RM_TEST.
37034 2014-03-19  Andreas Schwab  <schwab@suse.de>
37036         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37038 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37040         [BZ #16649]
37041         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37042         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37043         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37045         (__ASSUME_PREADV): Undefine.
37046         (__ASSUME_PWRITEV): Likewise.
37048 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37050         * bits/mman-linux.h: Add comment about non-Linux use.
37051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37052         bits/mman-linux.h resting place.
37054         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37055         * bits/mman-linux.h: ... here.
37057 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37059         * conform/conformtest.pl: Add standard definition when calling C
37060         preprocessor on data files.
37061         (checknamespace): Remove unused variable.
37063 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37065         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37066         minus_oflow, plus_uflow and minus_uflow in expected results.
37067         * math/libm-test.inc (scalbn_test_data): Add more tests of
37068         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37069         minus_uflow.
37070         (scalbn_test): Use ALL_RM_TEST.
37071         (scalbln_test_data): Add more tests of negative arguments.  Use
37072         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37073         (scalbln_test): Use ALL_RM_TEST.
37075 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37077         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37079 2014-03-18  Will Newton  <will.newton@linaro.org>
37081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37082         inaccurate comment.
37084 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37086         * Makerules [!subdir] (check-abi): Exit with error status if a
37087         test failed.
37089 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37091         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37092         for rint.  Include results for all rounding modes.
37093         (nearbyint_test): Use ALL_RM_TEST.
37094         (rint_test_data): Include all tests used for nearbyint.
37096 2014-03-17  Will Newton  <will.newton@linaro.org>
37098         * nptl/sysdeps/pthread/pthread.h: Revert previous
37099         change.
37101         * sysdeps/generic/ldsodefs.h: Revert previous
37102         change.
37104         * libio/genops.c: Revert previous change.
37105         * libio/libioP.h: Likewise.
37106         * stdio-common/vfprintf.c: Likewise.
37108         * sysdeps/generic/math_private.h: Revert previous
37109         change.
37111         * sysdeps/generic/math_private.h: Check whether
37112         HAVE_RM_CTX is defined with #ifdef rather
37113         than #if.
37115         * argp/argp-fmtstream.h: Check whether
37116         __STRICT_ANSI__ is defined with #ifdef rather
37117         than #if.
37118         * argp/argp.h: Likewise.
37120         * libio/genops.c: Check whether
37121         _IO_JUMPS_OFFSET is defined with #ifdef rather
37122         than #if.
37123         * libio/libioP.h: Likewise.
37124         * stdio-common/vfprintf.c: Likewise.
37126         * sysdeps/generic/ldsodefs.h: Check whether
37127         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37128         than #if.
37130         * nptl/sysdeps/pthread/pthread.h: Check
37131         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37132         its value.
37134 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37136         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37137         setting O_APPEND.
37138         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37139         test case.
37141         [BZ #16680]
37142         * libio/fileops.c (_IO_file_open): Seek to end of file but
37143         don't cache the offset.
37144         (get_file_offset): Remove function.
37145         (do_ftell): Use cached offset when available.
37146         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37147         don't cache the offset.
37148         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37149         case.
37150         (do_one_test): Call it.
37151         (do_ftell_test): Fix up expected old offset for a+ mode.
37152         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37153         available.
37155         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37156         up test status with function return status.
37157         (do_write_test): Likewise.
37158         (do_append_test): Likewise.
37160         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37161         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37162         Remove.
37164 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37166         * math/gen-libm-test.pl (parse_args): Handle results specified for
37167         each rounding mode separately.
37168         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37169         tests and results from lrint_tonearest_test_data,
37170         lrint_towardzero_test_data, lrint_downward_test_data and
37171         lrint_upward_test_data.
37172         (lrint_test): Use ALL_RM_TEST.
37173         (lrint_tonearest_test_data): Remove.
37174         (lrint_test_tonearest): Likewise.
37175         (lrint_towardzero_test_data): Likewise.
37176         (lrint_test_towardzero): Likewise.
37177         (lrint_downward_test_data): Likewise.
37178         (lrint_test_downward): Likewise.
37179         (lrint_upward_test_data): Likewise.
37180         (lrint_test_upward): Likewise.
37181         (llrint_test_data): Merge in per-rounding-mode tests and results
37182         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37183         llrint_downward_test_data and llrint_upward_test_data.
37184         (llrint_test): Use ALL_RM_TEST.
37185         (llrint_tonearest_test_data): Remove.
37186         (llrint_test_tonearest): Likewise.
37187         (llrint_towardzero_test_data): Likewise.
37188         (llrint_test_towardzero): Likewise.
37189         (llrint_downward_test_data): Likewise.
37190         (llrint_test_downward): Likewise.
37191         (llrint_upward_test_data): Likewise.
37192         (llrint_test_upward): Likewise.
37193         (rint_test_data): Merge in per-rounding-mode tests and results
37194         from rint_tonearest_test_data, rint_towardzero_test_data,
37195         rint_downward_test_data and rint_upward_test_data.  Add
37196         per-rounding-mode results for tests not in those arrays.
37197         (rint_test): Use ALL_RM_TEST.
37198         (rint_tonearest_test_data): Remove.
37199         (rint_test_tonearest): Likewise.
37200         (rint_towardzero_test_data): Likewise.
37201         (rint_test_towardzero): Likewise.
37202         (rint_downward_test_data): Likewise.
37203         (rint_test_downward): Likewise.
37204         (rint_upward_test_data): Likewise.
37205         (rint_test_upward): Likewise.
37206         (main): Don't call removed functions.
37208 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37210         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37211         "Compiled on ..." crapola.  It is anti-useful.
37213 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37215         * scripts/evaluate-test.sh: Handle fourth argument to determine
37216         whether test run should stop on failure.
37217         * Makeconfig (stop-on-test-failure): New variable.
37218         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37219         $(stop-on-test-failure).
37220         * Makefile (tests): Give a summary of results from testing and
37221         exit with failure status if they include an ERROR or FAIL.
37222         (xtests): Likewise.
37223         * manual/install.texi (Configuring and compiling): Mention
37224         stop-on-test-failure=y.
37225         * INSTALL: Regenerated.
37227 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37229         * scripts/versionlist.awk: New file.
37230         * Makerules [$(build-shared) = yes]
37231         (postclean-generated): Add Versions.def, not Versions.def.v and
37232         Versions.def.v.i.
37233         ($(common-objpfx)Versions.def.v.i): Target removed.
37234         ($(common-objpfx)Versions.def): New target.
37235         ($(common-objpfx)Versions.all): Depend on that rather that
37236         $(common-objpfx)Versions.def.v.
37237         * Versions.def: File removed.
37239         * Makeconfig (+gccwarn): Add -Wundef.
37240         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37241         a dl-sysdep.h breaking its contract.
37242         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37243         * include/stackinfo.h: New file.
37244         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37245         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37246         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37247         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37248         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37249         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37250         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37251         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37252         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37253         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37254         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37255         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37256         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37257         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37258         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37260 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37262         [BZ #16707]
37263         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37264         implementation.
37265         * math/libm-test.inc (round_test_data): Add more tests.
37267         [BZ #16706]
37268         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37269         implementation.
37270         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37272         [BZ #16701]
37273         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37274         implementation.
37275         * math/libm-test.inc (ceil_test_data): Add more tests.
37277         * math/libm-test.inc (trunc_test_data): Add more tests related to
37278         BZ#16414.
37280 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37282         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37283         with #if rather than #ifdef.
37284         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37286 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37288         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37289         first.  Disable AVX-512 GCC support if assembler doesn't support
37290         it.
37291         * sysdeps/x86_64/configure: Regenerated.
37293 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37295         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37296         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37297         (__old_pthread_attr_setstack): Likewise.
37298         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37299         [!_STACK_GROWS_DOWN]: Likewise.
37301 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37303         * config.make.in (have-bash2): Delete.
37304         * configure.ac (libc_cv_have_bash2): Delete.
37305         * configure: Regenerate.
37306         * elf/Makefile (common-ldd-rewrite): Rename to ...
37307         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37308         (sh-ldd-rewrite): Delete.
37309         (bash-ldd-rewrite): Delete.
37310         (have-bash2): Delete checks.
37311         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37312         ldd-rewrite.
37314         * config.make.in (have-ksh): Delete.
37315         (KSH): Delete.
37316         * configure.ac (libc_cv_have_ksh): Delete.
37317         * configure: Regenerate.
37319         * elf/Makefile: Delete $(have-ksh) check.
37320         ($(objpfx)sotruss): Change KSH to BASH.
37321         * elf/sotruss.ksh: Rename to ...
37322         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37323         function style to match POSIX.  Drop ksh vim mode setting.
37325         * manual/time.texi (Specifying the Time Zone with TZ): Change
37326         Tuesday to Thursday.
37328         * debug/tst-longjmp_chk2.c: Update header comment.
37329         (stackoverflow_handler): Add comment.  Call assert on pass value.
37331 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37333         [BZ #16194]
37334         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37335         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37336         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37337         (La_x86_64_vector): Add zmm.
37338         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37339         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37340         ($(objpfx)tst-audit10): New target.
37341         ($(objpfx)tst-audit10.out): Likewise.
37342         (tst-audit10-ENV): New.
37343         (AVX512-CFLAGS): Likewise.
37344         (CFLAGS-tst-audit10.c): Likewise.
37345         (CFLAGS-tst-auditmod10a.c): Likewise.
37346         (CFLAGS-tst-auditmod10b.c): Likewise.
37347         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37348         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37349         * sysdeps/x86_64/configure: Regenerated.
37350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37351         AVX-512 zmm register support.
37352         (_dl_x86_64_save_sse): Likewise.
37353         (_dl_x86_64_restore_sse): Likewise.
37354         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37355         size vector registers.
37356         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37357         (ZMM_SIZE): Likewise.
37358         * sysdeps/x86_64/tst-audit10.c: New file.
37359         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37360         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37362 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37364         * configure.ac (HAVE_EHDR_START): New check.
37365         * configure: Regenerated.
37366         * config.h.in (HAVE_EHDR_START): New #undef.
37367         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37368         assuming the lowest-addressed segment maps the start of the file.
37370 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37372         * INSTALL: Regenerated.
37374 2014-03-13  Will Newton  <will.newton@linaro.org>
37376         * manual/setjmp.texi (System V contexts): Improve
37377         clarity and grammar of documentation.
37379 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37381         [BZ #16381]
37382         * elf/Makefile (tests): Add tst-pie2.
37383         (tests-pie): Add tst-pie2.
37384         * elf/tst-pie2.c: New file.
37385         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37386         for ET_EXEC.
37387         * elf/rtld.c (map_doit): Load executable as lt_executable.
37388         (dl_main): Likewise.
37390 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37392         [BZ #16642]
37393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37394         (__ASSUME_PSELECT): Undefine.
37396 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37398         [BZ #16689]
37399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37400         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37401         static build.
37402         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37403         selector for static builds.
37405 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37407         [BZ #16695]
37408         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37409         key in the buffer.
37411 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37413         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37414         IFUNC selector for static builds.
37416 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37418         * sysdeps/mips/math_private.h [__mips_hard_float]
37419         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37420         libc_feresetround_mips_ctx.
37421         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37422         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37423         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37425         [BZ #16677]
37426         * math/s_nextafter.c (__nextafter): Do not return value from
37427         overflowing computation.
37428         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37429         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37430         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37431         Likewise.
37432         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37433         Likewise.
37434         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37435         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37437 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37439         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37440         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37441         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37442         the new mov targetting sp.
37444 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         [BZ #16683]
37447         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37448         Define it for static builds as well.
37449         (NO_BZERO_IMPL): Likewise.
37451 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37453         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37454         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37455         multiarch strspn for PPC64.
37456         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37457         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37459         (__libc_ifunc_impl_list): Likewise.
37460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37461         multiarch optimizations
37462         * string/strspn.c (strspn): Using macro to redefine symbol name.
37464 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37467         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37468         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37469         multiarch strncat for PPC64.
37470         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37471         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37473         (__libc_ifunc_impl_list): Likewise.
37474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37475         multiarch optimizations
37477 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37479         [BZ #16639]
37480         * nscd/nscd.service: Make service type forking.
37482 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37484         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37485         sign in non default rounding modes.
37486         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37488 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37490         * math/libm-test.inc (ALL_RM_TEST): New macro.
37491         (ceil_test): Use ALL_RM_TEST.
37492         (cimag_test): Likewise.
37493         (conj_test): Likewise.
37494         (copysign_test): Likewise.
37495         (cproj_test): Likewise.
37496         (creal_test): Likewise.
37497         (fabs_test): Likewise.
37498         (floor_test): Likewise.
37499         (fmax_test): Likewise.
37500         (fmin_test): Likewise.
37501         (fmod_test): Likewise.
37502         (fpclassify_test): Likewise.
37503         (frexp_test): Likewise.
37504         (ilogb_test): Likewise.
37505         (isfinite_test): Likewise.
37506         (finite_test): Likewise.
37507         (isgreater_test): Likewise.
37508         (isgreaterequal_test): Likewise.
37509         (isinf_test): Likewise.
37510         (isless_test): Likewise.
37511         (islessequal_test): Likewise.
37512         (islessgreater_test): Likewise.
37513         (isnan_test): Likewise.
37514         (isnormal_test): Likewise.
37515         (issignaling_test): Likewise.
37516         (isunordered_test): Likewise.
37517         (logb_test): Likewise.
37518         (logb_downward_test_data): Remove.
37519         (logb_test_downward): Likewise.
37520         (lround_test): Use ALL_RM_TEST.
37521         (llround_test): Likewise.
37522         (modf_test): Likewise.
37523         (nexttoward_test): Likewise.
37524         (remainder_test): Likewise.
37525         (drem_test): Likewise.
37526         (remainder_tonearest_test_data): Likewise.
37527         (remainder_test_tonearest): Likewise.
37528         (drem_test_tonearest): Likewise.
37529         (remainder_towardzero_test_data): Likewise.
37530         (remainder_test_towardzero): Likewise.
37531         (drem_test_towardzero): Likewise.
37532         (remainder_downward_test_data): Likewise.
37533         (remainder_test_downward): Likewise.
37534         (drem_test_downward): Likewise.
37535         (remainder_upward_test_data): Likewise.
37536         (remainder_test_upward): Likewise.
37537         (drem_test_upward): Likewise.
37538         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37539         (round_test): Use ALL_RM_TEST.
37540         (signbit_test): Likewise.
37541         (trunc_test): Likewise.
37542         (significand_test): Likewise.
37543         (main): Don't call removed functions.
37545 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37547         [BZ #16674]
37548         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37549         || __USE_XOPEN2K8].
37550         (ILL_ILLOPN): Likewise.
37551         (ILL_ILLADR): Likewise.
37552         (ILL_ILLTRP): Likewise.
37553         (ILL_PRVOPC): Likewise.
37554         (ILL_PRVREG): Likewise.
37555         (ILL_COPROC): Likewise.
37556         (ILL_BADSTK): Likewise.
37557         (FPE_INTDIV): Likewise.
37558         (FPE_INTOVF): Likewise.
37559         (FPE_FLTDIV): Likewise.
37560         (FPE_FLTOVF): Likewise.
37561         (FPE_FLTUND): Likewise.
37562         (FPE_FLTRES): Likewise.
37563         (FPE_FLTINV): Likewise.
37564         (FPE_FLTSUB): Likewise.
37565         (SEGV_MAPERR): Likewise.
37566         (SEGV_ACCERR): Likewise.
37567         (BUS_ADRALN): Likewise.
37568         (BUS_ADRERR): Likewise.
37569         (BUS_OBJERR): Likewise.
37570         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37571         (TRAP_TRACE): Likewise.
37572         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37573         __USE_XOPEN2K8].
37574         (CLD_KILLED): Likewise.
37575         (CLD_DUMPED): Likewise.
37576         (CLD_TRAPPED): Likewise.
37577         (CLD_STOPPED): Likewise.
37578         (CLD_CONTINUED): Likewise.
37579         (POLL_IN): Likewise.
37580         (POLL_OUT): Likewise.
37581         (POLL_MSG): Likewise.
37582         (POLL_ERR): Likewise.
37583         (POLL_PRI): Likewise.
37584         (POLL_HUP): Likewise.
37585         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37586         Likewise.
37587         (ILL_ILLOPN): Likewise.
37588         (ILL_ILLADR): Likewise.
37589         (ILL_ILLTRP): Likewise.
37590         (ILL_PRVOPC): Likewise.
37591         (ILL_PRVREG): Likewise.
37592         (ILL_COPROC): Likewise.
37593         (ILL_BADSTK): Likewise.
37594         (FPE_INTDIV): Likewise.
37595         (FPE_INTOVF): Likewise.
37596         (FPE_FLTDIV): Likewise.
37597         (FPE_FLTOVF): Likewise.
37598         (FPE_FLTUND): Likewise.
37599         (FPE_FLTRES): Likewise.
37600         (FPE_FLTINV): Likewise.
37601         (FPE_FLTSUB): Likewise.
37602         (SEGV_MAPERR): Likewise.
37603         (SEGV_ACCERR): Likewise.
37604         (BUS_ADRALN): Likewise.
37605         (BUS_ADRERR): Likewise.
37606         (BUS_OBJERR): Likewise.
37607         (BUS_MCEERR_AR): Likewise.
37608         (BUS_MCEERR_AO): Likewise.
37609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37610         (TRAP_TRACE): Likewise.
37611         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37612         __USE_XOPEN2K8].
37613         (CLD_KILLED): Likewise.
37614         (CLD_DUMPED): Likewise.
37615         (CLD_TRAPPED): Likewise.
37616         (CLD_STOPPED): Likewise.
37617         (CLD_CONTINUED): Likewise.
37618         (POLL_IN): Likewise.
37619         (POLL_OUT): Likewise.
37620         (POLL_MSG): Likewise.
37621         (POLL_ERR): Likewise.
37622         (POLL_PRI): Likewise.
37623         (POLL_HUP): Likewise.
37624         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37625         (ILL_ILLOPN): Likewise.
37626         (ILL_ILLADR): Likewise.
37627         (ILL_ILLTRP): Likewise.
37628         (ILL_PRVOPC): Likewise.
37629         (ILL_PRVREG): Likewise.
37630         (ILL_COPROC): Likewise.
37631         (ILL_BADSTK): Likewise.
37632         (FPE_INTDIV): Likewise.
37633         (FPE_INTOVF): Likewise.
37634         (FPE_FLTDIV): Likewise.
37635         (FPE_FLTOVF): Likewise.
37636         (FPE_FLTUND): Likewise.
37637         (FPE_FLTRES): Likewise.
37638         (FPE_FLTINV): Likewise.
37639         (FPE_FLTSUB): Likewise.
37640         (SEGV_MAPERR): Likewise.
37641         (SEGV_ACCERR): Likewise.
37642         (BUS_ADRALN): Likewise.
37643         (BUS_ADRERR): Likewise.
37644         (BUS_OBJERR): Likewise.
37645         (BUS_MCEERR_AR): Likewise.
37646         (BUS_MCEERR_AO): Likewise.
37647         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37648         (TRAP_TRACE): Likewise.
37649         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37650         __USE_XOPEN2K8].
37651         (CLD_KILLED): Likewise.
37652         (CLD_DUMPED): Likewise.
37653         (CLD_TRAPPED): Likewise.
37654         (CLD_STOPPED): Likewise.
37655         (CLD_CONTINUED): Likewise.
37656         (POLL_IN): Likewise.
37657         (POLL_OUT): Likewise.
37658         (POLL_MSG): Likewise.
37659         (POLL_ERR): Likewise.
37660         (POLL_PRI): Likewise.
37661         (POLL_HUP): Likewise.
37662         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37663         Likewise.
37664         (ILL_ILLOPN): Likewise.
37665         (ILL_ILLADR): Likewise.
37666         (ILL_ILLTRP): Likewise.
37667         (ILL_PRVOPC): Likewise.
37668         (ILL_PRVREG): Likewise.
37669         (ILL_COPROC): Likewise.
37670         (ILL_BADSTK): Likewise.
37671         (ILL_BADIADDR): Likewise.
37672         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
37682         (FPE_DECDIV): Likewise.
37683         (FPE_DECERR): Likewise.
37684         (FPE_INVASC): Likewise.
37685         (FPE_INVDEC): Likewise.
37686         (SEGV_MAPERR): Likewise.
37687         (SEGV_ACCERR): Likewise.
37688         (SEGV_PSTKOVF): Likewise.
37689         (BUS_ADRALN): Likewise.
37690         (BUS_ADRERR): Likewise.
37691         (BUS_OBJERR): Likewise.
37692         (BUS_MCEERR_AR): Likewise.
37693         (BUS_MCEERR_AO): Likewise.
37694         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37695         (TRAP_TRACE): Likewise.
37696         (TRAP_BRANCH): Likewise.
37697         (TRAP_HWBKPT): Likewise.
37698         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37699         __USE_XOPEN2K8].
37700         (CLD_KILLED): Likewise.
37701         (CLD_DUMPED): Likewise.
37702         (CLD_TRAPPED): Likewise.
37703         (CLD_STOPPED): Likewise.
37704         (CLD_CONTINUED): Likewise.
37705         (POLL_IN): Likewise.
37706         (POLL_OUT): Likewise.
37707         (POLL_MSG): Likewise.
37708         (POLL_ERR): Likewise.
37709         (POLL_PRI): Likewise.
37710         (POLL_HUP): Likewise.
37711         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37712         (ILL_ILLOPN): Likewise.
37713         (ILL_ILLADR): Likewise.
37714         (ILL_ILLTRP): Likewise.
37715         (ILL_PRVOPC): Likewise.
37716         (ILL_PRVREG): Likewise.
37717         (ILL_COPROC): Likewise.
37718         (ILL_BADSTK): Likewise.
37719         (FPE_INTDIV): Likewise.
37720         (FPE_INTOVF): Likewise.
37721         (FPE_FLTDIV): Likewise.
37722         (FPE_FLTOVF): Likewise.
37723         (FPE_FLTUND): Likewise.
37724         (FPE_FLTRES): Likewise.
37725         (FPE_FLTINV): Likewise.
37726         (FPE_FLTSUB): Likewise.
37727         (SEGV_MAPERR): Likewise.
37728         (SEGV_ACCERR): Likewise.
37729         (BUS_ADRALN): Likewise.
37730         (BUS_ADRERR): Likewise.
37731         (BUS_OBJERR): Likewise.
37732         (BUS_MCEERR_AR): Likewise.
37733         (BUS_MCEERR_AO): Likewise.
37734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37735         (TRAP_TRACE): Likewise.
37736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37737         __USE_XOPEN2K8].
37738         (CLD_KILLED): Likewise.
37739         (CLD_DUMPED): Likewise.
37740         (CLD_TRAPPED): Likewise.
37741         (CLD_STOPPED): Likewise.
37742         (CLD_CONTINUED): Likewise.
37743         (POLL_IN): Likewise.
37744         (POLL_OUT): Likewise.
37745         (POLL_MSG): Likewise.
37746         (POLL_ERR): Likewise.
37747         (POLL_PRI): Likewise.
37748         (POLL_HUP): Likewise.
37749         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37750         (ILL_ILLOPN): Likewise.
37751         (ILL_ILLADR): Likewise.
37752         (ILL_ILLTRP): Likewise.
37753         (ILL_PRVOPC): Likewise.
37754         (ILL_PRVREG): Likewise.
37755         (ILL_COPROC): Likewise.
37756         (ILL_BADSTK): Likewise.
37757         (FPE_INTDIV): Likewise.
37758         (FPE_INTOVF): Likewise.
37759         (FPE_FLTDIV): Likewise.
37760         (FPE_FLTOVF): Likewise.
37761         (FPE_FLTUND): Likewise.
37762         (FPE_FLTRES): Likewise.
37763         (FPE_FLTINV): Likewise.
37764         (FPE_FLTSUB): Likewise.
37765         (SEGV_MAPERR): Likewise.
37766         (SEGV_ACCERR): Likewise.
37767         (BUS_ADRALN): Likewise.
37768         (BUS_ADRERR): Likewise.
37769         (BUS_OBJERR): Likewise.
37770         (BUS_MCEERR_AR): Likewise.
37771         (BUS_MCEERR_AO): Likewise.
37772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37773         (TRAP_TRACE): Likewise.
37774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37775         __USE_XOPEN2K8].
37776         (CLD_KILLED): Likewise.
37777         (CLD_DUMPED): Likewise.
37778         (CLD_TRAPPED): Likewise.
37779         (CLD_STOPPED): Likewise.
37780         (CLD_CONTINUED): Likewise.
37781         (POLL_IN): Likewise.
37782         (POLL_OUT): Likewise.
37783         (POLL_MSG): Likewise.
37784         (POLL_ERR): Likewise.
37785         (POLL_PRI): Likewise.
37786         (POLL_HUP): Likewise.
37787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37788         (ILL_ILLOPN): Likewise.
37789         (ILL_ILLADR): Likewise.
37790         (ILL_ILLTRP): Likewise.
37791         (ILL_PRVOPC): Likewise.
37792         (ILL_PRVREG): Likewise.
37793         (ILL_COPROC): Likewise.
37794         (ILL_BADSTK): Likewise.
37795         (FPE_INTDIV): Likewise.
37796         (FPE_INTOVF): Likewise.
37797         (FPE_FLTDIV): Likewise.
37798         (FPE_FLTOVF): Likewise.
37799         (FPE_FLTUND): Likewise.
37800         (FPE_FLTRES): Likewise.
37801         (FPE_FLTINV): Likewise.
37802         (FPE_FLTSUB): Likewise.
37803         (SEGV_MAPERR): Likewise.
37804         (SEGV_ACCERR): Likewise.
37805         (BUS_ADRALN): Likewise.
37806         (BUS_ADRERR): Likewise.
37807         (BUS_OBJERR): Likewise.
37808         (BUS_MCEERR_AR): Likewise.
37809         (BUS_MCEERR_AO): Likewise.
37810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37811         (TRAP_TRACE): Likewise.
37812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37813         __USE_XOPEN2K8].
37814         (CLD_KILLED): Likewise.
37815         (CLD_DUMPED): Likewise.
37816         (CLD_TRAPPED): Likewise.
37817         (CLD_STOPPED): Likewise.
37818         (CLD_CONTINUED): Likewise.
37819         (POLL_IN): Likewise.
37820         (POLL_OUT): Likewise.
37821         (POLL_MSG): Likewise.
37822         (POLL_ERR): Likewise.
37823         (POLL_PRI): Likewise.
37824         (POLL_HUP): Likewise.
37825         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37826         (ILL_ILLOPN): Likewise.
37827         (ILL_ILLADR): Likewise.
37828         (ILL_ILLTRP): Likewise.
37829         (ILL_PRVOPC): Likewise.
37830         (ILL_PRVREG): Likewise.
37831         (ILL_COPROC): Likewise.
37832         (ILL_BADSTK): Likewise.
37833         (ILL_DBLFLT): Likewise.
37834         (ILL_HARDWALL): Likewise.
37835         (FPE_INTDIV): Likewise.
37836         (FPE_INTOVF): Likewise.
37837         (FPE_FLTDIV): Likewise.
37838         (FPE_FLTOVF): Likewise.
37839         (FPE_FLTUND): Likewise.
37840         (FPE_FLTRES): Likewise.
37841         (FPE_FLTINV): Likewise.
37842         (FPE_FLTSUB): Likewise.
37843         (SEGV_MAPERR): Likewise.
37844         (SEGV_ACCERR): Likewise.
37845         (BUS_ADRALN): Likewise.
37846         (BUS_ADRERR): Likewise.
37847         (BUS_OBJERR): Likewise.
37848         (BUS_MCEERR_AR): Likewise.
37849         (BUS_MCEERR_AO): Likewise.
37850         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37851         (TRAP_TRACE): Likewise.
37852         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37853         __USE_XOPEN2K8].
37854         (CLD_KILLED): Likewise.
37855         (CLD_DUMPED): Likewise.
37856         (CLD_TRAPPED): Likewise.
37857         (CLD_STOPPED): Likewise.
37858         (CLD_CONTINUED): Likewise.
37859         (POLL_IN): Likewise.
37860         (POLL_OUT): Likewise.
37861         (POLL_MSG): Likewise.
37862         (POLL_ERR): Likewise.
37863         (POLL_PRI): Likewise.
37864         (POLL_HUP): Likewise.
37865         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37866         (ILL_ILLOPN): Likewise.
37867         (ILL_ILLADR): Likewise.
37868         (ILL_ILLTRP): Likewise.
37869         (ILL_PRVOPC): Likewise.
37870         (ILL_PRVREG): Likewise.
37871         (ILL_COPROC): Likewise.
37872         (ILL_BADSTK): Likewise.
37873         (FPE_INTDIV): Likewise.
37874         (FPE_INTOVF): Likewise.
37875         (FPE_FLTDIV): Likewise.
37876         (FPE_FLTOVF): Likewise.
37877         (FPE_FLTUND): Likewise.
37878         (FPE_FLTRES): Likewise.
37879         (FPE_FLTINV): Likewise.
37880         (FPE_FLTSUB): Likewise.
37881         (SEGV_MAPERR): Likewise.
37882         (SEGV_ACCERR): Likewise.
37883         (BUS_ADRALN): Likewise.
37884         (BUS_ADRERR): Likewise.
37885         (BUS_OBJERR): Likewise.
37886         (BUS_MCEERR_AR): Likewise.
37887         (BUS_MCEERR_AO): Likewise.
37888         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37889         (TRAP_TRACE): Likewise.
37890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37891         __USE_XOPEN2K8].
37892         (CLD_KILLED): Likewise.
37893         (CLD_DUMPED): Likewise.
37894         (CLD_TRAPPED): Likewise.
37895         (CLD_STOPPED): Likewise.
37896         (CLD_CONTINUED): Likewise.
37897         (POLL_IN): Likewise.
37898         (POLL_OUT): Likewise.
37899         (POLL_MSG): Likewise.
37900         (POLL_ERR): Likewise.
37901         (POLL_PRI): Likewise.
37902         (POLL_HUP): Likewise.
37903         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37904         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37906         [BZ #16670]
37907         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37908         before #include of <time.h>.
37909         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37910         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37911         (test-xfail-UNIX98/sched.h/conform): Likewise.
37913 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37915         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37916         error absence of trapping exception support.
37917         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37919 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37921         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37922         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37923         * timezone/Makefile (testdata): Move definition above include of
37924         Rules.
37925         (test-zones): New variable.
37926         (tests-special): Add zone files.
37927         (build-testdata): Use $(evaluate-test).
37929         * elf/Makefile (tests-special): Rename tests to end with .out.
37930         ($(objpfx)noload-mem): Likewise.
37931         ($(objpfx)tst-leaks1-mem): Likewise.
37932         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37933         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37934         $(objpfx)test-iconvconfig.out.
37935         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37936         set -e inside subshell and redirect output to file.
37937         * iconvdata/Makefile (generated): Rename tests to end with .out.
37938         Correct type.
37939         (tests-special): Rename tests to end with .out.
37940         ($(objpfx)mtrace-tst-loading): Likewise.
37941         * intl/Makefile (generated): Likewise.
37942         (tests-special): Likewise.
37943         ($(objpfx)mtrace-tst-gettext): Likewise.
37944         * misc/Makefile (generated): Likewise.
37945         (tests-special): Likewise.
37946         ($(objpfx)tst-error1-mem): Likewise.
37947         * nptl/Makefile (tests-special): Likewise.
37948         ($(objpfx)tst-stack3-mem): Likewise.
37949         (generated): Likewise.
37950         * posix/Makefile (generated): Likewise.
37951         (tests-special): Likewise.
37952         (xtests-special): Likewise.
37953         ($(objpfx)tst-fnmatch-mem): Likewise.
37954         ($(objpfx)bug-regex2-mem): Likewise.
37955         ($(objpfx)bug-regex14-mem): Likewise.
37956         ($(objpfx)bug-regex21-mem): Likewise.
37957         ($(objpfx)bug-regex31-mem): Likewise.
37958         ($(objpfx)tst-vfork3-mem): Likewise.
37959         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37960         ($(objpfx)tst-pcre-mem): Likewise.
37961         ($(objpfx)tst-boost-mem): Likewise.
37962         ($(objpfx)bug-ga2-mem): Likewise.
37963         ($(objpfx)bug-glob2-mem): Likewise.
37964         * resolv/Makefile (generate): Likewise.
37965         (tests-special): Likewise.
37966         (xtests-special): Likewise.
37967         (generated): Likewise.
37968         ($(objpfx)mtrace-tst-leaks): Likewise.
37969         ($(objpfx)mtrace-tst-leaks2): Likewise.
37971         * scripts/merge-test-results.sh: New file.
37972         * Makefile (tests-special-notdir): New variable.
37973         (tests): Run merge-test-results.sh.
37974         (xtests): Likewise.
37975         * Rules (tests-special-notdir): New variable.
37976         (xtests-special-notdir): Likewise.
37977         (tests): Run merge-test-results.sh
37978         (xtests): Likewise.
37980         * Makeconfig (test-xfail-name): New variable.
37981         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37982         compute variable name for expected failures.
37983         * conform/Makefile (conformtest-headers-data): New variable.
37984         (conformtest-standards): Likewise.
37985         (conformtest-headers-ISO): Likewise.
37986         (conformtest-headers-ISO99): Likewise.
37987         (conformtest-headers-ISO11): Likewise.
37988         (conformtest-headers-POSIX): Likewise.
37989         (conformtest-headers-XPG3): Likewise.
37990         (conformtest-headers-XPG4): Likewise.
37991         (conformtest-headers-UNIX98): Likewise.
37992         (conformtest-headers-XOPEN2K): Likewise.
37993         (conformtest-headers-POSIX2008): Likewise.
37994         (conformtest-headers-XOPEN2K8): Likewise.
37995         (conformtest-header-list-base): Likewise.
37996         (conformtest-header-list-tests): Likewise.
37997         (conformtest-header-base): Likewise.
37998         (conformtest-header-tests): Likewise.
37999         (tests-special): Add $(conformtest-header-list-tests).  If
38000         [$(fast-check) && !$(cross-compiling)], add
38001         $(conformtest-header-tests) instead of
38002         $(objpfx)run-conformtest.out.
38003         (generated): Add $(conformtest-header-list-base).  If
38004         [$(fast-check) && !$(cross-compiling)], add
38005         $(conformtest-header-base).  Remove previous setting.
38006         ($(conformtest-header-list-tests)): New target.
38007         (test-xfail-run-conformtest): Remove variable.
38008         ($(objpfx)run-conformtest.out): Remove target.
38009         (test-xfail-ISO11/complex.h/conform): New variable.
38010         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38011         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38012         (test-xfail-XPG3/varargs.h/conform): Likewise.
38013         (test-xfail-XPG4/varargs.h/conform): Likewise.
38014         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38015         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38016         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38017         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38018         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38019         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38020         (test-xfail-XPG3/ftw.h/conform): Likewise.
38021         (test-xfail-XPG3/grp.h/conform): Likewise.
38022         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38023         (test-xfail-XPG3/limits.h/conform): Likewise.
38024         (test-xfail-XPG3/pwd.h/conform): Likewise.
38025         (test-xfail-XPG3/search.h/conform): Likewise.
38026         (test-xfail-XPG3/signal.h/conform): Likewise.
38027         (test-xfail-XPG3/stdio.h/conform): Likewise.
38028         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38029         (test-xfail-XPG3/string.h/conform): Likewise.
38030         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38031         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38032         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38033         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38034         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38035         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38036         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38037         (test-xfail-XPG3/termios.h/conform): Likewise.
38038         (test-xfail-XPG3/time.h/conform): Likewise.
38039         (test-xfail-XPG3/unistd.h/conform): Likewise.
38040         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38041         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38042         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38043         (test-xfail-XPG4/netdb.h/conform): Likewise.
38044         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38045         (test-xfail-XPG4/signal.h/conform): Likewise.
38046         (test-xfail-XPG4/stdio.h/conform): Likewise.
38047         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38048         (test-xfail-XPG4/stropts.h/conform): Likewise.
38049         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38050         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38051         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38052         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38053         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38054         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38055         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38056         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38057         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38058         (test-xfail-XPG4/termios.h/conform): Likewise.
38059         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38060         (test-xfail-XPG4/unistd.h/conform): Likewise.
38061         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38062         (test-xfail-POSIX/sched.h/conform): Likewise.
38063         (test-xfail-POSIX/signal.h/conform): Likewise.
38064         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38065         (test-xfail-POSIX/tar.h/conform): Likewise.
38066         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38067         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38068         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38069         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38070         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38071         (test-xfail-UNIX98/sched.h/conform): Likewise.
38072         (test-xfail-UNIX98/signal.h/conform): Likewise.
38073         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38074         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38075         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38076         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38077         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38078         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38079         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38080         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38081         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38082         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38083         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38084         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38085         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38086         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38087         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38088         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38089         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38090         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38091         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38092         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38093         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38094         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38095         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38096         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38097         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38098         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38099         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38100         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38101         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38102         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38103         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38104         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38105         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38106         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38107         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38108         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38109         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38110         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38111         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38112         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38113         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38114         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38115         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38116         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38117         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38118         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38119         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38120         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38121         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38122         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38123         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38124         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38125         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38126         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38127         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38128         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38129         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38130         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38131         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38132         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38133         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38134         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38135         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38136         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38137         (conformtest-cc-flags): Likewise.
38138         ($(conformtest-header-tests): New target.
38139         * conform/check-header-lists.sh: New file.
38140         * conform/run-conformtest.sh: Remove.
38142         * conform/conformtest.pl: Allow ' and \ in values given for
38143         constants.
38144         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38145         inclusion.
38146         [POSIX] (sys/types.h): Likewise.
38147         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38148         inclusion.
38149         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38150         inclusion.
38151         * conform/data/signal.h-data (SIGIO): Remove expectation.
38152         [XPG3] (SIGBUS): Do not expect.
38153         [POSIX || XPG3] (SIGPOLL): Likewise.
38154         [POSIX || XPG3] (SIGPROF): Likewise.
38155         [POSIX || XPG3] (SIGSYS): Likewise.
38156         [XPG3] (SIGTRAP): Likewise.
38157         [POSIX || XPG3] (SIGURG): Likewise.
38158         [POSIX || XPG3] (SIGVTALRM): Likewise.
38159         [POSIX || XPG3] (SIGXCPU): Likewise.
38160         [POSIX || XPG3] (SIGXFSZ): Likewise.
38161         [POSIX] (SA_SIGINFO): Expect.
38162         [XPG3] (siginfo_t): Do not expect type or contents.
38163         [POSIX] (si_pid): Do not expect element.
38164         [POSIX] (si_uid): Likewise.
38165         [POSIX] (si_addr): Likewise.
38166         [POSIX] (si_status): Likewise.
38167         [POSIX] (si_band): Likewise.
38168         [XPG4] (si_value): Likewise.
38169         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38170         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38171         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38172         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38173         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38174         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38175         [POSIX || XPG3] (ILL_COPROC): Likewise.
38176         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38177         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38178         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38179         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38180         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38181         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38182         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38183         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38184         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38185         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38186         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38187         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38188         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38189         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38190         [POSIX || XPG3] (CLD_EXITED): Likewise.
38191         [POSIX || XPG3] (CLD_KILLED): Likewise.
38192         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38193         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38194         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38195         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38196         [POSIX || XPG3] (POLL_IN): Likewise.
38197         [POSIX || XPG3] (POLL_OUT): Likewise.
38198         [POSIX || XPG3] (POLL_MSG): Likewise.
38199         [POSIX || XPG3] (POLL_ERR): Likewise.
38200         [POSIX || XPG3] (POLL_PRI): Likewise.
38201         [POSIX || XPG3] (POLL_HUP): Likewise.
38202         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38203         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38204         (SIG*): Do not allow.
38205         [XPG3] (si_*): Likewise.
38206         [XPG3] (SI_*): Likewise.
38207         [XPG3 || XPG4] (sigev_*): Likewise.
38208         [XPG3 || XPG4] (SIGEV_*): Likewise.
38209         [XPG3 || XPG4] (sival_*): Likewise.
38210         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38211         [POSIX || XPG3] (BUS_*): Likewise.
38212         [POSIX || XPG3] (CLD_*): Likewise.
38213         [POSIX || XPG3] (FPE_*): Likewise.
38214         [POSIX || XPG3] (ILL_*): Likewise.
38215         [POSIX || XPG3] (POLL_*): Likewise.
38216         [POSIX || XPG3] (SEGV_*): Likewise.
38217         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38218         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38219         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38220         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38221         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38222         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38223         Specify type and value.
38224         (TVERSLEN): Likewise.
38225         (REGTYPE): Likewise.
38226         (AREGTYPE): Likewise.
38227         (LNKTYPE): Likewise.
38228         (SYMTYPE): Likewise.
38229         (CHRTYPE): Likewise.
38230         (BLKTYPE): Likewise.
38231         (DIRTYPE): Likewise.
38232         (FIFOTYPE): Likewise.
38233         (CONTTYPE): Likewise.
38234         (TSUID): Likewise.
38235         (TSGID): Likewise.
38236         (TSVTX): Likewise.
38237         (TUREAD): Likewise.
38238         (TUWRITE): Likewise.
38239         (TUEXEC): Likewise.
38240         (TGREAD): Likewise.
38241         (TGWRITE): Likewise.
38242         (TGEXEC): Likewise.
38243         (TOREAD): Likewise.
38244         (TOWRITE): Likewise.
38245         (TOEXEC): Likewise.
38246         [POSIX] (TSVTX): Expect constant.
38248 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38250         * Makefile (tests): Change dependencies to ....
38251         (tests-special): ... additions to this variable.
38252         (tests): Depend on $(tests-special).
38253         * Makerules (check-abi-list): New variable.
38254         (check-abi): Depend on $(check-abi-list).
38255         [$(subdir) = elf] (tests-special): Add
38256         $(objpfx)check-abi-libc.out.
38257         [$(build-shared) = yes && subdir] (tests-special): Add
38258         $(check-abi-list).
38259         [$(build-shared) = yes && subdir] (tests): Do not depend on
38260         check-abi.
38261         * Rules (tests): Depend on $(tests-special).
38262         (xtests): Depend on $(xtests-special).
38263         * catgets/Makefile (tests): Change dependencies to ....
38264         (tests-special): ... additions to this variable.
38265         * conform/Makefile (tests): Change dependencies to ....
38266         (tests-special): ... additions to this variable.
38267         * elf/Makefile (tests): Change dependencies to ....
38268         (tests-special): ... additions to this variable.
38269         * grp/Makefile (tests): Change dependencies to ....
38270         (tests-special): ... additions to this variable.
38271         * iconv/Makefile (xtests): Change dependencies to ....
38272         (xtests-special): ... additions to this variable.
38273         * iconvdata/Makefile (tests): Change dependencies to ....
38274         (tests-special): ... additions to this variable.
38275         * intl/Makefile (tests): Change dependencies to ....
38276         (tests-special): ... additions to this variable.  Also add
38277         $(objpfx)tst-gettext.out.
38278         * io/Makefile (tests): Change dependencies to ....
38279         (tests-special): ... additions to this variable.
38280         * libio/Makefile (tests): Change dependencies to ....
38281         (tests-special): ... additions to this variable.
38282         * malloc/Makefile (tests): Change dependencies to ....
38283         (tests-special): ... additions to this variable.
38284         * misc/Makefile (tests): Change dependencies to ....
38285         (tests-special): ... additions to this variable.
38286         * nptl/Makefile (tests): Change dependencies to ....
38287         (tests-special): ... additions to this variable.
38288         * nptl_db/Makefile (tests): Change dependencies to ....
38289         (tests-special): ... additions to this variable.
38290         * posix/Makefile (tests): Change dependencies to ....
38291         (tests-special): ... additions to this variable.
38292         (xtests): Change dependencies to ....
38293         (xtests-special): ... additions to this variable.
38294         * resolv/Makefile (tests): Change dependencies to ....
38295         (tests-special): ... additions to this variable.
38296         (xtests): Change dependencies to ....
38297         (xtests-special): ... additions to this variable.
38298         * stdio-common/Makefile (tests): Change dependencies to ....
38299         (tests-special): ... additions to this variable.
38300         (do-tst-unbputc): Remove target.
38301         (do-tst-printf): Likewise.
38302         * stdlib/Makefile (tests): Change dependencies to ....
38303         (tests-special): ... additions to this variable.
38304         * string/Makefile (tests): Change dependencies to ....
38305         (tests-special): ... additions to this variable.
38306         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38307         (tests-special): ... additions to this variable.
38309         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38310         whole file.
38311         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38312         whole file.
38313         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38314         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38316         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38317         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38318         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38319         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38320         * conform/data/libgen.h-data [XPG3]: Likewise.
38321         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38322         * conform/data/ndbm.h-data [XPG3]: Likewise.
38323         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38324         * conform/data/netdb.h-data [XPG3]: Likewise.
38325         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38326         * conform/data/poll.h-data [XPG3]: Likewise.
38327         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38328         * conform/data/strings.h-data [XPG3]: Likewise.
38329         * conform/data/stropts.h-data [XPG3]: Likewise.
38330         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38331         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38332         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38333         Likewise.
38334         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38335         * conform/data/sys/time.h-data [XPG3]: Likewise.
38336         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38337         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38338         * conform/data/sys/un.h-data [XPG3]: Likewise.
38339         * conform/data/syslog.h-data [XPG3]: Likewise.
38340         * conform/data/ucontext.h-data [XPG3]: Likewise.
38341         * conform/data/utmpx.h-data [XPG3]: Likewise.
38342         * conform/data/varargs.h-data [UNIX98]: Enable file.
38344         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38346         * math/libm-test.inc (struct test_f_f_data): Move expected results
38347         into structure for each rounding mode.
38348         (struct test_ff_f_data): Likewise.
38349         (struct test_ff_f_data_nexttoward): Likewise.
38350         (struct test_fi_f_data): Likewise.
38351         (struct test_fl_f_data): Likewise.
38352         (struct test_if_f_data): Likewise.
38353         (struct test_fff_f_data): Likewise.
38354         (struct test_c_f_data): Likewise.
38355         (struct test_f_f1_data): Likewise.
38356         (struct test_fF_f1_data): Likewise.
38357         (struct test_ffI_f1_data): Likewise.
38358         (struct test_c_c_data): Likewise.
38359         (struct test_cc_c_data): Likewise.
38360         (struct test_f_i_data): Likewise.
38361         (struct test_ff_i_data): Likewise.
38362         (struct test_f_l_data): Likewise.
38363         (struct test_f_L_data): Likewise.
38364         (struct test_fFF_11_data): Likewise.
38365         (RM_): New macro.
38366         (RM_FE_DOWNWARD): Likewise.
38367         (RM_FE_TONEAREST): Likewise.
38368         (RM_FE_TOWARDZERO): Likewise.
38369         (RM_FE_UPWARD): Likewise.
38370         (RUN_TEST_LOOP_f_f): Update references to expected results.
38371         (RUN_TEST_LOOP_2_f): Likewise.
38372         (RUN_TEST_LOOP_fff_f): Likewise.
38373         (RUN_TEST_LOOP_c_f): Likewise.
38374         (RUN_TEST_LOOP_f_f1): Likewise.
38375         (RUN_TEST_LOOP_fF_f1): Likewise.
38376         (RUN_TEST_LOOP_fI_f1): Likewise.
38377         (RUN_TEST_LOOP_ffI_f1): Likewise.
38378         (RUN_TEST_LOOP_c_c): Likewise.
38379         (RUN_TEST_LOOP_cc_c): Likewise.
38380         (RUN_TEST_LOOP_f_i): Likewise.
38381         (RUN_TEST_LOOP_f_i_tg): Likewise.
38382         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38383         (RUN_TEST_LOOP_f_b): Likewise.
38384         (RUN_TEST_LOOP_f_b_tg): Likewise.
38385         (RUN_TEST_LOOP_f_l): Likewise.
38386         (RUN_TEST_LOOP_f_L): Likewise.
38387         (RUN_TEST_LOOP_fFF_11): Likewise.
38388         * math/gen-libm-test.pl (parse_args): Output four copies of
38389         expected results for each test.
38391         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38392         (__ASSUME_UTIMES): Remove.
38393         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38394         (__ASSUME_UTIMES): Likewise.
38396         * math/gen-auto-libm-tests.c: Update comment on output format.
38397         (output_for_one_input_case): Generate before-rounding and
38398         after-rounding information as conditions on output flags not
38399         floating-point format.
38400         * math/auto-libm-test-out: Regenerated.
38401         * math/gen-libm-test.pl (cond_value): New function.
38402         (or_cond_value): Use cond_value.
38403         (generate_testfile): Handle conditional exceptions.
38405 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38407         * math/libm-test.inc (max_valid_error): New variable.
38408         (init_max_error): Take new argument specifying whether function
38409         results are exactly determined.  Set max_valid_error and bound
38410         other variables for errors based on this argument.
38411         (set_max_error): Do not record results above max_valid_error.
38412         (check_float_internal): Only accept errors of up to 0.5ulps if
38413         also at most max_valid_error.
38414         (START): Take new argument EXACT and pass it to init_max_error.
38415         (acos_test): Update call to START.
38416         (acos_test_tonearest): Likewise.
38417         (acos_test_towardzero): Likewise.
38418         (acos_test_downward): Likewise.
38419         (acos_test_upward): Likewise.
38420         (acosh_test): Likewise.
38421         (asin_test): Likewise.
38422         (asin_test_tonearest): Likewise.
38423         (asin_test_towardzero): Likewise.
38424         (asin_test_downward): Likewise.
38425         (asin_test_upward): Likewise.
38426         (asinh_test): Likewise.
38427         (atan_test): Likewise.
38428         (atanh_test): Likewise.
38429         (atan2_test): Likewise.
38430         (cabs_test): Likewise.
38431         (cacos_test): Likewise.
38432         (cacosh_test): Likewise.
38433         (carg_test): Likewise.
38434         (casin_test): Likewise.
38435         (casinh_test): Likewise.
38436         (catan_test): Likewise.
38437         (catanh_test): Likewise.
38438         (cbrt_test): Likewise.
38439         (ccos_test): Likewise.
38440         (ccosh_test): Likewise.
38441         (ceil_test): Likewise.
38442         (cexp_test): Likewise.
38443         (cimag_test): Likewise.
38444         (clog_test): Likewise.
38445         (clog10_test): Likewise.
38446         (conj_test): Likewise.
38447         (copysign_test): Likewise.
38448         (cos_test): Likewise.
38449         (cos_test_tonearest): Likewise.
38450         (cos_test_towardzero): Likewise.
38451         (cos_test_downward): Likewise.
38452         (cos_test_upward): Likewise.
38453         (cosh_test): Likewise.
38454         (cosh_test_tonearest): Likewise.
38455         (cosh_test_towardzero): Likewise.
38456         (cosh_test_downward): Likewise.
38457         (cosh_test_upward): Likewise.
38458         (cpow_test): Likewise.
38459         (cproj_test): Likewise.
38460         (creal_test): Likewise.
38461         (csin_test): Likewise.
38462         (csinh_test): Likewise.
38463         (csqrt_test): Likewise.
38464         (ctan_test): Likewise.
38465         (ctan_test_tonearest): Likewise.
38466         (ctan_test_towardzero): Likewise.
38467         (ctan_test_downward): Likewise.
38468         (ctan_test_upward): Likewise.
38469         (ctanh_test): Likewise.
38470         (ctanh_test_tonearest): Likewise.
38471         (ctanh_test_towardzero): Likewise.
38472         (ctanh_test_downward): Likewise.
38473         (ctanh_test_upward): Likewise.
38474         (erf_test): Likewise.
38475         (erfc_test): Likewise.
38476         (exp_test): Likewise.
38477         (exp_test_tonearest): Likewise.
38478         (exp_test_towardzero): Likewise.
38479         (exp_test_downward): Likewise.
38480         (exp_test_upward): Likewise.
38481         (exp10_test): Likewise.
38482         (exp10_test_tonearest): Likewise.
38483         (exp10_test_towardzero): Likewise.
38484         (exp10_test_downward): Likewise.
38485         (exp10_test_upward): Likewise.
38486         (pow10_test): Likewise.
38487         (exp2_test): Likewise.
38488         (expm1_test): Likewise.
38489         (expm1_test_tonearest): Likewise.
38490         (expm1_test_towardzero): Likewise.
38491         (expm1_test_downward): Likewise.
38492         (expm1_test_upward): Likewise.
38493         (fabs_test): Likewise.
38494         (fdim_test): Likewise.
38495         (floor_test): Likewise.
38496         (fma_test): Likewise.
38497         (fma_test_towardzero): Likewise.
38498         (fma_test_downward): Likewise.
38499         (fma_test_upward): Likewise.
38500         (fmax_test): Likewise.
38501         (fmin_test): Likewise.
38502         (fmod_test): Likewise.
38503         (fpclassify_test): Likewise.
38504         (frexp_test): Likewise.
38505         (hypot_test): Likewise.
38506         (ilogb_test): Likewise.
38507         (isfinite_test): Likewise.
38508         (finite_test): Likewise.
38509         (isgreater_test): Likewise.
38510         (isgreaterequal_test): Likewise.
38511         (isinf_test): Likewise.
38512         (isless_test): Likewise.
38513         (islessequal_test): Likewise.
38514         (islessgreater_test): Likewise.
38515         (isnan_test): Likewise.
38516         (isnormal_test): Likewise.
38517         (issignaling_test): Likewise.
38518         (isunordered_test): Likewise.
38519         (j0_test): Likewise.
38520         (j1_test): Likewise.
38521         (jn_test): Likewise.
38522         (ldexp_test): Likewise.
38523         (lgamma_test): Likewise.
38524         (gamma_test): Likewise.
38525         (lrint_test): Likewise.
38526         (lrint_test_tonearest): Likewise.
38527         (lrint_test_towardzero): Likewise.
38528         (lrint_test_downward): Likewise.
38529         (lrint_test_upward): Likewise.
38530         (llrint_test): Likewise.
38531         (llrint_test_tonearest): Likewise.
38532         (llrint_test_towardzero): Likewise.
38533         (llrint_test_downward): Likewise.
38534         (llrint_test_upward): Likewise.
38535         (log_test): Likewise.
38536         (log10_test): Likewise.
38537         (log1p_test): Likewise.
38538         (log2_test): Likewise.
38539         (logb_test): Likewise.
38540         (logb_test_downward): Likewise.
38541         (lround_test): Likewise.
38542         (llround_test): Likewise.
38543         (modf_test): Likewise.
38544         (nearbyint_test): Likewise.
38545         (nextafter_test): Likewise.
38546         (nexttoward_test): Likewise.
38547         (pow_test): Likewise.
38548         (pow_test_tonearest): Likewise.
38549         (pow_test_towardzero): Likewise.
38550         (pow_test_downward): Likewise.
38551         (pow_test_upward): Likewise.
38552         (remainder_test): Likewise.
38553         (drem_test): Likewise.
38554         (remainder_test_tonearest): Likewise.
38555         (drem_test_tonearest): Likewise.
38556         (remainder_test_towardzero): Likewise.
38557         (drem_test_towardzero): Likewise.
38558         (remainder_test_downward): Likewise.
38559         (drem_test_downward): Likewise.
38560         (remainder_test_upward): Likewise.
38561         (drem_test_upward): Likewise.
38562         (remquo_test): Likewise.
38563         (rint_test): Likewise.
38564         (rint_test_tonearest): Likewise.
38565         (rint_test_towardzero): Likewise.
38566         (rint_test_downward): Likewise.
38567         (rint_test_upward): Likewise.
38568         (round_test): Likewise.
38569         (scalb_test): Likewise.
38570         (scalbn_test): Likewise.
38571         (scalbln_test): Likewise.
38572         (signbit_test): Likewise.
38573         (sin_test): Likewise.
38574         (sin_test_tonearest): Likewise.
38575         (sin_test_towardzero): Likewise.
38576         (sin_test_downward): Likewise.
38577         (sin_test_upward): Likewise.
38578         (sincos_test): Likewise.
38579         (sinh_test): Likewise.
38580         (sinh_test_tonearest): Likewise.
38581         (sinh_test_towardzero): Likewise.
38582         (sinh_test_downward): Likewise.
38583         (sinh_test_upward): Likewise.
38584         (sqrt_test): Likewise.
38585         (sqrt_test_tonearest): Likewise.
38586         (sqrt_test_towardzero): Likewise.
38587         (sqrt_test_downward): Likewise.
38588         (sqrt_test_upward): Likewise.
38589         (tan_test): Likewise.
38590         (tan_test_tonearest): Likewise.
38591         (tan_test_towardzero): Likewise.
38592         (tan_test_downward): Likewise.
38593         (tan_test_upward): Likewise.
38594         (tanh_test): Likewise.
38595         (tgamma_test): Likewise.
38596         (trunc_test): Likewise.
38597         (y0_test): Likewise.
38598         (y1_test): Likewise.
38599         (yn_test): Likewise.
38600         (significand_test): Likewise.
38602         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38603         individual tests in comment.
38604         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38605         (prev_max_error): New variable.
38606         (prev_real_max_error): Likewise.
38607         (prev_imag_max_error): Likewise.
38608         (compare_ulp_data): Don't refer to test names in comment.
38609         (find_test_ulps): Remove function.
38610         (find_function_ulps): Likewise.
38611         (find_complex_function_ulps): Likewise.
38612         (init_max_error): Take function name as argument.  Look up ulps
38613         for that function.
38614         (print_ulps): Remove function.
38615         (print_max_error): Use prev_max_error instead of calling
38616         find_function_ulps.
38617         (print_complex_max_error): Use prev_real_max_error and
38618         prev_imag_max_error instead of calling find_complex_function_ulps.
38619         (check_float_internal): Take max_ulp parameter instead of calling
38620         find_test_ulps.  Don't call print_ulps.
38621         (check_float): Update call to check_float_internal.
38622         (check_complex): Update calls to check_float_internal.
38623         (START): Pass argument to init_max_error.
38624         * math/gen-libm-test.pl (%results): Don't include "kind"
38625         information.
38626         (parse_ulps): Don't handle ulps of individual tests.
38627         (print_ulps_file): Likewise.
38628         (output_ulps): Likewise.
38629         * math/README.libm-test: Update.
38630         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38631         individual tests.
38632         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38633         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38634         * sysdeps/arm/libm-test-ulps: Likewise.
38635         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38636         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38637         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38638         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38639         * sysdeps/microblaze/libm-test-ulps: Likewise.
38640         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38641         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38642         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38643         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38644         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38645         * sysdeps/sh/libm-test-ulps: Likewise.
38646         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38647         * sysdeps/tile/libm-test-ulps: Likewise.
38648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38650 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38652         * math/libm-test.inc (print_complex_max_error): Check separately
38653         whether real and imaginary errors are within allowed range and
38654         pass 0 to print_complex_function_ulps instead of value within
38655         allowed range.
38657 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38659         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38660         formatting.
38661         (get_handles_fopen): Likewise.
38662         (do_write_test): Likewise.
38664         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38666         * libio/fileops.c (do_ftell): Use cached offset when
38667         available.
38668         * libio/iofwide.c (do_ftell_wide): Likewise.
38669         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38670         _IO_file_attach.
38671         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38673         [BZ #16532]
38674         * libio/libioP.h (get_file_offset): New function.
38675         * libio/fileops.c (get_file_offset): Likewise.
38676         (do_ftell): Likewise.
38677         (_IO_new_file_seekoff): Split out ftell logic.
38678         * libio/wfileops.c (do_ftell_wide): Likewise.
38679         (_IO_wfile_seekoff): Split out ftell logic.
38680         * libio/tst-ftell-active-handler.c: New test case.
38681         * libio/Makefile (tests): Add it.
38683 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38685         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38686         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38688 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38690         [BZ #16639]
38691         * nscd/connections.c (nscd_init): Call do_exit.
38692         (start_threads): Call do_exit and notify_parent.
38693         (begin_drop_privileges): Call do_exit.
38694         (finish_drop_privileges): Likewise.
38695         * nscd/selinux.c (preserve_capabilities): Likewise.
38696         (install_real_capabilities): Likewise.
38697         (nscd_selinux_enabled): Likewise.
38698         (avc_create_thread): Likewise.
38699         (avc_alloc_lock): Likewise.
38700         (nscd_avc_init): Likewise.
38701         * nscd/nscd.c (parent_fd): New static variable.
38702         (main): Create a pipe between parent and child processes.
38703         Skip closing parent_fd.
38704         (monitor_child): New function.
38705         (do_exit): Likewise.
38706         (notify_parent): Likewise.
38707         * nscd/nscd.h (notify_parent): Likewise.
38708         (do_exit): Likewise.
38710 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38712         * malloc/malloc.c (__libc_calloc): Revert last change.
38714 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38718 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38720         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38722         implementation.
38723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38724         (__libc_ifunc_impl_list): Likewise.
38725         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38726         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38727         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38728         * string/strrchr.c: Define STRRCHR.
38730 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38732         * benchtest/bench-strtok.c (simple_strtok): Delete.
38733         (strtok_string): Use as benchmark.
38734         * string/strtok (STRTOK): New macro.
38736 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38738         * manual/threads.texi: Add header and standard comments to all
38739         functions.
38741         * elf/dl-lookup.c (check_match): New function.
38742         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38743         (do_lookup_x): Remove nested function check_match. Use non-nested
38744         function check_match.
38746 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38748         * csu/Makefile (generated, before-compile): Use += rather than =.
38749         * catgets/Makefile (generated, generated-dirs): Likewise.
38750         * debug/Makefile (generated): Likewise.
38751         * dlfcn/Makefile (generated): Likewise.
38752         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38753         * iconvdata/Makefile (before-compile, generated): Likewise.
38754         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38755         * libio/Makefile (generated): Likewise.
38756         * malloc/Makefile (generated): Likewise.
38757         * manual/Makefile (generated, generated-dirs): Likewise.
38758         * misc/Makefile (generated): Likewise.
38759         * posix/Makefile (generated): Likewise.
38760         * resolv/Makefile (generated): Likewise.
38761         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38762         * timezone/Makefile (generated, generated-dirs): Likewise.
38764         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38766 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38769         power8 implementation.
38770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38771         file: POWER8 llround ifunc implementation.
38772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38773         (__lllround): Add POWER8 implementation.
38774         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38775         POWER8 llround implementation.
38777         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38778         power8 implementation.
38779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38780         file: POWER8 llrint ifunc implementation.
38781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38782         Add POWER8 implementation.
38783         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38784         POWER8 llrint implementation.
38786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38787         power8 implementation.
38788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38789         file: POWER8 finite ifunc implementation.
38790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38791         Add POWER8 implementation.
38792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38793         Likewise.
38794         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38795         POWER8 finite implementation.
38796         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38799         power8 implementation.
38800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38801         file: POWER8 isinf ifunc implementation.
38802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38803         POWER8 implementation.
38804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38805         Likewise.
38806         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38807         isinf implementation.
38808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38811         (INIT_ARCH): Add hwcap2 initialization.
38812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38813         power8 implementation.
38814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38815         file: POWER8 isnan ifunc implementation.
38816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38817         POWER8 implementation.
38818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38819         Likewise.
38820         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38821         isnan implementation.
38822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38824 2014-02-27  Joey Ye  <joey.ye@arm.com>
38826         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38827         (_FP_NANFRAC_Q): Set to zero.
38829 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38831         [BZ #16623]
38832         * math/auto-libm-test-in: New test inputs.
38833         * math/auto-libm-test-out: Regenerate.
38834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38835         and DA.
38836         (__cos): Likewise.
38837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38839 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38841         * scripts/evaluate-test.sh: Take new argument indicating whether
38842         failure is expected.
38843         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38844         indicating whether failure is expected.
38845         * conform/Makefile (test-xfail-run-conformtest): New variable.
38846         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38847         level.
38848         * posix/Makefile (test-xfail-annexc): New variable.
38849         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38851 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38853         * argp/Makefile: Include Makeconfig immediately after defining
38854         subdir.
38855         * assert/Makefile: Likewise.
38856         * benchtests/Makefile: Likewise.
38857         * catgets/Makefile: Likewise.
38858         * conform/Makefile: Likewise.
38859         * crypt/Makefile: Likewise.
38860         * csu/Makefile: Likewise.
38861         (all): Remove target.
38862         * ctype/Makefile: Include Makeconfig immediately after defining
38863         subdir.
38864         * debug/Makefile: Likewise.
38865         * dirent/Makefile: Likewise.
38866         * dlfcn/Makefile: Likewise.
38867         * gmon/Makefile: Likewise.
38868         * gnulib/Makefile: Likewise.
38869         * grp/Makefile: Likewise.
38870         * gshadow/Makefile: Likewise.
38871         * hesiod/Makefile: Likewise.
38872         * hurd/Makefile: Likewise.
38873         (all): Remove target.
38874         * iconvdata/Makefile: Include Makeconfig immediately after
38875         defining subdir.
38876         * inet/Makefile: Likewise.
38877         * intl/Makefile: Likewise.
38878         * io/Makefile: Likewise.
38879         * libio/Makefile: Likewise.
38880         (all): Remove target.
38881         * locale/Makefile: Include Makeconfig immediately after defining
38882         subdir.
38883         * login/Makefile: Likewise.
38884         * mach/Makefile: Likewise.
38885         (all): Remove target.
38886         * malloc/Makefile: Include Makeconfig immediately after defining
38887         subdir.
38888         (all): Remove target.
38889         * manual/Makefile: Include Makeconfig immediately after defining
38890         subdir.
38891         * math/Makefile: Likewise.
38892         * misc/Makefile: Likewise.
38893         * nis/Makefile: Likewise.
38894         * nss/Makefile: Likewise.
38895         * po/Makefile: Likewise.
38896         (all): Remove target.
38897         * posix/Makefile: Include Makeconfig immediately after defining
38898         subdir.
38899         * pwd/Makefile: Likewise.
38900         * resolv/Makefile: Likewise.
38901         * resource/Makefile: Likewise.
38902         * rt/Makefile: Likewise.
38903         * setjmp/Makefile: Likewise.
38904         * shadow/Makefile: Likewise.
38905         * signal/Makefile: Likewise.
38906         * socket/Makefile: Likewise.
38907         * soft-fp/Makefile: Likewise.
38908         * stdio-common/Makefile: Likewise.
38909         * stdlib/Makefile: Likewise.
38910         * streams/Makefile: Likewise.
38911         * string/Makefile: Likewise.
38912         * sunrpc/Makefile: Likewise.
38913         (all): Remove target.
38914         * sysvipc/Makefile: Include Makeconfig immediately after defining
38915         subdir.
38916         * termios/Makefile: Likewise.
38917         * time/Makefile: Likewise.
38918         * timezone/Makefile: Likewise.
38919         (all): Remove target.
38920         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38921         subdir.
38922         * wctype/Makefile: Likewise.
38924 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38926         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38927         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38928         (libc_feholdexcept_setround_mips): Ditto.
38929         (libc_feholdsetround): New.
38930         (libc_feholdsetroundf): New.
38931         (libc_feholdsetroundl): New.
38932         (libc_feupdateenv_test_mips): New.
38933         (libc_feupdateenv_test): New.
38934         (libc_feupdateenv_testf): New.
38935         (libc_feupdateenv_testl): New.
38936         (libc_feresetround): New.
38937         (libc_feresetroundf): New.
38938         (libc_feresetroundl): New.
38939         (libc_fetestexcept_mips): New.
38940         (libc_fetestexcept): New.
38941         (libc_fetestexceptf): New.
38942         (libc_fetestexceptl): New.
38943         (HAVE_RM_CTX): New.
38944         (libc_feholdexcept_setround_mips_ctx): New.
38945         (libc_feholdexcept_setround_ctx): New.
38946         (libc_feholdexcept_setroundf_ctx): New.
38947         (libc_feholdexcept_setroundl_ctx): New.
38948         (libc_fesetenv_mips_ctx): New.
38949         (libc_fesetenv_ctx): New.
38950         (libc_fesetenv_ctxf): New.
38951         (libc_fesetenv_ctxl): New.
38952         (libc_feupdateenv_mips_ctx): New.
38953         (libc_feupdateenv_ctx): New.
38954         (libc_feupdateenvf_ctx): New.
38955         (libc_feupdateenvl_ctx): New.
38956         (libc_feholdsetround_mips_ctx): New.
38957         (libc_feholdsetround_ctx): New.
38958         (libc_feholdsetroundf_ctx): New.
38959         (libc_feholdsetroundl_ctx): New.
38960         (libc_feresetround_mips_ctx): New.
38961         (libc_feresetround_ctx): New.
38962         (libc_feresetroundf_ctx): New.
38963         (libc_feresetroundl_ctx): New.
38965 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38967         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38969         * manual/ipc.texi: New file.
38970         * manual/Makefile (chapters): Add ipc.
38971         * manual/job.texi: Add "Inter-Process Communication" to next.
38972         * manual/process.texi: Add "Inter-Process Communication" to prev.
38974 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38978 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38980         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38982         * manual/arith.texi: Fix spaces after sentences.
38983         * manual/charset.texi: Likewise.
38984         * manual/errno.texi: Likewise.
38985         * manual/install.texi: Likewise.
38986         * manual/llio.texi: Likewise.
38987         * manual/locale.texi: Likewise.
38988         * manual/maint.texi: Likewise.
38989         * manual/math.texi: Likewise.
38990         * manual/memory.texi: Likewise.
38991         * manual/message.texi: Likewise.
38992         * manual/probes.texi: Likewise.
38993         * manual/resource.texi: Likewise.
38994         * manual/signal.texi: Likewise.
38995         * manual/socket.texi: Likewise.
38996         * manual/stdio.texi: Likewise.
38997         * manual/string.texi: Likewise.
38998         * manual/time.texi: Likewise.
38999         * manual/users.texi: Likewise.
39001 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39003         [BZ #16632]
39004         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39005         _DEFAULT_SOURCE is defined.
39007 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39008             Carlos O'Donell  <carlos@redhat.com>
39010         [BZ #16613]
39011         * elf/dl-tls.c (_dl_count_modids): New function.
39012         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39013         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39014         audit library and increment generation counter.
39015         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39016         * elf/tst-audit9.c: New file.
39017         * elf/tst-auditmod9a.c: New file.
39018         * elf/tst-auditmod9b.c: New file.
39019         * elf/Makefile: Add rules to build and run tst-audit9.
39021 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39023         [BZ #15347]
39024         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39026 2014-02-25  Will Newton  <will.newton@linaro.org>
39028         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39029         (__longjmp): Restore sp and lr before restoring callee
39030         saved registers.  Add longjmp and longjmp_target
39031         SystemTap probe point.
39032         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39033         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39034         Define to zero to match jmpbuf layout.
39035         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39036         (__sigsetjmp): Save sp and lr before saving callee
39037         saved registers.  Add setjmp SystemTap probe point.
39039 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39041         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39043 2014-02-24  Andreas Schwab  <schwab@suse.de>
39045         [BZ #15804]
39046         * elf/pldd.c (wait_for_ptrace_stop): New function.
39047         (main): Call it after attaching.
39049 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39051         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39052         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39053         Versions files is now verboten.
39054         * hurd/Versions (libc: GLIBC_2.0):
39055         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39056         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39057         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39058         * mach/Versions: Likewise.
39060         * csu/Versions: Remove unused %include.
39061         * resolv/Versions: Likewise.
39063 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39065         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39066         ($(objpfx)check-local-headers.out): Likewise.
39067         ($(objpfx)begin-end-check.out): Likewise.
39068         * Makerules (check-abi-%.out): Likewise.
39069         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39070         ($(objpfx)test2.cat): Likewise.
39071         ($(objpfx)de/libc.cat): Likewise.
39072         ($(objpfx)test-gencat.out): Likewise.
39073         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39074         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39075         ($(objpfx)noload-mem): Likewise.
39076         ($(objpfx)tst-pathopt.out): Likewise.
39077         ($(objpfx)tst-rtld-load-self.out): Likewise.
39078         ($(objpfx)tst-array1-cmp.out): Likewise.
39079         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39080         ($(objpfx)tst-array2-cmp.out): Likewise.
39081         ($(objpfx)tst-array3-cmp.out): Likewise.
39082         ($(objpfx)tst-array4-cmp.out): Likewise.
39083         ($(objpfx)tst-array5-cmp.out): Likewise.
39084         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39085         ($(objpfx)check-textrel.out): Likewise.
39086         ($(objpfx)check-execstack.out): Likewise.
39087         ($(objpfx)check-localplt.out): Likewise.
39088         ($(objpfx)order2-cmp.out): Likewise.
39089         ($(objpfx)tst-leaks1-mem): Likewise.
39090         ($(objpfx)tst-leaks1-static-mem): Likewise.
39091         ($(objpfx)tst-initorder-cmp.out): Likewise.
39092         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39093         ($(objpfx)tst-unused-dep.out): Likewise.
39094         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39095         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39096         * iconv/Makefile (test-iconvconfig): Likewise.
39097         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39098         ($(objpfx)iconv-test.out): Likewise.
39099         ($(objpfx)tst-tables.out): Likewise.
39100         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39101         ($(objpfx)tst-gettext.out): Likewise.
39102         ($(objpfx)tst-translit.out): Likewise.
39103         ($(objpfx)tst-gettext2.out): Likewise.
39104         ($(objpfx)tst-gettext4.out): Likewise.
39105         ($(objpfx)tst-gettext6.out): Likewise.
39106         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39107         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39108         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39109         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39110         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39111         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39112         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39113         ($(objpfx)wordexp-tst.out): Likewise.
39114         ($(objpfx)annexc.out): Likewise.
39115         ($(objpfx)tst-fnmatch-mem): Likewise.
39116         ($(objpfx)bug-regex2-mem): Likewise.
39117         ($(objpfx)bug-regex14-mem): Likewise.
39118         ($(objpfx)bug-regex21-mem): Likewise.
39119         ($(objpfx)bug-regex31-mem): Likewise.
39120         ($(objpfx)tst-vfork3-mem): Likewise.
39121         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39122         ($(objpfx)tst-pcre-mem): Likewise.
39123         ($(objpfx)tst-boost-mem): Likewise.
39124         ($(objpfx)tst-getconf.out): Likewise.
39125         ($(objpfx)bug-ga2-mem): Likewise.
39126         ($(objpfx)bug-glob2-mem): Likewise.
39127         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39128         ($(objpfx)mtrace-tst-leaks2): Likewise.
39129         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39130         ($(objpfx)tst-printf.out): Likewise.
39131         ($(objpfx)tst-setvbuf1.out): Likewise.
39132         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39133         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39134         ($(objpfx)tst-fmtmsg.out): Likewise.
39135         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39136         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39138         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39139         * bits/sigaction.h [__USE_MISC]: Likewise.
39140         * bits/waitstatus.h: Update #endif comments.
39141         * ctype/ctype.h: Likewise.
39142         * dirent/dirent.h: Likewise.
39143         [__USE_MISC]: Remove redundant conditionals.
39144         * grp/grp.h: Update #endif comments.
39145         [__USE_GNU]: Remove redundant conditionals.
39146         [__USE_MISC]: Likewise.
39147         * inet/netinet/in.h [__USE_GNU]: Likewise.
39148         * io/sys/stat.h [__USE_MISC]: Likewise.
39149         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39150         * libio/bits/stdio.h: Update #endif comments.
39151         [__USE_MISC]: Remove redundant conditionals.
39152         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39153         * libio/stdio.h: Update #endif comments.
39154         [__USE_MISC]: Remove redundant conditionals.
39155         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39156         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39157         * math/math.h: Update #else and #endif comments.
39158         [__USE_MISC]: Remove redundant conditionals.
39159         * misc/sys/uio.h: Update #endif comments.
39160         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39161         * posix/glob.h [__USE_MISC]: Likewise.
39162         * posix/sys/types.h: Update #endif comments.
39163         [__USE_MISC]: Remove redundant conditionals.
39164         * posix/sys/wait.h: Update #endif comments.
39165         [__USE_MISC]: Remove redundant conditionals.
39166         * posix/unistd.h: Update #endif comments.
39167         [__USE_MISC]: Remove redundant conditionals.
39168         * pwd/pwd.h [__USE_GNU]: Likewise.
39169         [__USE_MISC]: Likewise.
39170         * resolv/netdb.h [__USE_GNU]: Likewise.
39171         * signal/signal.h: Update #endif comments.
39172         [__USE_MISC]: Remove redundant conditionals.
39173         * stdlib/stdlib.h: Update #else and #endif comments.
39174         [__USE_MISC]: Remove redundant conditionals.
39175         [__USE_GNU]: Likewise.
39176         * string/bits/string2.h [__USE_MISC]: Likewise.
39177         * string/string.h: Update #endif comments.
39178         [__USE_MISC]: Remove redundant conditionals.
39179         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39180         Likewise.
39181         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39182         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39183         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39184         Likewise.
39185         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39186         Likewise.
39187         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39188         comments.
39189         [__USE_MISC]: Remove redundant conditionals.
39190         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39191         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39192         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39193         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39194         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39195         Likewise.
39196         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39197         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39198         Likewise.
39199         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39200         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39201         Likewise.
39202         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39203         Likewise.
39204         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39205         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39206         Likewise.
39207         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39208         Likewise.
39209         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39210         * sysdeps/x86/bits/string.h: Update #endif comments.
39211         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39212         conditionals.
39213         * time/sys/time.h: Update #endif comments.
39214         * time/time.h: Likewise.
39215         [__USE_MISC]: Remove redundant conditionals.
39217 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39219         [BZ #16600]
39220         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39222 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39224         * Versions.def (librt): Add GLIBC_2.17.
39226 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39228         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39229         synonym for _SYS_AUXV_H to allow direct inclusion.
39230         * sysdeps/sparc/bits/hwcap.h: Likewise.
39231         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39232         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39233         * sysdeps/sparc/sysdep.h: Likewise.
39235 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39237         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39239 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39241         * benchtests/bench-strrchr.c: Print length instead of position.
39243 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39245         [BZ #16611]
39246         * sysdeps/unix/sysv/linux/kernel-features.h
39247         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39248         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39249         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39250         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39251         Likewise.
39252         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39253         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39254         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39255         (__ASSUME_SENDMMSG): Define instead of using previous
39256         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39257         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39258         (__ASSUME_SENDMMSG_SYSCALL): Define.
39259         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39260         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39261         Likewise.
39262         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39263         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39264         Likewise.
39265         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39266         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39267         Likewise.
39268         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39269         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39270         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39271         [__ASSUME_SENDMMSG]: Change conditionals to
39272         [__ASSUME_SENDMMSG_SOCKETCALL].
39273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39274         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39275         Define.
39276         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39277         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39278         Likewise.
39279         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39280         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39281         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39282         [!__ASSUME_SENDMMSG]: Change conditional to
39283         [!__ASSUME_SENDMMSG_SOCKETCALL].
39284         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39285         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39286         Define.
39288         [BZ #16610]
39289         * sysdeps/unix/sysv/linux/kernel-features.h
39290         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39291         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39292         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39293         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39294         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39295         [__i386__ || __sparc__]
39296         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39297         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39298         (__ASSUME_RECVMMSG): Define instead of using previous
39299         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39300         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39301         (__ASSUME_RECVMMSG_SYSCALL): Define.
39302         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39304         Likewise.
39305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39306         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39307         Likewise.
39308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39309         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39310         Likewise.
39311         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39312         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39313         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39314         [__ASSUME_RECVMMSG]: Change condition to
39315         [__ASSUME_RECVMMSG_SOCKETCALL].
39316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39317         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39318         Define.
39319         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39320         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39322         Likewise.
39323         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39324         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39325         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39326         [!__ASSUME_RECVMMSG]: Change condition to
39327         [!__ASSUME_RECVMMSG_SOCKETCALL].
39328         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39329         (__ASSUME_RECVMMSG_SYSCALL): Define.
39331         [BZ #16609]
39332         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39333         __powerpc__ || __s390__ || __sh__ || __sparc__]
39334         (__ASSUME_SOCKETCALL): Define.
39335         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39336         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39337         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39338         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39339         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39340         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39341         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39342         (__ASSUME_ACCEPT4): Define instead of using previous
39343         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39344         __powerpc__ || __sparc__ || __s390__)] condition.
39345         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39346         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39347         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39348         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39349         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39350         [!__ASSUME_ACCEPT4]: Change condition to
39351         [!__ASSUME_ACCEPT4_SOCKETCALL].
39352         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39353         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39354         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39355         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39356         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39357         __ASSUME_ACCEPT4_SYSCALL.
39358         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39359         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39360         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39361         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39362         __ASSUME_ACCEPT4_SYSCALL.
39363         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39364         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39365         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39366         [__ASSUME_ACCEPT4]: Change condition to
39367         [__ASSUME_ACCEPT4_SOCKETCALL].
39368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39369         (__ASSUME_SOCKETCALL): Define.
39370         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39372         (__ASSUME_SOCKETCALL): Define.
39373         (__ASSUME_ACCEPT4): Remove.
39374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39375         Define.
39376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39377         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39378         Likewise.
39379         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39380         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39382         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39383         macro.
39384         (HWCAP_ARM_LPAE): Likewise.
39385         (HWCAP_ARM_EVTSTRM): Likewise.
39386         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39387         Add vpfd32, lpae and evtstrm.
39388         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39389         Increase to 22.
39391 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39393         * math/auto-libm-test-in: Add tests of clog10.
39394         * math/auto-libm-test-out: Regenerated.
39395         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39396         * sysdeps/i386/fpu/libm-test-ulps: Update.
39397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39399 2014-02-18  Andreas Schwab  <schwab@suse.de>
39401         [BZ #16574]
39402         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39403         Store non-zero if the second buffer was newly allocated.
39404         (send_dg): Likewise.
39405         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39406         to send_vc and send_dg.
39407         (res_nsend): Pass NULL for ansp2_malloced.
39408         * resolv/res_query.c (__libc_res_nquery): Add parameter
39409         answerp2_malloced and pass it down to __libc_res_nsend.
39410         (res_nquery): Pass additional NULL to __libc_res_nquery.
39411         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39412         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39413         second answer buffer if answerp2_malloced was set.
39414         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39415         (__libc_res_nquerydomain): Add parameter
39416         answerp2_malloced and pass it down to __libc_res_nquery.
39417         (res_nquerydomain): Pass additional NULL to
39418         __libc_res_nquerydomain.
39419         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39420         additional NULL to __libc_res_nsend and __libc_res_nquery.
39421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39422         additional NULL to __libc_res_nsearch.
39423         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39424         parameter of __libc_res_nsearch to check for separately allocated
39425         second buffer.
39426         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39427         __libc_res_nquery.
39428         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39429         additional NULL to __libc_res_nquery.
39430         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39431         __libc_res_nsearch.
39432         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39433         * include/resolv.h: Update prototypes of __libc_res_nquery,
39434         __libc_res_nsearch, __libc_res_nsend.
39436 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39438         * math/auto-libm-test-in: Add tests of fma.
39439         * math/auto-libm-test-out: Regenerated.
39440         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39441         (fma_towardzero_test_data): Likewise.
39442         (fma_downward_test_data): Likewise.
39443         (fma_upward_test_data): Likewise.
39444         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39445         mpc_mode.
39446         (rounding_modes): Add values for new field.
39447         (func_calc_method): Add value mpfr_fff_f.
39448         (func_calc_desc): Add mpfr_fff_f union field.
39449         (test_function): Add field exact_args.
39450         (FUNC): Add macro argument EXACT_ARGS.
39451         (FUNC_mpfr_f_f): Update call to FUNC.
39452         (FUNC_mpfr_f_f): Likewise.
39453         (FUNC_mpfr_ff_f): Likewise.
39454         (FUNC_mpfr_if_f): Likewise.
39455         (FUNC_mpc_c_f): Likewise.
39456         (FUNC_mpc_c_c): Likewise.
39457         (test_functions): Add fma.  Update calls to FUNC.
39458         (handle_input_arg): Add argument exact_args.
39459         (add_test): Update call to handle_input_arg.
39460         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39461         (output_for_one_input_case): Update call to calc_generic_results.
39462         Recalculate exact zero results in each rounding mode.
39464         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39465         non-negative before setting low bit.
39466         * math/auto-libm-test-in: Mark one asin test possibly having
39467         spurious underflow.
39468         * math/auto-libm-test-out: Regenerated.
39469         * sysdeps/i386/fpu/libm-test-ulps: Update.
39470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39472 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39474         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39475         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39476         ports/sysdeps/unix/sysv/linux/microblaze.
39477         * README: Add missing listing for microblaze*-*-linux-gnu.
39479 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39481         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39482         duplicate code
39484 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39486         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39487         * sysdeps/unix/sysv/linux/ia64: Move directory from
39488         ports/sysdeps/unix/sysv/linux/ia64.
39489         * README: Update listing for ia64-*-linux-gnu.
39491 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39492             Joseph Myers  <joseph@codesourcery.com>
39494         * Makeconfig (test-name): New variable.
39495         (evaluate-test): Likewise.
39496         * Makerules (do-test-clean): Remove .test-result files.
39497         (common-mostlyclean): Likewise.
39498         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39499         * scripts/evaluate-test.sh: New file.
39501 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39503         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39504         separate $(objpfx)tst-fopenloc-cmp.out and
39505         $(objpfx)tst-fopenloc-mem.out targets.
39506         (tests): Update dependencies.
39507         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39508         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39509         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39510         (tst-rxspencer-no-utf8-ARGS): New variable.
39511         (tst-rxspencer-no-utf8-ENV): Likewise.
39512         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39513         instead of $(objpfx)tst-rxspencer-mem.
39514         ($(objpfx)tst-rxspencer-mem): Change target to
39515         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39516         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39517         * posix/tst-rxspencer-no-utf8.c: New file.
39519         * elf/Makefile ($(objpfx)order.out): Remove rule.
39520         [$(run-built-tests) = yes] (tests): Depend on
39521         $(objpfx)order-cmp.out.
39522         ($(objpfx)order-cmp.out): New rule.
39523         [$(run-built-tests) = yes] (tests): Depend on
39524         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39525         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39526         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39527         $(objpfx)tst-array5-static-cmp.out.
39528         ($(objpfx)tst-array1.out): Remove rule.
39529         ($(objpfx)tst-array1-cmp.out): New rule.
39530         ($(objpfx)tst-array1-static.out): Remove rule.
39531         ($(objpfx)tst-array1-static-cmp.out): New rule.
39532         ($(objpfx)tst-array2.out): Remove rule.
39533         ($(objpfx)tst-array2-cmp.out): New rule.
39534         ($(objpfx)tst-array3.out): Remove rule.
39535         ($(objpfx)tst-array3-cmp.out): New rule.
39536         ($(objpfx)tst-array4.out): Remove rule.
39537         ($(objpfx)tst-array4-cmp.out): New rule.
39538         ($(objpfx)tst-array5.out): Remove rule.
39539         ($(objpfx)tst-array5-cmp.out): New rule.
39540         ($(objpfx)tst-array5-static.out): Remove rule.
39541         ($(objpfx)tst-array5-static-cmp.out): New rule.
39542         [$(run-built-tests) = yes] (tests): Depend on
39543         $(objpfx)order2-cmp.out.
39544         ($(objpfx)order2.out): Remove rule.
39545         ($(objpfx)order2-cmp.out): New rule.
39546         ($(objpfx)tst-initorder.out): Remove rule.
39547         [$(run-built-tests) = yes] (tests): Depend on
39548         $(objpfx)tst-initorder-cmp.out.
39549         ($(objpfx)tst-initorder-cmp.out): New rule.
39550         ($(objpfx)tst-initorder2.out): Remove rule.
39551         [$(run-built-tests) = yes] (tests): Depend on
39552         $(objpfx)tst-initorder2-cmp.out.
39553         ($(objpfx)tst-initorder2-cmp.out): New rule.
39554         [$(run-built-tests) = yes] (tests): Depend on
39555         $(objpfx)tst-unused-dep-cmp.out.
39556         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39557         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39558         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39559         on $(objpfx)tst-setvbuf1-cmp.out.
39560         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39561         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39562         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39563         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39564         ($(objpfx)tst-svc.out): Remove rule.
39565         ($(objpfx)tst-svc-cmp.out): New rule.
39567 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39569         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39570         * ctype/ctype.h [__USE_MISC]: Likewise.
39571         * dirent/dirent.h [__USE_MISC]: Likewise.
39572         * grp/grp.h [__USE_MISC]: Likewise.
39573         * io/fcntl.h [__USE_MISC]: Likewise.
39574         * io/sys/stat.h [__USE_MISC]: Likewise.
39575         * libio/stdio.h [__USE_MISC]: Likewise.
39576         * posix/unistd.h [__USE_MISC]: Likewise.
39577         * pwd/pwd.h [__USE_MISC]: Likewise.
39578         * stdlib.h [__USE_MISC]: Likewise.
39579         * string/bits/string2.h [__USE_MISC]: Likewise.
39580         * string/string.h [__USE_MISC]: Likewise.
39581         * time/time.h [__USE_MISC]: Likewise.
39583 2014-02-13  Andreas Schwab  <schwab@suse.de>
39585         [BZ #16574]
39586         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39587         second answer buffer if it was separately allocated.
39589 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39591         * sysdeps/mips/math-tests.h: Include <features.h>.
39592         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39593         (ROUNDING_TESTS_long_double): Do not define.
39594         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39595         (EXCEPTION_TESTS_long_double): Likewise.
39596         * sysdeps/mips/mips64/libm-test-ulps: Update.
39598         * include/features.h (__USE_BSD): Remove macro definitions.
39599         (__USE_SVID): Likewise.
39600         (_BSD_SOURCE): Likewise.
39601         (_SVID_SOURCE): Likewise.
39602         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39603         from definition of _DEFAULT_SOURCE.
39604         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39605         [_DEFAULT_SOURCE].
39606         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39607         * bits/mman.h [__USE_BSD]: Likewise.
39608         * bits/termios.h [__USE_BSD]: Likewise.
39609         * bits/waitstatus.h [__USE_BSD]: Likewise.
39610         * ctype/ctype.h [__USE_SVID]: Likewise.
39611         * dirent/dirent.h [__USE_BSD]: Likewise.
39612         * grp/grp.h [__USE_SVID]: Likewise.
39613         [__USE_BSD]: Likewise.
39614         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39615         * io/fcntl.h [__USE_BSD]: Likewise.
39616         * io/ftw.h [__USE_BSD]: Likewise.
39617         * io/sys/stat.h [__USE_BSD]: Likewise.
39618         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39619         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39620         * libio/stdio.h [__USE_SVID]: Likewise.
39621         [__USE_BSD]: Likewise.
39622         * math/math.h [__USE_SVID]: Likewise.
39623         [__USE_BSD]: Likewise.
39624         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39625         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39626         * misc/search.h [__USE_SVID]: Likewise.
39627         * misc/sys/mman.h [__USE_BSD]: Likewise.
39628         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39629         * misc/sys/uio.h [__USE_BSD]: Likewise.
39630         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39631         * posix/glob.h [__USE_BSD]: Likewise.
39632         * posix/regex.h [__USE_BSD]: Likewise.
39633         * posix/sys/types.h [__USE_BSD]: Likewise.
39634         [__USE_SVID]: Likewise.
39635         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39636         * posix/sys/wait.h [__USE_BSD]: Likewise.
39637         [__USE_SVID]: Likewise.
39638         * posix/unistd.h [__USE_BSD]: Likewise.
39639         [__USE_SVID]: Likewise.
39640         * pwd/pwd.h [__USE_SVID]: Likewise.
39641         * resolv/netdb.h [__USE_BSD]: Likewise.
39642         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39643         * signal/signal.h [__USE_BSD]: Likewise.
39644         [__USE_SVID]: Likewise.
39645         * socket/sys/socket.h [__USE_BSD]: Likewise.
39646         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39647         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39648         [__USE_SVID]: Likewise.
39649         * string/bits/string2.h [__USE_BSD]: Likewise.
39650         [__USE_SVID]: Likewise.
39651         * string/bits/string3.h [__USE_BSD]: Likewise.
39652         * string/endian.h [__USE_BSD]: Likewise.
39653         * string/string.h [__USE_SVID]: Likewise.
39654         [__USE_BSD]: Likewise.
39655         * string/strings.h [__USE_BSD]: Likewise.
39656         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39657         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39658         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39659         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39660         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39661         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39662         Likewise.
39663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39664         Likewise.
39665         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39666         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39667         Likewise.
39668         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39669         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39670         Likewise.
39671         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39672         Likewise.
39673         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39674         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39676         Likewise.
39677         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39678         Likewise.
39679         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39680         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39681         * termios/termios.h [__USE_BSD]: Likewise.
39682         * time/sys/time.h [__USE_BSD]: Likewise.
39683         * time/time.h [__USE_BSD]: Likewise.
39684         [__USE_SVID]: Likewise.
39686         * Makefile (subdir_targets): Remove subdir_lint.out.
39688         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39689         (do-tst-printf): Likewise.
39690         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39691         $(objpfx)tst-printf.out.
39693         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39695         * Makerules (check-abi-%): Change target to
39696         $(objpfx)check-abi-%.out.
39697         (check-abi target): Update dependencies.
39698         (check-abi-pattern variable): Redirect output of diff to $@.
39699         (check-abi variable): Likewise.
39700         * elf/Makefile (check-abi): Update dependencies.
39702         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39703         unused.
39704         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39705         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39706         subnormal range.
39707         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39708         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39709         value has largest subnormal exponent.
39710         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39711         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39712         * sysdeps/aarch64/soft-fp/sfp-machine.h
39713         (_FP_TININESS_AFTER_ROUNDING): New macro.
39714         * sysdeps/alpha/soft-fp/sfp-machine.h
39715         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39716         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39717         Likewise.
39718         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39719         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39720         * sysdeps/mips/soft-fp/sfp-machine.h
39721         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39722         * sysdeps/powerpc/soft-fp/sfp-machine.h
39723         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39724         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39725         Likewise.
39726         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39727         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39728         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39729         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39730         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39731         Likewise.
39733 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39735         [BZ #16545]
39736         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39737         model 1.
39739 2014-02-12  Richard Henderson  <rth@redhat.com>
39741         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39742         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39743         * sysdeps/unix/sysv/linux/alpha: Move directory from
39744         ports/sysdeps/unix/sysv/linux/alpha.
39745         * README: Update listing for alpha-*-linux-gnu.
39747 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39749         * include/features.h: Update comment documenting feature test
39750         macros.
39751         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39752         _DEFAULT_SOURCE.
39753         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39754         (_SVID_SOURCE): Likewise.
39755         (_DEFAULT_SOURCE): Update description of default features.
39756         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39757         with _GNU_SOURCE.
39758         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39759         (S_ISVTX): Likewise.
39760         * manual/math.texi (Mathematical Constants): Likewise.
39761         * manual/signal.texi (Interrupted Primitives): Likewise.
39762         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39763         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39764         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39765         Don't refer to _SVID_SOURCE in warning text.
39767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39769         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39770         already defined.
39771         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39772         * sysdeps/mips/dl-lookup.c: Remove.
39773         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39775 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39777         [BZ #16447]
39778         * math/auto-libm-test-in: Add testcase for expl.
39779         * math/auto-libm-test-out: Regenerate.
39780         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39781         calculation of unsafe.
39782         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39784 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39786         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39787         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39788         ports/sysdeps/unix/sysv/linux/aarch64.
39789         * README: Update listing for aarch64*-*-linux-gnu.
39791 2014-02-11  Will Newton  <will.newton@linaro.org>
39793         * manual/probes.texi (Mathematical Function Probes): Use
39794         "triggered" instead of "hit".
39796         * manual/probes.texi (Internal Probes): Add documentation
39797         of setjmp, longjmp and longjmp_target probes.
39799         * include/stap-probe.h: Add comment about probe argument
39800         format.
39802         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39803         definition.  (tr_where, tr_freehook, tr_mallochook,
39804         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39806 2014-02-11  David S. Miller  <davem@davemloft.net>
39808         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39809         processing int_tests.
39811 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39813         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39814         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39815         * sysdeps/unix/sysv/linux/mips: Move directory from
39816         ports/sysdeps/unix/sysv/linux/mips.
39817         * README: Update listing for mips-*-linux-gnu and
39818         mips64-*-linux-gnu.
39820 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39822         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39823         * sysdeps/unix/sysv/linux/m68k: Move directory from
39824         ports/sysdeps/unix/sysv/linux/m68k.
39825         * README: Update listing for m68k-*-linux-gnu.
39827 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39829         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39830         * sysdeps/unix/sysv/linux/generic: Move directory from
39831         ports/sysdeps/unix/sysv/linux/generic.
39832         * sysdeps/unix/sysv/linux/tile: Move directory from
39833         ports/sysdeps/unix/sysv/linux/tile.
39834         * README: Update listing for tile*-*-linux-gnu.
39836 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39838         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39839         __builtin_expect.
39840         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39841         * catgets/open_catalog.c (__open_catalog): Likewise.
39842         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39843         * debug/confstr_chk.c: Likewise.
39844         * debug/fread_chk.c (__fread_chk): Likewise.
39845         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39846         * debug/getgroups_chk.c: Likewise.
39847         * debug/mbsnrtowcs_chk.c: Likewise.
39848         * debug/mbsrtowcs_chk.c: Likewise.
39849         * debug/mbstowcs_chk.c: Likewise.
39850         * debug/memcpy_chk.c: Likewise.
39851         * debug/memmove_chk.c: Likewise.
39852         * debug/mempcpy_chk.c: Likewise.
39853         * debug/memset_chk.c: Likewise.
39854         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39855         * debug/strcat_chk.c (__strcat_chk): Likewise.
39856         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39857         * debug/strncat_chk.c (__strncat_chk): Likewise.
39858         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39859         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39860         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39861         * debug/wcpncpy_chk.c: Likewise.
39862         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39863         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39864         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39865         * debug/wcsncpy_chk.c: Likewise.
39866         * debug/wcsnrtombs_chk.c: Likewise.
39867         * debug/wcsrtombs_chk.c: Likewise.
39868         * debug/wcstombs_chk.c: Likewise.
39869         * debug/wmemcpy_chk.c: Likewise.
39870         * debug/wmemmove_chk.c: Likewise.
39871         * debug/wmempcpy_chk.c: Likewise.
39872         * debug/wmemset_chk.c: Likewise.
39873         * dirent/scandirat.c (SCANDIRAT): Likewise.
39874         * dlfcn/dladdr1.c (dladdr1): Likewise.
39875         * dlfcn/dladdr.c (dladdr): Likewise.
39876         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39877         * dlfcn/dlerror.c (__dlerror): Likewise.
39878         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39879         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39880         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39881         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39882         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39883         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39884         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39885         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39886         Likewise.
39887         * elf/dl-conflict.c: Likewise.
39888         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39889         * elf/dl-dst.h: Likewise.
39890         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39891         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39892         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39893         * elf/dl-init.c (call_init, _dl_init): Likewise.
39894         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39895         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39896         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39897         Likewise.
39898         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39899         Likewise.
39900         * elf/dl-minimal.c (__libc_memalign): Likewise.
39901         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39902         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39903         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39904         * elf/dl-sym.c (do_sym): Likewise.
39905         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39906         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39907         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39908         * elf/dl-writev.h (_dl_writev): Likewise.
39909         * elf/ldconfig.c (search_dir): Likewise.
39910         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39911         (dl_main): Likewise.
39912         * elf/setup-vdso.h (setup_vdso): Likewise.
39913         * grp/compat-initgroups.c (compat_call): Likewise.
39914         * grp/fgetgrent.c (fgetgrent): Likewise.
39915         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39916         * grp/putgrent.c (putgrent): Likewise.
39917         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39918         Likewise.
39919         * hurd/hurdinit.c: Likewise.
39920         * iconvdata/8bit-gap.c (struct): Likewise.
39921         * iconvdata/ansi_x3.110.c : Likewise.
39922         * iconvdata/big5.c : Likewise.
39923         * iconvdata/big5hkscs.c : Likewise.
39924         * iconvdata/cp1255.c: Likewise.
39925         * iconvdata/cp1258.c : Likewise.
39926         * iconvdata/cp932.c : Likewise.
39927         * iconvdata/euc-cn.c: Likewise.
39928         * iconvdata/euc-jisx0213.c : Likewise.
39929         * iconvdata/euc-jp.c: Likewise.
39930         * iconvdata/euc-jp-ms.c : Likewise.
39931         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39932         * iconvdata/gb18030.c : Likewise.
39933         * iconvdata/gbbig5.c (const): Likewise.
39934         * iconvdata/gbgbk.c: Likewise.
39935         * iconvdata/gbk.c : Likewise.
39936         * iconvdata/ibm1364.c : Likewise.
39937         * iconvdata/ibm930.c : Likewise.
39938         * iconvdata/ibm932.c: Likewise.
39939         * iconvdata/ibm933.c : Likewise.
39940         * iconvdata/ibm935.c : Likewise.
39941         * iconvdata/ibm937.c : Likewise.
39942         * iconvdata/ibm939.c : Likewise.
39943         * iconvdata/ibm943.c: Likewise.
39944         * iconvdata/iso_11548-1.c: Likewise.
39945         * iconvdata/iso-2022-cn.c : Likewise.
39946         * iconvdata/iso-2022-cn-ext.c : Likewise.
39947         * iconvdata/iso-2022-jp-3.c: Likewise.
39948         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39949         * iconvdata/iso-2022-kr.c : Likewise.
39950         * iconvdata/iso646.c (gconv_end): Likewise.
39951         * iconvdata/iso_6937-2.c : Likewise.
39952         * iconvdata/iso_6937.c : Likewise.
39953         * iconvdata/iso8859-1.c: Likewise.
39954         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39955         * iconvdata/shift_jisx0213.c : Likewise.
39956         * iconvdata/sjis.c : Likewise.
39957         * iconvdata/t.61.c : Likewise.
39958         * iconvdata/tcvn5712-1.c : Likewise.
39959         * iconvdata/tscii.c: Likewise.
39960         * iconvdata/uhc.c : Likewise.
39961         * iconvdata/unicode.c (gconv_end): Likewise.
39962         * iconvdata/utf-16.c (gconv_end): Likewise.
39963         * iconvdata/utf-32.c (gconv_end): Likewise.
39964         * iconvdata/utf-7.c (base64): Likewise.
39965         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39966         * iconv/gconv_close.c (__gconv_close): Likewise.
39967         * iconv/gconv_open.c (__gconv_open): Likewise.
39968         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39969         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39970         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39971         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39972         (ucs4le_internal_loop_single): Likewise.
39973         * iconv/iconv.c (iconv): Likewise.
39974         * iconv/iconv_close.c: Likewise.
39975         * iconv/loop.c (SINGLE): Likewise.
39976         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39977         * include/atomic.h: Likewise.
39978         * inet/inet6_option.c (option_alloc): Likewise.
39979         * intl/bindtextdom.c (set_binding_values): Likewise.
39980         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39981         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39982         * intl/localealias.c (read_alias_file): Likewise.
39983         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39984         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39985         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39986         * libio/fmemopen.c (fmemopen): Likewise.
39987         * libio/iofgets.c (_IO_fgets): Likewise.
39988         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39989         * libio/iofgetws.c (fgetws): Likewise.
39990         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39991         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39992         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39993         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39994         * locale/findlocale.c (_nl_find_locale): Likewise.
39995         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39996         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39997         Likewise.
39998         * locale/setlocale.c (setlocale): Likewise.
39999         * login/programs/pt_chown.c (main): Likewise.
40000         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40001         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40002         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40003         (mmap, mmap64, mremap, munmap): Likewise.
40004         * math/e_exp2l.c: Likewise.
40005         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40006         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40007         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40008         * math/s_catan.c (__catan): Likewise.
40009         * math/s_catanf.c (__catanf): Likewise.
40010         * math/s_catanh.c (__catanh): Likewise.
40011         * math/s_catanhf.c (__catanhf): Likewise.
40012         * math/s_catanhl.c (__catanhl): Likewise.
40013         * math/s_catanl.c (__catanl): Likewise.
40014         * math/s_ccosh.c (__ccosh): Likewise.
40015         * math/s_ccoshf.c (__ccoshf): Likewise.
40016         * math/s_ccoshl.c (__ccoshl): Likewise.
40017         * math/s_cexp.c (__cexp): Likewise.
40018         * math/s_cexpf.c (__cexpf): Likewise.
40019         * math/s_cexpl.c (__cexpl): Likewise.
40020         * math/s_clog10.c (__clog10): Likewise.
40021         * math/s_clog10f.c (__clog10f): Likewise.
40022         * math/s_clog10l.c (__clog10l): Likewise.
40023         * math/s_clog.c (__clog): Likewise.
40024         * math/s_clogf.c (__clogf): Likewise.
40025         * math/s_clogl.c (__clogl): Likewise.
40026         * math/s_csin.c (__csin): Likewise.
40027         * math/s_csinf.c (__csinf): Likewise.
40028         * math/s_csinh.c (__csinh): Likewise.
40029         * math/s_csinhf.c (__csinhf): Likewise.
40030         * math/s_csinhl.c (__csinhl): Likewise.
40031         * math/s_csinl.c (__csinl): Likewise.
40032         * math/s_csqrt.c (__csqrt): Likewise.
40033         * math/s_csqrtf.c (__csqrtf): Likewise.
40034         * math/s_csqrtl.c (__csqrtl): Likewise.
40035         * math/s_ctan.c (__ctan): Likewise.
40036         * math/s_ctanf.c (__ctanf): Likewise.
40037         * math/s_ctanh.c (__ctanh): Likewise.
40038         * math/s_ctanhf.c (__ctanhf): Likewise.
40039         * math/s_ctanhl.c (__ctanhl): Likewise.
40040         * math/s_ctanl.c (__ctanl): Likewise.
40041         * math/w_pow.c: Likewise.
40042         * math/w_powf.c: Likewise.
40043         * math/w_powl.c: Likewise.
40044         * math/w_scalb.c (sysv_scalb): Likewise.
40045         * math/w_scalbf.c (sysv_scalbf): Likewise.
40046         * math/w_scalbl.c (sysv_scalbl): Likewise.
40047         * misc/error.c (error_tail): Likewise.
40048         * misc/pselect.c (__pselect): Likewise.
40049         * nis/nis_callback.c (__nis_create_callback): Likewise.
40050         * nis/nis_call.c (__nisfind_server): Likewise.
40051         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40052         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40053         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40054         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40055         * nis/nis_lookup.c (nis_lookup): Likewise.
40056         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40057         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40058         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40059         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40060         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40061         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40062         * nis/nss_compat/compat-initgroups.c (add_group)
40063         (internal_getgrent_r): Likewise.
40064         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40065         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40066         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40067         (internal_getspnam_r): Likewise.
40068         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40069         (_nss_nis_getaliasbyname_r): Likewise.
40070         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40071         (_nss_nis_getntohost_r): Likewise.
40072         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40073         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40074         (_nss_nis_getgrgid_r): Likewise.
40075         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40076         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40077         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40078         (_nss_nis_gethostbyname4_r): Likewise.
40079         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40080         (initgroups_netid): Likewise.
40081         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40082         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40083         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40084         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40085         (_nss_nis_getprotobynumber_r): Likewise.
40086         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40087         (_nss_nis_getsecretkey): Likewise.
40088         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40089         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40090         (_nss_nis_getpwuid_r): Likewise.
40091         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40092         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40093         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40094         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40095         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40096         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40097         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40098         Likewise.
40099         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40100         (_nss_nisplus_getntohost_r): Likewise.
40101         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40102         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40103         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40104         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40105         Likewise.
40106         * nis/nss_nisplus/nisplus-initgroups.c
40107         (_nss_nisplus_initgroups_dyn): Likewise.
40108         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40109         (_nss_nisplus_getnetbyaddr_r): Likewise.
40110         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40111         (_nss_nisplus_getprotobynumber_r): Likewise.
40112         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40113         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40114         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40115         Likewise.
40116         * nis/nss_nisplus/nisplus-service.c
40117         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40118         (_nss_nisplus_getservbyport_r): Likewise.
40119         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40120         (_nss_nisplus_getspnam_r): Likewise.
40121         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40122         Likewise.
40123         * nscd/aicache.c (addhstaiX): Likewise.
40124         * nscd/cache.c (cache_search, prune_cache): Likewise.
40125         * nscd/connections.c (register_traced_file, send_ro_fd)
40126         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40127         (main_loop_epoll): Likewise.
40128         * nscd/grpcache.c (addgrbyX): Likewise.
40129         * nscd/hstcache.c (addhstbyX): Likewise.
40130         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40131         * nscd/mem.c (gc, mempool_alloc): Likewise.
40132         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40133         (addinnetgrX): Likewise.
40134         * nscd/nscd-client.h (__nscd_acquire_maplock)
40135         (__nscd_drop_map_ref): Likewise.
40136         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40137         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40138         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40139         Likewise.
40140         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40141         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40142         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40143         (__nscd_get_map_ref): Likewise.
40144         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40145         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40146         Likewise.
40147         * nscd/pwdcache.c (addpwbyX): Likewise.
40148         * nscd/selinux.c (preserve_capabilities): Likewise.
40149         * nscd/servicescache.c (addservbyX): Likewise.
40150         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40151         * posix/fnmatch.c (fnmatch): Likewise.
40152         * posix/getopt.c (_getopt_internal_r): Likewise.
40153         * posix/glob.c (glob, glob_in_dir): Likewise.
40154         * posix/wordexp.c (exec_comm_child): Likewise.
40155         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40156         (getanswer_r, gaih_getanswer_slice): Likewise.
40157         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40158         * resolv/res_init.c: Likewise.
40159         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40160         * resolv/res_query.c (__libc_res_nquery): Likewise.
40161         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40162         Likewise.
40163         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40164         * stdio-common/perror.c (perror): Likewise.
40165         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40166         * stdio-common/tmpnam.c (tmpnam): Likewise.
40167         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40168         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40169         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40170         Likewise.
40171         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40172         * stdlib/putenv.c (putenv): Likewise.
40173         * stdlib/setenv.c (__add_to_environ): Likewise.
40174         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40175         * stdlib/strtol_l.c (INTERNAL): Likewise.
40176         * string/memmem.c (memmem): Likewise.
40177         * string/strerror.c (strerror): Likewise.
40178         * string/strnlen.c (__strnlen): Likewise.
40179         * string/test-memmem.c (simple_memmem): Likewise.
40180         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40181         * sunrpc/pm_getport.c (__get_socket): Likewise.
40182         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40183         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40184         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40185         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40186         Likewise.
40187         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40188         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40189         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40190         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40191         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40192         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40193         Likewise.
40194         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40195         Likewise.
40196         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40197         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40199         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40200         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40202         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40203         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40204         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40205         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40206         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40207         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40208         Likewise.
40209         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40210         Likewise.
40211         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40212         Likewise.
40213         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40215         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40216         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40217         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40218         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40219         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40221         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40222         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40223         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40225         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40226         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40228         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40229         Likewise.
40230         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40231         Likewise.
40232         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40233         Likewise.
40234         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40235         Likewise.
40236         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40238         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40239         Likewise.
40240         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40241         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40242         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40243         * sysdeps/posix/sleep.c: Likewise.
40244         * sysdeps/posix/tempname.c: Likewise.
40245         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40246         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40247         Likewise.
40248         * sysdeps/powerpc/powerpc32/dl-machine.h
40249         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40250         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40251         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40252         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40253         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40254         Likewise.
40255         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40257         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40258         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40259         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40260         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40261         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40262         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40263         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40264         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40265         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40266         (elf_machine_lazy_rel): Likewise.
40267         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40269         (elf_machine_lazy_rel): Likewise.
40270         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40271         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40272         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40273         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40274         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40275         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40276         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40278         Likewise.
40279         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40280         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40281         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40282         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40283         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40284         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40285         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40286         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40287         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40288         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40289         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40290         Likewise.
40291         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40292         (__posix_fallocate64_l64): Likewise.
40293         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40294         (posix_fallocate): Likewise.
40295         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40296         Likewise.
40297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40298         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40299         (getifaddrs_internal): Likewise.
40300         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40301         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40302         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40303         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40304         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40305         (__posix_fallocate64_l64): Likewise.
40306         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40307         Likewise.
40308         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40309         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40310         (__get_clockfreq): Likewise.
40311         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40312         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40313         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40316         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40317         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40318         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40319         Likewise.
40320         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40321         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40322         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40323         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40324         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40325         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40326         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40327         Likewise.
40328         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40329         (posix_fallocate): Likewise.
40330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40331         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40332         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40333         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40334         (elf_machine_rela, elf_machine_rela_relative)
40335         (elf_machine_lazy_rel): Likewise.
40336         * time/asctime.c (asctime_internal): Likewise.
40337         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40338         * time/tzset.c (__tzset_parse_tz): Likewise.
40339         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40340         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40341         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40342         * wcsmbs/wcsmbsload.h: Likewise.
40344         [BZ #15894]
40345         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40347         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40348         (arena_get2): Remove THREAD_STATS conditionals.
40349         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40350         (__malloc_stats, int): Likewise.
40352 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40354         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40355         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40357         * manual/setjmp.texi: Fix typos/grammar errors.
40359         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40360         Only return early when n is <= 0.  Delete unused return statement.
40362         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40363         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40364         * debug/tst-longjmp_chk3.c: New file.
40366         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40367         (test_main): Replace code with set_fortify_handler call.
40368         * debug/test-strcpy_chk.c: Likewise.
40369         * debug/tst-chk1.c: Likewise.
40370         * debug/tst-longjmp_chk.c: Likewise.
40371         * test-skeleton.c: Include fcntl.h & paths.h
40372         (set_fortify_handler): Define.
40374         * debug/tst-longjmp_chk.c: Add header comment and include
40375         ../test-skeleton.c.
40376         (do_test): Mark static.
40377         (TEST_FUNCTION): Define.
40379         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40380         (IP_PMTUDISC_INTERFACE): Likewise.
40381         (IP_MULTICAST_IF): Likewise.
40382         (IP_MULTICAST_TTL): Likewise.
40383         (IP_MULTICAST_LOOP): Likewise.
40384         (IP_ADD_MEMBERSHIP): Likewise.
40385         (IP_DROP_MEMBERSHIP): Likewise.
40386         (IP_UNBLOCK_SOURCE): Likewise.
40387         (IP_BLOCK_SOURCE): Likewise.
40388         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40389         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40390         (IP_MSFILTER): Likewise.
40391         (MCAST_JOIN_GROUP): Likewise.
40392         (MCAST_BLOCK_SOURCE): Likewise.
40393         (MCAST_UNBLOCK_SOURCE): Likewise.
40394         (MCAST_LEAVE_GROUP): Likewise.
40395         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40396         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40397         (MCAST_MSFILTER): Likewise.
40398         (IP_MULTICAST_ALL): Likewise.
40399         (IP_UNICAST_IF): Likewise.
40401         * timezone/Makefile: Delete $(have-ksh) check.
40402         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40403         * timezone/tzselect.ksh: Add +x mode bits.
40405         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40406         (ANON_INODE_FS_MAGIC): Likewise.
40407         (BDEVFS_MAGIC): Likewise.
40408         (BINFMTFS_MAGIC): Likewise.
40409         (BTRFS_TEST_MAGIC): Likewise.
40410         (CRAMFS_MAGIC_WEND): Likewise.
40411         (DEBUGFS_MAGIC): Likewise.
40412         (ECRYPTFS_SUPER_MAGIC): Likewise.
40413         (EXT3_SUPER_MAGIC): Likewise.
40414         (EXT4_SUPER_MAGIC): Likewise.
40415         (FUTEXFS_SUPER_MAGIC): Likewise.
40416         (HOSTFS_SUPER_MAGIC): Likewise.
40417         (HUGETLBFS_MAGIC): Likewise.
40418         (MINIX3_SUPER_MAGIC): Likewise.
40419         (MTD_INODE_FS_MAGIC): Likewise.
40420         (NILFS_SUPER_MAGIC): Likewise.
40421         (OPENPROM_SUPER_MAGIC): Likewise.
40422         (PIPEFS_MAGIC): Likewise.
40423         (PSTOREFS_MAGIC): Likewise.
40424         (QNX6_SUPER_MAGIC): Likewise.
40425         (RAMFS_MAGIC): Likewise.
40426         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40427         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40428         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40429         (SECURITYFS_MAGIC): Likewise.
40430         (SELINUX_MAGIC): Likewise.
40431         (SMACK_MAGIC): Likewise.
40432         (SOCKFS_MAGIC): Likewise.
40433         (SQUASHFS_MAGIC): Likewise.
40434         (STACK_END_MAGIC): Likewise.
40435         (TMPFS_MAGIC): Likewise.
40436         (USBDEVICE_SUPER_MAGIC): Likewise.
40437         (V9FS_MAGIC): Likewise.
40438         (XENFS_SUPER_MAGIC): Likewise.
40439         (CRAMFS_MAGIC): Fix typo in comment.
40440         (EXT2_SUPER_MAGIC): Update comment.
40441         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40443 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40445         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40446         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40447         * sysdeps/unix/sysv/linux/arm: Move directory from
40448         ports/sysdeps/unix/sysv/linux/arm.
40449         * README: Update listing for arm-*-linux-gnueabi.
40451         * README: Remove mention of am33.
40453 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40455         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40456         than the comma operator, to avoid "rhs of comma has no effect"
40457         compiler warnings.
40458         (__sigfillset, __sigandset, __sigorset): Likewise.
40459         * include/signal.h (__sigemptyset): Likewise.
40460         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40462 2014-02-07  Allan McRae  <allan@archlinux.org>
40464         * version.h (RELEASE): Set to "development".
40465         (VERSION): Set to "2.19.90"
40466         * NEWS: Add 2.20 section.
40468 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40470         [BZ #16529]
40471         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40473 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40475         * manual/contrib.texi: Update entry for Carlos O'Donell,
40476         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40478 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40480         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40482         * sysdeps/unix/sysv/linux/kernel-features.h
40483         [__LINUX_KERNEL_VERSION >= 0x020621]
40484         (__ASSUME_PROC_PID_TASK_COMM): Define.
40486 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         [BZ #16398]
40489         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40490         conversion when destination buffer does not have enough space.
40491         * libio/tst-ftell-partial-wide.c: New test case.
40492         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40494         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40495         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40496         Leonard and Allan McRae.
40498 2014-02-04  David S. Miller  <davem@davemloft.net>
40500         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40501         32-bit.
40503 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40506         New file
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40508         New file
40509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40510         New file.
40511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40512         New file.
40513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40514         New file.
40515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40516         New file.
40517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40518         New file.
40519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40520         New file.
40521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40522         New file.
40523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40524         New file.
40525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40526         New file.
40527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40528         New file.
40529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40530         New file.
40532 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40534         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40535         * shlib-versions: Likewise.
40537 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40540         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40541         (abilist-pattern): New variable, set to %-le.abilist.
40543         * Makerules (abilist-pattern): New variable.
40544         (vpath): Use $(abilist-pattern) in place of %.abilist.
40545         (check-abi-% pattern rule): Likewise.
40546         (check-abi, update-abi): Likewise.
40548 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40552 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40554         * manual/startup.texi: Add next, previous, and top entries for
40555         the `Program Arguments' and `Environment Variables' nodes.
40557 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40559         * manual/macros.texi: Add comments before MTASC-safety macros.
40561         * manual/users.texi: Document MTASC-safety properties.
40563         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40564         (pthread_getspecific, pthread_setspecific): Format with
40565         @deftypefun, and add @safety note.
40566         * manual/signal.texi: Move comments that analyze the above
40567         functions to their home place.
40569 2014-02-03  Allan McRae  <allan@archlinux.org>
40571         * po/sl.po: Update Slovenian translation from translation project.
40573 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40575         * manual/time.texi (timegm): Add missing blank after @c.
40576         Reported by Joseph Myers <joseph@codesourcery.com>.
40578 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40580         * manual/check-safety.sh: New.
40581         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40583         * manual/terminal.texi: Document MTASC-safety properties.
40585         * manual/filesys.texi: Document MTASC-safety properties.
40587         * manual/errno.texi: Document MTASC-safety properties.
40589         * manual/intro.texi: Document safety identifiers and
40590         conditionals.
40592         * manual/string.texi (wcstok): Fix prototype.
40593         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40595         * manual/time.texi: Document MTASC-safety properties.
40597         * manual/string.texi: Document MTASC-safety properties.
40599         * manual/threads.texi: Document MTASC-safety properties.
40601         * manual/stdio.texi: Document MTASC-safety properties.
40603         * manual/syslog.texi: Document MTASC-safety properties.
40605         * manual/sysinfo.texi: Document MTASC-safety properties.
40607         * manual/startup.texi: Document MTASC-safety properties.
40609         * manual/socket.texi: Document MTASC-safety properties.
40611         * manual/signal.texi: Document MTASC-safety properties.
40613 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40615         * manual/setjmp.texi: Document MTASC-safety properties.
40617         * manual/search.texi: Document MTASC-safety properties.
40619         * manual/resource.texi: Document MTASC-safety properties.
40621         * manual/process.texi: Document MTASC-safety properties.
40623         * manual/platform.texi: Document MTASC-safety properties.
40625         * manual/pipe.texi: Document MTASC-safety properties.
40627         * manual/pattern.texi: Document MTASC-safety properties.
40629         * manual/message.texi: Document MTASC-safety properties.
40631         [BZ #12751]
40632         * manual/memory.texi: Document MTASC-safety properties.
40634         * manual/math.texi: Document MTASC-safety properties.
40636         * manual/locale.texi: Document MTASC-safety properties.
40638         * manual/llio.texi: Document MTASC-safety properties.
40640         * manual/libdl.texi: New.
40642         * manual/lang.texi: Document MTASC-safety properties.
40644         * manual/job.texi: Document MTASC-safety properties.
40646         * manual/getopt.texi: Document MTASC-safety properties.
40648         * manual/ctype.texi: Document MTASC-safety properties.
40650 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40652         [BZ #16046]
40653         * csu/libc-tls.c (static_map): Remove variable.
40654         (__libc_setup_tls): Use main executable's link map for TLS data.
40655         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40656         casing for LM_ID_BASE and GL(dl_nns).
40657         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40658         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40659         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40660         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40661         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40662         member.
40663         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40664         l_phnum members.
40666 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40668         * manual/debug.texi: Document MTASC-safety properties.
40670 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40672         [BZ #16510]
40673         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40674         of __x86_64__ when disabling x87 inline functions.
40676 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40678         * manual/charset.texi: Document MTASC-safety properties.
40680         * manual/crypt.texi: Document MTASC-safety properties.
40682         * manual/conf.texi: Document MTASC-safety properties.
40684         * manual/arith.texi: Document MTASC-safety properties.
40686         * manual/argp.texi: Document MTASC-safety properties.
40688         * manual/macros.texi: Introduce macros to document multi
40689         thread, asynchronous signal and asynchronous cancellation
40690         safety properties.
40691         * manual/intro.texi: Introduce the properties themselves.
40693 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40695         * sysdeps/sh/sh4/Makefile: New file.
40697 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40699         * math/gen-libm-test.pl ($srcdir): New variable.
40700         ($auto_input): Use it.
40702 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40704         [BZ #16506]
40705         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40706         access beyond array bounds when parsing netgroups file.
40708         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40709         the old buffer before realloc.
40711 2014-01-27  Allan McRae  <allan@archlinux.org>
40713         * po/fr.po: Update French translation from translation project.
40715 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40717         * sysdeps/sh/libm-test-ulps: Regenerate.
40719 2014-01-24  David S. Miller  <davem@davemloft.net>
40721         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40723 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40726         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40728 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40730         [BZ #16474]
40731         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40732         string pointers after reallocation.
40734 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40736         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40737         __SH4A__ instead of __SH_FPU_ANY__.
40739 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40741         * sysdeps/sh/fpu_control.h: New file.
40742         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40743         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40744         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40745         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40746         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40747         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40748         * sysdeps/sh/sys/ucontext.h: Remove.
40749         * sysdeps/sh/sys: Remove directory.
40751 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40753         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40754         s390/sys/ucontext.h.
40755         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40756         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40758 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40760         [BZ #15605]
40761         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40763 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40765         [BZ#16431]
40766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40767         Adjust the vDSO correctly for internal calls.
40768         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40770 2014-01-20  Allan McRae  <allan@archlinux.org>
40772         * po/ca.po: Update Catalan translation from translation project.
40774 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40776         * sysdeps/s390/sotruss-lib.c: New file.
40778 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40780         [BZ#16430]
40781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40782         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40783         local calls issues by not having a PLT stub required for IFUNC calls.
40784         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40786 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40788         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40789         * math/test-fpucw-static.c: Likewise.
40791 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40793         [BZ #16453]
40794         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40796 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40798         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40799         implementation for powerpc.
40801 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40803         [BZ #14782]
40804         * sysdeps/posix/system.c (__libc_system): Do not enable
40805         asynchronous cancellation.
40807 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40809         [BZ #16427]
40810         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40811         handling only for numbers special also in the IEEE case.
40813 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40815         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40817 2014-01-11  Allan McRae  <allan@archlinux.org>
40819         * po/bg.po: Update Bulgarian translation from translation project.
40821         * po/de.po: Update German translation from translation project.
40823 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40825         * sysdeps/generic/gcc-compat.h: New file.
40827 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40829         * benchtests/asin-inputs: Correct slow inputs.
40830         * benchtests/acos-inputs: Likewise.
40832 2014-01-10  Allan McRae  <allan@archlinux.org>
40834         * po:sv.po: Update Swedish translation from translation project.
40836         * po/vi.po: Update Vietnamese translation from translation project.
40838         * po/eo.po: Update Esperanto translation from translation project.
40840         * po/cs.po: Update Czech translation from translation project.
40842         * po/nl.po: Update Dutch translation from translation project.
40844         * po/pl.po: Update Polish translation from translation project.
40846         * po/ru.po: Update Russian translation from translation project.
40848         * po/uk.po: Update Ukrainian translation from translation project.
40850 2014-01-08  Brooks Moses  <bmoses@google.com>
40852         * elf/dl-load.c: Fix comment typo.
40854 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40856         * po/header.pot: Rename to...
40857         * po/pot.header: ... this.
40858         * po/Makefile: Use pot.header.
40860 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40861             Maxim Kuvyrkov  <maxim@kugelworks.com>
40863         [BZ #16394]
40864         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40865         SRC and DEST against LEN.
40867 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40869         [BZ #16414]
40870         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40871         implementation.
40872         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40874 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40878 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #16408]
40881         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40882         for large positive arguments.
40884 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40886         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40888         * math/auto-libm-test-in: Mark various tests with
40889         xfail-rounding:ldbl-128ibm.
40890         * math/auto-libm-test-out: Regenerated.
40892         [BZ #16407]
40893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40894         Increase overflow threshold.
40896 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40898         [BZ #14286]
40899         * stdio-common/vfprintf.c: Check for integer overflow.
40901 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40903         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40904         the first argument and return value of __tls_get_addr_internal.
40906 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40908         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40909         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40911 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40913         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40914         * sysdeps/s390/rtld-global-offsets.sym: New file.
40915         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40916         GLIBC_2.19 symbol.
40917         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40918         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40919         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40920         ... this.
40921         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40922         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40923         ... this.
40924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40925         Regenerate.
40926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40927         Regenerate.
40928         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40929         halfs of GPRs for high_gprs contexts.
40930         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40931         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40932         field.
40933         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40934         uc_flags field.
40935         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40936         64 bit versions:
40937         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40938         for high GPRs (uc_high_gprs) and for future extensions
40939         (__reserved).
40940         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40941         for future extensions (__reserved).
40942         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40943         64 bit versions:
40944         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40945         SC_HIGHGPRS offset definition.
40946         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40947         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40949         * Versions.def: Add GLIBC_2.19 for libpthread.
40950         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40951         siglongjmp for libpthread with GLIBC_2.19 symver.
40952         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40953         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40954         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40955         * sysdeps/s390/__longjmp.c: New file.
40956         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40957         * sysdeps/s390/longjmp.c: New file.
40958         * sysdeps/s390/setjmp.S: New file.
40959         * sysdeps/s390/sigjmp.S: New file.
40960         * sysdeps/s390/v1-longjmp.c: New file.
40961         * sysdeps/s390/v1-setjmp.h: New file.
40962         * sysdeps/s390/v1-sigjmp.c: New file.
40963         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40964         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40965         GLIBC_2.19 version.
40966         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40967         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40968         versioned symbols for ____longjmp_chk.
40969         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40970         Likewise.
40971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40972         Regenerate.
40973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40974         Regenerate.
40975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40976         Regenerate.
40977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40978         Regenerate.
40979         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40980         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40981         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40982         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40983         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40984         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40985         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40986         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40987         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40988         * sysdeps/s390/rtld-__longjmp.c: New file.
40989         * sysdeps/s390/rtld-setjmp.S: New file.
40991 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40993         [BZ #16400]
40994         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40995         Return -__logl (x) for small positive arguments without evaluating
40996         a polynomial.
40998 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41000         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41001         Rename to ...
41002         (__ptrace_peeksiginfo_args): ... this.
41003         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41005         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41007 2014-01-06  Allan McRae  <allan@archlinux.org>
41009         * inet/netinet/in.h: Fix typo in comment.
41011 2014-01-05  Andreas Jaeger  <aj@suse.de>
41013         * sysdeps/i386/fpu/libm-test-ulps: Update.
41015 2014-01-05  Allan McRae  <allan@archlinux.org>
41017         * po/libc.pot: Regenerated.
41019         * malloc/memusagestat.c: Fix gettext call formatting.
41021 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41023         * nscd/nscd.c: Improve usage() output.
41025 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41027         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41028         * sysdeps/unix/sysv/linux/configure: Regenerated.
41029         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41030         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41032 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41034         [BZ #16390]
41035         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41036         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41038 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41041         extra tokens at end of #undef directive.
41042         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41043         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41044         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41046 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41048         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41050         * math/auto-libm-test-in: Mark various tests with
41051         xfail-rounding:ldbl-128ibm.
41052         * math/auto-libm-test-out: Regenerated.
41054 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41056         [BZ #16386]
41057         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41058         numbers with subnormal high part when calculating exponent.
41060         [BZ #16385]
41061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41062         fabs.
41064         [BZ #16384]
41065         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41066         M_LN2l.
41067         (__ieee754_acoshl): Use __log1pl not __log1p.
41069 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41071         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41072         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41073         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41074         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41075         (reused_arena, arena_get2): Convert to GNU style.
41076         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41077         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41078         (memalign_check, __malloc_set_state): Likewise.
41079         * malloc/mallocbug.c (main): Likewise.
41080         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41081         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41082         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41083         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41084         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41085         (__posix_memalign, malloc_info): Likewise.
41086         * malloc/malloc.h: Likewise.
41087         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41088         (mallochook, memalignhook, reallochook, mabort): Likewise.
41089         * malloc/mcheck.h: Likewise.
41090         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41091         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41092         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41093         * malloc/morecore.c (__default_morecore): Likewise.
41094         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41095         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41096         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41097         (print_and_abort): Likewise.
41098         * malloc/obstack.h: Likewise.
41099         * malloc/set-freeres.c (__libc_freeres): Likewise.
41100         * malloc/tst-mallocstate.c (main): Likewise.
41101         * malloc/tst-mtrace.c (main): Likewise.
41102         * malloc/tst-realloc.c (do_test): Likewise.
41104 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41106         [BZ #16366]
41107         * nscd/netgroupcache.c (do_notfound): New function.
41108         (addgetnetgrentX): Use it.
41110         [BZ # 16365]
41111         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41112         NSS_STATUS_NOTFOUND.
41114 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41116         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41119 2014-01-01  Allan McRae  <allan@archlinux.org>
41121         * scripts/update-copyrights: Update configure input file suffix.
41123         * NEWS: Update copyright year.
41124         * catgets/gencat.c: Likewise.
41125         * csu/version.c: Likewise.
41126         * debug/catchsegv.sh: Likewise.
41127         * debug/pcprofiledump.c: Likewise.
41128         * debug/xtrace.sh: Likewise.
41129         * elf/ldconfig.c: Likewise.
41130         * elf/ldd.bash.in: Likewise.
41131         * elf/pldd.c: Likewise.
41132         * elf/sotruss.ksh: Likewise.
41133         * elf/sprof.c: Likewise.
41134         * iconv/iconv_prog.c: Likewise.
41135         * iconv/iconvconfig.c: Likewise.
41136         * locale/programs/locale.c: Likewise.
41137         * locale/programs/localedef.c: Likewise.
41138         * login/programs/pt_chown.c: Likewise.
41139         * malloc/memusage.sh: Likewise.
41140         * malloc/memusagestat.c: Likewise.
41141         * malloc/mtrace.pl: Likewise.
41142         * manual/libc.texinfo: Likewise.
41143         * nscd/nscd.c: Likewise.
41144         * nss/getent.c: Likewise.
41145         * nss/makedb.c: Likewise.
41146         * posix/getconf.c: Likewise.
41147         * scripts/test-installation.pl: Likewise.
41149         * All files with FSF copyright notices: Update copyright dates
41150         using scripts/update-copyrights.
41151         * intl/plural.c: Regenerated.
41152         * locale/programs/charmap-kw.h: Likewise.
41153         * locale/programs/locfile-kw.h: Likewise.
41155 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41157         * sysdeps/unix/sysv/linux/configure: Regenerated.
41158         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41159         the linux/fanotify.h header.
41160         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41161         HAVE_LINUX_FANOTIFY_H is defined.
41163 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41165         * benchtests/cos-inputs: New inputs.
41166         * benchtests/sin-inputs: Likewise.
41168         * benchtests/atan-inputs: New inputs. Fix name of multiple
41169         precision fallback inputs.
41171         * benchtests/atanh-inputs: New inputs.
41172         * benchtests/tanh-inputs: Likewise.
41174         * benchtests/acosh-inputs: New inputs.
41175         * benchtests/asinh-inputs: Likewise.
41177         * benchtests/cosh-inputs: New inputs.
41178         * benchtests/sinh-inputs: Likewise.
41180         * benchtests/acos-inputs: Add more inputs.
41181         * benchtests/asin-inputs: Likewise.
41183 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41185         [BZ #16375]
41186         * manual/arith.texi: Fix spelling.
41187         * manual/charset.texi: Likewise.
41188         * manual/errno.texi: Likewise.
41189         * manual/filesys.texi: Likewise.
41190         * manual/lang.texi: Likewise.
41191         * manual/llio.texi: Likewise.
41192         * manual/locale.texi: Likewise.
41193         * manual/message.texi: Likewise.
41194         * manual/resource.texi: Likewise.
41195         * manual/search.texi: Likewise.
41196         * manual/setjmp.texi: Likewise.
41197         * manual/stdio.texi: Likewise.
41198         * manual/string.texi: Likewise.
41199         * manual/sysinfo.texi: Likewise.
41200         * manual/time.texi: Likewise.
41202 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41204         * po/sl.po: New file.
41206 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41208         * .gitignore: Add core/.gdbinit/.gdb_history.
41210 2013-12-27  Allan McRae  <allan@archlinux.org>
41212         [BZ #16369]
41213         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41214         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41216 2013-12-24  Brooks Moses  <bmoses@google.com>
41218         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41219         all compilers that claim C++98 compliance, not just GCC.
41220         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41221         Likewise.
41223 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41225         * NEWS: Restore accidentally deleted bug-fix entries.
41227 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41228             Ondřej Bílka  <neleai@seznam.cz>
41230         [BZ #15073]
41231         * malloc/malloc.c (_int_free): Perform sanity check only if we
41232         have_lock.
41234 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41236         [BZ #12986]
41237         * manual/stdio.texi (String Input Conversions): Clarify that character
41238         classes are not supported.
41240 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41244 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41246         [BZ #16337]
41247         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41248         Calculate results for small negative arguments directly rather
41249         than using reflection formula with special underflow handling.
41251         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41252         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41253         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41254         (fchflags): Likewise.
41255         (revoke): Likewise.
41256         (setlogin): Likewise.
41257         (sigaltstack): Likewise.
41258         (wait4): Likewise.
41259         (sigblock): Remove.
41260         (sigsetmask): Likewise.
41261         (wait3): Likewise.
41262         (waitpid): Likewise.
41263         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41264         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41265         file.
41266         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41267         * sysdeps/unix/bsd/Makefile: ... here.
41268         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41269         * sysdeps/unix/bsd/Versions: ... here.
41270         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41271         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41272         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41273         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41274         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41275         * sysdeps/unix/bsd/sigblock.c: ... here.
41276         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41277         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41278         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41279         * sysdeps/unix/bsd/sigvec.c: ... here.
41280         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41281         * sysdeps/unix/bsd/tcdrain.c: ... here.
41282         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41283         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41284         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41285         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41286         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41287         * sysdeps/unix/bsd/wait.c: ... here.
41288         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41289         * sysdeps/unix/bsd/wait3.c: ... here.
41290         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41291         * sysdeps/unix/bsd/waitpid.c: ... here.
41293 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41295         [BZ #16356]
41296         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41297         round-to-nearest for [!USE_AS_EXPM1L].
41298         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41299         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41300         more tests of exp and exp10.  Expect some exp10 tests to miss
41301         exceptions or fail in directed rounding modes.
41302         * math/auto-libm-test-out: Regenerated.
41303         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41304         (exp10_test_tonearest): New function.
41305         (exp10_towardzero_test_data): New array.
41306         (exp10_test_towardzero): New function.
41307         (exp10_downward_test_data): New array.
41308         (exp10_test_downward): New function.
41309         (exp10_upward_test_data): New array.
41310         (exp10_test_upward): New function.
41311         (main): Call the new functions.
41312         * sysdeps/i386/fpu/libm-test-ulps: Update.
41313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41315 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41317         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41318         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41319         * math/auto-libm-test-out: Regenerated.
41320         * math/libm-test.inc (acosh_test_data): Add more tests.
41321         (atanh_test_data): Likewise.
41322         (ceil_test_data): Likewise.
41323         (copysign_test_data): Likewise.
41324         * sysdeps/i386/fpu/libm-test-ulps: Update.
41325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41327         * timezone/checktab.awk: Update from tzcode 2013i.
41328         * timezone/private.h: Likewise.
41329         * timezone/scheck.c: Likewise.
41330         * timezone/tzfile.h: Likewise.
41331         * timezone/tzselect.ksh: Likewise.
41332         * timezone/zdump.c: Likewise.
41333         * timezone/zic.c: Likewise.
41335         * math/auto-libm-test-in: Add tests of cpow.
41336         * math/auto-libm-test-out: Regenerated.
41337         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41338         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41339         mpc_cc_c.
41340         (func_calc_desc): Add mpc_cc_c union field.
41341         (test_functions): Add cpow.
41342         (special_fill_2pi): New function.
41343         (special_real_inputs): Add 2pi.
41344         (calc_generic_results): Handle mpc_cc_c.
41345         * sysdeps/i386/fpu/libm-test-ulps: Update.
41346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41348         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41349         csqrt, ctan and ctanh.
41350         * math/auto-libm-test-out: Regenerated.
41351         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41352         (TEST_COND_x86): Likewise.
41353         (ccos_test_data): Use AUTO_TESTS_c_c.
41354         (ccosh_test_data): Likewise.
41355         (cexp_test_data): Likewise.
41356         (clog_test_data): Likewise.
41357         (csqrt_test_data): Likewise.
41358         (ctan_test_data): Likewise.
41359         (ctan_tonearest_test_data): Likewise.
41360         (ctan_towardzero_test_data): Likewise.
41361         (ctan_downward_test_data): Likewise.
41362         (ctan_upward_test_data): Likewise.
41363         (ctanh_test_data): Likewise.
41364         (ctanh_tonearest_test_data): Likewise.
41365         (ctanh_towardzero_test_data): Likewise.
41366         (ctanh_downward_test_data): Likewise.
41367         (ctanh_upward_test_data): Likewise.
41368         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41369         mpc_c_c.
41370         (func_calc_desc): Add mpc_c_c union field.
41371         (FUNC_mpc_c_c): New macro.
41372         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41373         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41374         ctanh.
41375         (special_fill_min_subnorm_p120): New function.
41376         (special_real_inputs): Add min_subnorm_p120.
41377         (calc_generic_results): Handle mpc_c_c.
41378         * sysdeps/i386/fpu/libm-test-ulps: Update.
41379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41381 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41383         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41384         (do_sin_slow): New functions.
41385         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41386         (cslow2, csloww1, csloww2): Use the new functions.
41388         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41389         Use M to change sign of result instead of X.  Assume X is
41390         positive.
41391         (csloww1): Likewise.
41392         (__sin): Adjust.
41393         (__cos): Adjust.
41395         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41396         arguments A and DA.
41397         (__sin): Adjust.
41398         (__cos): Likewise.
41400         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41401         (__cos): Likewise.
41402         (sloww1): Don't adjust sign of DX.
41403         (csloww1): Likewise.
41404         (sloww2): Use X directly and don't adjust sign of DX.
41405         (csloww2): Likewise.
41407 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41409         * math/auto-libm-test-in: Add tests of cabs and carg.
41410         * math/auto-libm-test-out: Regenerated.
41411         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41412         (carg_test_data): Likewise.
41413         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41414         mpc_c_f.
41415         (func_calc_desc): Add mpc_c_f union field.
41416         (test_functions): Add cabs and carg.
41417         (calc_generic_results): Handle mpc_c_f.
41419         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41420         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41421         as a macro and a compat symbol.
41422         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41423         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41424         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41425         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41426         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41427         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41428         not use .hidden.
41429         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41430         Likewise.
41431         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41432         Likewise.
41433         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41434         Likewise.
41435         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41436         Likewise.
41437         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41438         Likewise.
41439         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41440         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41441         from GLIBC_2.3.2.
41443 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41447 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41449         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41450         trailing whitespace removed.
41451         * scripts/config.guess: Update to version 2013-11-29.
41452         * scripts/config.sub: Update to version 2013-10-01.
41454         * math/auto-libm-test-in: Add tests of sincos.
41455         * math/auto-libm-test-out: Regenerated.
41456         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41457         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41458         mpfr_f_11.
41459         (func_calc_desc): Add mpfr_f_11 union field.
41460         (test_functions): Add sincos.
41461         (calc_generic_results): Handle mpfr_f_11.
41462         * sysdeps/i386/fpu/libm-test-ulps: Update.
41463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41465 2013-12-19  Andreas Schwab  <schwab@suse.de>
41467         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41468         CALL_MCOUNT.
41469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41470         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41471         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41473 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41475         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41476         * sysdeps/i386/fpu/libm-test-ulps: Update.
41477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41479         [BZ #16293]
41480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41481         round-to-nearest mode when using frndint.
41482         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41483         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41484         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41485         Likewise.
41486         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41487         sinh test to fail.
41488         * math/auto-libm-test-out: Regenerated.
41489         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41490         (TEST_COND_x86): Likewise.
41491         (expm1_tonearest_test_data): New array.
41492         (expm1_test_tonearest): New function.
41493         (expm1_towardzero_test_data): New array.
41494         (expm1_test_towardzero): New function.
41495         (expm1_downward_test_data): New array.
41496         (expm1_test_downward): New function.
41497         (expm1_upward_test_data): New array.
41498         (expm1_test_upward): New function.
41499         (main): Run the new test functions.
41500         * sysdeps/i386/fpu/libm-test-ulps: Update.
41501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41503         * include/features.h: Update comment documenting feature test
41504         macros.  Mention _DEFAULT_SOURCE in comment.
41505         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41506         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41507         _BSD_SOURCE and _SVID_SOURCE.
41508         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41509         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41510         !_SVID_SOURCE]: Likewise.
41511         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41512         (__USE_POSIX_IMPLICITLY): Define.
41513         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41514         (_POSIX_SOURCE): Undefine and redefine.
41515         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41516         (_POSIX_C_SOURCE): Likewise.
41517         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41518         (Feature Test Macros): Update documentation of default features.
41520 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41522         * benchtests/Makefile: Add bench-strtok.
41523         * benchtests/bench-strtok.c: New file: strtok benchtest.
41525 2013-12-19  Allan McRae  <allan@archlinux.org>
41527         * manual/install.texi: Suppress menu for plain text output.
41528         * INSTALL: Regenerated.
41530 2013-12-18  Brooks Moses  <bmoses@google.com>
41532         [BZ #15846]
41533         * misc/getauxval.c: Include errno.h.
41534         (__getauxval): Set errno to ENOENT if the requested type is not
41535         found.
41536         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41537         don't declare with __attribute_const__.
41538         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41539         * manual/startup.texi: Document that getauxval sets errno.
41541 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41543         * math/auto-libm-test-in: Add tests of jn and yn.
41544         * math/auto-libm-test-out: Regenerated.
41545         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41546         (yn_test_data): Likewise.
41547         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41548         mpfr_if_f.
41549         (func_calc_desc): Add mpfr_if_f union field.
41550         (FUNC_mpfr_if_f): New macro.
41551         (test_functions): Add jn and yn.
41552         (calc_generic_results): Assert type of second input for
41553         mpfr_ff_f.  Handle mpfr_if_f.
41554         (output_for_one_input_case): Disable all checking for arguments
41555         fitting floating-point types in case of an integer argument.
41556         * sysdeps/i386/fpu/libm-test-ulps: Update.
41557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41560         Don't expect fegetround reference in libm.so.
41562 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41564         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41565         $(config-cflags-nofma).
41567 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41569         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41570         * math/auto-libm-test-out: Regenerated.
41572         [BZ #16338]
41573         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41574         to determine exponent and adjust argument to have exponent of -1.
41575         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41576         log2.
41577         * math/auto-libm-test-out: Regenerated.
41578         * sysdeps/i386/fpu/libm-test-ulps: Update.
41579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41581 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41583         * manual/probes.texi: Remove cases when per-thread arenas are
41584         disabled.
41586 2013-12-18  Andreas Schwab  <schwab@suse.de>
41588         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41589         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41590         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41591         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41592         * sysdeps/i386/i686/multiarch/Makefile: Update.
41593         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41595 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41597         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41598         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41600 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41602         [BZ #15968]
41603         Support TZ transition times < 00:00:00.
41604         This is needed for version-3 tz-format files; it supports time
41605         stamps past 2037 for America/Godthab (the only entry in the tz
41606         database for which this change is relevant).
41607         * manual/time.texi (TZ Variable): Document transition times
41608         from -167:59:59 through -00:00:01.
41609         * time/tzset.c (tz_rule): Time of day is now signed.
41610         (__tzset_parse_tz): Parse negative time of day.
41612         Document TZ transition times >= 25:00:00.
41613         * manual/time.texi (TZ Variable): Document transition times from
41614         25:00:00 through 167:59:59.  These are already supported, and this
41615         support will help with version-3 tz-format files.
41617         * manual/time.texi (TZ Variable): Modernize North America example
41618         to reflect current (i.e., 2007-and-later) daylight saving rules.
41620         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41622 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41624         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41625         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41628         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41629         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41630         * sysdeps/unix/bsd/clock.c: Likewise.
41631         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41632         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41633         * sysdeps/unix/bsd/init-posix.c: Likewise.
41634         * sysdeps/unix/bsd/poll.c: Likewise.
41635         * sysdeps/unix/bsd/ptsname.c: Likewise.
41636         * sysdeps/unix/bsd/seekdir.c: Likewise.
41637         * sysdeps/unix/bsd/setegid.c: Likewise.
41638         * sysdeps/unix/bsd/seteuid.c: Likewise.
41639         * sysdeps/unix/bsd/setgid.c: Likewise.
41640         * sysdeps/unix/bsd/setrgid.c: Likewise.
41641         * sysdeps/unix/bsd/setruid.c: Likewise.
41642         * sysdeps/unix/bsd/setsid.c: Likewise.
41643         * sysdeps/unix/bsd/setuid.c: Likewise.
41644         * sysdeps/unix/bsd/sigaction.c: Likewise.
41645         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41646         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41647         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41648         * sysdeps/unix/bsd/telldir.c: Likewise.
41649         * sysdeps/unix/bsd/times.c: Likewise.
41650         * sysdeps/unix/bsd/usleep.c: Likewise.
41652         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41653         ($(objpfx)libbsd-compat.a): Remove rule.
41655         * include/features.h (__FAVOR_BSD): Do not define.
41656         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41657         features conflicting with POSIX.
41658         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41659         (_BSD_SOURCE): Remove description of not being a subset of other
41660         feature test macros.
41661         * manual/job.texi (getpgrp): Do not document BSD version.
41662         (getpgid): Do not document by reference to BSD getpgrp.
41663         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41664         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41665         * signal/signal.h [__FAVOR_BSD]: Likewise.
41666         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41667         instead of making contents conditional on [__FAVOR_BSD].
41668         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41670 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41674 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41676         [BZ #16314]
41677         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41678         values below 2**-450, not 2**-500.
41679         * math/auto-libm-test-in: Don't allow spurious underflow from
41680         hypot.
41681         * math/auto-libm-test-out: Regenerated.
41683         [BZ #16316]
41684         [BZ #16330]
41685         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41686         values of ha and hb and sort them after adjusting subnormal
41687         arguments.
41688         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41689         Likewise.
41690         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41691         values of ea and eb and sort them after adjusting subnormal
41692         arguments.
41693         * math/auto-libm-test-in: Do not expect some hypot tests of
41694         subnormals to fail.  Add more hypot tests.
41695         * math/auto-libm-test-out: Regenerated.
41697 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41699         [BZ #13304]
41700         * sysdeps/sh/s_fma.c: New file.
41701         * sysdeps/sh/s_fmaf.c: New file.
41702         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41703         version.
41704         * sysdeps/sh/Implies: Add sh/soft-fp.
41706 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41708         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41709         level of indirection to members `objname', `errstring', `malloced'.
41710         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41711         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41712         it as the __longjmp argument (just pass 1 instead).
41713         (_dl_catch_error): Initialize C with argument pointers and address of
41714         volatile local ERRCODE rather than copying values out of C at return.
41716 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41718         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41719         * math/auto-libm-test-out: Regenerated.
41720         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41721         (hypot_test_data): Likewise.
41722         (pow_test_data): Likewise.
41723         (pow_tonearest_test_data): Likewise.
41724         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41725         mpfr_ff_f.
41726         (func_calc_desc): Add mpfr_ff_f union field.
41727         (FUNC_mpfr_ff_f): New macro.
41728         (test_functions): Add atan2, hypot and pow.
41729         (special_fill_min): New function.
41730         (special_fill_minus_min): Likewise.
41731         (special_fill_min_subnorm): Likewise.
41732         (special_fill_minus_min_subnorm): Likewise.
41733         (special_real_inputs): Add min, -min, min_subnorm and
41734         -min_subnorm.
41735         (calc_generic_results): Handle mpfr_ff_f.
41736         * sysdeps/i386/fpu/libm-test-ulps: Update.
41737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41739 2013-12-16  Will Newton  <will.newton@linaro.org>
41741         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41742         (Aligned Memory Blocks): Add documentation for aligned_alloc
41743         and suggest it as an alternative to posix_memalign.
41744         (Hooks for Malloc): Document __memalign_hook is also called
41745         for aligned_alloc.  (Summary of Malloc): Add summary for
41746         aligned alloc.  Document __memalign_hook is also called
41747         for aligned_alloc.
41749 2013-12-16  Will Newton  <will.newton@linaro.org>
41751         * manual/memory.texi (Malloc Examples): Clarify default
41752         alignment documentation.  Suggest posix_memalign rather
41753         than memalign or valloc.
41754         (Aligned Memory Blocks): Remove suggestion to use memalign
41755         or valloc.  Remove obsolete comment about BSD.
41756         Document memalign errno values and mark the function obsolete.
41757         Document posix_memalign returned error codes.  Mark valloc
41758         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41759         called for posix_memalign and valloc.
41760         (Summary of Malloc): Add posix_memalign to function summary.
41761         __memalign_hook is also called for posix_memalign and valloc.
41763 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41765         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41766         TAYLOR_SIN.
41767         (__sin): Adjust.
41768         (__cos): Likewise.
41769         (sloww): Use mynumber union.  Expand ternary operator into
41770         if-else statements.
41771         (cslow): use mynumber union.
41773 2013-12-16  Allan McRae  <allan@archlinux.org>
41775         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41776         * configure: Regenerated.
41778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41780         [BZ #14120]
41781         * configure.ac: Added --enable-maintainer-mode. Check for
41782         autoconf when enabled.
41783         * configure: Regenerated.
41785         * nscd/nscd.service: New file.
41786         * nscd/nscd.tmpfiles: New file.
41788 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41790         [BZ #12100]
41791         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41792         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41793         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41794         (strstr): Add __strstr_sse2_unaligned ifunc.
41795         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41796         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41797         (strcasestr): Remove __strcasestr_sse42 ifunc.
41798         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41802 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41804         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41805         * sysdeps/sh/bits/fenv.h: ... here.
41806         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41808 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41813         hypotf multiarch implementations.
41814         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41815         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41816         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41817         multiarch hypot for PPC64.
41818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41819         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41821         multiarch hypotf for PPC64.
41823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41824         modff multiarch implementations.
41825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41828         multiarch modf for PPC64.
41829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41832         multiarch modff for PPC64.
41834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41835         and logl multiarch implementations.
41836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41839         multiarch logb for PPC64.
41840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41843         multiarch logb for PPC64.
41844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41847         multiarch logb for PPC64.
41849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41850         isinff multiarch implementation.
41851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41852         file.
41853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41855         multiarch isinf for PPC64.
41856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41857         file.
41858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41859         multiarch isinff for PPC64.
41861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41862         finitef multiarch implementation.
41863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41864         file.
41865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41867         multiarch finite for PPC64.
41868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41869         file.
41870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41871         multiarch finitef for PPC64.
41873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41874         lrint multiarch implementation.
41875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41876         file.
41877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41879         multiarch llrint for PPC64.
41880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41881         multiarch lrint for PPC64.
41883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41884         copysignf multiarch implementation.
41885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41886         file.
41887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41888         file.
41889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41890         multiarch copysign for PPC64.
41891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41892         multiarch copysignf for PPC64.
41894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41895         multiarch implementation.
41896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41897         file.
41898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41899         file.
41900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41901         file.
41902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41903         file.
41904         multiarch llround for PPC64.
41905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41906         multiarch trunc for PPC64.
41907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41908         multiarch truncf for PPC64.
41910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41911         multiarch implementation.
41912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41913         file.
41914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41915         file.
41916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41917         file.
41918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41919         file.
41920         multiarch llround for PPC64.
41921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41922         multiarch round for PPC64.
41923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41924         multiarch roundf for PPC64.
41926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41927         multiarch implementation.
41928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41929         file.
41930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41931         file.
41932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41933         file.
41934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41935         file.
41936         multiarch llround for PPC64.
41937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41938         multiarch floor for PPC64.
41939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41940         multiarch floorf for PPC64.
41942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41943         multiarch implementation.
41944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41945         file.
41946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41947         file.
41948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41949         file.
41950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41951         file.
41952         multiarch llround for PPC64.
41953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41954         multiarch ceil for PPC64.
41955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41956         multiarch ceilf for PPC64.
41958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41959         multiarch implementation.
41960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41961         file.
41962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41963         file.
41964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41965         file.
41966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41967         multiarch llround for PPC64.
41968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41969         multiarch lround for PPC64.
41971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41972         multiarch implementation.
41973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41976         file.
41977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41980         multiarch isnan for PPC64.
41981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41982         multiarch isnanf for PPC64.
41984         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41985         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41986         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41987         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41988         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41991         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41992         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41997         multiarch implementations.
41998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41999         (__libc_ifunc_impl_list): Likewise.
42000         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42002         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42003         multiarch stpcpy for PPC64.
42005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42006         multiarch implementations.
42007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42008         (__libc_ifunc_impl_list): Likewise.
42009         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42010         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42011         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42012         multiarch strcpy for PPC64.
42014         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42015         redefine function name.
42016         (_wordcopy_fwd_dest_aligned): Likewise.
42017         (_wordcopy_bwd_aligned): Likewise.
42018         (_wordcopy_bwd_dest_aligned): Likewise.
42019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42020         multiarch implementations.
42021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42022         (__libc_ifunc_impl_list): Likewise.
42023         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42024         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42026         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42027         multiarch wcscpy for PPC64.
42029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42030         multiarch implementations.
42031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42032         (__libc_ifunc_impl_list): Likewise.
42033         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42034         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42035         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42036         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42037         multiarch wcscpy for PPC64.
42039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42040         multiarch implementations.
42041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42042         (__libc_ifunc_impl_list): Likewise.
42043         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42044         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42045         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42046         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42047         multiarch wcsrchr for PPC64.
42049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42050         multiarch implementations.
42051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42052         (__libc_ifunc_impl_list): Likewise.
42053         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42054         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42055         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42056         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42057         multiarch wcschr for PPC64.
42059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42060         multiarch implementations.
42061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42062         (__libc_ifunc_impl_list): Likewise.
42063         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42064         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42065         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42066         multiarch strchrnul for PPC64.
42068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42069         implementations.
42070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42071         (__libc_ifunc_impl_list): Likewise.
42072         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42073         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42074         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42075         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42076         strchr for PPC64.
42078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42079         implementations.
42080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42081         (__libc_ifunc_impl_list): Likewise.
42082         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42083         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42084         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42085         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42086         strncmp for PPC64.
42088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42089         multiarch implementations.
42090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42091         (__libc_ifunc_impl_list): Likewise.
42092         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42093         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42094         strncasecmp for PPC64.
42095         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42096         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42097         multiarch strncasecmp_l for PPC64.
42099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42100         multiarch implementations.
42101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42102         (__libc_ifunc_impl_list): Likewise.
42103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42104         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42105         multiarch strcasecmp for PPC64.
42106         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42107         file.
42108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42109         multiarch strcasecmp_l for PPC64.
42111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42112         implementations.
42113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42114         (__libc_ifunc_impl_list): Likewise.
42115         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42116         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42117         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42118         strnlen for PPC64.
42120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42121         implementations.
42122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42123         (__libc_ifunc_impl_list): Likewise.
42124         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42125         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42126         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42127         strlen for PPC64.
42129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42130         implementations.
42131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42132         (__libc_ifunc_impl_list): Likewise.
42133         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42134         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42135         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42136         rawmemrchr for PPC64.
42138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42139         implementation.
42140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42141         (__libc_ifunc_impl_list): Likewise.
42142         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42143         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42144         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42145         memrchr for PPC64.
42147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42148         implementation.
42149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42150         (__libc_ifunc_impl_list): Likewise.
42151         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42152         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42153         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42154         memchr for PPC64.
42156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42157         implementation.
42158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42159         (__libc_ifunc_impl_list): Likewise.
42160         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42161         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42162         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42163         mempcpy for PPC64.
42165         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42166         avoid cretion of __bzero symbol.
42167         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42168         Likewise.
42169         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42170         Likewise.
42171         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42172         Likewise.
42173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42174         multiarch implementations.
42175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42176         (__libc_ifunc_impl_list): Likewise.
42177         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42178         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42179         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42180         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42181         bzero for PPC32.
42182         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42183         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42184         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42185         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42186         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42187         memset for PPC64.
42188         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42190         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42192         implementations.
42193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42194         (__libc_ifunc_impl_list): Likewise.
42195         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42196         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42197         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42198         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42199         memcmp for PPC64.
42201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42202         multiarch for POWER/PPC64.
42203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42204         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42205         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42206         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42207         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42211         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42212         memcpy for PPC64.
42214         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42215         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42216         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42217         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42218         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42219         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42220         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42221         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42222         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42223         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42224         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42225         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42226         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42227         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42228         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42237 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42239         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42241 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42243         * benchtests/Makefile (bench): Add exp2 and log2.
42244         (LDLIBS-bench-exp2): Add -lm.
42245         (LDLIBS-bench-log2): Likewise.
42246         * benchtests/exp2-inputs: New inputs file.
42247         * benchtests/log2-inputs: New inputs file.
42248         * benchtests/log-inputs: Add new inputs.
42249         * benchtests/tan-inputs: Likewise.
42251 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42253         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42254         definition...
42255         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42256         (csloww2): ... from here.
42258         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42259         instead of structures.
42260         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42261         (POLYNOMIAL): Likewise.
42262         (TAYLOR_SLOW): Likewise.
42263         (__sin): Likewise.
42264         (__cos): Likewise.
42265         (slow1): Likewise.
42266         (slow2): Likewise.
42267         (sloww): Likewise.
42268         (sloww1); Likewise.
42269         (sloww2): Likewise.
42270         (bsloww1): Likewise.
42271         (bsloww2): Likewise.
42272         (cslow2): Likewise.
42273         (csloww): Likewise.
42274         (csloww1): Likewise.
42275         (csloww2): Likewise.
42277 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42279         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42280         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42281         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42282         * malloc/hooks.c (realloc_check): Likewise.
42284         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42285         * malloc/arena.c: Remove PER_THREAD conditional.
42286         [!PER_THREAD]: Remove code.
42287         (ptmalloc_unlock_all2): Likewise.
42288         (ptmalloc_init): Likewise.
42289         (_int_new_arena): Likewise.
42290         (arena_get2): Likewise.
42291         * malloc/hooks.c (__malloc_get_state): Likewise.
42292         (__malloc_set_state): Likewise.
42293         * malloc/malloc.c: Likewise.
42294         (struct malloc_state): Likewise.
42295         (struct malloc_par): Likewise.
42296         (__libc_realloc): Likewise.
42297         (__libc_mallopt): Likewise.
42299 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42301         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42303 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42305         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42306         macro to a function.  Check for zero perturb_byte.
42307         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42309         * malloc/malloc.c: (force_reg): Remove.
42310         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42311         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42312         force_reg by atomic_forced_read.
42313         * malloc/arena.c (ptmalloc_init): Likewise.
42314         * malloc/hooks.c (top_check): Likewise.
42316 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42320 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42324 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42326         * math/auto-libm-test-in: Add tests of lgamma.
42327         * math/auto-libm-test-out: Regenerated.
42328         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42329         (M_LOG_2_SQRT_PIl): Likewise.
42330         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42332         mpfr_f_f1.
42333         (func_calc_desc): Add mpfr_f_f1 union field.
42334         (ARGS1): New macro.
42335         (ARGS2): Likewise.
42336         (ARGS3): Likewise.
42337         (ARGS4): Likewise.
42338         (RET1): Likewise.
42339         (RET2): Likewise.
42340         (CALC): Likewise.
42341         (FUNC): Likewise.
42342         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42343         (test_functions): Add lgamma.
42344         (calc_generic_results): Handle mpfr_f_f1.
42345         * sysdeps/i386/fpu/libm-test-ulps: Update.
42346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42350         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42351         __mpn_add_n for PowerPC64/POWER7.
42352         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42353         __mpn_sub_n for PowerPC64/POWER7.
42355         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42356         __mpn_addmul_1 for PowerPC64.
42357         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42358         __mpn_submul_1 for PowerPC64.
42359         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42360         for PowerPC64.
42361         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42362         for PowerPC64.
42364 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42366         [BZ #15089]
42367         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42369 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42371         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42373         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42374         add multiarch folders.
42375         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42376         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42377         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42378         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42379         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42380         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42381         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42382         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42383         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42384         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42385         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42394         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42396         New file.
42397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42398         New file.
42399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42400         multiarch __ieee754_hypot for PowerPC32.
42401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42402         New file.
42403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42404         New file.
42405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42406         multiarch __ieee754_hypotf for PowerPC32.
42408         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42409         long_double_symbol only if __logbl is defined.
42410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42411         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42412         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42413         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42415         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42416         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42417         path for implementation.
42418         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42421         logb, and logbl multiarch implementations for PowerPC32.
42422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42423         file.
42424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42425         file.
42426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42427         multiarch logb for PowerPC32.
42428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42429         file.
42430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42431         file.
42432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42433         multiarch logbf for PowerPC32.
42434         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42436         file.
42437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42438         multiarch logbl implementation for PowerPC32.
42440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42441         and modff multiarch implementations.
42442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42443         New file.
42444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42445         New file.
42446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42447         multiarch modf for PowerPC32.
42448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42449         New file.
42450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42451         New file.
42452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42453         multiarch modff for PowerPC32.
42455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42456         and lrintf multiarch implementations.
42457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42458         New file.
42459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42460         New file.
42461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42462         multiarch lrint for PowerPC32.
42463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42464         file: multiarch lrintf for PowerPC32.
42466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42467         and lroundf multiarch implementations.
42468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42469         New file.
42470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42471         New file.
42472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42473         New file.
42474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42475         multiarch lround for PowerPC32.
42476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42477         file: multiarch lroundf for PowerPC32.
42479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42480         copysign and copysignf multiarch implementations.
42481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42482         New file.
42483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42484         New file.
42485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42486         file: multiarch copysign for PowerPC32.
42487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42488         file: multiarch copysignf for PowerPC32.
42490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42491         and truncf multiarch implementations.
42492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42493         New file.
42494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42495         file.
42496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42497         multiarch trunc for PowerPC32.
42498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42499         New file.
42500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42501         New file.
42502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42503         multiarch truncf for PowerPC32.
42505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42506         and roundf multiarch implementations.
42507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42508         New file.
42509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42510         file.
42511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42512         multiarch round for PowerPC32.
42513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42514         New file.
42515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42516         New file.
42517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42518         multiarch roundf for PowerPC32.
42520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42521         and floorf multiarch implementations.
42522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42523         New file.
42524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42525         file.
42526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42527         multiarch floor for PowerPC32.
42528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42529         New file.
42530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42531         New file.
42532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42533         multiarch floorf for PowerPC32.
42535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42536         and ceilf multiarch implementations.
42537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42538         New file.
42539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42540         file.
42541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42542         multiarch ceil for PowerPC32.
42543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42544         New file.
42545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42546         file.
42547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42548         multiarch ceilf for PowerPC32.
42550         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42551         is defined.
42552         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42553         FINITEF is defined.
42554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42555         and finitef multiarch implementations.
42556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42557         New file.
42558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42559         file.
42560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42561         multiarch finite for PowerPC32.
42562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42563         New file.
42564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42565         file: multiarch finitef for PowerPC32.
42567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42568         and isinff multiarch implementations.
42569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42570         file.
42571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42572         file.
42573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42574         multiarch isinf for PowerPC32.
42575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42576         New file.
42577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42578         multiarch isinff for PowerPC32.
42580         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42581         alias when __isnan is defined.
42582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42583         and isnanf multiarch implementations.
42584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42585         file.
42586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42587         file.
42588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42589         file.
42590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42591         file.
42592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42593         multiarch isnan for PowerPC32.
42594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42595         New file.
42596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42597         New file.
42598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42599         multiarch isnanf for PowerPC32.
42601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42602         and sqrtf multiarch implementations.
42603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42604         file.
42605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42606         file.
42607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42608         multiarch sqrt for PowerPC32.
42609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42610         file.
42611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42612         file.
42613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42614         multiarch sqrtf for PowerPC32.
42616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42617         and llroundf multiarch implementations.
42618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42619         New file.
42620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42621         New file.
42622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42623         New file.
42624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42625         file: multiarch llround for PowerPC32.
42626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42627         file: multiarch llroundf for PowerPC32.
42629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42630         multiarch PowerPC32 fpu implementations.
42631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42632         New file.
42633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42634         New file.
42635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42636         multiarch llrint for PowerPC32.
42637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42638         New file.
42639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42640         New file.
42641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42642         file.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42646         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42647         file.
42648         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42649         file.
42650         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42651         file.
42652         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42653         multiarch wordcopy for PPC32.
42654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42655         wordcopy objects.
42656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42657         (__libc_ifunc_impl_list): Likewise.
42658         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42659         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42660         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42661         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42662         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42663         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42665         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42667         file.
42668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42669         file.
42670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42671         file.
42672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42673         multiarch wcscpy for PPC32.
42674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42675         multiarch objects.
42676         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42677         (__libc_ifunc_impl_list): Likewise.
42678         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42679         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42680         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42681         sysdeps/powerpc/power6/wcscpy.c.
42683         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42685         file.
42686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42687         file.
42688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42689         file.
42690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42691         multiarch wcsrchr for PPC32.
42692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42693         multiarch objects.
42694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42695         (__libc_ifunc_impl_list): Likewise.
42696         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42697         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42698         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42699         sysdeps/powerpc/power6/wcsrchr.c.
42701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42702         file.
42703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42704         file.
42705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42707         multiarch wcschr for PPc32.
42708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42709         multiarch objects.
42710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42711         (__libc_ifunc_impl_list): Likewise.
42712         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42713         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42714         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42715         sysdeps/powerpc/power6/wcschr.c.
42717         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42718         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42719         file.
42720         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42721         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42722         file: multiarch strchr for PPC32.
42723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42724         multiarch objects.
42725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42726         (__libc_ifunc_impl_list): Likewise.
42728         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42729         name.
42730         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42731         file.
42732         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42733         file.
42734         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42735         multiarch strchrnul for PPC32.
42736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42737         multiarch objects.
42738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42739         (__libc_ifunc_impl_list): Likewise.
42741         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42742         file.
42743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42744         multiarch strncasecmp for PPC32.
42745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42746         file.
42747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42748         multiarch strncasecmp_l for PPC32.
42749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42750         strncasecmp multiarch objects.
42751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42752         (__libc_ifunc_impl_list): Likewise.
42754         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42755         file.
42756         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42757         multiarch strncasecmp for PPC32.
42758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42759         New file.
42760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42761         multiarch strcasecmp_l for PPC32.
42762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42763         multiarch objects.
42764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42765         (__libc_ifunc_impl_list): Likewise.
42767         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42768         file.
42769         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42770         file.
42771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42772         multiarch strncmp for PPC32.
42773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42774         multiarch objects.
42775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42776         (__libc_ifunc_impl_list): Likewise.
42778         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42779         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42780         file.
42781         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42782         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42784         multiarch objects.
42785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42786         (__libc_ifunc_impl_list): Likewise.
42788         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42789         file.
42790         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42791         file.
42792         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42794         multiarch objects.
42795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42796         (__libc_ifunc_impl_list): Likewise.
42798         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42799         file.
42800         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42801         file.
42802         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42803         multiarch rawmemchr for PPC32.
42804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42805         multiarch objects.
42806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42807         (__libc_ifunc_impl_list): Likewise.
42809         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42810         file.
42811         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42812         file.
42813         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42814         file: memrchr multiarch for PPC32.
42815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42816         multiarch objects.
42817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42818         (__libc_ifunc_impl_list): Likewise.
42820         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42821         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42822         file.
42823         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42824         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42825         multiarch memchr for PPC32.
42826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42827         multiarch objects.
42828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42829         (__libc_ifunc_impl_list): Likewise.
42831         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42832         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42833         file.
42834         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42835         file.
42836         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42837         file: multiarch mempcpy for PPC32.
42838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42839         multiarch objects.
42840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42841         (__libc_ifunc_impl_list): Likewise.
42843         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42844         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42845         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42847         multiarch bzero for PPC32.
42848         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42849         file.
42850         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42851         file.
42852         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42853         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42854         file: multiarch memset for PPC32.
42855         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42857         memset multiarch objects.
42858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42859         (__libc_ifunc_impl_list): Likewise.
42861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42862         file.
42863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42865         memcmp for PPC32.
42866         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42868         multiarch objects.
42869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42870         (__libc_ifunc_impl_list): Likewise.
42872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42875         file.
42876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42877         file.
42878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42879         file.
42880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42881         multiarch memcpy for PPC32.
42882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42883         multiarch objects.
42884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42885         (__libc_ifunc_impl_list): Likewise.
42887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42888         support multiarch for POWER/PPC32.
42889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42890         Likewise.
42891         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42893         Implies file to make multiarch folder appers before the fpu and
42894         default folder for power4 configuration.
42896 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42898         * scripts/bench.pl: Append volatile keyword to type.
42900 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42902         * sysdeps/sh/sotruss-lib.c: New file.
42903         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42905 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42909 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42911         [BZ #6810]
42912         * math/w_tgamma.c: Include <errno.h>.
42913         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42914         * math/w_tgammaf.c: Include <errno.h>.
42915         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42916         * math/w_tgammal.c: Include <errno.h>.
42917         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42918         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42919         underflow.  Add more tgamma tests.
42920         * math/auto-libm-test-out: Regenerated.
42921         * sysdeps/i386/fpu/libm-test-ulps: Update.
42922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42925         sin, sinh, tan, tanh, tgamma, y0 and y1.
42926         * math/auto-libm-test-out: Regenerated.
42927         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42928         (TEST_COND_x86): Likewise.
42929         (M_E2l): Remove macro.
42930         (M_E3l): Likewise.
42931         (M_2_SQRT_PIl): Likewise.
42932         (M_SQRT_PIl): Likewise.
42933         (M_1_DIV_El): Likewise.
42934         (log_test_data): Use AUTO_TESTS_f_f.
42935         (log10_test_data): Likewise.
42936         (log1p_test_data): Likewise.
42937         (log2_test_data): Likewise.
42938         (sin_test_data): Likewise.
42939         (sin_tonearest_test_data): Likewise.
42940         (sin_towardzero_test_data): Likewise.
42941         (sin_downward_test_data): Likewise.
42942         (sin_upward_test_data): Likewise.
42943         (sinh_test_data): Likewise.
42944         (sinh_tonearest_test_data): Likewise.
42945         (sinh_towardzero_test_data): Likewise.
42946         (sinh_downward_test_data): Likewise.
42947         (sinh_upward_test_data): Likewise.
42948         (tan_test_data): Likewise.
42949         (tan_tonearest_test_data): Likewise.
42950         (tan_towardzero_test_data): Likewise.
42951         (tan_downward_test_data): Likewise.
42952         (tan_upward_test_data): Likewise.
42953         (tanh_test_data): Likewise.
42954         (tgamma_test_data): Likewise.
42955         (y0_test_data): Likewise.
42956         (y1_test_data): Likewise.
42957         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42958         (special_real_inputs): Add pi/4.
42959         * sysdeps/i386/fpu/libm-test-ulps: Update.
42960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42962 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42964         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42965         "longjmp_target" static probes.
42966         (__longjmp): Rename to __longjmp_symbol.
42967         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42968         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42969         on which longjmp to generate.
42970         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42971         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42972         probe.
42973         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42974         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42975         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42976         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42977         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42978         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42980         __longjmp_symbol based on which __longjmp to generate.
42981         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42982         probe.
42983         (setjmp): Rename to setjmp_symbol.
42984         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42985         (_setjmp): Rename to _setjmp_symbol.
42986         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42987         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42988         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42989         which setjmp to generate.
42990         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42991         "longjmp_target" static probes.
42993 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42995         * benchtests/README: Add note about output arguments.
42996         * benchtests/bench-sincos.c: Remove file.
42997         * benchtests/sincos-inputs: New file.
42998         * scripts/bench.pl: Identify output arguments and define
42999         static variables for them.
43001         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43003         [BZ #15941]
43004         * Makefile (INSTALL): Add install-plain.texi as the primary
43005         dependency.
43006         * manual/install-plain.texi: New file.
43007         * manual/install.texi: Include node directive only for
43008         non-plaintext output.
43010 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43012         * stdlib/longlong.h: Update from GCC.
43014         [BZ #6807]
43015         [BZ #15901]
43016         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43017         * math/w_j0f.c (y0f): Likewise.
43018         * math/w_j0l.c (__y0l): Likewise.
43019         * math/w_j1.c (y1): Likewise.
43020         * math/w_j1f.c (y1f): Likewise.
43021         * math/w_j1l.c (__y1l): Likewise.
43022         * math/w_jn.c (yn): Likewise.
43023         * math/w_jnf.c (ynf): Likewise.
43024         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43025         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43026         value for Bessel function domain errors outside _SVID_ mode.
43027         Adjust sign of return value for yn (negative integer, 0).
43028         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43029         by zero in return for negative x and set sign appropriately for
43030         negative n.
43031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43033         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43034         expectations in error cases.
43035         (y1_test_data): Likewise.
43036         (yn_test_data): Likewise.
43037         * sysdeps/i386/fpu/libm-test-ulps: Update.
43038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43040 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43042         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43043         "64" to "64-v1".  Add "64-v2".
43044         (abi-64-options): Rename to ...
43045         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43046         (abi-64-condition): Rename to ...
43047         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43048         (abi-64-ld-soname): Rename to ...
43049         (abi-64-v1-ld-soname): ... this.
43050         (abi-64-v2-options): Define.
43051         (abi-64-v2-condition): Likewise.
43052         (abi-64-v2-ld-soname): Likewise.
43053         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43054         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43059 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43060             Alan Modra  <amodra@gmail.com>
43062         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43063         New versions for use with the ELFv2 ABI.
43064         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43065         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43066         declaration.
43067         (struct La_ppc64v2_retval): Likewise.
43068         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43069         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43070         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43071         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43072         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43073         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43074         Do not save or restore CR.
43075         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43076         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43077         return values for ELFv2 ABI.  Fix location of FPR return registers.
43078         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43079         updated values for _CALL_ELF == 2.
43080         (La_regs, La_retval, int_retval): Likewise.
43082 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43084         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43085         (FRAME_MIN_SIZE_PARM): Likewise.
43086         (FRAME_BACKCHAIN): Likewise.
43087         (FRAME_CR_SAVE): Likewise.
43088         (FRAME_LR_SAVE): Likewise.
43089         (FRAME_TOC_SAVE): Likewise.
43090         (FRAME_PARM_SAVE): Likewise.
43091         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43092         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43093         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43094         (call_mcount_parm_offset): New macro.
43095         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43096         (PROF): Use symbolic stack frame offsets.
43097         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43098         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43099         Redefine in terms of FRAME_MIN_SIZE.
43100         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43101         (_dl_profile_resolve): Likewise.  Update comment.
43102         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43103         symbols stack frame offsets.
43104         (__sigsetjmp): Likewise.
43105         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43106         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43107         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43108         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43111         (FRAME_BACKCHAIN): Remove.
43112         (FRAME_CR_SAVE): Likewise.
43113         (FRAME_LR_SAVE): Likewise.
43114         (FRAME_COMPILER_DW): Likewise.
43115         (FRAME_LINKER_DW): Likewise.
43116         (FRAME_TOC_SAVE): Likewise.
43117         (FRAME_PARM_SAVE): Likewise.
43118         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43119         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43120         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43122         (CHECK_SP): Use symbolic stack frame offsets.
43123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43124         zone" instead of caller's parameter save area for temp storage.
43125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43126         Likewise.  Also, use symbolic stack frame offsets.
43127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43128         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43129         our own stack frame instead of the caller's.
43130         (__socket): Use symbolic stack frame offsets.
43132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43133             Alan Modra  <amodra@gmail.com>
43135         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43136         Define.
43137         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43138         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43139         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43140         New function.
43141         (elf_machine_fixup_plt): Call it.
43142         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43143         reloc arguments.
43144         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43145         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43146         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43147         r2 before calling target.
43149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43150             Alan Modra  <amodra@gmail.com>
43152         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43153         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43154         versions of macros to support ELFv2 ABI.
43155         (LOCALENTRY): New macro.
43156         (ENTRY, EALIGN): Use it.
43157         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43158         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43159         fall through into ENTRY entry point.
43160         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43161         Only define if _CALL_ELF != 2.
43163         (elf_machine_matches_host): Verify ABI version matches.
43164         (RTLD_START): Use LOCALENTRY.
43165         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43166         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43167         (PLT_ENTRY_WORDS): New macro.
43168         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43169         (elf_machine_runtime_setup): Support ELFv2 ABI.
43170         (elf_machine_fixup_plt): Likewise.
43171         (elf_machine_plt_conflict): Likewise.
43172         (resolve_ifunc): Likewise.
43173         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43174         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43175         Likewise.
43176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43177         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43179         (makecontext): Support ELFv2 ABI.
43180         * elf/elf.h (EF_PPC64_ABI): Define.
43182 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43184         * sysdeps/powerpc/powerpc64/sysdep.h
43185         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43186         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43187         (ENTRY) [ASSEMBLER]: ... but instead here ...
43188         (EALIGN) [ASSEMBLER]: ... and here.
43189         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43190         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43191         (ENTRY_2) [!ASSEMBLER]: Use it.
43192         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43193         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43194         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43195         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43196         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43198         Use PPC64_LOAD_FUNCPTR.
43200         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43202 2013-12-04  Alan Modra  <amodra@gmail.com>
43204         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43205         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43206         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43207         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43209         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43210         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43211         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43212         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43213         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43214         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43216 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43219         (__makecontext): Fix incorrect CFI when backtracing out of
43220         context created via makecontext.
43221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43222         (__setcontext): Fix incorrect CFI during switch to new context.
43223         (__novec_setcontext): Likewise.
43225 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43227         [BZ #4772]
43228         * time/strptime_l.c (__strptime_internal): Allow modifiers
43229         in strptime.
43230         * time/tst-strptime.c (day_tests): Add testcase.
43232 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43234         * scripts/bench.pl: Skip over blank lines.
43236 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43238         [BZ #926]
43239         * manual/time.texi (Calendar Time): Clarify what timezone functions
43240         use.
43242 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43246 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43248         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43249         implementation.
43250         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43251         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43252         * debug/memset_chk.c (__memset_chk): Likewise.
43253         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43254         * debug/strncpy_chk.c: Likewise.
43256 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43258         [BZ #15268]
43259         [BZ #15425]
43260         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43261         (__ieee754_exp): For possibly underflowing results, check size of
43262         result and force underflow exception if required.
43263         * math/auto-libm-test-in: Add more tests of exp.
43264         * math/auto-libm-test-out: Regenerated.
43265         * sysdeps/i386/fpu/libm-test-ulps: Update.
43266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43268         [BZ #16283]
43269         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43270         * math/w_exp2f.c (__exp2f): Likewise.
43271         * math/w_exp2l.c (__exp2l): Likewise.
43272         * math/auto-libm-test-in: Do not allow missing errno on exp2
43273         underflow.
43274         * math/auto-libm-test-out: Regenerated.
43276 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43278         [BZ #16274]
43279         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43280         handle filename validation.
43281         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43282         (do_open): Delete.
43284 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43286         [BZ #6786]
43287         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43288         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43289         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43290         <float.h>.
43291         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43293         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43295         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43296         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43297         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43298         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43299         Add more erfc tests.
43300         * math/auto-libm-test-out: Regenerated.
43301         * sysdeps/i386/fpu/libm-test-ulps: Update.
43302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43304         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43305         exp2, expm1, j0 and j1.
43306         * math/auto-libm-test-out: Regenerated.
43307         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43308         (erfc_test_data): Likewise.
43309         (exp_test_data): Likewise.
43310         (exp_tonearest_test_data): Likewise.
43311         (exp_towardzero_test_data): Likewise.
43312         (exp_downward_test_data): Likewise.
43313         (exp_upward_test_data): Likewise.
43314         (exp10_test_data): Likewise.
43315         (exp2_test_data): Likewise.
43316         (expm1_test_data): Likewise.
43317         (j0_test_data): Likewise.
43318         (j1_test_data): Likewise.
43319         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43320         (input_flag_type): Add flag_xfail_rounding.
43321         (input_flags): Add xfail-rounding.
43322         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43323         (output_for_one_input_case): Handle flag_xfail_rounding.
43324         * sysdeps/i386/fpu/libm-test-ulps: Update.
43325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43327 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43329         [BZ #16289]
43330         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43331         division by 0.
43333 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43335         [BZ #16195]
43336         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43337         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43338         (STAP_PROBE0): New macro.
43339         (STAP_PROBE1): Likewise.
43340         (STAP_PROBE2): Likewise.
43341         (STAP_PROBE3): Likewise.
43342         (STAP_PROBE4): Likewise.
43344 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43346         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43348 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43350         * benchtests/Makefile (bench): Add sqrt.
43351         (LDLIBS-bench-sqrt): New.
43352         * benchtests/sqrt-input: New.
43354 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43356         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43357         (GAIH_EAI): Likewise.
43358         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43359         (gaih_inet): Likewise.
43360         (getaddrinfo): Don't use GAIH_EAI.
43362         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43363         (struct gaih): Remove definition.
43365 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43367         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43368         Use HERRNOP directly.
43370 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43374 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43376         * math/gen-auto-libm-tests.c (test_functions): Add more
43377         single-argument functions.
43378         (special_fill_pi_2): New function.
43379         (special_fill_minus_pi_2): Likewise.
43380         (special_fill_pi_6): Likewise.
43381         (special_fill_minus_pi_6): Likewise.
43382         (special_fill_pi_3): Likewise.
43383         (special_fill_2pi_3): Likewise.
43384         (special_fill_e): Likewise.
43385         (special_fill_1_e): Likewise.
43386         (special_fill_e_minus_1): Likewise.
43387         (special_real_inputs): Add more special inputs.
43388         (output_for_one_input_case): Do not require ERANGE on underflow to
43389         zero if round-to-nearest result does not underflow to zero, unless
43390         exact results required.
43391         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43392         atan, atanh, cbrt, cos and cosh.
43393         * math/auto-libm-test-out: Regenerated.
43394         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43395         (acos_tonearest_test_data): Likewise.
43396         (acos_towardzero_test_data): Likewise.
43397         (acos_downward_test_data): Likewise.
43398         (acos_upward_test_data): Likewise.
43399         (acosh_test_data): Likewise.
43400         (asin_test_data): Likewise.
43401         (asin_tonearest_test_data): Likewise.
43402         (asin_towardzero_test_data): Likewise.
43403         (asin_upward_test_data): Likewise.
43404         (asinh_test_data): Likewise.
43405         (atan_test_data): Likewise.
43406         (atanh_test_data): Likewise.
43407         (cbrt_test_data): Likewise.
43408         (cos_test_data): Likewise.
43409         (cos_tonearest_test_data): Likewise.
43410         (cos_towardzero_test_data): Likewise.
43411         (cos_downward_test_data): Likewise.
43412         (cos_upward_test_data): Likewise.
43413         (cosh_test_data): Likewise.
43414         (cosh_tonearest_test_data): Likewise.
43415         (cosh_towardzero_test_data): Likewise.
43416         (cosh_downward_test_data): Likewise.
43417         (cosh_upward_test_data): Likewise.
43418         * sysdeps/i386/fpu/libm-test-ulps: Update.
43419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43421 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43423         [BZ #6787]
43424         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43425         * math/w_exp10f.c (__exp10f): Likewise.
43426         * math/w_exp10l.c (__exp10l): Likewise.
43427         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43428         errno settings in existing tests.
43430         [BZ #14032]
43431         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43432         precision control set to double precision.
43433         * sysdeps/i386/fpu/w_sqrt.c: New file.
43434         * math/auto-libm-test-in: Add more tests.
43435         * math/auto-libm-test-out: Update.
43437         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43438         (sqrt_test_tonearest): New function.
43439         (sqrt_towardzero_test_data): New variable.
43440         (sqrt_test_towardzero): New function.
43441         (sqrt_downward_test_data): New variable.
43442         (sqrt_test_downward): New function.
43443         (sqrt_upward_test_data): New variable.
43444         (sqrt_test_upward): New function.
43445         (main): Call the new functions.
43447         * math/gen-auto-libm-tests.c: New file.
43448         * math/auto-libm-test-in: Likewise.
43449         * math/auto-libm-test-out: New generated file.
43450         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43451         variables.
43452         (%beautify): Add generated representations of zero.
43453         (top level): Set $auto_input and call parse_auto_input.
43454         (beautify): Remove trailing "f" from hex float constants.
43455         (parse_args): Handle XFAIL_TEST.
43456         (convert_condition): New function.
43457         (or_value): Likewise.
43458         (or_cond_value): Likewise.
43459         (generate_testfile): Handle AUTO_TESTS_* lines.
43460         (parse_auto_input): New function.
43461         * math/libm-test.inc (XFAIL_TEST): New macro.
43462         (ERRNO_UNCHANGED): Update value.
43463         (ERRNO_EDOM): Likewise.
43464         (ERRNO_ERANGE): Likewise.
43465         (IGNORE_RESULT): Likewise.
43466         (TEST_COND_flt_32): New macro.
43467         (TEST_COND_dbl_64): Likewise.
43468         (TEST_COND_ldbl_96_intel): Likewise.
43469         (TEST_COND_ldbl_96_m68k): Likewise.
43470         (TEST_COND_ldbl_128): Likewise.
43471         (TEST_COND_ldbl_128ibm): Likewise.
43472         (TEST_COND_long32): Likewise.
43473         (TEST_COND_long64): Likewise.
43474         (TEST_COND_before_rounding): Likewise.
43475         (TEST_COND_after_rounding): Likewise.
43476         (enable_test): Handle XFAIL_TEST flag.
43477         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43478         with finite results.
43479         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43480         auto-libm-test-out.
43482 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43483             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43485         [BZ #16214]
43486         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43487         __tls_get_addr_internal instead of __tls_get_offset in order to
43488         avoid GOT pointer dependency.  Make rtld export
43489         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43490         __tls_get_addr since we are a __tls_get_offset platform.
43491         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43492         GOT pointer being set up before.
43493         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43495 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43497         * manual/math.texi (Errors in Math Functions): Document accuracy
43498         goals.
43500         [BZ #15004]
43501         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43502         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43503         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43504         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43505         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43506         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43507         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43508         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43509         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43510         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43511         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43512         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43513         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43514         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43515         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43516         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43518         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43519         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43520         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43521         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43522         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43523         Likewise.
43524         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43525         Likewise.
43526         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43527         Likewise.
43528         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43529         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43530         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43531         atomic-feupdateenv and flt-rounds.
43532         * sysdeps/powerpc/nofpu/Versions (libc): Add
43533         __atomic_feholdexcept, __atomic_feclearexcept,
43534         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43535         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43536         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43537         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43538         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43539         here.
43540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43541         Update.
43543         * manual/arith.texi (FP Exceptions): Document that exceptions may
43544         not be raised when matherr is used.
43545         (Math Error Reporting): Document overflow in directed rounding
43546         modes.  Document that errno may not be set when finite values are
43547         returned on overflow.  Document intent to set errno on underflow
43548         only for underflow to zero.
43550         [BZ #16271]
43551         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43552         round-to-nearest then adjust result for other rounding modes.
43553         * include/fenv.h (fegetround): Use libm_hidden_proto.
43554         * math/fegetround.c (fegetround): Use libm_hidden_def.
43555         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43556         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43557         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43558         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43559         Likewise.
43560         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43561         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43562         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43563         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43565 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43567         [BZ #16077]
43568         * nss/Versions (libnss_files): Add
43569         _nss_files_gethostbyname3_r.
43570         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43571         New function.
43572         (HOST_DB_LOOKUP): Remove macro.
43573         (_nss_files_gethostbyname_r): Implement function without the
43574         HOST_DB_LOOKUP macro.
43575         (_nss_files_gethostbyname2_r): Likewise.
43577 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43579         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43581 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43583         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43584         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43585         warning.
43587 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43589         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43590         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43591         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43592         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43593         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43594         __fe_nomask_env_priv and attribute_hidden.
43595         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43596         (libc_feupdateenv_test_ppc): Likewise.
43597         (libc_feresetround_ppc): Likewise.
43598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43599         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43600         compat_symbol macro.
43601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43602         (__fe_nomask_env): Likewise.
43603         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43605 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43607         * string/Makefile: Remove ifunc tests.
43608         * string/test-string.h: Define TEST_IFUNC.
43609         * string/test-bcopy-ifunc.c: Remove.
43610         * string/test-bzero-ifunc.c: Likewise.
43611         * string/test-memccpy-ifunc.c: Likewise.
43612         * string/test-memchr-ifunc.c: Likewise.
43613         * string/test-memcmp-ifunc.c: Likewise.
43614         * string/test-memcpy-ifunc.c: Likewise.
43615         * string/test-memmem-ifunc.c: Likewise.
43616         * string/test-memmove-ifunc.c: Likewise.
43617         * string/test-mempcpy-ifunc.c: Likewise.
43618         * string/test-memrchr-ifunc.c: Likewise.
43619         * string/test-memset-ifunc.c: Likewise.
43620         * string/test-rawmemchr-ifunc.c: Likewise.
43621         * string/test-stpcpy-ifunc.c: Likewise.
43622         * string/test-stpncpy-ifunc.c: Likewise.
43623         * string/test-strcasecmp-ifunc.c: Likewise.
43624         * string/test-strcasestr-ifunc.c: Likewise.
43625         * string/test-strcat-ifunc.c: Likewise.
43626         * string/test-strchr-ifunc.c: Likewise.
43627         * string/test-strchrnul-ifunc.c: Likewise.
43628         * string/test-strcmp-ifunc.c: Likewise.
43629         * string/test-strcpy-ifunc.c: Likewise.
43630         * string/test-strcspn-ifunc.c: Likewise.
43631         * string/test-strlen-ifunc.c: Likewise.
43632         * string/test-strncasecmp-ifunc.c: Likewise.
43633         * string/test-strncat-ifunc.c: Likewise.
43634         * string/test-strncmp-ifunc.c: Likewise.
43635         * string/test-strncpy-ifunc.c: Likewise.
43636         * string/test-strnlen-ifunc.c: Likewise.
43637         * string/test-strpbrk-ifunc.c: Likewise.
43638         * string/test-strrchr-ifunc.c: Likewise.
43639         * string/test-strspn-ifunc.c: Likewise.
43640         * string/test-strstr-ifunc.c: Likewise.
43642 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43644         * benchtests/Makefile: Remove ifunc tests.
43645         * benchtests/bench-string.h: Define TEST_IFUNC.
43646         * benchtests/bench-bcopy-ifunc.c: Remove.
43647         * benchtests/bench-bzero-ifunc.c: Likewise.
43648         * benchtests/bench-memccpy-ifunc.c: Likewise.
43649         * benchtests/bench-memchr-ifunc.c: Likewise.
43650         * benchtests/bench-memcmp-ifunc.c: Likewise.
43651         * benchtests/bench-memcpy-ifunc.c: Likewise.
43652         * benchtests/bench-memmem-ifunc.c: Likewise.
43653         * benchtests/bench-memmove-ifunc.c: Likewise.
43654         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43655         * benchtests/bench-memrchr-ifunc.c: Likewise.
43656         * benchtests/bench-memset-ifunc.c: Likewise.
43657         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43658         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43659         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43660         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43661         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43662         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43663         * benchtests/bench-strcat-ifunc.c: Likewise.
43664         * benchtests/bench-strchr-ifunc.c: Likewise.
43665         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43666         * benchtests/bench-strcmp-ifunc.c: Likewise.
43667         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43668         * benchtests/bench-strcpy-ifunc.c: Likewise.
43669         * benchtests/bench-strcspn-ifunc.c: Likewise.
43670         * benchtests/bench-strlen-ifunc.c: Likewise.
43671         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43672         * benchtests/bench-strncat-ifunc.c: Likewise.
43673         * benchtests/bench-strncmp-ifunc.c: Likewise.
43674         * benchtests/bench-strncpy-ifunc.c: Likewise.
43675         * benchtests/bench-strnlen-ifunc.c: Likewise.
43676         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43677         * benchtests/bench-strrchr-ifunc.c: Likewise.
43678         * benchtests/bench-strsep-ifunc.c: Likewise.
43679         * benchtests/bench-strspn-ifunc.c: Likewise.
43680         * benchtests/bench-strstr-ifunc.c: Likewise.
43682 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43684         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43686 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43688         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43689         * rt/aio.h: Likewise.
43690         * sysdeps/gnu/bits/utmp.h: Likewise.
43691         * sysdeps/gnu/bits/utmpx.h: Likewise.
43692         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43693         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43694         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43695         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43696         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43697         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43698         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43699         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43700         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43701         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43702         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43703         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43704         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43706         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43707         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43708         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43709         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43710         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43711         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43712         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43713         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43714         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43715         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43716         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43718         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43719         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43720         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43721         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43722         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43723         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43724         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43725         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43726         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43727         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43728         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43729         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43730         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43731         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43732         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43733         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43735 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43737         [BZ #16245]
43738         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43739         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43741 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43743         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43744         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43745         Likewise.
43747 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43750         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43751         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43752         (__fesetround): Remove define.
43753         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43754         rounding and exceptions handling.
43755         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43756         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43757         (__fe_nomask_env): Likewise.
43758         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43759         __fegetround instead of fegetround.
43760         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43761         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43763 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43765         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43766         it's there.
43768         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43770 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43772         [BZ #11157]
43773         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43774         (encrypt_r): Likewise.
43775         * malloc/obstack.h (obstack_free): Likewise.
43776         * posix/unistd.h (encrypt): Likewise.
43778 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43780         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43781         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43782         DL_CALL_DT_FINI() that call the functions directly.
43783         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43784         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43785         * elf/dl-fini.c: Likewise.
43787 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43789         * malloc/hooks.c (memalign_check): Add alignment rounding.
43790         * malloc/malloc.c (_mid_memalign): New function.
43791         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43792         Implement by calling _mid_memalign.
43793         * manual/probes.texi (Memory Allocation Probes): Remove
43794         memory_valloc_retry and memory_pvalloc_retry.
43796 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43798         * locale/programs/locarchive.c (open_archive): Add const
43799         qualifier to ARCHIVEFNAME and copy default fname to
43800         DEFAULT_FNAME.
43802         [BZ #15601]
43803         * libio/tst-widetext.input: Rename Oriya to Odia.
43804         * locale/iso-639.def: Likewise.
43806         * manual/probes.texi (Mathematical Function Probes): Add
43807         documentation for sin, cos, asin and acos probes.
43808         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43809         (__sin32): Add slowasin probe.
43810         (__cos32): Add slowacos probe.
43811         (__mpsin): Add slowsin probe.
43812         (__mpcos): Add slowcos probe.
43814 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43816         [BZ #15483]
43817         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43818         thread-local __sim_exceptions_thread and global
43819         __sim_exceptions_global.
43820         (__sim_disabled_exceptions): Change to thread-local
43821         __sim_disabled_exceptions_thread and global
43822         __sim_disabled_exceptions_global.
43823         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43824         and global __sim_round_mode_global.
43825         (__simulate_exceptions): Use thread-local floating-point state and
43826         set global state from it as needed.
43827         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43828         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43829         __sim_round_mode_thread.
43830         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43831         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43832         and global __sim_exceptions_global.
43833         (__sim_disabled_exceptions): Change to thread-local
43834         __sim_disabled_exceptions_thread and global
43835         __sim_disabled_exceptions_global.
43836         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43837         and global __sim_round_mode_global.
43838         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43839         (SIM_SET_GLOBAL): Likewise.
43840         * sysdeps/powerpc/soft-fp/sfp-machine.h
43841         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43842         __sim_round_mode_thread.
43843         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43844         __sim_disabled_exceptions_thread.
43845         (__sim_exceptions): Change to __sim_exceptions_thread.
43846         (__sim_disabled_exceptions): Change to
43847         __sim_disabled_exceptions_thread.
43848         (__sim_round_mode): Change to __sim_round_mode_thread.
43849         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43850         thread-local floating-point state and set global state from it as
43851         needed.
43852         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43853         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43854         (__sim_disabled_exceptions): Remove extern declaration.
43855         (feenableexcept): Use thread-local floating-point state and set
43856         global state from it as needed.
43857         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43858         extern declaration.
43859         (__sim_disabled_exceptions): Likewise.
43860         (__sim_round_mode): Likewise.
43861         (__fegetenv): Use thread-local floating-point state.
43862         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43863         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43864         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43865         floating-point state and set global state from it as needed.
43866         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43867         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43868         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43869         Likewise.
43870         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43871         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43872         Likewise.
43873         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43874         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43875         Use __sim_round_mode_thread.
43876         * math/test-fenv-tls.c: New file.
43877         * math/Makefile (tests): Add test-fenv-tls.
43878         ($(objpfx)test-fenv-tls): Depend on
43879         $(common-objpfx)nptl/libpthread.so.
43881 2013-11-19  Andreas Schwab  <schwab@suse.de>
43883         * locale/programs/locale.c (show_info): Decode wordarray elements.
43884         * locale/categories.def (LC_MONETARY): Add element for
43885         _NL_MONETARY_CRNCYSTR.
43886         * locale/C-monetary.c (conversion_rate): New variable.
43887         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43888         element.
43890 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43892         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43893         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43895 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43897         * elf/Makefile (tst-auxv): New test.
43898         * elf/tst-auxv.c: New
43899         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43901 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43903         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43904         (hidden_proto): Caller changed.
43905         (hidden_tls_proto): New macro.
43906         (libc_hidden_tls_proto): Likewise.
43907         (rtld_hidden_tls_proto): Likewise.
43908         (libm_hidden_tls_proto): Likewise.
43909         (libresolv_hidden_tls_proto): Likewise.
43910         (librt_hidden_tls_proto): Likewise.
43911         (libdl_hidden_tls_proto): Likewise.
43912         (libnss_files_hidden_tls_proto): Likewise.
43913         (libnsl_hidden_tls_proto): Likewise.
43914         (libnss_nisplus_hidden_tls_proto): Likewise.
43915         (libutil_hidden_tls_proto): Likewise.
43917 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43919         [BZ #10253]
43920         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43921         (decompose_rpath): Defer expansion to fillin_rpath.
43922         (_dl_init_paths): Pass linkmap to fillin_rpath.
43924 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43926         * benchtests/Makefile: Add strsep.
43927         * benchtests/bench-strsep.c: New file: strsep benchtest.
43928         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43930 2013-11-18  Andreas Schwab  <schwab@suse.de>
43932         * locale/programs/locale.c (show_info) [case byte]: Check for
43933         '\377' instead of '\177'.
43934         * locale/C-monetary.c (not_available): Always use "\377".
43935         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43936         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43937         detect unavailable sign_posn locale elements.
43938         * locale/localeconv.c (__localeconv): For grouping and
43939         mon_grouping handle "\177" and "\377" like no grouping.
43940         (INT_ELEM): New macro.  Use it to set all numeric members.
43941         * locale/programs/ld-monetary.c (monetary_read)
43942         <tok_mon_grouping>: Normalize single -1 to the empty string.
43943         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43944         Likewise.
43946 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43948         [BZ #16055]
43949         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43950         when we match (nil).
43951         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43953 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43955         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43956         (NO_TEST_INLINE): Update value.
43957         (ERRNO_UNCHANGED): Likewise.
43958         (ERRNO_EDOM): Likewise.
43959         (ERRNO_ERANGE): Likewise.
43960         (IGNORE_RESULT): Likewise.
43961         (check_float_internal): Check signs of NaN results if
43962         TEST_NAN_SIGN used.
43963         (check_complex): Pass TEST_NAN_SIGN flag through to second
43964         check_float_internal call.
43965         (copysign_test_data): Add tests with quiet NaNs as second
43966         argument.  Use TEST_NAN_SIGN.
43967         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43968         TEST_NAN_SIGN.
43969         (signbit_test_data): Add tests of quiet NaN argument.
43970         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43972         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43973         $ignore_result.
43974         (parse_args): Handle function results specified as IGNORE.
43975         * math/libm-test.inc (IGNORE_RESULT): New macro.
43976         (check_float_internal): Do not check numerical result if flag
43977         IGNORE_RESULT set.
43978         (check_complex): Pass through IGNORE_RESULT to second
43979         check_float_internal call.
43980         (check_int): Do not check numerical result if flag IGNORE_RESULT
43981         set.
43982         (check_long): Likewise.
43983         (check_bool): Likewise.
43984         (check_longlong): Likewise.
43985         (lrint_test_data): Add tests of infinite and NaN arguments.
43986         (lrint_tonearest_test_data): Likewise.
43987         (lrint_towardzero_test_data): Likewise.
43988         (lrint_downward_test_data): Likewise.
43989         (lrint_upward_test_data): Likewise.
43990         (llrint_test_data): Likewise.
43991         (llrint_tonearest_test_data): Likewise.
43992         (llrint_towardzero_test_data): Likewise.
43993         (llrint_downward_test_data): Likewise.
43994         (llrint_upward_test_data): Likewise.
43995         (lround_test_data): Likewise.
43996         (llround_test_data): Likewise.
43998         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43999         (ERRNO_UNCHANGED): Update value.
44000         (ERRNO_EDOM): Likewise.
44001         (ERRNO_ERANGE): Likewise.
44002         (NO_TEST_INLINE_FLOAT): New macro.
44003         (NO_TEST_INLINE_DOUBLE): Likewise.
44004         (enable_test): New function.
44005         (RUN_TEST_f_f): Check enable_test before running test.
44006         (RUN_TEST_2_f): Likewise.
44007         (RUN_TEST_fff_f): Likewise.
44008         (RUN_TEST_c_f): Likewise.
44009         (RUN_TEST_f_f1): Likewise.
44010         (RUN_TEST_fF_f1): Likewise.
44011         (RUN_TEST_fI_f1): Likewise.
44012         (RUN_TEST_ffI_f1): Likewise.
44013         (RUN_TEST_c_c): Likewise.
44014         (RUN_TEST_cc_c): Likewise.
44015         (RUN_TEST_f_i): Likewise.
44016         (RUN_TEST_f_i_tg): Likewise.
44017         (RUN_TEST_ff_i_tg): Likewise.
44018         (RUN_TEST_f_b): Likewise.
44019         (RUN_TEST_f_b_tg): Likewise.
44020         (RUN_TEST_f_l): Likewise.
44021         (RUN_TEST_f_L): Likewise.
44022         (RUN_TEST_fFF_11): Likewise.
44023         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44024         conditionals.
44025         (cosh_test_data): Likewise.
44026         (exp_test_data): Likewise.
44027         (expm1_test_data): Likewise.
44028         (hypot_test_data): Likewise.
44029         (pow_test_data): Likewise.
44030         (sinh_test_data): Likewise.
44031         (tanh_test_data): Likewise.
44032         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44033         flags argument.
44035         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44036         tests with quiet NaN input and output.
44037         (acosh_test_data): Likewise.
44038         (asin_test_data): Likewise.
44039         (asinh_test_data): Likewise.
44040         (atan_test_data): Likewise.
44041         (atanh_test_data): Likewise.
44042         (atan2_test_data): Likewise.
44043         (cbrt_test_data): Likewise.
44044         (cos_test_data): Likewise.
44045         (cosh_test_data): Likewise.
44046         (erf_test_data): Likewise.
44047         (erfc_test_data): Likewise.
44048         (exp_test_data): Likewise.
44049         (exp10_test_data): Likewise.
44050         (exp2_test_data): Likewise.
44051         (expm1_test_data): Likewise.
44052         (hypot_test_data): Likewise.
44053         (j0_test_data): Likewise.
44054         (j1_test_data): Likewise.
44055         (jn_test_data): Likewise.
44056         (lgamma_test_data): Likewise.
44057         (log_test_data): Likewise.
44058         (log10_test_data): Likewise.
44059         (log1p_test_data): Likewise.
44060         (log2_test_data): Likewise.
44061         (pow_test_data): Likewise.
44062         (scalb_test_data): Likewise.
44063         (sin_test_data): Likewise.
44064         (sincos_test_data): Likewise.
44065         (sinh_test_data): Likewise.
44066         (tan_test_data): Likewise.
44067         (tanh_test_data): Likewise.
44068         (tgamma_test_data): Likewise.
44069         (y0_test_data): Likewise.
44070         (y1_test_data): Likewise.
44071         (yn_test_data): Likewise.
44073         [BZ #16167]
44074         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44075         argument being NaN and avoid computations with second argument in
44076         that case.
44077         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44078         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44079         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44081 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44083         * locale/iso-639.def: Add Chitwani Tharu (the).
44085 2013-11-14  Andreas Schwab  <schwab@suse.de>
44087         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44088         word instead of empty string.
44090 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44093         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44095         (__fe_nomask_env): Likewise.
44097 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44099         * benchtests/bench-timing.h: Include time.h.
44101 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44103         [BZ #15997]
44104         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44105         to 3.4.0 for x32.
44106         * sysdeps/unix/sysv/linux/configure: Regenerated.
44108 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44110         [BZ #16151]
44111         * stdlib/strtod_l.c (round_and_return): Do not consider
44112         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44113         exponent one less than half the least subnormal exponent.
44114         * stdlib/test-strtod-round-data: Add more tests.
44115         * stdlib/tst-strtod-round.c (tests): Regenerated.
44117 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44119         [BZ #14143]
44120         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44121         (__fe_mask_env): Likewise.
44122         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44123         libm_hidden_proto and add function prototype.
44124         (__fe_mask_env): Add function prototype.
44125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44126         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44128         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44130         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44132 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44134         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44135         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44137 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44139         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44140         of htab_find_slot().
44142 2013-11-11  David S. Miller  <davem@davemloft.net>
44144         [BZ #16150]
44145         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44146         symbol in the non-vis3 case in static builds.
44147         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44148         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44149         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44150         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44152 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44154         [BZ #387]
44155         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44156         it is empty.
44158 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44160         * benchtests/Makefile: Add bench-strtod.
44161         * benchtests/bench-strtod.c: New file: strtod benchtest
44163 2013-11-11  Andreas Schwab  <schwab@suse.de>
44165         [BZ #16153]
44166         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44167         terminating NUL in key length.
44169 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44171         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44172         Add artificial ODP entry for vDSO symbol for PPC64.
44173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44174         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44176 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44178         [BZ #15374]
44179         * nss/getent.c (services_keys): Recognize services starting with digit.
44181 2013-11-06  David S. Miller  <davem@davemloft.net>
44183         [BZ #15985]
44184         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44185         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44187 2013-11-06  Will Newton  <will.newton@linaro.org>
44189         * manual/memory.texi (Malloc Examples): Remove register
44190         keyword from examples.
44192 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44194         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44196 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44198         [BZ #6981]
44199         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44200         depending on [__GCC_IEC_559 > 0].
44201         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44202         depending on [__GCC_IEC_559_COMPLEX > 0].
44204 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44206         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44207         to iso-639.def.
44209 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44211         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44213 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44215         [BZ #16112]
44216         * malloc/malloc (malloc_info): Do not handle first bin as
44217         special case.
44219 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44221         * locale/iso-639.def: Add Central Nahuatl (nhn).
44223 2013-11-01  Bruno Haible  <bruno@clisp.org>
44225         [BZ #7003]
44226         * manual/math.texi (BSD Random): Specify range upper bound as
44227         in POSIX.
44229 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44231         * locale/iso-639.def: Add Meadow Mari (mhr).
44233 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44235         [BZ #14752], [BZ #15763]
44236         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44237         Validate name.
44238         * rt/tst_shm.c: Add test for escaping directory.
44240 2013-10-31  Andreas Schwab  <schwab@suse.de>
44242         [BZ #15917]
44243         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44244         followed by 'x' as part of digit sequence.
44245         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44247 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44249         [BZ #16037]
44250         * configure.ac: allow GNU Make 4.0 and greater.
44251         * configure: Regenerated.
44253 2013-10-30  Will Newton  <will.newton@linaro.org>
44255         [BZ #16038]
44256         * malloc/hooks.c (memalign_check): Limit alignment to the
44257         maximum representable power of two.
44258         * malloc/malloc.c (__libc_memalign): Likewise.
44259         * malloc/tst-memalign.c (do_test): Add test for very
44260         large alignment values.
44261         * malloc/tst-posix_memalign.c (do_test): Likewise.
44263 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44265         [BZ #11087]
44266         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44267         (munmap_chunk): Likewise.
44268         (mremap_chunk): Likewise.
44270 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44272         [BZ #15799]
44273         * stdlib/div.c (div): Remove obsolete code.
44274         * stdlib/ldiv.c (ldiv): Likewise.
44275         * stdlib/lldiv.c (lldiv): Likewise.
44277 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         [BZ #16071]
44280         * nss/nss_files/files-XXX.c (get_contents_ret): New
44281         enumerator.
44282         (get_contents): New function.
44283         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44285 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44287         * configure.in: Moved to ...
44288         * configure.ac: ... here. Change reference to configure.in
44289         to configure.ac.
44290         * sysdeps/arm/preconfigure.ac: ... here.
44291         configure.in to configure.ac.
44292         * sysdeps/gnu/configure.in: Moved to ...
44293         * sysdeps/gnu/configure.ac: ... here.
44294         * sysdeps/i386/configure.in: Moved to ...
44295         * sysdeps/i386/configure.ac: ... here.
44296         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44297         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44298         * sysdeps/mach/configure.in: Moved to ...
44299         * sysdeps/mach/configure.ac: ... here.
44300         * sysdeps/mach/hurd/configure.in: Moved to ...
44301         * sysdeps/mach/hurd/configure.ac: ... here.
44302         * sysdeps/powerpc/configure.in: Moved to ...
44303         * sysdeps/powerpc/configure.ac: ... here.
44304         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44305         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44306         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44307         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44308         * sysdeps/s390/s390-32/configure.in: Moved to ...
44309         * sysdeps/s390/s390-32/configure.ac: ... here.
44310         * sysdeps/s390/s390-64/configure.in: Moved to ...
44311         * sysdeps/s390/s390-64/configure.ac: ... here.
44312         * sysdeps/sh/configure.in: Moved to ...
44313         * sysdeps/sh/configure.ac: ... here.
44314         * sysdeps/sparc/configure.in: Moved to ...
44315         * sysdeps/sparc/configure.ac: ... here.
44316         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44317         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44318         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44319         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44320         * sysdeps/x86_64/configure.in: Moved to ...
44321         * sysdeps/x86_64/configure.ac: ... here.
44322         * sysdeps/x86_64/preconfigure.in: Moved to ...
44323         * sysdeps/x86_64/preconfigure.ac: ... here.
44324         * aclocal.m4: Change reference to configure.in to configure.ac.
44325         * config.h.in: Likewise.
44326         * manual/install.texi: Likewise.
44327         * manual/maint.texi: Likewise.
44328         * Makefile: Likewise.
44329         * malloc/Makefile: Likewise.
44330         * nscd/Makefile: Likewise.
44331         * Makeconfig: Change reference to configure.in and
44332         preconfigure.in to configure.ac and preconfigure.ac
44333         respectively.
44334         * INSTALL: Regenerated.
44335         * configure: Likewise.
44336         * sysdeps/gnu/configure: Likewise.
44337         * sysdeps/i386/configure: Likewise.
44338         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44339         * sysdeps/mach/configure: Likewise.
44340         * sysdeps/mach/hurd/configure: Likewise.
44341         * sysdeps/powerpc/configure: Likewise.
44342         * sysdeps/powerpc/powerpc32/configure: Likewise.
44343         * sysdeps/powerpc/powerpc64/configure: Likewise.
44344         * sysdeps/s390/s390-32/configure: Likewise.
44345         * sysdeps/s390/s390-64/configure: Likewise.
44346         * sysdeps/sh/configure: Likewise.
44347         * sysdeps/sparc/configure: Likewise.
44348         * sysdeps/unix/sysv/linux/configure: Likewise.
44349         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44350         * sysdeps/x86_64/configure: Likewise.
44351         * sysdeps/x86_64/preconfigure: Likewise.
44353 2013-10-29  Andreas Schwab  <schwab@suse.de>
44355         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44357 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44359         * benchtests/pow-inputs: Add new inputs.
44361         * benchtests/exp-inputs: Add new inputs.
44363         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44364         conditional check for return value.
44365         (__cos32): Likewise.
44367 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44369         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44370         to provide a boost for large inputs with word alignment.
44371         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44372         implementation based on optimized PPC64 strcpy.
44373         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44374         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44375         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44376         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44378 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44380         [BZ #2801]
44381         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44383 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44385         [BZ #14876]
44386         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44387         * time/tst-strptime.c (day_tests): Add testcase.
44389 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44391         [BZ #14029]
44392         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44394 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44396         [BZ #16074]
44397         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44398         MAP_FAILED on error.
44400 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44402         [BZ #16072]
44403         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44404         heap for large requests.
44406 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44408         [BZ #9954]
44409         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44410         result if the result has no associated interface.
44411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44412         interface for all 127.X.Y.Z addresses.
44414 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44416         * locale/iso-639.def: Add Ligurian (lij)
44418 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44420         [BZ #15825]
44421         * sunrpc/rpc_main.c: Document rpcgen -5.
44423 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44425         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44427 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44429         [BZ #10278]
44430         * posix/glob.c: Match only directories when trailing slash is present.
44431         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44432         (main): Add testcase.
44434 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44436         [BZ #15670]
44437         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44439 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44441         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44442         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44443         AUTH_DES and cindex for FIPS 140-2.
44444         (DES Encryption): Add cindex FIPS 46-3.
44446         * locale/locarchive.h (struct locarhandle): Add fname.
44447         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44448         if an optional argument was specified to --list-archive,
44449         otherwise NULL.
44450         * locale/programs/locarchive.c (show_archive_content): Take new
44451         argument fname and pass it via ah.fname to open_archive.
44452         * locale/programs/localedef.h: Update decl.
44453         (open_archive): If AH->fname is non-null, open that file
44454         rather than the default file name, and don't ignore ENOENT.
44455         (create_archive): Set AH.fname to NULL.
44456         (delete_locales_from_archive): Likewise.
44457         (add_locales_to_archive): Likewise.
44458         * locale/programs/locfile.c (write_all_categories): Likewise.
44460 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44461             Aldy Hernandez  <aldyh@redhat.com>
44463         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44464         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44465         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44466         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44467         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44468         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44469         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44470         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44471         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44472         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44473         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44474         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44475         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44476         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44477         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44478         Likewise.
44479         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44480         Likewise.
44481         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44482         Likewise.
44483         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44484         Likewise.
44485         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44486         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44487         Likewise.
44488         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44489         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44490         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44491         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44492         Likewise.
44493         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44494         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44495         * sysdeps/powerpc/preconfigure: Likewise.
44496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44497         Likewise.
44498         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44499         Replace contents of file by #include of <fenv_libc.h>.
44500         * sysdeps/powerpc/soft-fp/sfp-machine.h
44501         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44502         and <sys/prctl.h>.
44503         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44504         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44506         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44507         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44510         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44516         Allow copysignl PLT reference to be missing.
44518 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44519             Joseph Myers  <joseph@codesourcery.com
44521         [BZ #15948]
44522         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44523         single character.
44524         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44526 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44528         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44529         * elf/tst-tls1.c: Likewise.
44530         * elf/tst-tls10.h: Likewise.
44531         * elf/tst-tls14.c: Likewise.
44532         * elf/tst-tls2.c: Likewise.
44533         * elf/tst-tls3.c: Likewise.
44534         * elf/tst-tls4.c: Likewise.
44535         * elf/tst-tls5.c: Likewise.
44536         * elf/tst-tls6.c: Likewise.
44537         * elf/tst-tls7.c: Likewise.
44538         * elf/tst-tls8.c: Likewise.
44539         * elf/tst-tls9.c: Likewise.
44540         * elf/tst-tlsmod1.c: Likewise.
44541         * elf/tst-tlsmod13.c: Likewise.
44542         * elf/tst-tlsmod13a.c: Likewise.
44543         * elf/tst-tlsmod14a.c: Likewise.
44544         * elf/tst-tlsmod16a.c: Likewise.
44545         * elf/tst-tlsmod16b.c: Likewise.
44546         * elf/tst-tlsmod2.c: Likewise.
44547         * elf/tst-tlsmod3.c: Likewise.
44548         * elf/tst-tlsmod4.c: Likewise.
44549         * elf/tst-tlsmod5.c: Likewise.
44550         * elf/tst-tlsmod6.c: Likewise.
44552 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44554         [BZ #12486]
44555         * malloc/malloc.c: remove checks for statistics.
44557 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44559         [BZ #15277]
44560         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44561         * inet/tst-network.c: Add testcase.
44563 2013-10-17  Andreas Schwab  <schwab@suse.de>
44565         [BZ #15218]
44566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44567         to determine canonical name.
44569 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44571         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44572         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44573         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44578         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44583         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44585         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44586         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44589         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44590         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44594         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44595         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44596         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44597         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44598         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44599         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44600         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44601         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44602         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44603         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44605         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44606         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44608         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44609         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44610         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44611         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44614         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44616         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44622         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44623         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44624         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44625         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44626         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44628         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44630 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44632         [BZ #16041]
44633         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44634         make result into a quiet NaN.
44636 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44638         * soft-fp/adddf3.c: Fix horizontal whitespace.
44639         * soft-fp/addsf3.c: Likewise.
44640         * soft-fp/addtf3.c: Likewise.
44641         * soft-fp/divdf3.c: Likewise.
44642         * soft-fp/divsf3.c: Likewise.
44643         * soft-fp/divtf3.c: Likewise.
44644         * soft-fp/double.h: Likewise.
44645         * soft-fp/eqdf2.c: Likewise.
44646         * soft-fp/eqsf2.c: Likewise.
44647         * soft-fp/eqtf2.c: Likewise.
44648         * soft-fp/extenddftf2.c: Likewise.
44649         * soft-fp/extended.h: Likewise.
44650         * soft-fp/extendsfdf2.c: Likewise.
44651         * soft-fp/extendsftf2.c: Likewise.
44652         * soft-fp/extendxftf2.c: Likewise.
44653         * soft-fp/fixdfdi.c: Likewise.
44654         * soft-fp/fixdfsi.c: Likewise.
44655         * soft-fp/fixdfti.c: Likewise.
44656         * soft-fp/fixsfdi.c: Likewise.
44657         * soft-fp/fixsfsi.c: Likewise.
44658         * soft-fp/fixsfti.c: Likewise.
44659         * soft-fp/fixtfdi.c: Likewise.
44660         * soft-fp/fixtfsi.c: Likewise.
44661         * soft-fp/fixtfti.c: Likewise.
44662         * soft-fp/fixunsdfdi.c: Likewise.
44663         * soft-fp/fixunsdfsi.c: Likewise.
44664         * soft-fp/fixunsdfti.c: Likewise.
44665         * soft-fp/fixunssfdi.c: Likewise.
44666         * soft-fp/fixunssfsi.c: Likewise.
44667         * soft-fp/fixunssfti.c: Likewise.
44668         * soft-fp/fixunstfdi.c: Likewise.
44669         * soft-fp/fixunstfsi.c: Likewise.
44670         * soft-fp/fixunstfti.c: Likewise.
44671         * soft-fp/floatdidf.c: Likewise.
44672         * soft-fp/floatdisf.c: Likewise.
44673         * soft-fp/floatditf.c: Likewise.
44674         * soft-fp/floatsidf.c: Likewise.
44675         * soft-fp/floatsisf.c: Likewise.
44676         * soft-fp/floatsitf.c: Likewise.
44677         * soft-fp/floattidf.c: Likewise.
44678         * soft-fp/floattisf.c: Likewise.
44679         * soft-fp/floattitf.c: Likewise.
44680         * soft-fp/floatundidf.c: Likewise.
44681         * soft-fp/floatundisf.c: Likewise.
44682         * soft-fp/floatunditf.c: Likewise.
44683         * soft-fp/floatunsidf.c: Likewise.
44684         * soft-fp/floatunsisf.c: Likewise.
44685         * soft-fp/floatunsitf.c: Likewise.
44686         * soft-fp/floatuntidf.c: Likewise.
44687         * soft-fp/floatuntisf.c: Likewise.
44688         * soft-fp/floatuntitf.c: Likewise.
44689         * soft-fp/fmadf4.c: Likewise.
44690         * soft-fp/fmasf4.c: Likewise.
44691         * soft-fp/fmatf4.c: Likewise.
44692         * soft-fp/gedf2.c: Likewise.
44693         * soft-fp/gesf2.c: Likewise.
44694         * soft-fp/getf2.c: Likewise.
44695         * soft-fp/ledf2.c: Likewise.
44696         * soft-fp/lesf2.c: Likewise.
44697         * soft-fp/letf2.c: Likewise.
44698         * soft-fp/muldf3.c: Likewise.
44699         * soft-fp/mulsf3.c: Likewise.
44700         * soft-fp/multf3.c: Likewise.
44701         * soft-fp/negdf2.c: Likewise.
44702         * soft-fp/negsf2.c: Likewise.
44703         * soft-fp/negtf2.c: Likewise.
44704         * soft-fp/op-1.h: Likewise.
44705         * soft-fp/op-2.h: Likewise.
44706         * soft-fp/op-4.h: Likewise.
44707         * soft-fp/op-8.h: Likewise.
44708         * soft-fp/op-common.h: Likewise.
44709         * soft-fp/quad.h: Likewise.
44710         * soft-fp/single.h: Likewise.
44711         * soft-fp/soft-fp.h: Likewise.
44712         * soft-fp/sqrtdf2.c: Likewise.
44713         * soft-fp/sqrtsf2.c: Likewise.
44714         * soft-fp/sqrttf2.c: Likewise.
44715         * soft-fp/subdf3.c: Likewise.
44716         * soft-fp/subsf3.c: Likewise.
44717         * soft-fp/subtf3.c: Likewise.
44718         * soft-fp/truncdfsf2.c: Likewise.
44719         * soft-fp/trunctfdf2.c: Likewise.
44720         * soft-fp/trunctfsf2.c: Likewise.
44721         * soft-fp/trunctfxf2.c: Likewise.
44722         * soft-fp/unorddf2.c: Likewise.
44723         * soft-fp/unordsf2.c: Likewise.
44724         * soft-fp/unordtf2.c: Likewise.
44726 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44728         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44729         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44731 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44733         * elf/dl-libc.c: Clear initfini list after freeing.
44735 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44737         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44738         * soft-fp/addsf3.c: Likewise.
44739         * soft-fp/addtf3.c: Likewise.
44740         * soft-fp/divdf3.c: Likewise.
44741         * soft-fp/divsf3.c: Likewise.
44742         * soft-fp/divtf3.c: Likewise.
44743         * soft-fp/double.h: Likewise.
44744         * soft-fp/eqdf2.c: Likewise.
44745         * soft-fp/eqsf2.c: Likewise.
44746         * soft-fp/eqtf2.c: Likewise.
44747         * soft-fp/extenddftf2.c: Likewise.
44748         * soft-fp/extended.h: Likewise.
44749         * soft-fp/extendsfdf2.c: Likewise.
44750         * soft-fp/extendsftf2.c: Likewise.
44751         * soft-fp/extendxftf2.c: Likewise.
44752         * soft-fp/fixdfdi.c: Likewise.
44753         * soft-fp/fixdfsi.c: Likewise.
44754         * soft-fp/fixdfti.c: Likewise.
44755         * soft-fp/fixsfdi.c: Likewise.
44756         * soft-fp/fixsfsi.c: Likewise.
44757         * soft-fp/fixsfti.c: Likewise.
44758         * soft-fp/fixtfdi.c: Likewise.
44759         * soft-fp/fixtfsi.c: Likewise.
44760         * soft-fp/fixtfti.c: Likewise.
44761         * soft-fp/fixunsdfdi.c: Likewise.
44762         * soft-fp/fixunsdfsi.c: Likewise.
44763         * soft-fp/fixunsdfti.c: Likewise.
44764         * soft-fp/fixunssfdi.c: Likewise.
44765         * soft-fp/fixunssfsi.c: Likewise.
44766         * soft-fp/fixunssfti.c: Likewise.
44767         * soft-fp/fixunstfdi.c: Likewise.
44768         * soft-fp/fixunstfsi.c: Likewise.
44769         * soft-fp/fixunstfti.c: Likewise.
44770         * soft-fp/floatdidf.c: Likewise.
44771         * soft-fp/floatdisf.c: Likewise.
44772         * soft-fp/floatditf.c: Likewise.
44773         * soft-fp/floatsidf.c: Likewise.
44774         * soft-fp/floatsisf.c: Likewise.
44775         * soft-fp/floatsitf.c: Likewise.
44776         * soft-fp/floattidf.c: Likewise.
44777         * soft-fp/floattisf.c: Likewise.
44778         * soft-fp/floattitf.c: Likewise.
44779         * soft-fp/floatundidf.c: Likewise.
44780         * soft-fp/floatundisf.c: Likewise.
44781         * soft-fp/floatunsidf.c: Likewise.
44782         * soft-fp/floatunsisf.c: Likewise.
44783         * soft-fp/floatuntidf.c: Likewise.
44784         * soft-fp/floatuntisf.c: Likewise.
44785         * soft-fp/floatuntitf.c: Likewise.
44786         * soft-fp/fmadf4.c: Likewise.
44787         * soft-fp/fmasf4.c: Likewise.
44788         * soft-fp/fmatf4.c: Likewise.
44789         * soft-fp/gedf2.c: Likewise.
44790         * soft-fp/gesf2.c: Likewise.
44791         * soft-fp/getf2.c: Likewise.
44792         * soft-fp/ledf2.c: Likewise.
44793         * soft-fp/lesf2.c: Likewise.
44794         * soft-fp/letf2.c: Likewise.
44795         * soft-fp/muldf3.c: Likewise.
44796         * soft-fp/mulsf3.c: Likewise.
44797         * soft-fp/multf3.c: Likewise.
44798         * soft-fp/negdf2.c: Likewise.
44799         * soft-fp/negsf2.c: Likewise.
44800         * soft-fp/negtf2.c: Likewise.
44801         * soft-fp/op-1.h: Likewise.
44802         * soft-fp/op-2.h: Likewise.
44803         * soft-fp/op-4.h: Likewise.
44804         * soft-fp/op-8.h: Likewise.
44805         * soft-fp/op-common.h: Likewise.
44806         * soft-fp/quad.h: Likewise.
44807         * soft-fp/single.h: Likewise.
44808         * soft-fp/soft-fp.h: Likewise.
44809         * soft-fp/sqrtdf2.c: Likewise.
44810         * soft-fp/sqrtsf2.c: Likewise.
44811         * soft-fp/sqrttf2.c: Likewise.
44812         * soft-fp/subdf3.c: Likewise.
44813         * soft-fp/subsf3.c: Likewise.
44814         * soft-fp/subtf3.c: Likewise.
44815         * soft-fp/truncdfsf2.c: Likewise.
44816         * soft-fp/trunctfdf2.c: Likewise.
44817         * soft-fp/trunctfsf2.c: Likewise.
44818         * soft-fp/trunctfxf2.c: Likewise.
44819         * soft-fp/unorddf2.c: Likewise.
44820         * soft-fp/unordsf2.c: Likewise.
44821         * soft-fp/unordtf2.c: Likewise.
44823 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44825         [BZ #15672]
44826         * misc/error.c (error_tail): Fix possible buffer overflow.
44828 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44830         [BZ #13028]
44831         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44832         address.
44834 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44836         [BZ #832]
44837         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44838         testing pipefail option.
44840 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44842         * soft-fp/double.h: Indent preprocessor directives inside #if.
44843         * soft-fp/extended.h: Likewise.
44844         * soft-fp/op-2.h: Likewise.
44845         * soft-fp/op-4.h: Likewise.
44846         * soft-fp/op-common.h: Likewise.
44847         * soft-fp/quad.h: Likewise.
44848         * soft-fp/single.h: Likewise.
44849         * soft-fp/soft-fp.h: Likewise.
44851 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44853         * iconv/iconv_prog.c: Fix typos.
44854         * stdio-common/psiginfo-data.h: Likewise.
44856 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44858         [BZ #15764]
44859         * locale/setlocale.c: Fix typo.
44861 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44863         [BZ #16036]
44864         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44865         signaling NaN arguments.
44866         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44867         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44869         [BZ #14910]
44870         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44871         unordered operands.
44872         * soft-fp/gesf2.c (__gesf2): Likewise.
44873         * soft-fp/getf2.c (__getf2): Likewise.
44874         * soft-fp/ledf2.c (__ledf2): Likewise.
44875         * soft-fp/lesf2.c (__lesf2): Likewise.
44876         * soft-fp/letf2.c (__letf2): Likewise.
44878         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44879         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44880         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44881         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44882         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44883         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44884         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44885         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44886         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44887         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44888         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44889         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44890         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44891         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44892         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44893         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44894         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44895         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44896         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44897         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44898         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44899         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44900         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44901         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44902         * soft-fp/floattidf.c (__floattidf): Likewise.
44903         * soft-fp/floattisf.c (__floattisf): Likewise.
44904         * soft-fp/floattitf.c (__floattitf): Likewise.
44905         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44906         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44907         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44908         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44909         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44910         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44911         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44912         * soft-fp/gesf2.c (__gesf2): Likewise.
44913         * soft-fp/getf2.c (__getf2): Likewise.
44914         * soft-fp/ledf2.c (__ledf2): Likewise.
44915         * soft-fp/lesf2.c (__lesf2): Likewise.
44916         * soft-fp/letf2.c (__letf2): Likewise.
44918         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44919         Undefine and redefine.
44920         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44921         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44922         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44923         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44924         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44925         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44926         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44927         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44928         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44929         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44930         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44931         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44932         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44933         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44934         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44936         [BZ #16032]
44937         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44938         without decrementing exponent if mantissa >= that for the
44939         denominator, not >.
44940         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44941         denominator, not >.  Decrement exponent in < case instead of
44942         incrementing in >= case.
44943         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44944         without decrementing exponent if mantissa >= that for the
44945         denominator, not >.
44947         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44948         computing saturated result for unsigned overflow.
44950 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44951             Jeff Law  <law@redhat.com>
44953         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44954         (atan2Mp): Add systemtap probe marker.
44955         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44956         (__ieee754_log): Add systemtap probe marker.
44957         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44958         (atanMp): Add systemtap probe marker.
44959         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44960         (tanMp): Add systemtap probe marker.
44961         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44962         (__slowexp): Add systemtap probe marker.
44963         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44964         (__slowpow): Add systemtap probe marker.
44965         * manual/probes.texi: Document probes.
44967 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44969         [BZ #15362]
44970         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44971         written.
44972         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44973         written.
44974         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44975         written to buffer but not flushed.
44976         * libio/iofwrite_u.c:  Likewise.
44977         * libio/iopadn.c:  Return bytes returned even if EOF was
44978         encountered.
44979         * libio/iowpadn.c:  Likewise.
44980         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44981         if _IO_padn does not write the whole buffer.
44982         [!COMPILE_WPRINTF] (PAD): Likewise.
44984 2013-10-10  David S. Miller  <davem@davemloft.net>
44986         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44987         directory block.
44989 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44991         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44992         instead of FSF address.
44993         * soft-fp/fixdfti.c: Likewise.
44994         * soft-fp/fixsfti.c: Likewise.
44995         * soft-fp/fixtfti.c: Likewise.
44996         * soft-fp/fixunsdfti.c: Likewise.
44997         * soft-fp/fixunssfti.c: Likewise.
44998         * soft-fp/fixunstfti.c: Likewise.
44999         * soft-fp/floattidf.c: Likewise.
45000         * soft-fp/floattisf.c: Likewise.
45001         * soft-fp/floattitf.c: Likewise.
45002         * soft-fp/floatuntidf.c: Likewise.
45003         * soft-fp/floatuntisf.c: Likewise.
45004         * soft-fp/floatuntitf.c: Likewise.
45005         * soft-fp/trunctfxf2.c: Likewise.
45007         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45008         * soft-fp/fixdfti.c: Likewise.
45009         * soft-fp/fixsfti.c: Likewise.
45010         * soft-fp/fixtfti.c: Likewise.
45011         * soft-fp/fixunsdfti.c: Likewise.
45012         * soft-fp/fixunssfti.c: Likewise.
45013         * soft-fp/fixunstfti.c: Likewise.
45014         * soft-fp/floattidf.c: Likewise.
45015         * soft-fp/floattisf.c: Likewise.
45016         * soft-fp/floattitf.c: Likewise.
45017         * soft-fp/floatuntidf.c: Likewise.
45018         * soft-fp/floatuntisf.c: Likewise.
45019         * soft-fp/floatuntitf.c: Likewise.
45020         * soft-fp/trunctfxf2.c: Likewise.
45022 2013-10-10  David S. Miller  <davem@davemloft.net>
45024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45026 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45028         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45029         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45030         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45031         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45032         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45033         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45034         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45036         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45037         for NaNs before doing comparisons on argument.
45038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45039         Likewise.
45041 2013-10-10  Will Newton  <will.newton@linaro.org>
45043         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45044         passed to _int_memalign does not overflow.
45046 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45048         * scripts/bench.pl: Add include-sources directive.
45049         * benchtests/README: Update documentation.
45051 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45053         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45054         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45055         instead of FP_INIT_ROUNDMODE.
45056         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45057         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45059         [BZ #16034]
45060         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45061         copy class of input value.
45062         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45063         not handle exceptions.
45064         * soft-fp/negsf2.c (__negsf2): Likewise.
45065         * soft-fp/negtf2.c (__negtf2): Likewise.
45066         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45068 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45070         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45071         semicolon.  From Linux kernel.
45073 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45075         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45077 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45079         [BZ #156]
45080         * manual/socket.texi: Added statement about buffer
45081         for gethostbyname2_r.
45083 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45085         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45086         Use .p2align directive instead, throughout.
45087         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45088         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45089         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45090         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45091         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45092         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45093         * sysdeps/x86_64/strchr.S: Likewise.
45094         * sysdeps/x86_64/strrchr.S: Likewise.
45096 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45098         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45100         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45102         * sysdeps/generic/math_private.h (__mpsin1): Remove
45103         declaration.
45104         (__mpcos1): Likewise.
45105         (__mpsin): New argument __range_reduce.
45106         (__mpcos): Likewise.
45107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45108         (slow): Use __mpsin and __mpcos.
45109         (slow1): Likewise.
45110         (slow2): Likewise.
45111         (sloww): Likewise.
45112         (sloww1): Likewise.
45113         (sloww2): Likewise.
45114         (bsloww): Likewise.
45115         (bsloww1): Likewise.
45116         (bsloww2): Likewise.
45117         (cslow2): Likewise.
45118         (csloww): Likewise.
45119         (csloww1): Likewise.
45120         (csloww2): Likewise.
45121         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45122         range_reduce.  Merge in __mpsin1.
45123         (__mpcos): Likewise.
45124         (__mpsin1): Remove.
45125         (__mpcos1): Likewise.
45127 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45129         * locale/loadlocale.c (_nl_intern_locale_data): Use
45130         LOCFILE_ALIGNED_P.
45131         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45132         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45133         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45134         obstack data is appropriately aligned.
45135         (obstack_int32_grow_fast): Likewise.
45136         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45137         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45138         (add_locale_uint32_array): Likewise.
45140 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45142         * benchtests/Makefile: Remove ARGLIST and RET variables.
45143         ($(objpfx)bench-%.c): Pass only function name to the script.
45144         * benchtests/README: Update documentation.
45145         * benchtests/acos-inputs: Add new directives.
45146         * benchtests/acosh-inputs: Likewise.
45147         * benchtests/asin-inputs: Likewise.
45148         * benchtests/asinh-inputs: Likewise.
45149         * benchtests/atan-inputs: Likewise.
45150         * benchtests/atanh-inputs: Likewise.
45151         * benchtests/cos-inputs: Likewise.
45152         * benchtests/cosh-inputs: Likewise.
45153         * benchtests/exp-inputs: Likewise.
45154         * benchtests/log-inputs: Likewise.
45155         * benchtests/pow-inputs: Likewise.
45156         * benchtests/rint-inputs: Likewise.
45157         * benchtests/sin-inputs: Likewise.
45158         * benchtests/sinh-inputs: Likewise.
45159         * benchtests/tan-inputs: Likewise.
45160         * benchtests/tanh-inputs: Likewise.
45161         * scripts/bench.pl: Add support for new directives.
45163 2013-10-07  Alan Modra  <amodra@gmail.com>
45165         * README: Fix careless merge.
45167 2013-10-05  Alan Modra  <amodra@gmail.com>
45169         * NEWS: Mention powerpc64le support and bugs fixed.
45170         * README: Both big-endian and little-endian powerpc64 supported.
45172 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45174         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45175         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45176         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45177         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45179 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45181         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45182         match prototype.
45184 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45186         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45187         Move -mhard-float appending from
45188         ports/sysdeps/powerpc/powerpc32/Makefile.
45189         [$(with-fp) = yes] (ASFLAGS): Likewise.
45190         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45191         * sysdeps/powerpc/nofpu: Move directory from
45192         ports/sysdeps/powerpc/nofpu.
45193         * sysdeps/powerpc/soft-fp: Move directory from
45194         ports/sysdeps/powerpc/soft-fp.
45195         * sysdeps/powerpc/powerpc32/405: Move directory from
45196         ports/sysdeps/powerpc/powerpc32/405.
45197         * sysdeps/powerpc/powerpc32/440: Move directory from
45198         ports/sysdeps/powerpc/powerpc32/440.
45199         * sysdeps/powerpc/powerpc32/464: Move directory from
45200         ports/sysdeps/powerpc/powerpc32/464.
45201         * sysdeps/powerpc/powerpc32/476: Move directory from
45202         ports/sysdeps/powerpc/powerpc32/476.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45204         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45206         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45208         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45210         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45212         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45213         * README: Update for powerpc-*-linux-gnu software floating point
45214         support in libc.
45216         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45217         case to powerpc/powerpc32*.
45218         * sysdeps/unix/sysv/linux/configure: Regenerated.
45220         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45221         (_FPU_MASK_OM): Define as 0x04.
45222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45224         0x00c10080.
45225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45226         0x0000003c.
45227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45230         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45231         getcontext_e500.
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45233         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45234         setcontext_e500.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45236         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45237         and setcontext_e500.
45239 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45241         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45243 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45245         * manual/threads.texi (Default Thread Attributes): Fix typo.
45247 2013-10-04  Will Newton  <will.newton@linaro.org>
45249         * malloc/Makefile: Add tst-memalign.
45250         * malloc/tst-memalign.c: New file.
45252         * malloc/tst-posix_memalign.c: Add comments.
45253         (do_test): Add comments and call free on all potentially
45254         allocated pointers. Add space after cast.
45256         * malloc/tst-pvalloc.c: Add comments.
45257         (do_test): Add comments and call free on all potentially
45258         allocated pointers. Remove duplicate check for NULL pointer.
45259         Add space after cast.
45261         * malloc/tst-valloc.c: Add comments.
45262         (do_test): Add comments and call free on all potentially
45263         allocated pointers. Remove duplicate check for NULL pointer.
45264         Add space after cast.
45266 2013-10-04  Alan Modra  <amodra@gmail.com>
45268         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45269         Use stdint types in rather than __attribute__((mode())).
45270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45272 2013-10-04  Alan Modra  <amodra@gmail.com>
45274         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45275         Correct handling of unaligned relocs for little-endian.
45276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45278 2013-10-04  Alan Modra  <amodra@gmail.com>
45280         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45281         * configure: Regenerate.
45282         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45283         * shlib-versions: Likewise.
45285 2013-10-04  Alan Modra  <amodra@gmail.com>
45287         * string/tester.c (test_memrchr): Increment reported test cycle.
45289 2013-10-04  Alan Modra  <amodra@gmail.com>
45291         * string/test-memcpy.c (do_one_test): When reporting errors, print
45292         string address and don't overrun end of string.
45294 2013-10-04  Alan Modra  <amodra@gmail.com>
45296         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45297         insrdi.  Make better use of reg selection to speed exit slightly.
45298         Schedule entry path a little better.  Remove useless "are we done"
45299         checks on entry to main loop.  Handle wrapping around zero address.
45300         Correct main loop count.  Handle single left-over word from main
45301         loop inline rather than by using loop_small.  Remove extra word
45302         case in loop_small caused by wrong loop count.  Add little-endian
45303         support.
45304         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45305         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45306         cache hint.
45307         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45308         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45309         support.  Avoid rlwimi.
45310         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45312 2013-10-04  Alan Modra  <amodra@gmail.com>
45314         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45315         insrdi.  Formatting.
45316         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45317         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45318         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45319         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45320         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45321         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45323 2013-10-04  Alan Modra  <amodra@gmail.com>
45325         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45326         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45327         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45328         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45329         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45330         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45331         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45332         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45333         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45334         use of regs.  Use power7 mtocrf.  Tidy function tails.
45336 2013-10-04  Alan Modra  <amodra@gmail.com>
45338         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45339         Formatting.  Consistently use rXXX register defines or rN defines.
45340         Use early exit labels that avoid restoring unused non-volatile regs.
45341         Make cr field use more consistent with rWORDn compares.  Rename
45342         regs used as shift registers for unaligned loop, using rN defines
45343         for short lifetime/multiple use regs.
45344         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45345         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45346         addi 1,1,64 to pop stack frame.  Simplify return value code.
45347         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45349 2013-10-04  Alan Modra  <amodra@gmail.com>
45351         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45352         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45353         rather than rlwimi.
45354         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45355         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45356         little-endian support.  Correct typos.
45357         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45358         rather than rlwimi.
45359         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45360         in loop and entry code to keep "and." results.
45361         (strchr): Add little-endian support.  Comment.  Move cntlzd
45362         earlier in tail.
45363         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45365 2013-10-04  Alan Modra  <amodra@gmail.com>
45367         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45368         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45369         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45370         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45372 2013-10-04  Alan Modra  <amodra@gmail.com>
45374         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45375         (rTMP): Define as r11.
45376         (strcmp): Add little-endian support.  Optimise tail.
45377         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45378         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45379         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45380         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45381         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45382         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45383         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45385 2013-10-04  Alan Modra  <amodra@gmail.com>
45387         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45388         little-endian support.  Remove unnecessary "are we done" tests.
45389         Handle "s" wrapping around zero and extremely large "size".
45390         Correct main loop count.  Handle single left-over word from main
45391         loop inline rather than by using small_loop.  Correct comments.
45392         Delete "zero" tail, use "end_max" instead.
45393         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45395 2013-10-04  Alan Modra  <amodra@gmail.com>
45397         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45398         support.  Don't branch over align.
45399         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45400         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45401         support.  Rearrange tmp reg use to suit.  Comment.
45402         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45404 2013-10-04  Alan Modra  <amodra@gmail.com>
45406         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45408 2013-10-04  Alan Modra  <amodra@gmail.com>
45410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45411         conditional form of branch and link when obtaining pc.
45412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45414 2013-10-04  Alan Modra  <amodra@gmail.com>
45416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45417         HIWORD/LOWORD.
45418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45421 2013-10-04  Alan Modra  <amodra@gmail.com>
45423         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45424         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45425         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45426         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45427         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45428         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45429         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45430         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45431         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45432         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45434 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45435             Alistair Popple <alistair@ozlabs.au.ibm.com>
45436             Alan Modra <amodra@gmail.com>
45438         [BZ #15723]
45439         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45441         _dl_hwcap access for little-endian.
45442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45443         destroy vmx regs when saving unaligned.
45444         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45445         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45446         destroy vmx regs when saving unaligned.
45448 2013-10-04  Alan Modra  <amodra@gmail.com>
45450         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45451         Don't use a union to pack hi/low value.
45453 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45455         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45456         for little-endian.
45457         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45458         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45459         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45460         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45461         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45463 2013-10-04  Alan Modra  <amodra@gmail.com>
45465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45466         constants to usual value for .cst8 section, and remove redundant
45467         high address load.
45468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45469         constant for 0x1p52.  Load little-endian words of double from
45470         correct stack offsets.
45472 2013-10-04  Alan Modra  <amodra@gmail.com>
45474         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45475         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45476         words of double from correct stack offsets.
45477         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45478         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45479         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45480         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45481         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45482         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45483         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45484         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45485         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45486         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45487         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45488         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45489         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45490         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45491         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45492         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45493         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45495 2013-10-04  Alan Modra  <amodra@gmail.com>
45497         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45498         64-bit int/double union.
45499         (_FPU_SETCW): Likewise.
45500         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45501         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45503 2013-10-04  Alan Modra  <amodra@gmail.com>
45505         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45506         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45508 2013-10-04  Alan Modra  <amodra@gmail.com>
45510         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45511         use vector int constants.
45512         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45514 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45516         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45517         array with long long.
45518         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45519         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45520         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45521         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45522         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45523         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45524         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45525         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45526         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45527         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45528         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45529         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45530         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45532 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45534         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45535         (__signbit): Likewise.  Correct for little-endian.
45536         (__signbitl): Call __signbit.
45537         (lrint): Correct for little-endian.
45538         (lrintf): Call lrint.
45540 2013-10-04  Alan Modra  <amodra@gmail.com>
45542         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45543         union 32-bit int array member with 64-bit int array.
45544         (t515, tm256): Double rather than long double.
45545         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45547 2013-10-04  Alan Modra  <amodra@gmail.com>
45549         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45550         Delete.
45551         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45552         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45553         version of math_ldbl.h.
45555 2013-10-04  Alan Modra  <amodra@gmail.com>
45557         [BZ #15734], [BZ #15735]
45558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45559         all uses of ieee875 long double macros and unions.  Simplify test
45560         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45561         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45562         normalize after ldbl_extract_mantissa, and don't add hidden bit
45563         already handled.  Don't treat low word of ieee854 mantissa like
45564         low word of IBM long double and mask off bit when testing for
45565         zero.
45566         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45567         all uses of ieee875 long double macros and unions.  Simplify tests
45568         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45569         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45570         two1022, instead use their values.  Recognise that tests for large
45571         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45572         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45573         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45574         test for 0.0L and nan.  Correct negation.
45575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45576         ieee875 long double macros and unions.  Correct output for large
45577         magnitude x.  Correct absolute value calculation.
45578         (__erfcl): Likewise.
45579         * math/libm-test.inc: Add tests for errors discovered in IBM long
45580         double versions of fmodl, remainderl, erfl and erfcl.
45582 2013-10-04  Alan Modra  <amodra@gmail.com>
45584         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45585         all uses of ieee854 long double macros and unions.  Simplify tests
45586         for long doubles that are fully specified by the high double.
45587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45588         Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45590         Remove dead code too.
45591         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45592         (__ieee754_ynl): Likewise.
45593         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45594         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45595         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45596         Remove dead code too.
45597         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45598         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45599         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45600         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45601         Simplify.
45602         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45603         Simplify.
45604         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45605         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45606         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45607         Comment on variable precision.
45608         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45609         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45610         Likewise.
45611         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45614         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45615         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45617 2013-10-04  Alan Modra  <amodra@gmail.com>
45619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45620         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45621         all uses of ieee854 long double macros and unions.
45622         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45623         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45624         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45625         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45626         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45628         Likewise.
45629         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45630         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45631         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45632         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45634         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45635         Simplify sign and nan test too.
45636         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45638         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45639         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45640         Likewise.
45641         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45642         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45643         Likewise.
45644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45645         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45646         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45647         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45648         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45649         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45651 2013-10-04  Alan Modra  <amodra@gmail.com>
45653         * stdio-common/printf_size.c (__printf_size): Don't use
45654         union ieee854_long_double in fpnum union.
45655         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45656         signbit macro to retrieve sign from long double.
45657         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45658         retrieve sign from long double.
45659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45660         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45661         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45662         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45663         * math/test-misc.c (main): Don't use union ieee854_long_double.
45665 2013-10-04  Alan Modra  <amodra@gmail.com>
45667         [BZ #15680]
45668         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45669         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45670         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45671         calculation.  Remove unnecessary test for denormal exponent.
45672         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45673         Correct handling of denormals.  Avoid undefined shift behaviour.
45674         Correct normalisation of low mantissa when low double is denormal.
45675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45676         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45677         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45678         Correct normalisation of low mantissa.  Test for overflow of high
45679         mantissa and normalise.
45680         (ldbl_nearbyint): Use more readable constant for two52.
45681         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45682         (__mpn_construct_long_double): Fix test for overflow of high
45683         mantissa and correct normalisation.  Avoid undefined shift.
45685 2013-10-04  Alan Modra  <amodra@gmail.com>
45687         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45688         (union ibm_extended_long_double): Define as an array of ieee754_double.
45689         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45690         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45691         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45692         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45701 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45703         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45704         page size instead of calling getpagesize.
45706         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45707         (LOCFILE_ALIGN_MASK): Likewise.
45708         (LOCFILE_ALIGN_UP): Likewise.
45709         (LOCFILE_ALIGNED_P): Likewise.
45710         * locale/programs/ld-collate.c (collate_output): Use the new
45711         macros instead of __alignof__ (int32_t).
45712         * locale/weight.h (findidx): Likewise.
45714 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45716         [BZ #431]
45717         * manual/string.texi: Fix strncat and wcsncat.
45719 2013-10-03  Brooks Moses  <bmoses@google.com>
45721         [BZ #15915]
45722         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45723         * Makerules: ...here, and adjust associated comments.
45725 2013-10-02  Will Newton  <will.newton@linaro.org>
45727         * malloc/Makefile: Add tst-pvalloc.
45728         * malloc/tst-pvalloc.c: New file.
45730 2013-10-02  Will Newton  <will.newton@linaro.org>
45732         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45733         improve test coverage.
45735 2013-10-02  Will Newton  <will.newton@linaro.org>
45737         * malloc/Makefile: Add tst-posix_memalign.
45738         * malloc/tst-posix_memalign.c: New file.
45740 2013-10-01  Eric Blake  <eblake@redhat.com>
45742         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45743         Use __THROWNL rather than __THROW on static functions.
45745 2013-09-30  Petr Machata  <pmachata@redhat.com>
45747         * elf/elf.h (R_AARCH64_ABS16): New macro.
45748         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45749         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45750         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45751         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45752         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45753         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45754         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45755         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45756         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45757         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45758         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45759         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45760         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45761         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45762         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45763         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45764         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45765         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45766         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45767         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45768         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45769         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45770         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45771         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45772         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45773         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45774         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45775         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45776         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45777         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45778         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45779         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45780         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45781         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45782         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45783         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45784         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45785         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45786         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45787         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45788         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45789         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45790         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45791         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45792         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45793         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45794         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45795         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45796         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45797         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45798         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45799         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45800         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45801         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45802         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45803         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45804         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45805         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45806         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45807         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45808         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45809         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45810         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45811         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45812         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45813         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45814         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45815         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45816         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45817         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45818         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45819         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45820         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45821         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45822         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45823         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45824         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45825         (R_AARCH64_TLSDESC_LDR): Likewise.
45826         (R_AARCH64_TLSDESC_ADD): Likewise.
45827         (R_AARCH64_TLSDESC_CALL): Likewise.
45829 2013-09-30  Andreas Schwab  <schwab@suse.de>
45831         [BZ #15048]
45832         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45833         the nss database lookup.
45834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45837 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45839         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45841 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45843         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45844         ${Bash-specific parameter/pattern/string} parameter expansion.
45845         * sysdeps/unix/make-syscalls.sh: Likewise.
45847 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45849         * sysdeps/sh/stackguard-macros.h: New file.
45851 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45855         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45856         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45857         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45858         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45860 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45862         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45863         Fix thread ID register.
45865 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45867         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45868         [POSIX || UNIX98]: Require rather than permitting all symbols from
45869         <time.h>.
45870         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45871         element of struct sched_param.
45872         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45873         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45874         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45875         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45876         constant.
45878 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45880         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45881         argument calculation.
45883 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45885         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45886         Expect macro.
45887         [POSIX] (pthread_attr_t): Do not require type.
45888         [POSIX] (pthread_cond_t): Likewise.
45889         [POSIX] (pthread_condattr_t): Likewise.
45890         [POSIX] (pthread_key_t): Likewise.
45891         [POSIX] (pthread_mutex_t): Likewise.
45892         [POSIX] (pthread_mutexattr_t): Likewise.
45893         [POSIX] (pthread_once_t): Likewise.
45894         [POSIX] (pthread_t): Likewise.
45895         [POSIX-based standards] (pthread_atfork): Expect function.
45897 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45898             Richard Sandiford  <richard@codesourcery.com>
45900         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45901         (swap_endianness_p): New extern variable.
45902         (set_big_endian): New inline function.
45903         (maybe_swap_uint32): Likewise.
45904         (maybe_swap_uint32_array): Likewise.
45905         (maybe_swap_uint32_obstack): Likewise.
45906         * locale/programs/locfile.c: Include <stdbool.h>.
45907         (swap_endianness_p): New variable.
45908         (add_locale_uint32): Call maybe_swap_uint32.
45909         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45910         (write_locale_data): Call maybe_swap_uint32_array.
45911         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45912         maybe_swap_uint32.
45913         (obstack_int32_grow_fast): Likewise.
45914         (output_weightwc): Call maybe_swap_uint32_obstack.
45915         (collate_output): Likewise.
45916         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45917         (OPT_LITTLE_ENDIAN): Likewise.
45918         (options): Add --little-endian and --big-endian options.
45919         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45920         * locale/programs/locarchive.c: Include "locfile.h".
45921         (GET): New macro.
45922         (SET): Likewise.
45923         (INC): Likewise.
45924         (create_archive): Use the new macros to access fields of
45925         structures directly mapped from or written to locale archives.
45926         (oldlocrecentcmp): Likewise.
45927         (enlarge_archive): Likewise.
45928         (insert_name): Likewise.
45929         (add_alias): Likewise.
45930         (add_locale): Likewise.
45931         (delete_locales_from_archive): Likewise.
45932         (show_archive_content): Likewise.
45933         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45934         locale data.
45936 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45938         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45939         http://www.gnu.org/doc/freemanuals.texi.
45940         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45942 2013-09-24  Will Newton  <will.newton@linaro.org>
45944         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45945         macro.
45947 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45949         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45950         unsigned char.
45952 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45954         * manual/threads.texi (POSIX Threads): Fix a typo.
45956 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45958         [BZ #14547]
45959         * string/tst-strcoll-overflow.c: New test case.
45960         * string/Makefile (xtests): Add tst-strcoll-overflow.
45961         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45962         cache if string sizes may cause integer overflow.
45964         [BZ #14547]
45965         * string/strcoll_l.c (coll_seq): New members rule, idx,
45966         save_idx and back_us.
45967         (get_next_seq_nocache): New function.
45968         (do_compare_nocache): New function.
45969         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45970         when malloc fails.
45972 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45974         [BZ #15754]
45975         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45976         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45977         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45979         [BZ #15754]
45980         * elf/Makefile (tests): Add tst-ptrguard1.
45981         (tests-static): Add tst-ptrguard1-static.
45982         (tst-ptrguard1-ARGS): Define.
45983         (tst-ptrguard1-static-ARGS): Define.
45984         * elf/tst-ptrguard1.c: New file.
45985         * elf/tst-ptrguard1-static.c: New file.
45986         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45987         * sysdeps/i386/stackguard-macros.h: Likewise.
45988         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45989         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45990         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45991         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45992         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45993         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45995 2013-09-23  Hector Marco  <hecmargi@upv.es>
45996             Ismael Ripoll  <iripoll@disca.upv.es>
45997             Carlos O'Donell  <carlos@redhat.com>
45999         [BZ #15754]
46000         * sysdeps/generic/stackguard-macros.h: Define
46001         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46002         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46003         Define __pointer_chk_guard_local.
46004         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46005         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46007 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46009         [BZ #15859]
46010         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46012 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46014         * include/string.h (__ffs): Declare as hidden.
46015         * string/ffs.c (__ffs): Define as hidden.
46016         * sysdeps/i386/ffs.c (__ffs): Likewise.
46017         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46018         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46019         * sysdeps/s390/ffs.c (__ffs): Likewise.
46020         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46022 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46024         * NEWS: Mention malloc probes.
46026         * malloc/arena.c (new_heap): New memory_heap_new probe.
46027         (grow_heap): New memory_heap_more probe.
46028         (shrink_heap): New memory_heap_less probe.
46029         (heap_trim): New memory_heap_free probe.
46030         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46031         (systrim): New memory_sbrk_less probe.
46032         * manual/probes.texi: Document them.
46034         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46035         * manual/probes.texi: Document it.
46037         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46038         (__libc_realloc): Add memory_realloc_retry probe.
46039         (__libc_memalign): Add memory_memalign_retry probe.
46040         (__libc_valloc): Add memory_valloc_retry probe.
46041         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46042         (__libc_calloc): Add memory_calloc_retry probe.
46043         * manual/probes.texi: Document them.
46045         * malloc/arena.c (get_free_list): Add probe
46046         memory_arena_reuse_free_list.
46047         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46048         and memory_arena_reuse.
46049         (arena_get2) [!PER_THREAD]: Likewise.
46050         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46051         memory_arena_reuse_realloc.
46052         * manual/probes.texi: Document them.
46054         * malloc/malloc.c (__libc_free): Add
46055         memory_mallopt_free_dyn_thresholds probe.
46056         (__libc_mallopt): Add multiple memory_mallopt probes.
46057         * manual/probes.texi: Document them.
46059         * malloc/malloc.c: Include stap-probe.h.
46060         (__libc_mallopt): Add memory_mallopt probe.
46061         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46062         * manual/probes.texi: New.
46063         * manual/Makefile (chapters): Add probes.
46064         * manual/threads.texi: Set next node.
46066 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46068         [BZ #15963, #13985]
46069         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46070         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46071         Add `Chinese' to `nan' entry name.
46073 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46075         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46076         (POLYNOMIAL): Likewise.
46077         (TAYLOR_SINCOS): Likewise.
46078         (TAYLOR_SLOW): Likewise.
46079         (__sin): Use TAYLOR_SINCOS.
46080         (__cos): Likewise.
46081         (slow): Use TAYLOR_SLOW.
46082         (sloww): Likewise.
46083         (bsloww): Likewise.
46084         (csloww): Likewise.
46086 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46088         * stdlib/strtod_l.c: Fix buffer overrun.
46090 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46092         * benchtests/Makefile (bench): Add sincos.
46093         * benchtests/bench-sincos.c: New file.
46095         * math/libm-test.inc (cos_test_data): New test inputs.
46096         (sin_test_data): Likewise.
46098         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46099         macro.
46100         (__sin): Use it.
46101         (__cos): Likewise.
46102         (slow1): Likewise.
46103         (slow2): Likewise.
46104         (sloww1): Likewise.
46105         (sloww2): Likewise.
46106         (bsloww1): Likewise.
46107         (bsloww2): Likewise.
46108         (cslow2): Likewise.
46109         (csloww1): Likewise.
46110         (csloww2): Likewise.
46112         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46113         function.
46114         (__sin): Use it.
46115         (__cos): Likewise.
46117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46118         gotos.
46119         (__cos): Likewise.
46121 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46123         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46124         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46125         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46126         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46127         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46128         * elf/cache.c (print_entry): Handle the new cache flags.
46130 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46131             Aldy Hernandez  <aldyh@redhat.com>
46133         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46134         Change condition to [_SOFT_FLOAT].
46135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46147         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46150         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46151         declaration.
46153 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46155         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46156         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46157         (__longjmp): Use LOAD_GP to load saved GPRs.
46158         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46159         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46160         (__sigsetjmp): Use SAVE_GP to save GPRs.
46162         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46163         Do not append -msoft-float.
46164         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46166 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46168         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46170 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46172         [BZ #15966]
46173         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46174         (_FPU_GETCW): Use initial "__" on variable and field names but not
46175         on macro parameter name.
46176         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46177         parentheses around reference to macro parameter.
46179 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46181         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46182         prototype.
46183         (ctype_startup): Use uint32_t in cast and sizeof for
46184         ctype->charnames.
46186 2013-09-11  Jia Liu  <proljc@gmail.com>
46188         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46189         __daddr_t_defined.
46190         [__FreeBSD__]: Likewise.
46192 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46195         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46196         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46197         (strchr): Remove __strchr_sse42 ifunc selection.
46198         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46199         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46201 2013-09-11  Will Newton  <will.newton@linaro.org>
46203         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46204         parameter to RES. Remove hardcoded 1000 value.
46205         * benchtests/bench-skeleton.c (main): Pass RES parameter
46206         to TIMING_INIT and multiply result by 1000.
46208 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46212 2013-09-11  Andreas Schwab  <schwab@suse.de>
46214         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46215         if not defined.
46216         (O_TMPFILE) [__USE_GNU]: Define.
46217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46218         Define.
46220 2013-09-11  Will Newton  <will.newton@linaro.org>
46222         [BZ #15857]
46223         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46224         does not overflow.
46226 2013-09-11  Will Newton  <will.newton@linaro.org>
46228         [BZ #15856]
46229         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46230         does not overflow.
46232 2013-09-11  Will Newton  <will.newton@linaro.org>
46234         [BZ #15855]
46235         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46236         does not overflow.
46238 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46240         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46242         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46243         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46244         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46246 2013-09-10  Allan McRae  <allan@archlinux.org>
46248         [BZ #15748]
46249         * manual/arith.texi (Parsing of Floats): Clarify
46250         cross-reference.
46252         [BZ #15849]
46253         * manual/install.texi (Running make install): Mention
46254         --enable-pt-chown.
46255         * INSTALL: Regenerated.
46257 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46259         * csu/init-first.c (_init): Remove the !SHARED condition around
46260         FPU control word initialization.
46261         * elf/dl-support.c (_dl_fpu_control): New variable.
46262         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46263         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46264         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46265         * math/test-fpucw-static.c: New file.
46266         * math/test-fpucw-ieee.c: New file.
46267         * math/test-fpucw-ieee-static.c: New file.
46268         * math/Makefile (tests): Add `test-fpucw-ieee' and
46269         `$(tests-static)'.
46270         (tests-static): New variable.
46271         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46272         dependency to...
46273         [($(build-shared),yes)]
46274         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46275         ... this.
46276         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46277         New dependency.
46279 2013-09-09  Allan McRae  <allan@archlinux.org>
46281         [BZ #15939]
46282         * manual/string.texi (Collation Functions): Fix typo in
46283         strcoll example.
46284         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46286         [BZ #15893]
46287         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46289         [BZ #15892]
46290         * libio/memstream.c (open_memstream): Fix memory leak.
46291         * libio/wmemstream.c (open_wmemstream): Likewise.
46293         [BZ #15895]
46294         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46296 2013-09-09  Will Newton  <will.newton@linaro.org>
46298         * malloc/Makefile: Add tst-realloc to tests.
46299         * malloc/tst-realloc.c: New file.
46301 2013-09-09  Allan McRae  <allan@archlinux.org>
46303         [BZ #15844]
46304         * COPYING: Update from GNU website to fix FSF address.
46305         * COPYING.LIB: Likewise.
46307 2013-09-06  David S. Miller  <davem@davemloft.net>
46309         * po/zh_TW.po: Update Chinese (traditional) translation from
46310         translation project.
46312 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46313             Joseph Myers  <joseph@codesourcery.com>
46315         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46316         "localeinfo.h".
46317         (obstack_chunk_alloc): New macro.
46318         (obstack_chunk_free): Likewise.
46319         (record_offset): New function.
46320         (init_locale_data): Likewise.
46321         (align_locale_data): Likewise.
46322         (add_locale_empty): Likewise.
46323         (add_locale_raw_data): Likewise.
46324         (add_locale_raw_obstack): Likewise.
46325         (add_locale_string): Likewise.
46326         (add_locale_wstring): Likewise.
46327         (add_locale_uint32): Likewise.
46328         (add_locale_uint32_array): Likewise.
46329         (add_locale_char): Likewise.
46330         (start_locale_structure): Likewise.
46331         (end_locale_structure): Likewise.
46332         (start_locale_prelude): Likewise.
46333         (end_locale_prelude): Likewise.
46334         (write_locale_data): Take locale_file structure rather than an
46335         iovec.
46336         * locale/programs/locfile.h: Include "obstack.h".
46337         (struct locale_file): Change to store locale file contents instead
46338         of header.
46339         (init_locale_data): New prototype.
46340         (align_locale_data): Likewise.
46341         (add_locale_empty): Likewise.
46342         (add_locale_raw_data): Likewise.
46343         (add_locale_raw_obstack): Likewise.
46344         (add_locale_string): Likewise.
46345         (add_locale_wstring): Likewise.
46346         (add_locale_uint32): Likewise.
46347         (add_locale_uint32_array): Likewise.
46348         (add_locale_char): Likewise.
46349         (start_locale_structure): Likewise.
46350         (end_locale_structure): Likewise.
46351         (start_locale_prelude): Likewise.
46352         (end_locale_prelude): Likewise.
46353         (write_locale_data): Update prototype.
46354         * locale/programs/3level.h (struct TABLE): Remove result field.
46355         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46356         Use new locale_file interface.
46357         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46358         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46359         * locale/programs/ld-address.c (address_output): Use new
46360         locale_file interface.
46361         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46362         NO_ADD_LOCALE.
46363         (collate_finish): Don't call collseq_table_finalize.
46364         (collate_output): Use new locale_file interface.
46365         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46366         in file.
46367         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46368         (TABLE): Move defines earlier in file.
46369         (ELEMENT): Likewise.
46370         (DEFAULT): Likewise.
46371         (wctrans_table_add): Move macro and inline function earlier in
46372         file.
46373         (struct wctype_table): Move type earlier in file.
46374         (add_locale_wctype_table): New static prototype.
46375         (struct locale_ctype_t): Use logical types instead of struct iovec
46376         pointers for members.
46377         (ctype_output): Use new locale_file interface.
46378         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46379         new locale_file interface.
46380         (allocate_arrays): Update for use of new locale_file interface.
46381         * locale/programs/ld-identification.c (identification_output): Use
46382         new locale_file interface.
46383         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46384         * locale/programs/ld-messages.c (messages_output): Likewise.
46385         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46386         * locale/programs/ld-name.c (name_output): Likewise.
46387         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46388         * locale/programs/ld-paper.c (paper_output): Likewise.
46389         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46390         * locale/programs/ld-time.c (time_output): Likewise.
46392 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46394         * benchtests/Makefile: Add memrchr benchmark.
46395         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46396         benchmark as memrchr.
46397         * benchtests/bench-memrchr-ifunc.c: New file.
46398         * benchtests/bench-memrchr.c: New file.
46400 2013-09-06   Will Newton  <will.newton@linaro.org>
46402         * benchtests/Makefile (string-bench): Add memcpy.
46404 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46405             Cong Wang  <amwang@redhat.com>
46407         [BZ #15850]
46408         * sysdeps/unix/sysv/linux/bits/in.h
46409         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46410         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46411         before __USE_KERNEL_IPV6_DEFS uses.
46412         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46413         IPPROTO_BEETPH.
46414         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46415         sockaddr_in6, or ipv6_mreq.
46417 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46419         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46420         memory access for final bytes in some large inputs.
46421         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46423 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46425         * string/test-memrchr.c: New file.
46426         * string/test-memrchr-ifunc.c: New file.
46427         * string/Makefile: Add new memrchr testcase.
46429 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46431         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46432         fanotify_init returns EPERM.
46434 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46436         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46437         errors.
46438         (top level): Treat second token from macro or constant entries for
46439         allowed headers as allowed.
46440         * include/complex.h: Condition internal declarations on
46441         [!_ISOMAC].
46442         * include/fenv.h: Condition include of <stdbool.h> and internal
46443         declarations on [!_ISOMAC].
46445 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46447         [BZ #15923]
46448         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46450 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46452         * configure.in (--enable-versioning): Remove configure option.
46453         (libc_cv_asm_symver_directive): Remove configure test.
46454         (libc_cv_ld_version_script_option): Likewise.
46455         (VERSIONING): Remove variable and AC_SUBST.
46456         (DO_VERSIONING): Remove AC_DEFINE.
46457         * configure: Regenerated.
46458         * config.h.in (DO_VERSIONING): Remove macro.
46459         * Makerules [$(versioning) = yes]: Change conditionals to
46460         [$(build-shared) = yes].
46461         * config.make.in (versioning): Remove variable.
46462         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46463         [$(build-shared) = yes].
46464         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46465         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46466         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46467         [$(build-shared) = yes].
46468         * extra-lib.mk [$(versioning) = yes]: Likewise.
46469         * hurd/Makefile [$(versioning) = yes]: Likewise.
46470         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46471         [SHARED].
46472         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46473         [SHARED].
46474         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46475         [SHARED && !NO_HIDDEN].
46476         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46477         [SHARED].
46478         [SHARED && DO_VERSIONING]: Likewise..
46479         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46480         [$(build-shared) = yes].
46481         * manual/install.texi (--disable-versioning): Remove
46482         documentation.
46483         * INSTALL: Regenerated.
46484         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46485         to [SHARED].
46486         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46487         [$(build-shared) = yes].
46488         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46489         * sysdeps/i386/i686/multiarch/strstr-c.c
46490         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46491         [SHARED && !NO_HIDDEN].
46492         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46493         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46494         * sysdeps/powerpc/powerpc32/dl-machine.c
46495         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46496         * sysdeps/powerpc/powerpc32/sysdep.h
46497         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46498         to [SHARED && PIC && !NO_HIDDEN].
46499         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46500         conditional to [SHARED].
46502 2013-09-04   Will Newton  <will.newton@linaro.org>
46504         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46505         * benchtests/bench-string.h: Include bench-timing.h instead
46506         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46507         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46508         call to HP_TIMING_DIFF_INIT.
46509         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46510         instead of hp-timing.h macros.
46511         * benchtests/bench-memchr.c: Likewise.
46512         * benchtests/bench-memcmp.c: Likewise.
46513         * benchtests/bench-memcpy.c: Likewise.
46514         * benchtests/bench-memmem.c: Likewise.
46515         * benchtests/bench-memmove.c: Likewise.
46516         * benchtests/bench-memset.c: Likewise.
46517         * benchtests/bench-rawmemchr.c: Likewise.
46518         * benchtests/bench-strcasecmp.c: Likewise.
46519         * benchtests/bench-strcasestr.c: Likewise.
46520         * benchtests/bench-strcat.c: Likewise.
46521         * benchtests/bench-strchr.c: Likewise.
46522         * benchtests/bench-strcmp.c: Likewise.
46523         * benchtests/bench-strcpy.c: Likewise.
46524         * benchtests/bench-strcpy_chk.c: Likewise.
46525         * benchtests/bench-strlen.c: Likewise.
46526         * benchtests/bench-strncasecmp.c: Likewise.
46527         * benchtests/bench-strncat.c: Likewise.
46528         * benchtests/bench-strncmp.c: Likewise.
46529         * benchtests/bench-strncpy.c: Likewise.
46530         * benchtests/bench-strnlen.c: Likewise.
46531         * benchtests/bench-strpbrk.c: Likewise.
46532         * benchtests/bench-strrchr.c: Likewise.
46533         * benchtests/bench-strspn.c: Likewise.
46534         * benchtests/bench-strstr.c: Likewise.
46536 2013-09-04  Will Newton  <will.newton@linaro.org>
46538         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46540 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46542         [BZ #15427]
46543         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46544         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46545         * math/libm-test.inc (lgamma_test_data): Add more tests.
46546         * sysdeps/i386/fpu/libm-test-ulps: Update.
46547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46549 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46551         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46553         Add ifunc.
46554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46555         Add strcmp-sse2-unaligned
46556         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46558 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46560         * Versions.def (libc): Add GLIBC_2.19.
46562 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46564         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46565         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46567 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46569         [BZ #14155]
46570         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46571         intermediate calculations in recurrence.
46572         (__ieee754_ynf): Likewise.
46573         * math/libm-test.inc (jn_test_data): Do not allow spurious
46574         underflow exception.  Add more tests.
46575         (yn_test_data): Add more tests.
46576         * sysdeps/i386/fpu/libm-test-ulps: Update.
46577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46579 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46581         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46583 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46585         * csu/init-first.c: Fix then/than typos.
46586         * locale/programs/ld-collate.c: Likewise.
46587         * locale/programs/linereader.h: Likewise.
46588         * manual/charset.texi: Likewise.
46589         * manual/filesys.texi: Likewise.
46590         * manual/stdio.texi: Likewise.
46591         * manual/string.texi: Likewise.
46592         * stdlib/fmtmsg.c: Likewise.
46593         * sysdeps/i386/stpncpy.S: Likewise.
46594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46595         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46597         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46599 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46601         * elf/dl-open.c: Fix typos.
46602         * iconvdata/gbbig5.c: Likewise.
46603         * iconvdata/iso-2022-jp.c: Likewise.
46604         * iconv/gconv_int.h: Likewise.
46605         * iconv/loop.c: Likewise.
46606         * nis/rpcsvc/nis.h: Likewise.
46607         * resolv/ns_name.c: Likewise.
46608         * stdio-common/vfscanf.c: Likewise.
46609         * streams/stropts.h: Likewise.
46610         * sunrpc/rpc_thread.c: Likewise.
46611         * sysdeps/i386/strpbrk.S: Likewise.
46612         * sysdeps/ieee754/k_standard.c: Likewise.
46613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46615         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46616         * sysdeps/mach/hurd/profil.c: Likewise.
46617         * sysdeps/s390/dl-procinfo.h: Likewise.
46618         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46619         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46620         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46621         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46622         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46624 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46626         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46629 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46631         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46632         aix specific files.
46633         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46634         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46635         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46636         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46637         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46638         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46639         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46640         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46642 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46643             Roland McGrath  <roland@hack.frob.com>
46645         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46646         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46648 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46650         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46651         __executable_start symbol instead of _start.
46653 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46655         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46656         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46657         Move macros to...
46658         * sysdeps/gnu/ldsodefs.h: ... this new file.
46660         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46661         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46662         instead of ELFOSABI_LINUX.
46664         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46665         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46666         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46667         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46668         Likewise.
46669         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46670         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46671         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46672         Likewise.
46673         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46674         (ibm_extended_long_double): Add ieee_nan member.
46675         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46676         (do_test): New function.
46678         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46679         TEST_TRUNC.
46680         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46681         functions, renamed from truncdfsf_test, trunctfsf_test,
46682         trunctfdf_test.
46683         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46684         functions.
46685         (do_test): Run all these.
46687 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46689         * argp/argp-help.c: Fix typos.
46690         * argp/argp-parse.c: Likewise.
46691         * debug/backtracesyms.c: Likewise.
46692         * elf/elf.h: Likewise.
46693         * malloc/malloc.c: Likewise.
46694         * nis/nis_print.c: Likewise.
46695         * resolv/res_comp.c: Likewise.
46696         * stdlib/stdlib.h: Likewise.
46697         * sunrpc/clnt_tcp.c: Likewise.
46698         * sunrpc/clnt_udp.c: Likewise.
46699         * sunrpc/clnt_unix.c: Likewise.
46700         * sysdeps/unix/bsd/ptsname.c: Likewise.
46701         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46704         Likewise.
46705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46706         Likewise.
46707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46708         Likewise.
46709         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46711 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46713         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46716 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46718         [BZ #15897]
46719         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46720         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46721         ($(objpfx)bug-dl-leaf): New rule.
46722         ($(objpfx)bug-dl-leaf.so): Likewise.
46723         ($(objpfx)bug-dl-leaf.out): Likewise.
46724         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46725         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46726         * dlfcn/bug-dl-leaf.c: New test.
46727         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46728         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46729         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46730         (dlclose): Likewise.
46731         (dlmopen): Likewise.
46733 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46735         * include/netdb.h [!_ISOMAC]:
46736         Don't include <tls.h>.
46737         (h_errno, __libc_h_errno): Move declaration and macros out of
46738         [_LIBC_REENTRANT].
46740         * include/resolv.h [_RESOLV_H_]:
46741         Don't include <tls.h>.
46742         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46743         * resolv/res_libc.c: Don't include <tls.h>.
46744         (_res): Use __attribute__ ((nocommon)) in place of
46745         __attribute__ ((section (".bss"))).
46747         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46748         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46750         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46752         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46753         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46755         * resolv/res_mkquery.c: Include <sys/time.h>.
46757         * inet/ifreq.c: Moved to ...
46758         * sysdeps/unix/ifreq.c: ... here.
46759         * inet/ifreq.c: New file, true stub version.
46761         * socket/sa_len.c: New file.
46762         * socket/Makefile (aux): Add it.
46763         * sysdeps/unix/sysv/linux/Makefile
46764         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46765         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46766         and #include <socket/sa_len.c>.
46767         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46768         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46770         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46771         * bits/socket.h: ... here.
46773         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46774         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46775         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46777 2013-08-27  Andreas Schwab  <schwab@suse.de>
46779         [BZ #15736]
46780         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46781         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46782         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46783         * string/test-strcasecmp.c (test_main): Run tests in several
46784         locales.
46785         * string/test-strncasecmp.c (test_main): Likewise.
46787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46788         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46789         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46790         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46791         (__strncasecmp_ssse3) [PIC]: Likewise.
46793 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46795         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46797         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46798         instead of explicitly declaring xdecrypt.
46799         * nis/nss_nis/nis-publickey.c: Likewise.
46801 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46803         [BZ #15890]
46804         * nscd/aicache.c: Include res_hconf.h.
46805         (addhstaiX): Initialize res_hconf.
46807 2013-08-26  Andreas Schwab  <schwab@suse.de>
46809         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46810         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46812 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46814         * nscd/aicache.c (addhstaiX): Fix indentation.
46816 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46818         * configure.ac: Quote $build_pt_chown test.
46819         * configure: Regenerated.
46821 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46823         [BZ #15532]
46824         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46825         * math/s_cexpf.c (__cexpf): Likewise.
46826         * math/s_cexpl.c (__cexpl): Likewise.
46827         * math/libm-test.inc (cexp_test_data): Correct expected return
46828         value for NaN + i0.  Add another test.
46830 2013-08-22  David S. Miller  <davem@davemloft.net>
46832         * po/ca.po: Update Catalan translation from translation project.
46833         * po/uk.po: Add Ukrainian translations from translation project.
46835 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46837         [BZ #15797]
46838         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46839         is infinite, not alongside NaN test.
46840         * math/s_fdimf.c (__fdimf): Likewise.
46841         * math/s_fdiml.c (__fdiml): Likewise.
46842         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46843         errno is unchanged.
46845 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46847         * argp/argp-help.c: Fix typos.
46848         * crypt/speeds.c: Likewise.
46849         * csu/check_fds.c: Likewise.
46850         * elf/dl-load.c: Likewise.
46851         * elf/dl-open.c: Likewise.
46852         * elf/reldep3.c: Likewise.
46853         * elf/reldep.c: Likewise.
46854         * elf/sprof.c: Likewise.
46855         * iconv/iconv_charmap.c: Likewise.
46856         * iconv/skeleton.c: Likewise.
46857         * iconv/strtab.c: Likewise.
46858         * io/lockf64.c: Likewise.
46859         * libio/libioP.h: Likewise.
46860         * resolv/gai_notify.c: Likewise.
46861         * resolv/ns_name.c: Likewise.
46862         * resolv/ns_samedomain.c: Likewise.
46863         * resolv/res_send.c: Likewise.
46864         * stdlib/random.c: Likewise.
46865         * sunrpc/rpc/xdr.h: Likewise.
46866         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46867         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46868         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46869         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46871         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46873         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46874         * sysdeps/mach/hurd/check_fds.c: Likewise.
46875         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46876         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46878         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46879         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46880         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46881         * sysdeps/pthread/aio_notify.c: Likewise.
46882         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46883         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46884         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46885         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46886         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46888 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46890         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46891         version if bit_Slow_SSE4_2 is set.
46892         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46893         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46895 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46897         [BZ #15867]
46898         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46899         trampoline stack frame information.
46900         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46901         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46902         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46903         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46904         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46905         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46906         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46907         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46908         sa_flags value.
46909         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46910         interrupting a syscall and set with option SA_SIGINFO.
46912 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46914         [BZ #15531]
46915         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46916         argument is infinite.
46917         * math/s_cprojf.c (__cprojf): Likewise.
46918         * math/s_cprojl.c (__cprojl): Likewise.
46919         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46920         * math/libm-test.inc (cproj_test_data): Add more tests.
46922         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46924         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46925         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46926         size.  Use __ffs to determine corresponding shift.
46928 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46929             Roland McGrath  <roland@hack.frob.com>
46931         * Makefile (INSTALL): Remove trailing blank lines from output of
46932         makeinfo.
46934 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46936         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46937         Align 32 bit compat elf_greg to 8 bytes.
46939 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46941         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46943 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46945         * string/strcoll_l.c (coll_seq): New structure.
46946         (get_next_seq_cached): New function.
46947         (get_next_seq): New function.
46948         (do_compare): New function.
46949         (STRCOLL): Use GNU style definition.  Simplify implementation
46950         by using get_next_seq, get_next_seq_cached and do_compare.
46952 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46954         [BZ #14699]
46955         CVE-2013-4237
46956         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46957         member.
46958         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46959         member.
46960         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46961         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46962         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46963         conditional.
46964         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46965         GETDENTS_64BIT_ALIGNED.
46966         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46967         * manual/filesys.texi (Reading/Closing Directory): Document
46968         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46969         strongly.
46970         * manual/conf.texi (Limits for Files): Add portability note to
46971         NAME_MAX, PATH_MAX.
46972         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46974 2013-08-13  Andreas Schwab  <schwab@suse.de>
46976         [BZ #15749]
46977         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46978         of fabs.
46979         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46980         LDBL_MAX_EXP >= 16384]: Add tests for it.
46982 2013-08-12  David S. Miller  <davem@davemloft.net>
46984         * version.h (RELEASE): Set to "development".
46985         (VERSION): Set to "2.18.90".
46986         * NEWS: Add 2.19 section.
46988 2013-08-03  David S. Miller  <davem@davemloft.net>
46990         * po/ko.po: Update Korean translation from translation project.
46992 2013-08-01  David S. Miller  <davem@davemloft.net>
46994         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46995         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46996         Bilka.
46998 2013-07-30  David S. Miller  <davem@davemloft.net>
47000         * po/fr.po: Update French translation from translation project.
47002 2013-07-28  David S. Miller  <davem@davemloft.net>
47004         * po/cs.po: Update Czech translation from translation project.
47006         * po/sv.po: Update Swedish translation from translation project.
47008 2013-07-27  David S. Miller  <davem@davemloft.net>
47010         * po/eo.po: Update Esperanto translation from translation project.
47012         * po/vi.po: Update Vietnamese translation from translation project.
47014         * po/de.po: Update German translation from translation project.
47016 2013-07-26  David S. Miller  <davem@davemloft.net>
47018         * po/bg.po: Update Bulgarian translation from translation project.
47020         * po/nl.po: Update Dutch translation from translation project.
47021         * po/pl.po: Update Polish translation from translation project.
47022         * po/ru.po: Update Russian translation from translation project.
47024 2013-07-24  David S. Miller  <davem@davemloft.net>
47026         * po/libc.pot: Update.
47028 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47030         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47031         variable page size.
47032         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47033         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47034         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47036 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47038         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47040 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47041             Andreas Schwab  <schwab@suse.de>
47042             Roland McGrath  <roland@hack.frob.com>
47043             Joseph Myers  <joseph@codesourcery.com>
47044             Carlos O'Donell  <carlos@redhat.com>
47046         [BZ #15755]
47047         * config.h.in: Define HAVE_PT_CHOWN.
47048         * config.make.in (build-pt-chown): New variable.
47049         * configure.in (--enable-pt_chown): New configure option.
47050         * configure: Regenerate.
47051         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47052         build-pt-chown is enabled.
47053         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47054         pt_chown to fix pty ownership.
47055         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47056         CLOSE_ALL_FDS.
47057         * manual/install.texi (Configuring and compiling): Mention
47058         --enable-pt_chown. Add @findex for grantpt.
47059         * INSTALL: Regenerate.
47061 2013-07-20  David S. Miller  <davem@davemloft.net>
47063         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47064         difference between 32-bit and 64-bit.
47066 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47068         [BZ #15711]
47069         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47070         Avoid system header dependency with -ffreestanding.
47071         ($(objpfx)bits/syscall%d): Likewise.
47073 2013-07-13  David S. Miller  <davem@davemloft.net>
47075         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47076         underflows from atanl/atan2l due to bug 15319.
47077         (casinh_test_data): Likewise.
47079 2013-07-07  David S. Miller  <davem@davemloft.net>
47081         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47083 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47085         * sysdeps/i386/fpu/libm-test-ulps: Update.
47086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47088 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47090         * configure.in (--enable-lock-elision): Fix message text.
47091         * INSTALL: Regenerate.
47092         * configure: Regenerate.
47094 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47098 2013-07-03  Andreas Jaeger  <aj@suse.de>
47100         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47101         define.
47102         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47103         (ptrace_peeksiginfo_args): Add.
47104         (__ptrace_peeksiginfo_flags): Add.
47105         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47107         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47109 2013-07-03  Allan McRae  <allan@archlinux.org>
47111         * sysdeps/i386/fpu/libm-test-ulps: Update.
47113 2013-07-02  David S. Miller  <davem@davemloft.net>
47115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47117 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47121 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47123         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47126 2013-07-02  Andi Kleen <ak@linux.intel.com>
47128         * config.h.in (ENABLE_LOCK_ELISION): Add.
47129         * configure.in (--enable-lock-elision): Add option.
47130         * manual/install.texi: Document --enable lock elision.
47131         * configure: Regenerate
47132         * INSTALL: Regenerate.
47134 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47136         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47137         SSE4.2 strcasecmp for libc.a.
47138         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47140 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47142         [BZ #13304]
47143         * soft-fp/op-common.h (_FP_FMA): New macro.
47144         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47145         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47146         (_FP_MUL_MEAT_1_imm): ... here.
47147         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47148         (_FP_MUL_MEAT_1_wide): ... here.
47149         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47150         (_FP_MUL_MEAT_1_hard): ... here.
47151         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47152         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47153         (_FP_MUL_MEAT_2_wide): ... here.
47154         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47155         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47156         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47157         (_FP_MUL_MEAT_2_gmp): ... here.
47158         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47159         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47160         (_FP_MUL_MEAT_4_wide): ... here.
47161         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47162         (_FP_MUL_MEAT_4_gmp): ... here.
47163         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47164         (_FP_WFRACBITS_DW_S): Likewise.
47165         (_FP_WFRACXBITS_DW_S): Likewise.
47166         (_FP_HIGHBIT_DW_S): Likewise.
47167         (FP_FMA_S): Likewise.
47168         (_FP_FRAC_HIGH_DW_S): Likewise.
47169         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47170         (_FP_WFRACBITS_DW_D): Likewise.
47171         (_FP_WFRACXBITS_DW_D): Likewise.
47172         (_FP_HIGHBIT_DW_D): Likewise.
47173         (FP_FMA_D): Likewise.
47174         (_FP_FRAC_HIGH_DW_D): Likewise.
47175         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47176         (_FP_WFRACBITS_DW_E): Likewise.
47177         (_FP_WFRACXBITS_DW_E): Likewise.
47178         (_FP_HIGHBIT_DW_E): Likewise.
47179         (FP_FMA_E): Likewise.
47180         (_FP_FRAC_HIGH_DW_E): Likewise.
47181         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47182         (_FP_WFRACBITS_DW_Q): Likewise.
47183         (_FP_WFRACXBITS_DW_Q): Likewise.
47184         (_FP_HIGHBIT_DW_Q): Likewise.
47185         (FP_FMA_Q): Likewise.
47186         (_FP_FRAC_HIGH_DW_Q): Likewise.
47187         * soft-fp/fmasf4.c: New file.
47188         * soft-fp/fmadf4.c: Likewise.
47189         * soft-fp/fmatf4.c: Likewise.
47191 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47194         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47195         Silvermont.
47196         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47197         macro.
47198         (index_Slow_SSE4_2): Likewise.
47199         (index_Prefer_PMINUB_for_stringop): Likewise.
47200         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47201         bit_Slow_SSE4_2 is set.
47202         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47203         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47205 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47207         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47208         rtld_global._dl_hwcap2.
47209         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47210         POWER8.
47211         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47212         POWER8 feature descriptions defined in _dl_hwcap2.
47213         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47214         string handling for POWER8 feature bits.
47215         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47216         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47217         _dl_powerpc_cap_flags.
47218         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47219         * sysdeps/powerpc/rtld-global-offsets.sym
47220         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47221         _dl_hwcap2 in the rtld_global_ro structure.
47223 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47225         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47226         hardware capabilities in support of AT_HWCAP2.
47227         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47228         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47229         GLRO(dl_hwcap2).
47230         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47231         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47232         explicitly the unknown a_type display mechanism is used.
47233         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47234         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47235         struct member.
47236         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47237         to macro prototype for AT_HWCAP2 support.
47238         * sysdeps/i386/dl-procinfo.h: Likewise.
47239         * sysdeps/s390/dl-procinfo.h: Likewise.
47240         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47241         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47242         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47243         return -1 for unknown a_type display fallback.
47244         * sysdeps/sparc/dl-procinfo.h: Likewise.
47245         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47246         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47248 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47250         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47251         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47253 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47255         [BZ #12492]
47256         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47257         mprotect making __stack_prot writable.
47259 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47260             Joseph Myers  <joseph@codesourcery.com>
47262         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47263         as being properly aligned.
47265 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47267         * dlfcn/modstatic5.c: New file.
47268         * dlfcn/tststatic5.c: New file.
47269         * dlfcn/Makefile (tests): Add tststatic5.
47270         (tests-static): Likewise.
47271         (modules-names): Add modstatic5.
47272         (tststatic5-ENV): New variable.
47273         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47275         [BZ #15022]
47276         * elf/dl-support.c (_dl_main_map): New variable.
47277         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47278         (_dl_nns, _dl_load_adds): Set to 1.
47279         (_dl_initial_searchlist): Refer to _dl_main_map.
47280         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47281         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47282         call to _dl_get_origin.
47283         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47284         around call_map.
47285         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47286         * dlfcn/modstatic3.c: New file.
47287         * dlfcn/tststatic3.c: New file.
47288         * dlfcn/tststatic4.c: New file.
47289         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47290         (tests-static): Likewise.
47291         (modules-names): Add modstatic3.
47292         (tststatic3-ENV, tststatic4-ENV): New variables.
47293         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47294         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47296 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47298         * configure.in (CC): Require GCC version 4.4 or later.
47299         * configure: Regenerated.
47300         * manual/install.texi (Tools for Compilation): Update GCC version
47301         requirement.
47302         * INSTALL: Regenerated.
47304 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47306         [BZ #15674]
47307         * string/test-memcmp.c (check2): New.
47308         (main): Call check2.
47310         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47312 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47314         [BZ #15022]
47315         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47316         over to...
47317         (dl_open_worker) [!SHARED]: ... here.
47319 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47321         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47323 2013-06-25  Richard Henderson  <rth@redhat.com>
47325         * locale/programs/locarchive.c: Include <libc-internal.h>
47327 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47329         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47330         trailing whitespace removed.
47332 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47334         [BZ #10283]
47335         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47336         * locale/programs/locarchive.c: Include libc-mmap.h.
47337         (prepare_address_space): Take two new outputs (the mmap base and len).
47338         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47339         values.
47340         (create_archive): Declare new mmap base and len values for
47341         prepare_address_space, and store the result in ah.
47342         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47343         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47344         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47345         Declare new mmap base and len values for
47346         prepare_address_space, and store the result in new_ah.
47347         (open_archive): Declare new mmap base and len values for
47348         prepare_address_space, and store the result in ah.
47349         (close_archive): If ah->mmap_base is not NULL, use that and
47350         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47351         * sysdeps/generic/libc-mmap.h: New file.
47353 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47355         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47356         (ALIGN_UP): Likewise.
47357         (PTR_ALIGN_DOWN): Likewise.
47358         (PTR_ALIGN_UP): Likewise.
47360 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47362         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47363         entry mapped to PPC_PLATFORM_POWER8.
47364         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47365         POWER8.
47366         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47367         (_dl_string_platform): Add case for exporting platform position for
47368         POWER8.
47369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47370         search path to sysdeps/powerpc/powerpc32/power8 directory.
47371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47372         search path to sysdeps/powerpc/powerpc64/power8 directory.
47373         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47374         power7 directories.
47375         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47376         power7 directories.
47378 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47380         * INSTALL: Regenerate.
47382         * nscd/connections.c (nscd_init): Fix comment.
47384 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47386         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47388         [BZ #15667]
47389         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47390         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47392 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47394         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47395         DL_DST_REQ_STATIC.
47396         (DL_DST_REQ_STATIC): Remove macro.
47398 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47400         [BZ #7006]
47401         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47402         with a shift of 0 bits.
47404 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47406         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47407         $(tststatic-ENV).
47409 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47411         [BZ #15655]
47412         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47414 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47416         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47417         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47418         accepts -fno-tree-loop-distribute-patterns.
47419         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47420         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47421         recursive call.
47422         * string/memset.c (memset): Likewise.
47423         * string/test-memmove.c (simple_memmove): Disable loop transformation
47424         to library calls.
47425         * string/test-memset.c (simple_memset): Likewise.
47426         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47427         * benchtests/bench-memset.c (simple_memset): Likewise.
47428         * configure: Regenerated.
47430 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47432         * math/test-misc.c (main): Ignore fesetround failure when failures
47433         of subsequent rounding tests would be ignored.
47435         [BZ #15654]
47436         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47437         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47438         * math/fegetenv.c (__fegetenv): Return 0.
47439         * math/fegetexcept.c (fegetexcept): Return 0.
47440         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47441         FE_TONEAREST.
47442         * math/feholdexcpt.c (feholdexcept): Return 0.
47443         * math/fesetenv.c (__fesetenv): Return 0.
47444         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47445         argument FE_TONEAREST.
47446         * math/feupdateenv.c (__feupdateenv): Return 0.
47447         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47449 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47451         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47452         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47453         ($(objpfx)rtld-%.os rules): Use them.
47455 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47457         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47458         fields.
47460 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47462         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47463         length of target pattern, then descending length of dependency pattern.
47464         * configure.in (AWK): Require gawk 3.1.2 or newer.
47465         * manual/install.texi (Tools for Compilation): Say that we do.
47466         * configure: Regenerated.
47468         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47469         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47470         * scripts/sysd-rules.awk: ... this new script.
47471         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47472         than a glob-style pattern.
47474 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47476         * math/test-misc.c (main): Do not treat incorrectly rounded
47477         conversions as failure unless ROUNDING_TESTS passes.
47479 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47481         [BZ #15631]
47482         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47483         restore exception state around main square root computation, then
47484         check for inexactness explicitly.
47486         * math/libm-test.inc (fma_test_data): Add another test.
47488 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47490         * manual/threads.texi (Non-POSIX Extensions): New document
47491         node.  Document pthread_getattr_default_np and
47492         pthread_setattr_default_np.
47494         * Versions.def (libpthread): Add GLIBC_2.18.
47495         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47497         Likewise.
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47499         Likewise.
47500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47501         Likewise.
47502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47503         Likewise.
47504         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47505         Likewise.
47506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47507         Likewise.
47508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47509         Likewise.
47510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47511         Likewise.
47512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47513         Likewise.
47515 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47518         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47520 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47521             H.J. Lu  <hjl.tools@gmail.com>
47523         [BZ #15627]
47524         * sysdeps/x86_64/rtld-memset.c: Remove file.
47525         * sysdeps/x86_64/rtld-memset.S: New file.
47527 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47529         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47530         (test_in_one_mode): Take arguments for whether the rounding mode
47531         is supported for each floating-point type.
47532         (do_test): Pass new arguments to test_in_one_mode using
47533         ROUNDING_TESTS.
47535 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47537         * posix/tst-waitid.c (do_test): Distinguish different instances of
47538         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47539         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47540         before entering the kernel for waitpid.
47542 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47544         * NEWS: Fix note on clock function precision.  Text by Roland
47545         McGrath.
47547 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47549         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47550         it into place only when and if the sanity check passes.
47552 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47554         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47555         output for whether conversion result is exact.  Take argument
47556         indicating whether type is IBM long double.
47557         (round_for_all): Change need_exact field to ibm_ld.
47558         * stdlib/tst-strtod-round.c (struct exactness): New type.
47559         (struct test): Change bool ld_ok field to struct exactness exact.
47560         (TEST): Update all definitions for change to field.
47561         (tests): Regenerate array contents.
47562         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47563         field value.  Check for IBM long double here.
47564         (do_test): Update calls to test_in_one_mode.
47566 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47568         [BZ #12515]
47569         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47570         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47572 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47574         [BZ #15605]
47575         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47576         generated by the compiler on loop optimizations.
47577         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47578         general definitions.
47580 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47582         * math/bug-nextafter.c: Include <math-tests.h>.
47583         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47584         the relevant type.
47585         * math/bug-nexttoward.c: Include <math-tests.h>.
47586         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47587         the relevant type.
47588         * math/test-misc.c: Include <math-tests.h>.
47589         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47590         the relevant type.
47592 2013-06-12  Andreas Jaeger  <aj@suse.de>
47594         * po/ia.po: Update Interlingua translation from translation
47595         project.
47597 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47599         * include/fenv.h: Include stdbool.h.
47600         (struct rm_ctx): New structure.
47601         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47602         Define macro.
47603         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47604         (SET_RESTORE_ROUNDF): Likewise.
47605         (SET_RESTORE_ROUNDL): Likewise.
47606         (SET_RESTORE_ROUND_NOEX): Likewise.
47607         (SET_RESTORE_ROUND_NOEXF): Likewise.
47608         (SET_RESTORE_ROUND_NOEXL): Likewise.
47609         (SET_RESTORE_ROUND_53BIT): Likewise.
47610         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47611         (libc_feresetround_noexf_ctx): Likewise.
47612         (libc_feresetround_noexl_ctx): Likewise.
47613         (libc_feholdsetround_53bit_ctx): Likewise.
47614         (libc_feresetround_53bit_ctx): Likewise.
47615         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47616         (libc_feholdexcept_setround_sse_ctx): New function.
47617         (libc_fesetenv_sse_ctx): Likewise.
47618         (libc_feupdateenv_sse_ctx): Likewise.
47619         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47620         (libc_feholdexcept_setround_387_ctx): Likewise.
47621         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47622         (libc_feholdsetround_387_prec_ctx): Likewise.
47623         (libc_feholdsetround_387_ctx): Likewise.
47624         (libc_feholdsetround_387_53bit_ctx): Likewise.
47625         (libc_feholdsetround_sse_ctx): Likewise.
47626         (libc_feresetround_sse_ctx): Likewise.
47627         (libc_feresetround_387_ctx): Likewise.
47628         (libc_feupdateenv_387_ctx): Likewise.
47629         (libc_feholdexcept_setroundf_ctx): Define macro.
47630         (libc_fesetenvf_ctx): Likewise.
47631         (libc_feupdateenvf_ctx): Likewise.
47632         (libc_feholdsetroundf_ctx): Likewise.
47633         (libc_feresetroundf_ctx): Likewise.
47634         (libc_feholdexcept_setround_ctx): Likewise.
47635         (libc_fesetenv_ctx): Likewise.
47636         (libc_feupdateenv_ctx): Likewise.
47637         (libc_feholdsetround_ctx): Likewise.
47638         (libc_feresetround_ctx): Likewise.
47639         (libc_feholdexcept_setroundl_ctx): Likewise.
47640         (libc_feupdateenvl_ctx): Likewise.
47641         (libc_feholdsetroundl_ctx): Likewise.
47642         (libc_feresetroundl_ctx): Likewise.
47643         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47644         (libc_feresetround_53bit_ctx): Likewise.
47646 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47648         * locale/iso-639.def: Convert to UTF-8.
47650 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47652         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47653         (EXCEPTION_TESTS_double): Likewise.
47654         (EXCEPTION_TESTS_long_double): Likewise.
47655         (EXCEPTION_TESTS): Likewise.
47656         * math/libm-test.inc (test_exceptions): Only test exceptions if
47657         EXCEPTION_TESTS (FLOAT).
47659 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47661         * benchtests/Makefile (string-bench): Add strcpy_chk and
47662         stpcpy_chk.
47663         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47664         * benchtests/bench-stpcpy_chk.c: New file.
47665         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47666         * benchtests/bench-strcpy_chk.c: New file.
47667         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47668         code.
47669         (do_test): Likewise.
47671 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47673         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47674         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47675         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47676         with tabs where appropriate.
47677         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47678         dl-procinfo.h.
47679         [PPC_PLATFORM_PPC440]: Likewise.
47680         [PPC_PLATFORM_PPC464]: Likewise.
47681         [PPC_PLATFORM_PPC476]: Likewise.
47682         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47683         ppc464, and ppc476 platform strings merging from ports/
47684         dl-procinfo.h.
47686 2013-06-11  Andreas Schwab  <schwab@suse.de>
47688         [BZ #14991]
47689         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47690         (from_ucs4_idx): Regenerate.
47691         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47692         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47693         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47694         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47695         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47696         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47697         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47698         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47699         from FROM_LOOP and TO_LOOP specific macros.
47700         (BODY): Handle combining characters.
47701         * iconvdata/BIG5HKSCS.irreversible: Update.
47702         * iconvdata/BIG5HKSCS.precomposed: New file.
47703         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47704         characters.
47705         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47707 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47709         * include/sys/time.h: Fix indentation and add copyright header.
47711         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47712         (do_test): Likewise.
47713         * string/test-memchr.c (do_one_test): Likewise.
47714         (do_test): Likewise.
47715         * string/test-memcmp.c (do_one_test): Likewise.
47716         (do_test): Likewise.
47717         * string/test-memcpy.c (do_one_test): Likewise.
47718         (do_test): Likewise.
47719         * string/test-memmem.c (do_one_test): Likewise.
47720         (do_test): Likewise.
47721         (do_random_tests): Likewise.
47722         * string/test-memmove.c (do_one_test): Likewise.
47723         (do_test): Likewise.
47724         * string/test-memset.c (do_one_test): Likewise.
47725         (do_test): Likewise.
47726         * string/test-rawmemchr.c (do_one_test): Likewise.
47727         (do_test): Likewise.
47728         * string/test-strcasecmp.c (do_one_test): Likewise.
47729         (do_test): Likewise.
47730         * string/test-strcasestr.c (do_one_test): Likewise.
47731         (do_test): Likewise.
47732         * string/test-strcat.c (do_one_test): Likewise.
47733         (do_test): Likewise.
47734         * string/test-strchr.c (do_one_test): Likewise.
47735         (do_test): Likewise.
47736         * string/test-strcmp.c (do_one_test): Likewise.
47737         (do_test): Likewise.
47738         * string/test-strcpy.c (do_one_test): Likewise.
47739         (do_test): Likewise.
47740         * string/test-string.h: Likewise.
47741         (test_init): Likewise.
47742         * string/test-strlen.c (do_one_test): Likewise.
47743         (do_test): Likewise.
47744         * string/test-strncasecmp.c (do_one_test): Likewise.
47745         (do_test): Likewise.
47746         * string/test-strncat.c (do_one_test): Likewise.
47747         (do_test): Likewise.
47748         * string/test-strncmp.c (do_one_test): Likewise.
47749         (do_test_limit): Likewise.
47750         (do_test): Likewise.
47751         * string/test-strncpy.c (do_one_test): Likewise.
47752         (do_test): Likewise.
47753         * string/test-strnlen.c (do_one_test): Likewise.
47754         (do_test): Likewise.
47755         * string/test-strpbrk.c (do_one_test): Likewise.
47756         (do_test): Likewise.
47757         * string/test-strrchr.c (do_one_test): Likewise.
47758         (do_test): Likewise.
47759         * string/test-strspn.c (do_one_test): Likewise.
47760         (do_test): Likewise.
47761         * string/test-strstr.c (do_one_test): Likewise.
47762         (do_test): Likewise.
47764         * benchtests/Makefile (string-bench): Add string benchmarks.
47765         * benchtests/bench-bcopy-ifunc.c: New file.
47766         * benchtests/bench-bcopy.c: New file.
47767         * benchtests/bench-bzero-ifunc.c: New file.
47768         * benchtests/bench-bzero.c: New file.
47769         * benchtests/bench-memccpy-ifunc.c: New file.
47770         * benchtests/bench-memccpy.c: New file.
47771         * benchtests/bench-memchr-ifunc.c: New file.
47772         * benchtests/bench-memchr.c: New file.
47773         * benchtests/bench-memcmp-ifunc.c: New file.
47774         * benchtests/bench-memcmp.c: New file.
47775         * benchtests/bench-memmem-ifunc.c: New file.
47776         * benchtests/bench-memmem.c: New file.
47777         * benchtests/bench-memmove-ifunc.c: New file.
47778         * benchtests/bench-memmove.c: New file.
47779         * benchtests/bench-mempcpy-ifunc.c: New file.
47780         * benchtests/bench-mempcpy.c: New file.
47781         * benchtests/bench-memset-ifunc.c: New file.
47782         * benchtests/bench-memset.c: New file.
47783         * benchtests/bench-rawmemchr-ifunc.c: New file.
47784         * benchtests/bench-rawmemchr.c: New file.
47785         * benchtests/bench-stpcpy-ifunc.c: New file.
47786         * benchtests/bench-stpcpy.c: New file.
47787         * benchtests/bench-stpncpy-ifunc.c: New file.
47788         * benchtests/bench-stpncpy.c: New file.
47789         * benchtests/bench-strcasecmp-ifunc.c: New file.
47790         * benchtests/bench-strcasecmp.c: New file.
47791         * benchtests/bench-strcasestr-ifunc.c: New file.
47792         * benchtests/bench-strcasestr.c: New file.
47793         * benchtests/bench-strcat-ifunc.c: New file.
47794         * benchtests/bench-strcat.c: New file.
47795         * benchtests/bench-strchr-ifunc.c: New file.
47796         * benchtests/bench-strchr.c: New file.
47797         * benchtests/bench-strchrnul-ifunc.c: New file.
47798         * benchtests/bench-strchrnul.c: New file.
47799         * benchtests/bench-strcmp-ifunc.c: New file.
47800         * benchtests/bench-strcmp.c: New file.
47801         * benchtests/bench-strcpy-ifunc.c: New file.
47802         * benchtests/bench-strcpy.c: New file.
47803         * benchtests/bench-strcspn-ifunc.c: New file.
47804         * benchtests/bench-strcspn.c: New file.
47805         * benchtests/bench-strlen-ifunc.c: New file.
47806         * benchtests/bench-strlen.c: New file.
47807         * benchtests/bench-strncasecmp-ifunc.c: New file.
47808         * benchtests/bench-strncasecmp.c: New file.
47809         * benchtests/bench-strncat-ifunc.c: New file.
47810         * benchtests/bench-strncat.c: New file.
47811         * benchtests/bench-strncmp-ifunc.c: New file.
47812         * benchtests/bench-strncmp.c: New file.
47813         * benchtests/bench-strncpy-ifunc.c: New file.
47814         * benchtests/bench-strncpy.c: New file.
47815         * benchtests/bench-strnlen-ifunc.c: New file.
47816         * benchtests/bench-strnlen.c: New file.
47817         * benchtests/bench-strpbrk-ifunc.c: New file.
47818         * benchtests/bench-strpbrk.c: New file.
47819         * benchtests/bench-strrchr-ifunc.c: New file.
47820         * benchtests/bench-strrchr.c: New file.
47821         * benchtests/bench-strspn-ifunc.c: New file.
47822         * benchtests/bench-strspn.c: New file.
47823         * benchtests/bench-strstr-ifunc.c: New file.
47824         * benchtests/bench-strstr.c: New file.
47826         * benchtests/Makefile: Disable parallel execution of targets.
47827         (string-bench): Add memcpy.
47828         (benchset): New variable to store a list of benchmark sets.
47829         (bench-func): Renamed from bench.
47830         (bench-set): New target.
47831         (bench): Depend on bench-func and bench-set.
47832         * benchtests/README: Add section on benchmark sets.
47833         * benchtests/bench-memcpy-ifunc.c: New file.
47834         * benchtests/bench-memcpy.c: New file.
47835         * benchtests/bench-string.h: New file.
47837 2013-06-11  Andreas Schwab  <schwab@suse.de>
47839         [BZ #15577]
47840         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47841         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47842         values in the triple.
47843         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47844         terminator in the group key.
47846 2013-06-11  Andreas Jaeger  <aj@suse.de>
47848         * po/zh_TW.po: Update Chinese (traditional) translation from
47849         translation project.
47851 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47853         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47854         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47855         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47856         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47857         (clock_getcpuclockid): Likewise.
47858         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47859         Add weak_alias and libc_hidden_def.
47860         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47861         * rt/clock_gettime.c (clock_gettime): Rename to
47862         __clock_gettime.  Add weak_alias and libc_hidden_def.
47863         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47864         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47865         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47866         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47867         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47868         Likewise.
47869         * rt/clock_settime.c (clock_settime): Rename to
47870         __clock_settime.  Add weak_alias and libc_hidden_def.
47871         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47873 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47875         * mach/err_boot.sub: Remove trailing whitespace.
47876         * mach/err_ipc.sub: Likewise.
47877         * mach/err_mach.sub: Likewise.
47879         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47880         (ROUNDING_TESTS_double): Likewise.
47881         (ROUNDING_TESTS_long_double): Likewise.
47882         (ROUNDING_TESTS): Likewise.
47883         * math/libm-test.inc: Include <math-tests.h>.
47884         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47885         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47886         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47887         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47889 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47891         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47892         of assigning.
47894 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47896         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47897         otherwise empty TRANS lines.
47898         * sysdeps/gnu/errlist.c: Regenerated.
47900         * catgets/gencat.c (error_print): Use (void) in function
47901         definition.
47902         * crypt/crypt_util.c (__init_des): Likewise.
47903         * crypt/speeds.c (Stop): Likewise.
47904         (main): Likewise.
47905         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47906         * inet/ruserpass.c (token): Likewise.
47907         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47908         * intl/localealias.c (extend_alias_table): Likewise.
47909         * intl/plural-exp.c (init_germanic_plural): Likewise.
47910         * libio/fcloseall.c (__fcloseall): Likewise.
47911         * libio/genops.c (_IO_flush_all): Likewise.
47912         (_IO_flush_all_linebuffered): Likewise.
47913         (_IO_cleanup): Likewise.
47914         (_IO_iter_begin): Likewise.
47915         (_IO_iter_end): Likewise.
47916         (_IO_list_lock): Likewise.
47917         (_IO_list_unlock): Likewise.
47918         (_IO_list_resetlock): Likewise.
47919         * libio/getchar.c (getchar): Likewise.
47920         * libio/getchar_u.c (getchar_unlocked): Likewise.
47921         * libio/getwchar.c (getwchar): Likewise.
47922         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47923         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47924         * login/getpt.c (__getpt): Likewise.
47925         * login/tst-utmp.c (main): Likewise.
47926         * malloc/hooks.c (__malloc_check_init): Likewise.
47927         * malloc/malloc.c (__malloc_stats): Likewise.
47928         * malloc/mtrace.c (tr_break): Likewise.
47929         (mtrace): Likewise.
47930         (muntrace): Likewise.
47931         * misc/fstab.c (endfsent): Likewise.
47932         * misc/getclktck.c (__getclktck): Likewise.
47933         * misc/getdtsz.c (__getdtablesize): Likewise.
47934         * misc/gethostid.c (gethostid): Likewise.
47935         * misc/getpagesize.c (__getpagesize): Likewise.
47936         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47937         (__get_nprocs): Likewise.
47938         (__get_phys_pages): Likewise.
47939         (__get_avphys_pages): Likewise.
47940         * misc/getttyent.c (getttyent): Likewise.
47941         (setttyent): Likewise.
47942         (endttyent): Likewise.
47943         * misc/getusershell.c (getusershell): Likewise.
47944         (endusershell): Likewise.
47945         (setusershell): Likewise.
47946         (initshells): Likewise.
47947         * misc/hsearch.c (__hdestroy): Likewise.
47948         * misc/sync.c (sync): Likewise.
47949         * misc/syslog.c (closelog_internal): Likewise.
47950         (closelog): Likewise.
47951         * misc/ttyslot.c (ttyslot): Likewise.
47952         * misc/vhangup.c (vhangup): Likewise.
47953         * posix/fork.c (__fork): Likewise.
47954         * posix/getegid.c (__getegid): Likewise.
47955         * posix/geteuid.c (__geteuid): Likewise.
47956         * posix/getgid.c (__getgid): Likewise.
47957         * posix/getpid.c (__getpid): Likewise.
47958         * posix/getppid.c (__getppid): Likewise.
47959         * posix/getuid.c (__getuid): Likewise.
47960         * posix/pause.c (pause): Likewise.
47961         * posix/setpgrp.c (setpgrp): Likewise.
47962         * posix/setsid.c (__setsid): Likewise.
47963         * posix/test-vfork.c (noop): Likewise.
47964         * resolv/gethnamaddr.c (_endhtent): Likewise.
47965         (_gethtent): Likewise.
47966         (ht_endhostent): Likewise.
47967         (gethostent): Likewise.
47968         (dns_service): Likewise.
47969         * stdlib/drand48.c (drand48): Likewise.
47970         * stdlib/lrand48.c (lrand48): Likewise.
47971         * stdlib/mrand48.c (mrand48): Likewise.
47972         * stdlib/rand.c (rand): Likewise.
47973         * stdlib/random.c (__random): Likewise.
47974         * stdlib/setenv.c (clearenv): Likewise.
47975         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47976         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47977         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47978         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47979         (__get_nprocs): Likewise.
47980         (__get_phys_pages): Likewise.
47981         (__get_avphys_pages): Likewise.
47982         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47983         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47984         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47985         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47986         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47987         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47988         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47989         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47990         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47991         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47992         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47993         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47994         * sysdeps/posix/clock.c (clock): Likewise.
47995         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47996         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47997         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47998         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47999         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48001         (__get_nprocs_conf): Likewise.
48002         (__get_phys_pages): Likewise.
48003         (__get_avphys_pages): Likewise.
48004         * time/clock.c (clock): Likewise.
48005         * time/tzset.c (__tzname_max): Likewise.
48007 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48009         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48010         (__bswap_32): Do not use "register".
48011         * crypt/crypt.c (_ufc_doit_r): Likewise.
48012         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48013         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48014         * gmon/gmon.c (__monstartup): Likewise.
48015         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48016         * hurd/hurdmalloc.c (more_memory): Likewise.
48017         (malloc): Likewise.
48018         (free): Likewise.
48019         (realloc): Likewise.
48020         (malloc_fork_prepare): Likewise.
48021         (malloc_fork_parent): Likewise.
48022         (malloc_fork_child): Likewise.
48023         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48024         (_svcauth_des): Likewise.
48025         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48026         * inet/inet_net.c (inet_network): Likewise.
48027         * inet/inet_netof.c (inet_netof): Likewise.
48028         * inet/rcmd.c (__validuser2_sa): Likewise.
48029         * io/fts.c (fts_open): Likewise.
48030         (fts_load): Likewise.
48031         (fts_close): Likewise.
48032         (fts_read): Likewise.
48033         (fts_children): Likewise.
48034         (fts_build): Likewise.
48035         (fts_stat): Likewise.
48036         (fts_sort): Likewise.
48037         (fts_alloc): Likewise.
48038         (fts_lfree): Likewise.
48039         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48040         (_IO_file_xsgetn): Likewise.
48041         (_IO_file_xsgetn_mmap): Likewise.
48042         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48043         (_IO_cookie_write): Likewise.
48044         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48045         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48046         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48047         * malloc/obstack.c (_obstack_begin): Likewise.
48048         (_obstack_begin_1): Likewise.
48049         (_obstack_newchunk): Likewise.
48050         (_obstack_allocated_p): Likewise.
48051         (obstack_free): Likewise.
48052         (_obstack_memory_used): Likewise.
48053         * misc/getttyent.c (getttynam): Likewise.
48054         (getttyent): Likewise.
48055         (skip): Likewise.
48056         (value): Likewise.
48057         * misc/getusershell.c (initshells): Likewise.
48058         * misc/syslog.c (__vsyslog_chk): Likewise.
48059         * misc/ttyslot.c (ttyslot): Likewise.
48060         * nis/nis_hash.c (__nis_hash): Likewise.
48061         * posix/fnmatch_loop.c (FCT): Likewise.
48062         * posix/getconf.c (print_all): Likewise.
48063         (main): Likewise.
48064         * posix/getopt.c (exchange): Likewise.
48065         * posix/glob.c (globfree): Likewise.
48066         (prefix_array): Likewise.
48067         (__glob_pattern_type): Likewise.
48068         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48069         (NS_GET32): Likewise.
48070         (NS_PUT16): Likewise.
48071         (NS_PUT32): Likewise.
48072         * resolv/gethnamaddr.c (getanswer): Likewise.
48073         (gethostbyname2): Likewise.
48074         (gethostbyaddr): Likewise.
48075         (_gethtent): Likewise.
48076         (_gethtbyname2): Likewise.
48077         (_gethtbyaddr): Likewise.
48078         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48079         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48080         * resolv/res_init.c (__res_vinit): Likewise.
48081         (net_mask): Likewise.
48082         * resolv/res_mkquery.c (outchar): Likewise.
48083         (PRINT): Likewise.
48084         * stdio-common/printf_fp.c (outchar): Likewise.
48085         (PRINT): Likewise.
48086         * stdio-common/printf_fphex.c (outchar): Likewise.
48087         (PRINT): Likewise.
48088         * stdio-common/printf_size.c (outchar): Likewise.
48089         (PRINT): Likewise.
48090         * stdio-common/test_rdwr.c (main): Likewise.
48091         * stdio-common/tfformat.c (matches): Likewise.
48092         * stdio-common/vfprintf.c (outchar): Likewise.
48093         (printf_unknown): Likewise.
48094         (buffered_vfprintf): Likewise.
48095         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48096         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48097         (ReadFile): Likewise.
48098         * stdlib/qsort.c (SWAP): Likewise.
48099         (_quicksort): Likewise.
48100         * stdlib/setenv.c (__add_to_environ): Likewise.
48101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48102         * stdlib/strtol_l.c (__strtol_l): Likewise.
48103         * stdlib/tst-strtod.c (main): Likewise.
48104         * stdlib/tst-strtol.c (main): Likewise.
48105         * stdlib/tst-strtoll.c (main): Likewise.
48106         * string/bits/string2.h (__strcmp_cc): Likewise.
48107         (__strcmp_cg): Likewise.
48108         (__strcspn_c1): Likewise.
48109         (__strcspn_c2): Likewise.
48110         (__strcspn_c3): Likewise.
48111         (__strspn_c1): Likewise.
48112         (__strspn_c2): Likewise.
48113         (__strspn_c3): Likewise.
48114         (__strsep_1c): Likewise.
48115         (__strsep_2c): Likewise.
48116         (__strsep_3c): Likewise.
48117         * string/memccpy.c (__memccpy): Likewise.
48118         * string/stpcpy.c (__stpcpy): Likewise.
48119         * string/strcmp.c (strcmp): Likewise.
48120         * string/strrchr.c (strrchr): Likewise.
48121         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48122         Likewise.
48123         * sysdeps/mach/hurd/getcwd.c
48124         (_hurd_canonicalize_directory_name_internal): Likewise.
48125         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48126         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48127         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48128         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48129         Likewise, in both definitions.
48130         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48131         definitions.
48132         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48133         64] (__bswap_64): Likewise.
48134         * time/test_time.c (main): Likewise.
48135         * time/tzfile.c (__tzfile_read): Likewise.
48136         (__tzfile_compute): Likewise.
48137         * time/tzset.c (__tzset_parse_tz): Likewise.
48138         (tzset_internal): Likewise.
48139         (compute_change): Likewise.
48140         * wcsmbs/wcscat.c (__wcscat): Likewise.
48141         * wcsmbs/wcschr.c (wcschr): Likewise.
48142         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48143         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48144         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48145         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48146         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48147         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48148         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48149         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48150         * wcsmbs/wmemset.c (wmemset): Likewise.
48152 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48154         * scripts/config.guess: Update to version 2013-05-16.
48155         * scripts/config.sub: Update to version 2013-04-24.
48156         * scripts/install-sh: Update to version 2011-11-20.07.
48157         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48158         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48160 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48162         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48163         * elf/sln.c: Likewise.
48164         * hurd/hurd/ioctl.h: Likewise.
48165         * hurd/hurdmalloc.c: Likewise.
48166         * hurd/xattr.c: Likewise.
48167         * include/shlib-compat.h: Likewise.
48168         * inet/ruserpass.c: Likewise.
48169         * libio/iofgets_u.c: Likewise.
48170         * libio/iofgetws_u.c: Likewise.
48171         * locale/programs/ld-identification.c: Likewise.
48172         * locale/programs/ld-time.c: Likewise.
48173         * mach/msg-destroy.c: Likewise.
48174         * nss/nss_files/files-netgrp.c: Likewise.
48175         * resolv/res_data.c: Likewise.
48176         * soft-fp/op-1.h: Likewise.
48177         * soft-fp/op-2.h: Likewise.
48178         * soft-fp/op-4.h: Likewise.
48179         * soft-fp/op-common.h: Likewise.
48180         * stdio-common/printf_fphex.c: Likewise.
48181         * stdlib/strtod_l.c: Likewise.
48182         * sunrpc/rpc/clnt.h: Likewise.
48183         * sysdeps/generic/framestate.c: Likewise.
48184         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48185         * sysdeps/i386/bsd-setjmp.S: Likewise.
48186         * sysdeps/i386/__longjmp.S: Likewise.
48187         * sysdeps/i386/setjmp.S: Likewise.
48188         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48189         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48190         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48191         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48192         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48193         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48194         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48195         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48196         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48197         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48198         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48199         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48200         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48201         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48202         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48203         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48204         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48205         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48206         * sysdeps/ieee754/support.c: Likewise.
48207         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48208         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48209         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48210         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48211         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48212         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48213         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48214         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48215         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48216         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48217         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48218         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48219         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48220         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48221         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48222         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48223         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48226 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48228         * posix/transbug.c: Remove executable mode.
48230 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48232         * crypt/speeds.c: Remove trailing whitespace.
48233         * dlfcn/default.c: Likewise.
48234         * elf/ifuncdep2.c: Likewise.
48235         * elf/ifuncmain1.c: Likewise.
48236         * elf/ifuncmain1vis.c: Likewise.
48237         * elf/testobj.h: Likewise.
48238         * elf/tst-stackguard1.c: Likewise.
48239         * gmon/sys/gmon.h: Likewise.
48240         * hurd/hurdmsg.c: Likewise.
48241         * hurd/new-fd.c: Likewise.
48242         * hurd/ports-get.c: Likewise.
48243         * iconvdata/ibm1008_420.c: Likewise.
48244         * inet/tst-getni1.c: Likewise.
48245         * inet/tst-getni2.c: Likewise.
48246         * libio/ioungetc.c: Likewise.
48247         * libio/wfiledoalloc.c: Likewise.
48248         * manual/libm-err-tab.pl: Likewise.
48249         * math/w_dremf.c: Likewise.
48250         * misc/ftruncate.c: Likewise.
48251         * posix/bug-glob2.c: Likewise.
48252         * posix/tst-pcre.c: Likewise.
48253         * posix/wait4.c: Likewise.
48254         * resolv/README: Likewise.
48255         * resolv/res_debug.h: Likewise.
48256         * resolv/tst-inet_ntop.c: Likewise.
48257         * setjmp/bug269-setjmp.c: Likewise.
48258         * soft-fp/extended.h: Likewise.
48259         * soft-fp/op-1.h: Likewise.
48260         * soft-fp/op-2.h: Likewise.
48261         * soft-fp/op-4.h: Likewise.
48262         * soft-fp/op-8.h: Likewise.
48263         * soft-fp/testit.c: Likewise.
48264         * stdio-common/bug16.c: Likewise.
48265         * stdlib/random.c: Likewise.
48266         * sunrpc/rpcsvc/rquota.x: Likewise.
48267         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48268         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48269         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48270         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48271         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48272         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48273         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48274         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48275         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48276         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48277         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48283         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48284         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48285         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48286         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48287         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48289         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48290         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48291         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48294         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48296         * sysdeps/ieee754/s_lib_version.c: Likewise.
48297         * sysdeps/mach/hurd/check_fds.c: Likewise.
48298         * sysdeps/mach/hurd/getsockname.c: Likewise.
48299         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48300         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48301         * sysdeps/powerpc/bits/link.h: Likewise.
48302         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48303         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48304         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48305         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48306         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48307         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48308         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48309         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48310         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48311         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48312         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48313         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48314         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48315         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48316         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48317         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48318         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48319         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48320         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48321         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48322         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48323         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48324         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48325         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48326         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48327         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48328         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48329         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48330         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48331         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48332         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48333         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48336         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48337         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48338         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48339         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48340         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48341         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48342         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48343         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48344         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48345         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48346         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48347         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48348         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48349         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48350         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48351         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48352         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48354         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48355         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48356         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48357         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48358         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48359         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48360         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48361         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48362         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48363         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48364         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48365         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48366         * sysdeps/powerpc/sysdep.h: Likewise.
48367         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48368         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48369         * sysdeps/sh/dl-trampoline.S: Likewise.
48370         * sysdeps/sh/memset.S: Likewise.
48371         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48372         * sysdeps/sh/strlen.S: Likewise.
48373         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48374         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48375         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48376         * sysdeps/sparc/sparc32/rem.S: Likewise.
48377         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48378         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48379         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48380         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48381         * sysdeps/sparc/sparc32/urem.S: Likewise.
48382         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48383         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48384         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48385         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48386         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48387         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48388         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48389         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48390         * sysdeps/unix/bsd/times.c: Likewise.
48391         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48392         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48396         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48397         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48398         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48399         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48400         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48401         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48402         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48403         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48404         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48405         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48406         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48407         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48408         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48409         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48410         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48411         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48412         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48413         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48414         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48415         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48416         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48417         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48418         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48419         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48420         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48421         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48422         * sysdeps/x86_64/strcspn.S: Likewise.
48424 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48426         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48427         generated file.  Regenerate properly from gen-translit.pl.
48428         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48429         locale/C-translit.h.
48431 2013-06-05  Andreas Schwab  <schwab@suse.de>
48433         [BZ #15100]
48434         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48435         week as 6 instead of -1.
48436         * time/tst-strptime.c (day_tests): Add test case.
48438 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48440         * sysdeps/generic/math_private.h
48441         (libc_feholdexcept_setround_53bit): Replace with
48442         libc_feholdsetround_53bit.
48443         (libc_feupdateenv_53bit): Replace with
48444         libc_feresetround_53bit.
48445         (SET_RESTORE_ROUND_53BIT): Adjust.
48447 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48449         * string/test-strchrnul.c: Add copyright header.
48451         * posix/tst-getaddrinfo4.c: Increase test timeout.
48453 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48455         [BZ #15536]
48456         * math/libm-test.inc (MAX_EXP): Remove
48457         (MIN_EXP): Define.
48458         (ulp): Use MIN_EXP - MANT_DIG.
48459         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48461 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48463         * po/be.po: Revert last change.
48464         * po/zh_CN.po: Likewise.
48465         * po/header.pot: Likewise.
48467 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48469         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48470         link-libc-deps to empty as target-specific variable.
48471         * Makerules (link-libc-args): New variable.
48472         (libc-for-link): Likewise.
48473         (link-libc-deps): Likewise.
48474         (lib%.so): Depend on $(link-libc-deps).  Link with
48475         $(link-libc-args).
48476         (build-module): Link with $(link-libc-args).
48477         (build-module-asneeded): Likewise.
48478         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48479         list of objects.
48480         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48481         target-specific variable.
48482         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48483         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48484         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48485         libc.
48486         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48487         libc and ld.so.
48488         ($(objpfx)libpcprofile.so): Likewise.
48489         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48490         libc_nonshared.a.
48491         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48492         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48493         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48494         $(link-libc-deps).
48495         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48496         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48497         * login/Makefile ($(objpfx)libutil.so): Likewise.
48498         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48499         * math/Makefile ($(objpfx)libm.so): Likewise.
48500         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48501         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48502         variable instead of depending directly on libc.
48503         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48504         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48505         $(link-libc-deps).
48506         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48507         libc.
48508         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48509         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48510         ($(objpfx)libanl.so): Likewise.
48511         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48512         ld.so.
48513         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48514         $(link-libc-deps).
48515         * sysdeps/i386/fpu/Makefile: Remove file.
48516         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48517         ($(objpfx)libm.so): Remove dependency on ld.so.
48519 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48521         [BZ # 15553]
48522         * nis/yp_xdr.c (XDRMAXNAME): Define.
48523         (XDRMAXRECORD): Define.
48524         (xdr_domainname): Use XDRMAXNAME.
48525         (xdr_mapname): Likewise.
48526         (xdr_peername): Likewise.
48527         (xdr_keydat): Use XDRMAXRECORD.
48528         (xdr_valdat): Likewise.
48530 2013-05-30  Jeff Law  <law@redhat.com>
48532         [BZ #14256]
48533         * manual/errno.texi (ESTALE): Update to account for more than
48534         just NFS file systems.
48535         * sysdeps/gnu/errlist.c: Regenerated.
48537 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48539         [BZ #15465]
48540         * elf/Makefile (tests): Add tst-null-argv.
48541         (modules-names):  Add tst-null-argv-lib.
48542         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48543         (tst-null-argv-ENV): Set environment for tst-null-argv.
48544         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48545         (RTLD_PROGNAME): New macro.
48546         * elf/tst-null-argv.c: New test case.
48547         * elf/tst-null-argv-lib.c: Library for test case.
48548         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48549         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48550         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48551         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48552         * elf/dl-init.c (call_init): Likewise.
48553         (_dl_init): Likewise.
48554         * elf/dl-load.c (print_search_path): Likewise.
48555         (_dl_map_object): Likewise.
48556         * elf/dl-lookup.c (do_lookup_x): Likewise.
48557         (add_dependency): Likewise.
48558         (_dl_lookup_symbol_x): Likewise.
48559         (_dl_debug_bindings): Likewise.
48560         * elf/dl-open.c (_dl_show_scope): Likewise.
48561         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48562         * elf/dl-version.c (match_symbol): Likewise.
48563         (_dl_check_map_versions): Likewise.
48564         * elf/rtld.c (dl_main): Likewise.
48565         (print_unresolved): Use RTLD_PROGNAME.
48566         (print_missing_version): Likewise.
48567         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48568         (elf_machine_rela): Likewise.
48569         * sysdeps/powerpc/powerpc32/dl-machine.c
48570         (__process_machine_rela): Likewise.
48571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48572         Likewise.
48573         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48574         Likewise.
48575         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48576         Likewise.
48577         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48578         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48579         Likewise.
48580         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48581         Likewise.
48582         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48584 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48586         * po/be.po: Add descriptive title.
48587         * po/zh_CN.po: Likewise.
48588         * po/header.pot: Likewise.
48590 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48592         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48593         error message.
48594         (enlarge_archive): Likewise.
48596 2013-05-28  Ben North  <ben@redfrontdoor.org>
48598         * manual/arith.texi (frexp): It is the magnitude of the return
48599         value which lies in [0.5, 1), not the return value itself.
48601 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48605 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48607         * stdio-common/bug26.c (main): Correct fscanf template.
48609         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48610         declare _dl_skip_args.
48612         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48613         Don't declare.
48615         * manual/platform.texi: Add missing @end deftypefun.
48617 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48619         [BZ #15529]
48620         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48621         bit of mantissa of 2^16382.
48622         * math/libm-test.inc (hypot_test_data): Add more tests.
48624         * math/libm-test.inc: Add drem and pow10 to list of tested
48625         functions.
48626         (pow10_test): New function.
48627         (drem_test): Likewise.
48628         (drem_test_tonearest): Likewise.
48629         (drem_test_towardzero): Likewise.
48630         (drem_test_downward): Likewise.
48631         (drem_test_upward): Likewise.
48632         (main): Call the new functions.
48634         * math/libm-test.inc (finite_test_data): Remove.
48635         (finite_test): Run tests from isfinite_test_data.
48636         (gamma_test_data): Remove.
48637         (gamma_test): Run tests from lgamma_test_data.
48638         * sysdeps/i386/fpu/libm-test-ulps: Update.
48639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48641 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48643         * manual/platform.texi: Add PowerPC PPR function set documentation.
48644         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48645         implementation.
48647 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48649         * math/libm-test.inc (MAX_EXP): Define.
48650         (ULPDIFF): Define.
48651         (ulp): New function.
48652         (check_float_internal): Use ULPDIFF.
48653         (cpow_test): Disable failing test.
48654         (check_ulp): Test ulp() implemetnation.
48655         (main): Call check_ulp before starting tests.
48657 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48659         * math/gen-libm-test.pl (generate_testfile): Do not handle
48660         START_DATA and END_DATA.
48661         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48662         END_DATA.
48663         (acos_tonearest_test_data): Likewise.
48664         (acos_towardzero_test_data): Likewise.
48665         (acos_downward_test_data): Likewise.
48666         (acos_upward_test_data): Likewise.
48667         (acosh_test_data): Likewise.
48668         (asin_test_data): Likewise.
48669         (asin_tonearest_test_data): Likewise.
48670         (asin_towardzero_test_data): Likewise.
48671         (asin_downward_test_data): Likewise.
48672         (asin_upward_test_data): Likewise.
48673         (asinh_test_data): Likewise.
48674         (atan_test_data): Likewise.
48675         (atanh_test_data): Likewise.
48676         (atan2_test_data): Likewise.
48677         (cabs_test_data): Likewise.
48678         (cacos_test_data): Likewise.
48679         (cacosh_test_data): Likewise.
48680         (carg_test_data): Likewise.
48681         (casin_test_data): Likewise.
48682         (casinh_test_data): Likewise.
48683         (catan_test_data): Likewise.
48684         (catanh_test_data): Likewise.
48685         (cbrt_test_data): Likewise.
48686         (ccos_test_data): Likewise.
48687         (ccosh_test_data): Likewise.
48688         (ceil_test_data): Likewise.
48689         (cexp_test_data): Likewise.
48690         (cimag_test_data): Likewise.
48691         (clog_test_data): Likewise.
48692         (clog10_test_data): Likewise.
48693         (conj_test_data): Likewise.
48694         (copysign_test_data): Likewise.
48695         (cos_test_data): Likewise.
48696         (cos_tonearest_test_data): Likewise.
48697         (cos_towardzero_test_data): Likewise.
48698         (cos_downward_test_data): Likewise.
48699         (cos_upward_test_data): Likewise.
48700         (cosh_test_data): Likewise.
48701         (cosh_tonearest_test_data): Likewise.
48702         (cosh_towardzero_test_data): Likewise.
48703         (cosh_downward_test_data): Likewise.
48704         (cosh_upward_test_data): Likewise.
48705         (cpow_test_data): Likewise.
48706         (cproj_test_data): Likewise.
48707         (creal_test_data): Likewise.
48708         (csin_test_data): Likewise.
48709         (csinh_test_data): Likewise.
48710         (csqrt_test_data): Likewise.
48711         (ctan_test_data): Likewise.
48712         (ctan_tonearest_test_data): Likewise.
48713         (ctan_towardzero_test_data): Likewise.
48714         (ctan_downward_test_data): Likewise.
48715         (ctan_upward_test_data): Likewise.
48716         (ctanh_test_data): Likewise.
48717         (ctanh_tonearest_test_data): Likewise.
48718         (ctanh_towardzero_test_data): Likewise.
48719         (ctanh_downward_test_data): Likewise.
48720         (ctanh_upward_test_data): Likewise.
48721         (erf_test_data): Likewise.
48722         (erfc_test_data): Likewise.
48723         (exp_test_data): Likewise.
48724         (exp_tonearest_test_data): Likewise.
48725         (exp_towardzero_test_data): Likewise.
48726         (exp_downward_test_data): Likewise.
48727         (exp_upward_test_data): Likewise.
48728         (exp10_test_data): Likewise.
48729         (exp2_test_data): Likewise.
48730         (expm1_test_data): Likewise.
48731         (fabs_test_data): Likewise.
48732         (fdim_test_data): Likewise.
48733         (finite_test_data): Likewise.
48734         (floor_test_data): Likewise.
48735         (fma_test_data): Likewise.
48736         (fma_towardzero_test_data): Likewise.
48737         (fma_downward_test_data): Likewise.
48738         (fma_upward_test_data): Likewise.
48739         (fmax_test_data): Likewise.
48740         (fmin_test_data): Likewise.
48741         (fmod_test_data): Likewise.
48742         (fpclassify_test_data): Likewise.
48743         (frexp_test_data): Likewise.
48744         (gamma_test_data): Likewise.
48745         (hypot_test_data): Likewise.
48746         (ilogb_test_data): Likewise.
48747         (isfinite_test_data): Likewise.
48748         (isgreater_test_data): Likewise.
48749         (isgreaterequal_test_data): Likewise.
48750         (isinf_test_data): Likewise.
48751         (isless_test_data): Likewise.
48752         (islessequal_test_data): Likewise.
48753         (islessgreater_test_data): Likewise.
48754         (isnan_test_data): Likewise.
48755         (isnormal_test_data): Likewise.
48756         (issignaling_test_data): Likewise.
48757         (isunordered_test_data): Likewise.
48758         (j0_test_data): Likewise.
48759         (j1_test_data): Likewise.
48760         (jn_test_data): Likewise.
48761         (ldexp_test_data): Likewise.
48762         (lgamma_test_data): Likewise.
48763         (lrint_test_data): Likewise.
48764         (lrint_tonearest_test_data): Likewise.
48765         (lrint_towardzero_test_data): Likewise.
48766         (lrint_downward_test_data): Likewise.
48767         (lrint_upward_test_data): Likewise.
48768         (llrint_test_data): Likewise.
48769         (llrint_tonearest_test_data): Likewise.
48770         (llrint_towardzero_test_data): Likewise.
48771         (llrint_downward_test_data): Likewise.
48772         (llrint_upward_test_data): Likewise.
48773         (log_test_data): Likewise.
48774         (log10_test_data): Likewise.
48775         (log1p_test_data): Likewise.
48776         (log2_test_data): Likewise.
48777         (logb_test_data): Likewise.
48778         (logb_downward_test_data): Likewise.
48779         (lround_test_data): Likewise.
48780         (llround_test_data): Likewise.
48781         (modf_test_data): Likewise.
48782         (nearbyint_test_data): Likewise.
48783         (nextafter_test_data): Likewise.
48784         (nexttoward_test_data): Likewise.
48785         (pow_test_data): Likewise.
48786         (pow_tonearest_test_data): Likewise.
48787         (pow_towardzero_test_data): Likewise.
48788         (pow_downward_test_data): Likewise.
48789         (pow_upward_test_data): Likewise.
48790         (remainder_test_data): Likewise.
48791         (remainder_tonearest_test_data): Likewise.
48792         (remainder_towardzero_test_data): Likewise.
48793         (remainder_downward_test_data): Likewise.
48794         (remainder_upward_test_data): Likewise.
48795         (remquo_test_data): Likewise.
48796         (rint_test_data): Likewise.
48797         (rint_tonearest_test_data): Likewise.
48798         (rint_towardzero_test_data): Likewise.
48799         (rint_downward_test_data): Likewise.
48800         (rint_upward_test_data): Likewise.
48801         (round_test_data): Likewise.
48802         (scalb_test_data): Likewise.
48803         (scalbn_test_data): Likewise.
48804         (scalbln_test_data): Likewise.
48805         (signbit_test_data): Likewise.
48806         (sin_test_data): Likewise.
48807         (sin_tonearest_test_data): Likewise.
48808         (sin_towardzero_test_data): Likewise.
48809         (sin_downward_test_data): Likewise.
48810         (sin_upward_test_data): Likewise.
48811         (sincos_test_data): Likewise.
48812         (sinh_test_data): Likewise.
48813         (sinh_tonearest_test_data): Likewise.
48814         (sinh_towardzero_test_data): Likewise.
48815         (sinh_downward_test_data): Likewise.
48816         (sinh_upward_test_data): Likewise.
48817         (sqrt_test_data): Likewise.
48818         (tan_test_data): Likewise.
48819         (tan_tonearest_test_data): Likewise.
48820         (tan_towardzero_test_data): Likewise.
48821         (tan_downward_test_data): Likewise.
48822         (tan_upward_test_data): Likewise.
48823         (tanh_test_data): Likewise.
48824         (tgamma_test_data): Likewise.
48825         (trunc_test_data): Likewise.
48826         (y0_test_data): Likewise.
48827         (y1_test_data): Likewise.
48828         (yn_test_data): Likewise.
48829         (significand_test_data): Likewise.
48831         * math/gen-libm-test.pl (@functions): Remove variable.
48832         (generate_testfile): Don't handle START and END lines.
48833         * math/libm-test.inc (START): New macro.
48834         (END): Likewise.
48835         (END_COMPLEX): Likewise.
48836         (acos_test): Use END macro without arguments.
48837         (acos_test_tonearest): Likewise.
48838         (acos_test_towardzero): Likewise.
48839         (acos_test_downward): Likewise.
48840         (acos_test_upward): Likewise.
48841         (acosh_test): Likewise.
48842         (asin_test): Likewise.
48843         (asin_test_tonearest): Likewise.
48844         (asin_test_towardzero): Likewise.
48845         (asin_test_downward): Likewise.
48846         (asin_test_upward): Likewise.
48847         (asinh_test): Likewise.
48848         (atan_test): Likewise.
48849         (atanh_test): Likewise.
48850         (atan2_test): Likewise.
48851         (cabs_test): Likewise.
48852         (cacos_test): Use END_COMPLEX macro without arguments.
48853         (cacosh_test): Likewise.
48854         (carg_test): Use END macro without arguments.
48855         (casin_test): Use END_COMPLEX macro without arguments.
48856         (casinh_test): Likewise.
48857         (catan_test): Likewise.
48858         (catanh_test): Likewise.
48859         (cbrt_test): Use END macro without arguments.
48860         (ccos_test): Use END_COMPLEX macro without arguments.
48861         (ccosh_test): Likewise.
48862         (ceil_test): Use END macro without arguments.
48863         (cexp_test): Use END_COMPLEX macro without arguments.
48864         (cimag_test): Use END macro without arguments.
48865         (clog_test): Use END_COMPLEX macro without arguments.
48866         (clog10_test): Likewise.
48867         (conj_test): Likewise.
48868         (copysign_test): Use END macro without arguments.
48869         (cos_test): Likewise.
48870         (cos_test_tonearest): Likewise.
48871         (cos_test_towardzero): Likewise.
48872         (cos_test_downward): Likewise.
48873         (cos_test_upward): Likewise.
48874         (cosh_test): Likewise.
48875         (cosh_test_tonearest): Likewise.
48876         (cosh_test_towardzero): Likewise.
48877         (cosh_test_downward): Likewise.
48878         (cosh_test_upward): Likewise.
48879         (cpow_test): Use END_COMPLEX macro without arguments.
48880         (cproj_test): Likewise.
48881         (creal_test): Use END macro without arguments.
48882         (csin_test): Use END_COMPLEX macro without arguments.
48883         (csinh_test): Likewise.
48884         (csqrt_test): Likewise.
48885         (ctan_test): Likewise.
48886         (ctan_test_tonearest): Likewise.
48887         (ctan_test_towardzero): Likewise.
48888         (ctan_test_downward): Likewise.
48889         (ctan_test_upward): Likewise.
48890         (ctanh_test): Likewise.
48891         (ctanh_test_tonearest): Likewise.
48892         (ctanh_test_towardzero): Likewise.
48893         (ctanh_test_downward): Likewise.
48894         (ctanh_test_upward): Likewise.
48895         (erf_test): Use END macro without arguments.
48896         (erfc_test): Likewise.
48897         (exp_test): Likewise.
48898         (exp_test_tonearest): Likewise.
48899         (exp_test_towardzero): Likewise.
48900         (exp_test_downward): Likewise.
48901         (exp_test_upward): Likewise.
48902         (exp10_test): Likewise.
48903         (exp2_test): Likewise.
48904         (expm1_test): Likewise.
48905         (fabs_test): Likewise.
48906         (fdim_test): Likewise.
48907         (finite_test): Likewise.
48908         (floor_test): Likewise.
48909         (fma_test): Likewise.
48910         (fma_test_towardzero): Likewise.
48911         (fma_test_downward): Likewise.
48912         (fma_test_upward): Likewise.
48913         (fmax_test): Likewise.
48914         (fmin_test): Likewise.
48915         (fmod_test): Likewise.
48916         (fpclassify_test): Likewise.
48917         (frexp_test): Likewise.
48918         (gamma_test): Likewise.
48919         (hypot_test): Likewise.
48920         (ilogb_test): Likewise.
48921         (isfinite_test): Likewise.
48922         (isgreater_test): Likewise.
48923         (isgreaterequal_test): Likewise.
48924         (isinf_test): Likewise.
48925         (isless_test): Likewise.
48926         (islessequal_test): Likewise.
48927         (islessgreater_test): Likewise.
48928         (isnan_test): Likewise.
48929         (isnormal_test): Likewise.
48930         (issignaling_test): Likewise.
48931         (isunordered_test): Likewise.
48932         (j0_test): Likewise.
48933         (j1_test): Likewise.
48934         (jn_test): Likewise.
48935         (ldexp_test): Likewise.
48936         (lgamma_test): Likewise.
48937         (lrint_test): Likewise.
48938         (lrint_test_tonearest): Likewise.
48939         (lrint_test_towardzero): Likewise.
48940         (lrint_test_downward): Likewise.
48941         (lrint_test_upward): Likewise.
48942         (llrint_test): Likewise.
48943         (llrint_test_tonearest): Likewise.
48944         (llrint_test_towardzero): Likewise.
48945         (llrint_test_downward): Likewise.
48946         (llrint_test_upward): Likewise.
48947         (log_test): Likewise.
48948         (log10_test): Likewise.
48949         (log1p_test): Likewise.
48950         (log2_test): Likewise.
48951         (logb_test): Likewise.
48952         (logb_test_downward): Likewise.
48953         (lround_test): Likewise.
48954         (llround_test): Likewise.
48955         (modf_test): Likewise.
48956         (nearbyint_test): Likewise.
48957         (nextafter_test): Likewise.
48958         (nexttoward_test): Likewise.
48959         (pow_test): Likewise.
48960         (pow_test_tonearest): Likewise.
48961         (pow_test_towardzero): Likewise.
48962         (pow_test_downward): Likewise.
48963         (pow_test_upward): Likewise.
48964         (remainder_test): Likewise.
48965         (remainder_test_tonearest): Likewise.
48966         (remainder_test_towardzero): Likewise.
48967         (remainder_test_downward): Likewise.
48968         (remainder_test_upward): Likewise.
48969         (remquo_test): Likewise.
48970         (rint_test): Likewise.
48971         (rint_test_tonearest): Likewise.
48972         (rint_test_towardzero): Likewise.
48973         (rint_test_downward): Likewise.
48974         (rint_test_upward): Likewise.
48975         (round_test): Likewise.
48976         (scalb_test): Likewise.
48977         (scalbn_test): Likewise.
48978         (scalbln_test): Likewise.
48979         (signbit_test): Likewise.
48980         (sin_test): Likewise.
48981         (sin_test_tonearest): Likewise.
48982         (sin_test_towardzero): Likewise.
48983         (sin_test_downward): Likewise.
48984         (sin_test_upward): Likewise.
48985         (sincos_test): Likewise.
48986         (sinh_test): Likewise.
48987         (sinh_test_tonearest): Likewise.
48988         (sinh_test_towardzero): Likewise.
48989         (sinh_test_downward): Likewise.
48990         (sinh_test_upward): Likewise.
48991         (sqrt_test): Likewise.
48992         (tan_test): Likewise.
48993         (tan_test_tonearest): Likewise.
48994         (tan_test_towardzero): Likewise.
48995         (tan_test_downward): Likewise.
48996         (tan_test_upward): Likewise.
48997         (tanh_test): Likewise.
48998         (tgamma_test): Likewise.
48999         (trunc_test): Likewise.
49000         (y0_test): Likewise.
49001         (y1_test): Likewise.
49002         (yn_test): Likewise.
49003         (significand_test): Likewise.
49005 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49007         [BZ #15381]
49008         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49010 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49012         [BZ #14894]
49013         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49014         __ppc_mdoio and __ppc_mdoom.
49015         * manual/platform.texi: Document new functions __ppc_yield,
49016         __ppc_mdoio and __ppc_mdoom.
49018 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49020         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49021         (main): Mention "tls" pseudo-hwcap is legacy.
49022         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49024 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49026         * math/gen-libm-test.pl (parse_args): Output only string of
49027         arguments as text for test name, not full call or descriptions of
49028         tests for extra outputs.
49029         (generate_testfile): Do not pass function name to parse_args.
49030         Generate this_func variable from START.
49031         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49032         field to arg_str.
49033         (struct test_ff_f_data): Likewise.
49034         (test_ff_f_data_nexttoward): Likewise.
49035         (struct test_fi_f_data): Likewise.
49036         (struct test_fl_f_data): Likewise.
49037         (struct test_if_f_data): Likewise.
49038         (struct test_fff_f_data): Likewise.
49039         (struct test_c_f_data): Likewise.
49040         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49041         (struct test_fF_f1_data): Likewise.
49042         (struct test_ffI_f1_data): Likewise.
49043         (struct test_c_c_data): Rename test_name field to arg_str.
49044         (struct test_cc_c_data): Likewise.
49045         (struct test_f_i_data): Likewise.
49046         (struct test_ff_i_data): Likewise.
49047         (struct test_f_l_data): Likewise.
49048         (struct test_f_L_data): Likewise.
49049         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49050         and extra2_name.
49051         (COMMON_TEST_SETUP): New macro.
49052         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49053         (COMMON_TEST_CLEANUP): Likewise.
49054         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49055         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49056         macros.
49057         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49058         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49059         macros.
49060         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49061         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49062         cleanup macros.
49063         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49064         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49065         macros.
49066         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49067         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49068         macros.
49069         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49070         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49071         cleanup macros.
49072         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49073         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49074         cleanup macros.
49075         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49076         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49077         cleanup macros.
49078         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49079         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49080         macros.
49081         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49082         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49083         macros.
49084         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49085         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49086         macros.
49087         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49088         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49089         cleanup macros.
49090         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49091         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49092         cleanup macros.
49093         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49094         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49095         macros.
49096         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49097         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49098         cleanup macros.
49099         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49100         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49101         macros.
49102         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49103         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49104         macros.
49105         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49106         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49107         cleanup macros.
49108         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49110 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49112         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49113         to _sifields.sigfault.
49114         (si_addr_lsb): Define new macro.
49115         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49117         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49119 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49121         [BZ #15441]
49122         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49123         returns -1.
49124         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49125         null return -1.
49126         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49127         loading the domain.
49129 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49131         * math/gen-libm-test.pl (parse_args): Do not include expected
49132         result in test name.
49133         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49134         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49135         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49136         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49137         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49140 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49142         * benchtests/Makefile: Sort function entries.
49144         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49145         tanh, asinh, acosh, atanh.
49146         * benchtests/acos-inputs: New file.
49147         * benchtests/acosh-inputs: New file.
49148         * benchtests/asin-inputs: New file.
49149         * benchtests/asinh-inputs: New file.
49150         * benchtests/atanh-inputs: New file.
49151         * benchtests/cosh-inputs: New file.
49152         * benchtests/log-inputs: New file.
49153         * benchtests/sinh-inputs: New file.
49154         * benchtests/tanh-inputs: New file.
49156 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49158         [BZ #15339]
49159         * posix/tst-getaddrinfo4.c: New test.
49160         * posix/Makefile (tests): Add it.
49162 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49164         [BZ #15339]
49165         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49166         when no services were used.
49167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49168         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49170 2013-05-21  Andreas Schwab  <schwab@suse.de>
49172         [BZ #15014]
49173         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49174         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49175         successful.
49176         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49177         redundant variable declarations and reallocation of buffer when
49178         parsing as IPv6 address.  Always set NSS status when called from
49179         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49180         buffer too small.  Correct computation of needed size.
49181         * nss/Makefile (tests): Add test-digits-dots.
49182         * nss/test-digits-dots.c: New test.
49184 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49186         * benchtests/Makefile: Remove instructions for adding
49187         benchmark tests.
49188         * benchtests/README: New file to explain how to execute and
49189         enhance the benchmark tests.
49191 2013-05-21  Andreas Schwab  <schwab@suse.de>
49193         [BZ #15493]
49194         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49195         * setjmp/tst-sigsetjmp.c: New test.
49197 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49199         * sysdeps/x86_64/memset.S (memset): New implementation.
49200         (__bzero): Likewise.
49201         (__memset_tail): New function.
49203 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49205         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49206         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49207         __memcpy_sse2_unaligned ifunc selection.
49208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49209         Add memcpy-sse2-unaligned.S.
49210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49211         Add: __memcpy_sse2_unaligned.
49213 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49215         [BZ #15490]
49216         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49217         math_force_eval before restoring floating-point envrionment.
49218         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49220         Likewise.
49221         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49222         <math_private.h>.
49223         (__nearbyintl): Use math_force_eval before restoring
49224         floating-point environment.
49225         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49227         * math/gen-libm-test.pl (special_functions): Remove.
49228         (parse_args): Don't handle TEST_extra.  Handle functions with no
49229         return value.
49230         * math/libm-test.inc (struct test_sincos_data): Replace with
49231         struct test_fFF_11_data.
49232         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49233         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49234         (sincos_test_data): Change element type to struct
49235         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49236         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49237         RUN_TEST_LOOP_sincos.
49238         * math/README.libm-test: Don't mention special handling of
49239         individual functions.
49240         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49241         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49242         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49243         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49244         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49247         * math/gen-libm-test.pl (get_variable): Remove function.
49248         (parse_args): Don't show pointer parameters to call in test
49249         names.  Use "extra output N" in test names for extra outputs
49250         rather than naming variables.
49252 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49254         [BZ #15488]
49255         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49256         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49257         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49258         double tests.
49259         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49260         disable.
49261         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49262         check_long_double.
49264         * math/gen-libm-test.pl (@tests): Remove variable.
49265         ($count): Likewise.
49266         (new_test): Remove function.
49267         (show_exceptions): New function.
49268         (special_functions): Use show_exceptions instead of new_test.
49269         (parse_args): Likewise.
49270         (generate_testfile): Pass only function name in generated call to
49271         print_max_error or print_complex_max_error.
49272         (get_ulps): Do not handle complex tests specially.
49273         (output_test): Rename to ...
49274         (get_all_ulps_for_test): ... this.  Return a string rather than
49275         printing to a file.  Require ulps to be present.
49276         (output_ulps): Generate arrays rather than #defines.
49277         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49278         (struct ulp_data): New type.
49279         (BUILD_COMPLEX_ULP): Remove macro.
49280         (compare_ulp_data): New function.
49281         (find_ulps): Likewise.
49282         (find_test_ulps): Likewise.
49283         (find_function_ulps): Likewise.
49284         (find_complex_function_ulps): Likewise.
49285         (print_max_error): Determine allowed ulps using
49286         find_function_ulps.
49287         (print_complex_max_error): Determine allowed ulps using
49288         find_complex_function_ulps.
49289         (check_float_internal): Determine max ulps using find_test_ulps.
49290         (check_float): Do not take max_ulp parameter.  Update call to
49291         check_float_internal.
49292         (check_complex): Likewise.
49293         (check_int): Do not take max_ulp parameter.
49294         (check_long): Likewise.
49295         (check_bool): Likewise.
49296         (check_longlong): Likewise.
49297         (struct test_f_f_data): Remove max_ulp field.
49298         (struct test_ff_f_data): Likewise.
49299         (struct test_ff_f_data_nexttoward): Likewise.
49300         (struct test_fi_f_data): Likewise.
49301         (struct test_fl_f_data): Likewise.
49302         (struct test_if_f_data): Likewise.
49303         (struct test_fff_f_data): Likewise.
49304         (struct test_c_f_data): Likewise.
49305         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49306         (struct test_fF_f1_data): Likewise.
49307         (struct test_ffI_f1_data): Likewise.
49308         (struct test_c_c_data): Remove max_ulp field.
49309         (struct test_cc_c_data): Likewise.
49310         (struct test_f_i_data): Likewise.
49311         (struct test_ff_i_data): Likewise.
49312         (struct test_f_l_data): Likewise.
49313         (struct test_f_L_data): Likewise.
49314         (struct test_sincos_data): Likewise.
49315         (RUN_TEST_f_f): Do not handle ulps.
49316         (RUN_TEST_LOOP_f_f): Likewise.
49317         (RUN_TEST_2_f): Likewise.
49318         (RUN_TEST_LOOP_2_f): Likewise.
49319         (RUN_TEST_fff_f): Likewise.
49320         (RUN_TEST_LOOP_fff_f): Likewise.
49321         (RUN_TEST_c_f): Likewise.
49322         (RUN_TEST_LOOP_c_f): Likewise.
49323         (RUN_TEST_f_f1): Likewise.
49324         (RUN_TEST_LOOP_f_f1): Likewise.
49325         (RUN_TEST_fF_f1): Likewise.
49326         (RUN_TEST_LOOP_fF_f1): Likewise.
49327         (RUN_TEST_fI_f1): Likewise.
49328         (RUN_TEST_LOOP_fI_f1): Likewise.
49329         (RUN_TEST_ffI_f1): Likewise.
49330         (RUN_TEST_LOOP_ffI_f1): Likewise.
49331         (RUN_TEST_c_c): Likewise.
49332         (RUN_TEST_LOOP_c_c): Likewise.
49333         (RUN_TEST_cc_c): Likewise.
49334         (RUN_TEST_LOOP_cc_c): Likewise.
49335         (RUN_TEST_f_i): Likewise.
49336         (RUN_TEST_LOOP_f_i): Likewise.
49337         (RUN_TEST_f_i_tg): Likewise.
49338         (RUN_TEST_LOOP_f_i_tg): Likewise.
49339         (RUN_TEST_ff_i_tg): Likewise.
49340         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49341         (RUN_TEST_f_b): Likewise.
49342         (RUN_TEST_LOOP_f_b): Likewise.
49343         (RUN_TEST_f_b_tg): Likewise.
49344         (RUN_TEST_LOOP_f_b_tg): Likewise.
49345         (RUN_TEST_f_l): Likewise.
49346         (RUN_TEST_LOOP_f_l): Likewise.
49347         (RUN_TEST_f_L): Likewise.
49348         (RUN_TEST_LOOP_f_L): Likewise.
49349         (RUN_TEST_sincos): Likewise.
49350         (RUN_TEST_LOOP_sincos): Likewise.
49352 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49354         [BZ #15480]
49355         [BZ #15485]
49356         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49357         main case of finite arguments, set rounding mode to FE_TONEAREST
49358         and discard exceptions.
49359         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49360         exceptions.
49361         (remainder_tonearest_test_data): New variable.
49362         (remainder_test_tonearest): New function.
49363         (remainder_towardzero_test_data): New variable.
49364         (remainder_test_towardzero): New function.
49365         (remainder_downward_test_data): New variable.
49366         (remainder_test_downward): New function.
49367         (remainder_upward_test_data): New variable.
49368         (remainder_test_upward): New function.
49369         (main): Call the new test functions.
49371         * math/libm-test.inc (struct test_f_f1_data): Remove field
49372         extra_init.
49373         (struct test_fF_f1_data): Likewise.
49374         (struct test_ffI_f1_data): Likewise.
49375         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49376         based on value of EXTRA_EXPECTED.
49377         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49378         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49379         EXTRA_VAR based on value of EXTRA_EXPECTED.
49380         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49381         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49382         EXTRA_VAR based on value of EXTRA_EXPECTED.
49383         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49384         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49385         EXTRA_VAR based on value of EXTRA_EXPECTED.
49386         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49387         * math/gen-libm-test.pl (parse_args): Don't output initializers
49388         for extra output values.
49390         * math/libm-test.inc (check_int): Expect result to be exactly
49391         equal to expected value and do not handle ulps.
49392         (check_long): Likewise.
49393         (check_longlong): Likewise.
49395         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49396         exceptions.
49397         (cimag_test_data): Likewise.
49398         (conj_test_data): Likewise.
49399         (copysign_test_data): Likewise.
49400         (cproj_test_data): Likewise.
49401         (creal_test_data): Likewise.
49402         (fabs_test_data): Likewise.
49403         (fdim_test_data): Likewise.
49404         (finite_test_data): Likewise.
49405         (floor_test_data): Likewise.
49406         (fmax_test_data): Likewise.
49407         (fmin_test_data): Likewise.
49408         (fmod_test_data): Likewise.
49409         (fpclassify_test_data): Likewise.
49410         (frexp_test_data): Likewise.
49411         (ilogb_test_data): Likewise.
49412         (isfinite_test_data): Likewise.
49413         (isgreater_test_data): Likewise.
49414         (isgreaterequal_test_data): Likewise.
49415         (isinf_test_data): Likewise.
49416         (isless_test_data): Likewise.
49417         (islessequal_test_data): Likewise.
49418         (islessgreater_test_data): Likewise.
49419         (isnan_test_data): Likewise.
49420         (isnormal_test_data): Likewise.
49421         (issignaling_test_data): Likewise.
49422         (isunordered_test_data): Likewise.
49423         (ldexp_test_data): Likewise.
49424         (lrint_test_data): Likewise.
49425         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49426         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49427         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49428         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49429         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49430         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49431         test input.
49432         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49433         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49434         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49435         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49436         that test input.
49437         (lrint_downward_test_data): Test for "inexact" exceptions.
49438         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49439         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49440         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49441         test input.
49442         (lrint_upward_test_data): Test for "inexact" exceptions.
49443         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49444         test input.
49445         (llrint_test_data): Test for "inexact" exceptions.
49446         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49447         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49448         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49449         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49450         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49451         (llrint_downward_test_data): Test for "inexact" exceptions.
49452         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49453         (llrint_upward_test_data): Test for "inexact" exceptions.
49454         (logb_test_data): Likewise.
49455         (logb_downward_test_data): Likewise.
49456         (nextafter_test_data): Likewise.
49457         (nexttoward_test_data): Likewise.
49458         (remainder_test_data): Likewise.
49459         (remquo_test_data): Likewise.
49460         (scalbn_test_data): Likewise.
49461         (scalbln_test_data): Likewise.
49462         (signbit_test_data): Likewise.
49463         (sqrt_test_data): Likewise.
49464         (significand_test_data): Likewise.
49466 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49468         [BZ #15424]
49469         * benchtests/bench-modf.c (struct args): Mark arg0 as
49470         volatile.
49471         * scripts/bench.pl: Mark members of struct args as volatile.
49473 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49475         [BZ # 15497]
49476         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49477         negative infinity on POWER6 or lower.
49478         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49480 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49482         [BZ #15442]
49483         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49484         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49485         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49486         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49487         (_FP_SETQNAN): New macro.
49488         (_FP_SETQNAN_SEMIRAW): Likewise.
49489         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49490         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49491         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49492         (FP_EXTEND): Use _FP_FRAC_SNANP.
49493         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49494         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49495         into account.
49496         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49497         New macro.
49498         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49499         Likewise.
49501 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49503         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49504         with DIVIDE_BY_ZERO_EXCEPTION.
49505         (gamma_test_data): Likewise.
49506         (lgamma_test_data): Likewise.
49507         (log_test_data): Likewise.
49508         (log10_test_data): Likewise.
49509         (log2_test_data): Likewise.
49510         (tgamma_test_data): Likewise.
49512         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49513         (acos_test_tonearest): Likewise.
49514         (acos_test_towardzero): Likewise.
49515         (acos_test_downward): Likewise.
49516         (acos_test_upward): Likewise.
49517         (acosh_test): Likewise.
49518         (asin_test): Likewise.
49519         (asin_test_tonearest): Likewise.
49520         (asin_test_towardzero): Likewise.
49521         (asin_test_downward): Likewise.
49522         (asin_test_upward): Likewise.
49523         (asinh_test): Likewise.
49524         (atan_test): Likewise.
49525         (atanh_test): Likewise.
49526         (atan2_test): Likewise.
49527         (cabs_test): Likewise.
49528         (cacos_test): Likewise.
49529         (cacosh_test): Likewise.
49530         (casin_test): Likewise.
49531         (casinh_test): Likewise.
49532         (catan_test): Likewise.
49533         (catanh_test): Likewise.
49534         (cbrt_test): Likewise.
49535         (ccos_test): Likewise.
49536         (ccosh_test): Likewise.
49537         (cexp_test): Likewise.
49538         (clog_test): Likewise.
49539         (clog10_test): Likewise.
49540         (cos_test): Likewise.
49541         (cos_test_tonearest): Likewise.
49542         (cos_test_towardzero): Likewise.
49543         (cos_test_downward): Likewise.
49544         (cos_test_upward): Likewise.
49545         (cosh_test): Likewise.
49546         (cosh_test_tonearest): Likewise.
49547         (cosh_test_towardzero): Likewise.
49548         (cosh_test_downward): Likewise.
49549         (cosh_test_upward): Likewise.
49550         (cpow_test): Likewise.
49551         (csin_test): Likewise.
49552         (csinh_test): Likewise.
49553         (csqrt_test): Likewise.
49554         (ctan_test): Likewise.
49555         (ctan_test_tonearest): Likewise.
49556         (ctan_test_towardzero): Likewise.
49557         (ctan_test_downward): Likewise.
49558         (ctan_test_upward): Likewise.
49559         (ctanh_test): Likewise.
49560         (ctanh_test_tonearest): Likewise.
49561         (ctanh_test_towardzero): Likewise.
49562         (ctanh_test_downward): Likewise.
49563         (ctanh_test_upward): Likewise.
49564         (erf_test): Likewise.
49565         (erfc_test): Likewise.
49566         (exp_test): Likewise.
49567         (exp_test_tonearest): Likewise.
49568         (exp_test_towardzero): Likewise.
49569         (exp_test_downward): Likewise.
49570         (exp_test_upward): Likewise.
49571         (exp10_test): Likewise.
49572         (exp2_test): Likewise.
49573         (expm1_test): Likewise.
49574         (fmod_test): Likewise.
49575         (gamma_test): Likewise.
49576         (hypot_test): Likewise.
49577         (j0_test): Likewise.
49578         (j1_test): Likewise.
49579         (jn_test): Likewise.
49580         (lgamma_test): Likewise.
49581         (log_test): Likewise.
49582         (log10_test): Likewise.
49583         (log1p_test): Likewise.
49584         (log2_test): Likewise.
49585         (logb_test_downward): Likewise.
49586         (pow_test): Likewise.
49587         (pow_test_tonearest): Likewise.
49588         (pow_test_towardzero): Likewise.
49589         (pow_test_downward): Likewise.
49590         (pow_test_upward): Likewise.
49591         (remainder_test): Likewise.
49592         (remquo_test): Likewise.
49593         (sin_test): Likewise.
49594         (sin_test_tonearest): Likewise.
49595         (sin_test_towardzero): Likewise.
49596         (sin_test_downward): Likewise.
49597         (sin_test_upward): Likewise.
49598         (sincos_test): Likewise.
49599         (sinh_test): Likewise.
49600         (sinh_test_tonearest): Likewise.
49601         (sinh_test_towardzero): Likewise.
49602         (sinh_test_downward): Likewise.
49603         (sinh_test_upward): Likewise.
49604         (sqrt_test): Likewise.
49605         (tan_test): Likewise.
49606         (tan_test_tonearest): Likewise.
49607         (tan_test_towardzero): Likewise.
49608         (tan_test_downward): Likewise.
49609         (tan_test_upward): Likewise.
49610         (tanh_test): Likewise.
49611         (tgamma_test): Likewise.
49612         (y0_test): Likewise.
49613         (y1_test): Likewise.
49614         (yn_test): Likewise.
49616         * math/gen-libm-test.pl (adjust_arg): Remove function.
49617         (special_function): Remove argument $in_func.  Only handle
49618         generating output for tables of tests, not inside functions.
49619         (parse_args): Likewise.
49620         (generate_testfile): Remove variable $in_func.  Update call to
49621         parse_args.
49622         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49623         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49624         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49625         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49626         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49627         (MAX_VALUE_INIT): Rename macro to max_value.
49628         (MIN_VALUE_INIT): Rename macro to min_value.
49629         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49630         (plus_zero): Remove variable.
49631         (minus_zero): Likewise.
49632         (plus_infty): Likewise.
49633         (minus_infty): Likewise.
49634         (qnan_value): Likewise.
49635         (max_value): Likewise.
49636         (min_value): Likewise.
49637         (min_subnorm_value): Likewise.
49639 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49641         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49642         uint64_t or uint32_t usage.
49643         * crypt/sha256-block.c: Likewise.
49644         * crypt/sha256-crypt.c: Likewise.
49645         * crypt/sha256.c: Likewise.
49646         * crypt/sha512-block.c: Likewise.
49647         * crypt/sha512-crypt.c: Likewise.
49648         * crypt/sha512.c: Likewise.
49649         * debug/backtrace-tst.c: Likewise.
49650         * debug/pcprofiledump.c: Likewise.
49651         * elf/cache.c: Likewise.
49652         * elf/dl-cache.c: Likewise.
49653         * elf/dl-misc.c: Likewise.
49654         * elf/dl-profile.c: Likewise.
49655         * elf/dl-support.c: Likewise.
49656         * elf/ldconfig.c: Likewise.
49657         * elf/sprof.c: Likewise.
49658         * iconv/dummy-repertoire.c: Likewise.
49659         * iconv/iconv_charmap.c: Likewise.
49660         * iconv/skeleton.c: Likewise.
49661         * iconvdata/8bit-generic.c: Likewise.
49662         * iconvdata/cp737.h: Likewise.
49663         * iconvdata/cp775.h: Likewise.
49664         * iconvdata/ibm1008.h: Likewise.
49665         * iconvdata/ibm1025.h: Likewise.
49666         * iconvdata/ibm1046.h: Likewise.
49667         * iconvdata/ibm1097.h: Likewise.
49668         * iconvdata/ibm1112.h: Likewise.
49669         * iconvdata/ibm1122.h: Likewise.
49670         * iconvdata/ibm1123.h: Likewise.
49671         * iconvdata/ibm1124.h: Likewise.
49672         * iconvdata/ibm1129.h: Likewise.
49673         * iconvdata/ibm1130.h: Likewise.
49674         * iconvdata/ibm1132.h: Likewise.
49675         * iconvdata/ibm1133.h: Likewise.
49676         * iconvdata/ibm1137.h: Likewise.
49677         * iconvdata/ibm1140.h: Likewise.
49678         * iconvdata/ibm1141.h: Likewise.
49679         * iconvdata/ibm1142.h: Likewise.
49680         * iconvdata/ibm1143.h: Likewise.
49681         * iconvdata/ibm1144.h: Likewise.
49682         * iconvdata/ibm1145.h: Likewise.
49683         * iconvdata/ibm1146.h: Likewise.
49684         * iconvdata/ibm1147.h: Likewise.
49685         * iconvdata/ibm1148.h: Likewise.
49686         * iconvdata/ibm1149.h: Likewise.
49687         * iconvdata/ibm1153.h: Likewise.
49688         * iconvdata/ibm1154.h: Likewise.
49689         * iconvdata/ibm1155.h: Likewise.
49690         * iconvdata/ibm1156.h: Likewise.
49691         * iconvdata/ibm1157.h: Likewise.
49692         * iconvdata/ibm1158.h: Likewise.
49693         * iconvdata/ibm1160.h: Likewise.
49694         * iconvdata/ibm1161.h: Likewise.
49695         * iconvdata/ibm1162.h: Likewise.
49696         * iconvdata/ibm1163.h: Likewise.
49697         * iconvdata/ibm1164.h: Likewise.
49698         * iconvdata/ibm1166.h: Likewise.
49699         * iconvdata/ibm1167.h: Likewise.
49700         * iconvdata/ibm12712.h: Likewise.
49701         * iconvdata/ibm1390.h: Likewise.
49702         * iconvdata/ibm1399.h: Likewise.
49703         * iconvdata/ibm16804.h: Likewise.
49704         * iconvdata/ibm4517.h: Likewise.
49705         * iconvdata/ibm4899.h: Likewise.
49706         * iconvdata/ibm4909.h: Likewise.
49707         * iconvdata/ibm4971.h: Likewise.
49708         * iconvdata/ibm5347.h: Likewise.
49709         * iconvdata/ibm803.h: Likewise.
49710         * iconvdata/ibm856.h: Likewise.
49711         * iconvdata/ibm901.h: Likewise.
49712         * iconvdata/ibm902.h: Likewise.
49713         * iconvdata/ibm9030.h: Likewise.
49714         * iconvdata/ibm9066.h: Likewise.
49715         * iconvdata/ibm921.h: Likewise.
49716         * iconvdata/ibm922.h: Likewise.
49717         * iconvdata/ibm9448.h: Likewise.
49718         * iconvdata/isiri-3342.h: Likewise.
49719         * iconvdata/jis0201.h: Likewise.
49720         * include/link.h: Likewise.
49721         * include/netdb.h: Likewise.
49722         * inet/check_native.c: Likewise.
49723         * inet/check_pf.c: Likewise.
49724         * inet/getipv4sourcefilter.c: Likewise.
49725         * inet/getnameinfo.c: Likewise.
49726         * inet/getsourcefilter.c: Likewise.
49727         * inet/htonl.c: Likewise.
49728         * inet/setipv4sourcefilter.c: Likewise.
49729         * inet/setsourcefilter.c: Likewise.
49730         * inet/test-inet6_opt.c: Likewise.
49731         * inet/tst-network.c: Likewise.
49732         * locale/C-collate.c: Likewise.
49733         * locale/C-ctype.c: Likewise.
49734         * locale/C-time.c: Likewise.
49735         * locale/C-translit.h: Likewise.
49736         * locale/loadarchive.c: Likewise.
49737         * locale/programs/3level.h: Likewise.
49738         * locale/programs/charmap.c: Likewise.
49739         * locale/programs/charmap.h: Likewise.
49740         * locale/programs/ld-address.c: Likewise.
49741         * locale/programs/ld-collate.c: Likewise.
49742         * locale/programs/ld-ctype.c: Likewise.
49743         * locale/programs/ld-identification.c: Likewise.
49744         * locale/programs/ld-measurement.c: Likewise.
49745         * locale/programs/ld-messages.c: Likewise.
49746         * locale/programs/ld-monetary.c: Likewise.
49747         * locale/programs/ld-name.c: Likewise.
49748         * locale/programs/ld-numeric.c: Likewise.
49749         * locale/programs/ld-paper.c: Likewise.
49750         * locale/programs/ld-telephone.c: Likewise.
49751         * locale/programs/ld-time.c: Likewise.
49752         * locale/programs/linereader.c: Likewise.
49753         * locale/programs/locale.c: Likewise.
49754         * locale/programs/locarchive.c: Likewise.
49755         * locale/programs/locfile.h: Likewise.
49756         * locale/programs/repertoire.c: Likewise.
49757         * locale/programs/simple-hash.c: Likewise.
49758         * locale/programs/simple-hash.h: Likewise.
49759         * malloc/memusage.c: Likewise.
49760         * malloc/memusagestat.c: Likewise.
49761         * nis/nis_defaults.c: Likewise.
49762         * nis/nis_hash.c: Likewise.
49763         * nis/nis_print.c: Likewise.
49764         * nis/nis_xdr.c: Likewise.
49765         * nscd/connections.c: Likewise.
49766         * nscd/hstcache.c: Likewise.
49767         * nscd/nscd_gethst_r.c: Likewise.
49768         * nscd/nscd_getserv_r.c: Likewise.
49769         * nscd/nscd_helper.c: Likewise.
49770         * nscd/servicescache.c: Likewise.
49771         * nss/makedb.c: Likewise.
49772         * nss/nss_db/db-XXX.c: Likewise.
49773         * nss/nss_db/db-initgroups.c: Likewise.
49774         * nss/nss_db/db-netgrp.c: Likewise.
49775         * nss/nss_files/files-network.c: Likewise.
49776         * nss/nss_files/files-parse.c: Likewise.
49777         * posix/bug-regex5.c: Likewise.
49778         * posix/fnmatch_loop.c: Likewise.
49779         * posix/regcomp.c: Likewise.
49780         * posix/regexec.c: Likewise.
49781         * posix/tst-rfc3484-2.c: Likewise.
49782         * posix/tst-rfc3484-3.c: Likewise.
49783         * posix/tst-rfc3484.c: Likewise.
49784         * resolv/nss_dns/dns-canon.c: Likewise.
49785         * resolv/nss_dns/dns-network.c: Likewise.
49786         * resolv/res_init.c: Likewise.
49787         * resolv/res_mkquery.c: Likewise.
49788         * resolv/tst-aton.c: Likewise.
49789         * stdlib/cxa_atexit.c: Likewise.
49790         * stdlib/cxa_finalize.c: Likewise.
49791         * stdlib/gen-fpioconst.c: Likewise.
49792         * stdlib/strtol_l.c: Likewise.
49793         * string/tst-endian.c: Likewise.
49794         * sunrpc/auth_des.c: Likewise.
49795         * sunrpc/clnt_udp.c: Likewise.
49796         * sunrpc/rtime.c: Likewise.
49797         * sunrpc/svcauth_des.c: Likewise.
49798         * sunrpc/xdr.c: Likewise.
49799         * sunrpc/xdr_intXX_t.c: Likewise.
49800         * sunrpc/xdr_rec.c: Likewise.
49801         * sysdeps/generic/ldconfig.h: Likewise.
49802         * sysdeps/generic/ldsodefs.h: Likewise.
49803         * sysdeps/generic/memusage.h: Likewise.
49804         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49805         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49806         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49807         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49809         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49810         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49811         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49812         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49814         * sysdeps/posix/getaddrinfo.c: Likewise.
49815         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49816         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49817         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49818         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49819         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49820         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49821         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49822         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49823         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49824         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49825         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49826         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49827         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49828         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49829         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49830         * sysdeps/x86_64/dl-tls.h: Likewise.
49831         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49832         * time/alt_digit.c: Likewise.
49833         * time/era.c: Likewise.
49834         * wcsmbs/tst-c16c32-1.c: Likewise.
49836 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49838         * math/libm-test.inc (struct test_sincos_data): New type.
49839         (RUN_TEST_LOOP_sincos): New macro.
49840         (sincos_test_data): New variable.
49841         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49843 2013-05-16  Richard Henderson  <rth@redhat.com>
49845         * math/atest-exp2.c (LIMB64): New macro.
49846         (CONSTSZ): New macro.
49847         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49848         (hexdig): Move ...
49849         (print_mpn_fp): ... to function scope.
49850         (read_mpn_hex): Remove.
49851         (get_log2): Remove.
49852         (exp2_mpn): Use mp_log2.
49853         (main): Use mp_exp1.
49855 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49857         * math/libm-test.inc: Remove comment about not testing "inexact"
49858         exceptions.
49859         (INEXACT_EXCEPTION): New macro.
49860         (NO_INEXACT_EXCEPTION): Likewise.
49861         (INVALID_EXCEPTION_OK): Update value.
49862         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49863         (OVERFLOW_EXCEPTION_OK): Likewise.
49864         (UNDERFLOW_EXCEPTION_OK): Likewise.
49865         (IGNORE_ZERO_INF_SIGN): Likewise.
49866         (ERRNO_UNCHANGED): Likewise.
49867         (ERRNO_EDOM): Likewise.
49868         (ERRNO_ERANGE): Likewise.
49869         (test_exceptions): Handle testing "inexact" exceptions.
49870         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49871         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49872         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49873         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49874         INEXACT_EXCEPTION.
49875         (rint_towardzero_test_data): Likewise.
49876         (rint_downward_test_data): Likewise.
49877         (rint_upward_test_data): Likewise.
49879         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49880         with OVERFLOW_EXCEPTION.
49881         (exp10_test_data): Likewise.
49882         (exp2_test_data): Likewise.
49883         (expm1_test_data): Likewise.
49884         (lgamma_test_data): Likewise.
49885         (pow_test_data): Likewise.
49886         (tgamma_test_data): Likewise.
49887         (yn_test_data): Remove duplicate test of overflow.
49889         * math/libm-test.inc (struct test_cc_c_data): New type.
49890         (RUN_TEST_LOOP_cc_c): New macro.
49891         (cpow_test_data): New variable.
49892         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49894         * math/libm-test.inc (struct test_f_L_data): New type.
49895         (RUN_TEST_LOOP_f_L): New macro.
49896         (llrint_test_data): New variable.
49897         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49898         (llrint_tonearest_test_data): New variable.
49899         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49900         (llrint_towardzero_test_data): New variable.
49901         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49902         (llrint_downward_test_data): New variable.
49903         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49904         (llrint_upward_test_data): New variable.
49905         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49906         (llround_test_data): New variable.
49907         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49909 2013-05-13  Peter Collingbourne  <pcc@google.com>
49911         * math/atest-exp2.c (get_log2): Remove const attribute.
49913 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49915         * math/libm-test.inc (struct test_f_l_data): New type.
49916         (RUN_TEST_LOOP_f_l): New macro.
49917         (lrint_test_data): New variable.
49918         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49919         (lrint_tonearest_test_data): New variable.
49920         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49921         (lrint_towardzero_test_data): New variable.
49922         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49923         (lrint_downward_test_data): New variable.
49924         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49925         (lrint_upward_test_data): New variable.
49926         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49927         (lround_test_data): New variable.
49928         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49930 2013-05-15  Peter Collingbourne  <pcc@google.com>
49932         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49933         (EXTRACT_WORDS64) Use where appropriate.
49934         (INSERT_WORDS64) Likewise.
49936         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49937         constraints with x constraints.
49938         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49940         * malloc/obstack.c (_obstack_compat): Add initializer.
49942 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49945         si_trapno and add si_addr_lsb to _sifields.sigfault.
49946         (si_trapno): Remove macro.
49947         (si_addr_lsb): Define new macro.
49948         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49950 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49952         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49953         instead of TEST_f_l.
49954         (llrint_test_tonearest): Likewise.
49955         (llrint_test_towardzero): Likewise.
49956         (llrint_test_downward): Likewise.
49957         (llrint_test_upward): Likewise.
49958         (llround_test): Likewise.
49960         * math/libm-test.inc (struct test_f_i_data): Add comment.
49961         (RUN_TEST_LOOP_f_b): New macro.
49962         (RUN_TEST_LOOP_f_b_tg): Likewise.
49963         (finite_test_data): New variable.
49964         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49965         (isfinite_test_data): New variable.
49966         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49967         (isinf_test_data): New variable.
49968         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49969         (isnan_test_data): New variable.
49970         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49971         (isnormal_test_data): New variable.
49972         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49973         (issignaling_test_data): New variable.
49974         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49975         (signbit_test_data): New variable.
49976         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49978         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49979         with INVALID_EXCEPTION.
49980         (acosh_test_data): Likewise.
49981         (asin_test_data): Likewise.
49982         (atanh_test_data): Likewise.
49983         (fmod_test_data): Likewise.
49984         (log_test_data): Likewise.
49985         (log10_test_data): Likewise.
49986         (log2_test_data): Likewise.
49987         (pow_test_data): Likewise.
49988         (sqrt_test_data): Likewise.
49989         (y0_test_data): Likewise.
49990         (y1_test_data): Likewise.
49991         (yn_test_data): Likewise.
49993         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49994         function contents.
49996         * math/libm-test.inc (struct test_ff_i_data): New type.
49997         (RUN_TEST_LOOP_ff_i_tg): New macro.
49998         (isgreater_test_data): New variable.
49999         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50000         (isgreaterequal_test_data): New variable.
50001         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50002         (isless_test_data): New variable.
50003         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50004         (islessequal_test_data): New variable.
50005         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50006         (islessgreater_test_data): New variable.
50007         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50008         (isunordered_test_data): New variable.
50009         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50011 2013-05-14  David S. Miller  <davem@davemloft.net>
50013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50015 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50017         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50019         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50020         extra_test to int.
50021         (struct test_f_i_data): Change type of max_ulp to int.
50023         * math/libm-test.inc (test_ffI_f1_data): New type.
50024         (RUN_TEST_LOOP_ffI_f1): New macro.
50025         (remquo_test_data): New variable.
50026         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50028         * setjmp/tst-setjmp-fp.c: New file.
50029         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50030         (link-libm): New variable.
50031         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50033         * math/libm-test.inc (struct test_f_i_data): New type.
50034         (RUN_TEST_LOOP_f_i): New macro.
50035         (RUN_TEST_LOOP_f_i_tg): Likewise.
50036         (fpclassify_test_data): New variable.
50037         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50038         (ilogb_test_data): New variable.
50039         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50041         * math/libm-test.inc (scalbln_test): Correct function name in END
50042         call.
50044         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50045         (RUN_TEST_LOOP_fI_f1): New macro.
50046         (frexp_test_data): New variable.
50047         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50049         * math/libm-test.inc (struct test_fF_f1_data): New type.
50050         (RUN_TEST_LOOP_fF_f1): New macro.
50051         (modf_test_data): New variable.
50052         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50054         * math/libm-test.inc (struct test_f_f1_data): New type.
50055         (RUN_TEST_LOOP_f_f1): New macro.
50056         (gamma_test_data): New variable.
50057         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50058         (lgamma_test_data): New variable.
50059         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50061 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50063         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50064         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50065         (main): Comment "tls" pseudo-hwcap.
50067 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50069         * math/libm-test.inc (struct test_fl_f_data): New type.
50070         (RUN_TEST_LOOP_fl_f): New variable.
50071         (scalbln_test_data): New variable.
50072         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50074         * math/libm-test.inc (struct test_fi_f_data): New type.
50075         (RUN_TEST_LOOP_fi_f): New macro.
50076         (ldexp_test_data): New variable.
50077         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50078         (scalbn_test_data): New variable.
50079         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50081         * math/libm-test.inc (struct test_c_f_data): New type.
50082         (RUN_TEST_LOOP_c_f): New macro.
50083         (cabs_test_data): New variable.
50084         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50085         (carg_test_data): New variable.
50086         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50087         (cimag_test_data): New variable.
50088         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50089         (creal_test_data): New variable.
50090         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50092         * math/libm-test.inc (struct test_if_f_data): New type.
50093         (RUN_TEST_LOOP_if_f): New macro.
50094         (jn_test_data): New variable.
50095         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50096         (yn_test_data): New variable.
50097         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50099         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50101 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50103         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50104         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50106 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50108         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50109         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50110         (bench-deps): Add bench-timing.h.
50111         * benchtests-bench-skeleton.c: Include bench-timing.h.
50112         (main): Use TIMING_* macros instead of clock_gettime.
50113         * benchtests/bench-timing.h: New file.
50115         [BZ #14582]
50116         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50117         Renamed from _LIB_VERSION.
50118         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50120 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50122         * math/libm-test.inc (struct test_fff_f_data): New type.
50123         (RUN_TEST_LOOP_fff_f): New macro.
50124         (fma_test_data): New variable.
50125         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50126         (fma_towardzero_test_data): New variable.
50127         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50128         (fma_downward_test_data): New variable.
50129         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50130         (fma_upward_test_data): New variable.
50131         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50133         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50134         (struct test_c_c_data): New type.
50135         (RUN_TEST_LOOP_c_c): New macro.
50136         (cacos_test_data): New variable.
50137         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50138         (cacosh_test_data): New variable.
50139         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50140         (casin_test_data): New variable.
50141         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50142         (casinh_test_data): New variable.
50143         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50144         (catan_test_data): New variable.
50145         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50146         (catanh_test_data): New variable.
50147         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50148         (ccos_test_data): New variable.
50149         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50150         (ccosh_test_data): New variable.
50151         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50152         (cexp_test_data): New variable.
50153         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50154         (clog_test_data): New variable.
50155         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50156         (clog10_test_data): New variable.
50157         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50158         (conj_test_data): New variable.
50159         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50160         (cproj_test_data): New variable.
50161         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50162         (csin_test_data): New variable.
50163         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50164         (csinh_test_data): New variable.
50165         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50166         (csqrt_test_data): New variable.
50167         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50168         (ctan_test_data): New variable.
50169         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50170         (ctan_tonearest_test_data): New variable.
50171         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50172         (ctan_towardzero_test_data): New variable.
50173         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50174         (ctan_downward_test_data): New variable.
50175         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50176         (ctan_upward_test_data): New variable.
50177         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50178         (ctanh_test_data): New variable.
50179         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50180         (ctanh_tonearest_test_data): New variable.
50181         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50182         (ctanh_towardzero_test_data): New variable.
50183         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50184         (ctanh_downward_test_data): New variable.
50185         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50186         (ctanh_upward_test_data): New variable.
50187         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50188         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50189         of BUILD_COMPLEX.
50191         * math/libm-test.inc (struct test_ff_f_data): New type.
50192         (struct test_ff_f_data_nexttoward): Likewise.
50193         (RUN_TEST_LOOP_2_f): New macro.
50194         (RUN_TEST_LOOP_ff_f): Likewise.
50195         (atan2_test_data): New variable.
50196         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50197         (copysign_test_data): New variable.
50198         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50199         (fdim_test_data): New variable.
50200         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50201         (fmax_test_data): New variable.
50202         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50203         (fmin_test_data): New variable.
50204         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50205         (fmod_test_data): New variable.
50206         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50207         (hypot_test_data): New variable.
50208         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50209         (nextafter_test_data): New variable.
50210         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50211         (nexttoward_test_data): New variable.
50212         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50213         (pow_test_data): New variable.
50214         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50215         (pow_tonearest_test_data): New variable.
50216         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50217         (pow_towardzero_test_data): New variable.
50218         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50219         (pow_downward_test_data): New variable.
50220         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50221         (pow_upward_test_data): New variable.
50222         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50223         (remainder_test_data): New variable.
50224         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50225         (scalb_test_data): New variable.
50226         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50227         * sysdeps/i386/fpu/libm-test-ulps: Update.
50229 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50231         * math/libm-test.inc (fma_test): Use max_value instead of local
50232         variable fltmax.
50233         (nextafter_test): Likewise.
50235         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50236         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50237         (acos_downward_test_data): New variable.
50238         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50239         (acos_upward_test_data): New variable.
50240         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50241         (acosh_test_data): New variable.
50242         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50243         (asin_test_data): New variable.
50244         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50245         (asin_tonearest_test_data): New variable.
50246         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50247         (asin_towardzero_test_data): New variable.
50248         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50249         (asin_downward_test_data): New variable.
50250         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50251         (asin_upward_test_data): New variable.
50252         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50253         (asinh_test_data): New variable.
50254         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50255         (atan_test_data): New variable.
50256         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50257         (atanh_test_data): New variable.
50258         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50259         (cbrt_test_data): New variable.
50260         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50261         (ceil_test_data): New variable.
50262         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50263         (cos_test_data): New variable.
50264         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50265         (cos_tonearest_test_data): New variable.
50266         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50267         (cos_towardzero_test_data): New variable.
50268         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50269         (cos_downward_test_data): New variable.
50270         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50271         (cos_upward_test_data): New variable.
50272         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50273         (cosh_test_data): New variable.
50274         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50275         (cosh_tonearest_test_data): New variable.
50276         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50277         (cosh_towardzero_test_data): New variable.
50278         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50279         (cosh_downward_test_data): New variable.
50280         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50281         (cosh_upward_test_data): New variable.
50282         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50283         (erf_test_data): New variable.
50284         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50285         (erfc_test_data): New variable.
50286         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50287         (exp_test_data): New variable.
50288         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50289         (exp_tonearest_test_data): New variable.
50290         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50291         (exp_towardzero_test_data): New variable.
50292         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50293         (exp_downward_test_data): New variable.
50294         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50295         (exp_upward_test_data): New variable.
50296         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50297         (exp10_test_data): New variable.
50298         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50299         (exp2_test_data): New variable.
50300         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50301         (expm1_test_data): New variable.
50302         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50303         (fabs_test_data): New variable.
50304         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50305         (floor_test_data): New variable.
50306         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50307         (j0_test_data): New variable.
50308         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50309         (j1_test_data): New variable.
50310         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50311         (log_test_data): New variable.
50312         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50313         (log10_test_data): New variable.
50314         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50315         (log1p_test_data): New variable.
50316         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50317         (log2_test_data): New variable.
50318         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50319         (logb_test_data): New variable.
50320         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50321         (logb_downward_test_data): New variable.
50322         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50323         (nearbyint_test_data): New variable.
50324         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50325         (rint_test_data): New variable.
50326         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50327         (rint_tonearest_test_data): New variable.
50328         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50329         (rint_towardzero_test_data): New variable.
50330         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50331         (rint_downward_test_data): New variable.
50332         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50333         (rint_upward_test_data): New variable.
50334         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50335         (round_test_data): New variable.
50336         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50337         (sin_test_data): New variable.
50338         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50339         (sin_tonearest_test_data): New variable.
50340         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50341         (sin_towardzero_test_data): New variable.
50342         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50343         (sin_downward_test_data): New variable.
50344         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50345         (sin_upward_test_data): New variable.
50346         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50347         (sinh_test_data): New variable.
50348         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50349         (sinh_tonearest_test_data): New variable.
50350         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50351         (sinh_towardzero_test_data): New variable.
50352         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50353         (sinh_downward_test_data): New variable.
50354         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50355         (sinh_upward_test_data): New variable.
50356         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50357         (sqrt_test_data): New variable.
50358         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50359         (tan_test_data): New variable.
50360         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50361         (tan_tonearest_test_data): New variable.
50362         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50363         (tan_towardzero_test_data): New variable.
50364         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50365         (tan_downward_test_data): New variable.
50366         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50367         (tan_upward_test_data): New variable.
50368         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50369         (tanh_test_data): New variable.
50370         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50371         (tgamma_test_data): New variable.
50372         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50373         (trunc_test_data): New variable.
50374         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50375         (y0_test_data): New variable.
50376         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50377         (y1_test_data): New variable.
50378         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50379         (significand_test_data): New variable.
50380         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50382 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50384         [BZ #12387]
50385         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50387 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50389         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50391 2013-05-10  Andreas Jaeger  <aj@suse.de>
50393         [BZ #15448]
50394         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50395         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50397 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50399         * math/gen-libm-test.pl (adjust_arg): New function.
50400         (special_functions): Handle generating output in both functions
50401         and arrays.
50402         (parse_args): Likewise.
50403         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50404         $in_func argument to parse_args.
50405         * math/libm-test.inc (struct test_f_f_data): New type.
50406         (IF_ROUND_INIT_): New macro.
50407         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50408         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50409         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50410         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50411         (ROUND_RESTORE_): Likewise.
50412         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50413         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50414         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50415         (ROUND_RESTORE_FE_UPWARD): Likewise.
50416         (RUN_TEST_LOOP_f_f): New macro.
50417         (acos_test_data): New variable.
50418         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50419         (acos_tonearest_test_data): New variable.
50420         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50422 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50424         * benchtests/bench-skeleton.c (startup): Fix coding style.
50426 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50428         [BZ #6809]
50429         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50430         negative infinity argument.
50431         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50432         negative infinity argument.
50433         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50434         negative infinity argument.
50435         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50436         domain errors.
50438 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50440         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50441         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50442         * iconv/iconv_prog.c (main): Likewise.
50443         * locale/programs/charmap-dir.c (charmap_readdir)
50444         (fopen_uncompressed): Likewise.
50445         * locale/programs/locfile.c (siblings_uncached)
50446         (write_locale_data): Use lstat64 instead of lstat.
50447         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50448         stat.
50450 2013-05-10  Andreas Jaeger  <aj@suse.de>
50452         [BZ #15395]
50453         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50454         localization.
50455         Include <locale.h>.
50457 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50459         * elf/dl-close.c (_dl_close_worker): Add comments.
50461 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50463         [BZ #15359]
50464         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50465         high part of pi/2.
50466         (__ieee754_rem_pio2l): Update comments.
50468         [BZ #15429]
50469         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50470         high part of pi/2.
50471         (__ieee754_rem_pio2l): Update comments.
50473         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50474         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50476         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50477         M_PI_4l.
50479         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50480         (M_PI_34_LOG10El): Likewise.
50481         (M_PI2_LOG10El): Likewise.
50482         (M_PI4_LOG10El): Likewise.
50483         (M_PI_LOG10El): Likewise.
50485 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50489 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50491         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50492         (MINUS_ZERO_INIT): Likewise.
50493         (PLUS_INFTY_INIT): Likewise.
50494         (MINUS_INFTY_INIT): Likewise.
50495         (QNAN_VALUE_INIT): Likewise.
50496         (MAX_VALUE_INIT): Likewise.
50497         (MIN_VALUE_INIT): Likewise.
50498         (MIN_SUBNORM_VALUE_INIT): Likewise.
50499         (plus_zero): Initialize with PLUS_ZERO_INIT.
50500         (minus_zero): Initialize with MINUS_ZERO_INIT.
50501         (plus_infty): Initialize with PLUS_INFTY_INIT.
50502         (minus_infty): Initialize with MINUS_INFTY_INIT.
50503         (qnan_value): Initialize with QNAN_VALUE_INIT.
50504         (max_value): Initialize with MAX_VALUE_INIT.
50505         (min_value): Initialize with MIN_VALUE_INIT.
50506         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50508         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50509         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50510         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50511         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50513         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50514         (RUN_TEST_2_f): Likewise.
50515         (RUN_TEST_ff_f): Likewise.
50516         (RUN_TEST_fi_f): Likewise.
50517         (RUN_TEST_fl_f): Likewise.
50518         (RUN_TEST_fff_f): Likewise.
50519         (RUN_TEST_c_f): Likewise.
50520         (RUN_TEST_f_f1): Likewise.
50521         (RUN_TEST_fF_f1): Likewise.
50522         (RUN_TEST_fI_f1): Likewise.
50523         (RUN_TEST_ffI_f1): Likewise.
50524         (RUN_TEST_c_c): Likewise.
50525         (RUN_TEST_cc_c): Likewise.
50526         (RUN_TEST_f_i): Likewise.
50527         (RUN_TEST_f_i_tg): Likewise.
50528         (RUN_TEST_ff_i_tg): Likewise.
50529         (RUN_TEST_f_b): Likewise.
50530         (RUN_TEST_f_b_tg): Likewise.
50531         (RUN_TEST_f_l): Likewise.
50532         (RUN_TEST_f_L): Likewise.
50533         (RUN_TEST_sincos): Likewise.
50534         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50535         whether to show exceptions.  Do not include ");\n" in return
50536         value.
50537         (special_functions): Output call to RUN_TEST_sincos instead of
50538         check_float calls.  Update calls to new_test.
50539         (parse_args): Output call to single RUN_TEST_* macro instead of
50540         check_* calls and other assignments.  Update calls to new_test.
50542         [BZ #2546]
50543         [BZ #2560]
50544         [BZ #5159]
50545         [BZ #15426]
50546         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50547         input to result for tgamma overflow.
50548         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50549         (gamma_coeff): New variable.
50550         (NCOEFF): New macro.
50551         (gamma_positive): New function.
50552         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50553         underflow here.  Use gamma_positive instead of exp (lgamma) for
50554         other arguments.
50555         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50556         (gamma_coeff): New variable.
50557         (NCOEFF): New macro.
50558         (gammaf_positive): New function.
50559         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50560         underflow here.  Use gamma_positive instead of exp (lgamma) for
50561         other arguments.
50562         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50563         (gamma_coeff): New variable.
50564         (NCOEFF): New macro.
50565         (gammal_positive): New function.
50566         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50567         underflow here.  Use gamma_positive instead of exp (lgamma) for
50568         other arguments.
50569         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50570         (gamma_coeff): New variable.
50571         (NCOEFF): New macro.
50572         (gammal_positive): New function.
50573         (__ieee754_gammal_r): Handle positive infinity, overflow and
50574         underflow here.  Handle NaN the same as positive infinity.  Remove
50575         check x < 0xffffffff for negative integers.  Use gamma_positive
50576         instead of exp (lgamma) for other arguments.
50577         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50578         (gamma_coeff): New variable.
50579         (NCOEFF): New macro.
50580         (gammal_positive): New function.
50581         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50582         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50585         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50586         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50587         * sysdeps/generic/math_private.h (__gamma_productf): New
50588         prototype.
50589         (__gamma_product): Likewise.
50590         (__gamma_productl): Likewise.
50591         * math/Makefile (libm-calls): Add gamma_product.
50592         * math/libm-test.inc (tgamma_test): Add more tests.
50593         * sysdeps/i386/fpu/libm-test-ulps: Update.
50594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50596 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50598         * benchtests/bench-skeleton.c (main): Preheat CPU.
50600 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50602         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50604 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50606         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50607         and _dl_skip_args_internal.
50609 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50611         * manual/message.texi (Message Translation): Talk about users.
50612         Message to key mapping impacts design.
50614 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50616         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50618         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50620         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50621         * sysdeps/wordsize-64/glob64.c: ... here.
50623         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50624         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50625         New macros.
50627         * debug/getlogin_r_chk.c: Moved to ...
50628         * login/getlogin_r_chk.c: ... here.
50629         * debug/Makefile (routines): Move getlogin_r_chk to ...
50630         * login/Makefile (routines): ... here.
50631         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50632         * login/Versions (libc: GLIBC_2.4): ... here.
50634         * io/poll.c (__poll): Renamed from poll.
50635         Add libc_hidden_def.
50636         (poll): Define as weak alias.
50638         * debug/ptsname_r_chk.c: Moved to ...
50639         * login/ptsname_r_chk.c: ... here.
50640         * debug/Makefile (routines): Move ptsname_r_chk to ...
50641         * login/Makefile (routines): ... here.
50642         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50643         * login/Versions (libc: GLIBC_2.4): ... here.
50645         * posix/getlogin.c: Moved to ...
50646         * login/getlogin.c: ... here.
50647         * posix/getlogin_r.c: Moved to ...
50648         * login/getlogin_r.c: ... here.
50649         * posix/getlogin_r.c: Moved to ...
50650         * login/getlogin_r.c: ... here.
50651         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50652         * login/Makefile (routines): ... here.
50653         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50654         * login/Versions (libc: GLIBC_2.0): ... here.
50656         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50657         (setrlimit): Define as weak alias.
50659         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50660         Call __ names for open, ftruncate, and close.
50661         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50662         (truncate): Define as weak alias.
50664 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50666         * math/gen-libm-test.pl (parse_args): Initialize x before each
50667         test of frexp, modf and remquo.
50669         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50670         test signgam value.
50672 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50674         [BZ #15418]
50675         [BZ #15419]
50676         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50677         internal tests.
50678         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50680 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50682         * elf/dl-writev.h: New file.
50683         * elf/dl-misc.c: Include it.
50684         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50685         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50687 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50689         * math/libm-test.inc (noXFails): Remove variable.
50690         (noXPasses): Likewise.
50691         (BUILD_COMPLEX_INT): Remove macro.
50692         (print_screen): Remove xfail argument.
50693         (print_screen_max_error): Likewise.
50694         (update_stats): Likewise.
50695         (print_max_error): Likewise.  Update calls to other affected
50696         functions.
50697         (print_complex_max_error): Likewise.
50698         (test_single_exception): Update calls to print_screen.
50699         (test_single_errno): Likewise.
50700         (check_float_internal): Remove xfail argument.  Update calls to
50701         other affected functions.
50702         (check_float): Likewise.
50703         (check_complex): Likewise.
50704         (check_int): Likewise.
50705         (check_long): Likewise.
50706         (check_bool): Likewise.
50707         (check_longlong): Likewise.
50708         (main): Don't print noXFails and noXPasses.
50709         * math/gen-libm-test.pl (top level): Don't mention expected
50710         failure handling in comment.
50711         (new_test): Don't handle expected failures.
50712         (parse_args): Don't mention expected failure handling in comment.
50713         (generate_testfile): Don't handle expected failures.
50714         (parse_ulps): Likewise.
50715         (print_ulps_file): Likewise.
50716         (get_failure): Remove function.
50717         (output_test): Don't handle expected failures.
50718         * make/README.libm-test: Don't mention expected failure handling.
50720         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50721         (minus_zero): Likewise.
50722         (plus_infty): Likewise.
50723         (minus_infty): Likewise.
50724         (qnan_value): Likewise.
50725         (max_value): Likewise.
50726         (min_value): Likewise.
50727         (min_subnorm_value): Likewise.
50728         (initialize): Do not initialize those variables dynamically.
50730 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50732         * io/open.c (__open_2): Moved to ...
50733         * io/open_2.c: ... this new file.
50734         * io/open64.c (__open64_2): Moved to ...
50735         * io/open64_2.c: ... this new file.
50736         * io/openat.c (__openat_2): Moved to ...
50737         * io/openat_2.c: ... this new file.
50738         * io/openat64.c (__openat64_2): Moved to ...
50739         * io/openat64_2.c: ... this new file.
50740         * io/Makefile (routines): Add them.
50741         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50742         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50743         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50744         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50745         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50746         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50747         (__openat64): Add hidden_ver.
50748         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50749         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50751         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50752         Separately conditionalize setting of GLRO(dl_sysinfo) so
50753         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50754         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50756 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50758         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50759         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50760         definition.
50761         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50762         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50763         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50764         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50765         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50767 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50769         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50770         test signgam value.
50772         * math/libm-test.inc (hypot_test): Do not use
50773         IGNORE_ZERO_INF_SIGN.
50775 2013-05-03  Andreas Jaeger  <aj@suse.de>
50777         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50778         Linux 3.9.
50779         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50780         (PF_MAX): Adjust for VSOCK change.
50782 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50786 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50788         [BZ #15264]
50789         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50790         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50791         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50793 2013-05-02  David S. Miller  <davem@davemloft.net>
50795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50797 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50799         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50801 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50803         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50805 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50807         [BZ #14952]
50808         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50809         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50810         Use __attribute__ ((__gnu_inline__)).
50811         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50812         Don't use __attribute__ ((__gnu_inline__)).
50814 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50816         [BZ #15423]
50817         * math/s_catan.c (__catan): Handle small real or imaginary part of
50818         input specially to avoid spurious underflow.
50819         * math/s_catanf.c (__catanf): Likewise.
50820         * math/s_catanh.c (__catanh): Likewise.
50821         * math/s_catanhf.c (__catanhf): Likewise.
50822         * math/s_catanhl.c (__catanhl): Likewise.
50823         * math/s_catanl.c (__catanl): Likewise.
50824         * math/libm-test.inc (catan_test): Add more tests.
50825         (catanh_test): Likewise.
50826         * sysdeps/i386/fpu/libm-test-ulps: Update.
50827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50829 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50833 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50835         [BZ #15416]
50836         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50837         accurately for denominator in atan2.
50838         * math/s_catanf.c (__catanf): Likewise.
50839         * math/s_catanh.c (__catanh): Likewise.
50840         * math/s_catanhf.c (__catanhf): Likewise.
50841         * math/s_catanhl.c (__catanhl): Likewise.
50842         * math/s_catanl.c (__catanl): Likewise.
50843         * math/libm-test.inc (catan_test): Add more tests.
50844         (catanh_test): Likewise.
50845         * sysdeps/i386/fpu/libm-test-ulps: Update.
50846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50848 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50850         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50852         * benchtests/Makefile (bench): Remove slow benchmarks.
50853         * benchtests/atan-inputs: Add slow benchmark inputs.
50854         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50855         (BENCH_FUNC): Accept variant offset.
50856         (VARIANT): Define.
50857         * benchtests/bench-skeleton.c (main): Run benchmark for each
50858         variant.
50859         * benchtests/cos-inputs: Add slow benchmark inputs.
50860         * benchtests/exp-inputs: Likewise.
50861         * benchtests/pow-inputs: Likewise.
50862         * benchtests/sin-inputs: Likewise.
50863         * benchtests/slowatan-inputs: Remove.
50864         * benchtests/slowatan.c: Remove.
50865         * benchtests/slowcos-inputs: Remove.
50866         * benchtests/slowcos.c: Remove.
50867         * benchtests/slowexp-inputs: Remove.
50868         * benchtests/slowexp.c: Remove.
50869         * benchtests/slowpow-inputs: Remove.
50870         * benchtests/slowpow.c: Remove.
50871         * benchtests/slowsin-inputs: Remove.
50872         * benchtests/slowsin.c: Remove.
50873         * benchtests/slowtan-inputs: Remove.
50874         * benchtests/slowtan.c: Remove.
50875         * benchtests/tan-inputs: Add slow benchmark inputs.
50876         * scripts/bench.pl: Parse comments and directives.
50878         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50879         in CPPFLAGS.
50880         ($(objpfx)bench-%.c): Remove *-ITER.
50881         * benchtests/bench-modf.c: Remove definition of ITER.
50882         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50883         (main): Loop for DURATION seconds instead of fixed number of
50884         iterations.
50885         * scripts/bench.pl: Don't expect iterations in parameters.
50887 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50889         * io/fchdir.c (__fchdir): Renamed from fchdir.
50890         (fchdir): Define as weak alias.
50892 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50894         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50895         (ERRNO_EDOM): Likewise.
50896         (ERRNO_ERANGE): Likewise.
50897         (noErrnoTests): New variable.
50898         (init_max_error): Set errno to 0.
50899         (test_single_errno): New function.
50900         (test_errno): Likewise.
50901         (check_float_internal): Call test_errno.  Set errno to 0.
50902         (check_complex): Refer to errno tests in comment.
50903         (check_int): Call test_errno.  Set errno to 0.
50904         (check_long): Likewise.
50905         (check_bool): Likewise.
50906         (check_longlong): Likewise.
50907         (cos_test): Use ERRNO_* flags for errno tests instead of
50908         check_int.
50909         (expm1_test): Likewise.
50910         (fmod_test): Likewise.
50911         (ilogb_test): Likewise.
50912         (lgamma_test): Likewise.
50913         (pow_test): Likewise.
50914         (remainder_test): Likewise.
50915         (sin_test): Likewise.
50916         (tan_test): Likewise.
50917         (yn_test): Likewise.
50918         (initialize): Set errno to 0.
50919         (main): Print number of errno tests.
50920         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50922 2013-04-29  Andreas Jaeger  <aj@suse.de>
50924         [BZ #15084]
50925         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50926         and RES_USEVC.
50928         [BZ #15085]
50929         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50930         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50931         unimplemented.
50933         [BZ #15380]
50934         * stdlib/random.c (__initstate): Return NULL if
50935         __initstate fails.
50937         [BZ #15086]
50938         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50939         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50940         RES_SNGLKUPREOP.
50942 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50946 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50948         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50949         of individual tests.
50950         (casin_test): Likewise.
50951         (casinh_test): Likewise.
50953 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50955         [BZ #15409]
50956         * math/s_catan.c (__catan): Handle arguments with large real or
50957         imaginary part separately without squaring.
50958         * math/s_catanf.c (__catanf): Likewise.
50959         * math/s_catanh.c (__catanh): Likewise.
50960         * math/s_catanhf.c (__catanhf): Likewise.
50961         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50962         and redefine.
50963         (__catanhl): Handle arguments with large real or imaginary part
50964         separately without squaring.
50965         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50966         and redefine.
50967         (__catanl): Handle arguments with large real or imaginary part
50968         separately without squaring.
50969         * math/libm-test.inc (catan_test): Add more tests.
50970         (catanh_test): Likewise.
50971         * sysdeps/i386/fpu/libm-test-ulps: Update.
50972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50974 2013-04-27  Andreas Jaeger  <aj@suse.de>
50976         [BZ #15007]
50977         * stdlib/stdlib.h: Update guards for qecvt.
50978         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50979         <stdlib.h>.
50981 2013-04-27  Allan McRae  <allan@archlinux.org>
50983         * sysdeps/i386/fpu/libm-test-ulps: Update.
50985 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50987         [BZ #15406]
50988         * math/s_catan.c: Include <float.h>.
50989         (__catan): Ensure underflow exception occurs for underflowed
50990         result.
50991         * math/s_catanf.c: Include <float.h>.
50992         (__catanf): Ensure underflow exception occurs for underflowed
50993         result.
50994         * math/s_catanh.c: Include <float.h>.
50995         (__catanh): Ensure underflow exception occurs for underflowed
50996         result.
50997         * math/s_catanhf.c: Include <float.h>.
50998         (__catanhf): Ensure underflow exception occurs for underflowed
50999         result.
51000         * math/s_catanhl.c: Include <float.h>.
51001         (__catanhl): Ensure underflow exception occurs for underflowed
51002         result.
51003         * math/s_catanl.c: Include <float.h>.
51004         (__catanl): Ensure underflow exception occurs for underflowed
51005         result.
51006         * math/libm-test.inc (catan_test): Add more tests.
51007         (catanh_test): Likewise.
51009         [BZ #15405]
51010         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51011         underflowed result.
51012         * math/s_ccoshf.c (__ccoshf): Likewise.
51013         * math/s_ccoshl.c (__ccoshl): Likewise.
51014         * math/s_csin.c (__csin): Likewise.
51015         * math/s_csinf.c (__csinf): Likewise.
51016         * math/s_csinh.c (__csinh): Likewise.
51017         * math/s_csinhf.c (__csinhf): Likewise.
51018         * math/s_csinhl.c (__csinhl): Likewise.
51019         * math/s_csinl.c (__csinl): Likewise.
51020         * math/libm-test.inc (ccos_test): Add more tests.
51021         (ccosh_test): Likewise.
51022         (csin_test): Likewise.
51023         (csinh_test): Likewise.
51025 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51027         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51028         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51029         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51030         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51031         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51032         powerpc/power5+/fpu folders.
51033         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51036 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51040 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51042         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51043         additions to variable.
51044         [$(config-machine) = x86_64] (modules-names): Likewise.
51045         ($(objpfx)tst-audit3): Remove dependency.
51046         ($(objpfx)tst-audit3.out): Likewise.
51047         ($(objpfx)tst-audit4): Likewise.
51048         ($(objpfx)tst-audit4.out): Likewise.
51049         ($(objpfx)tst-audit5): Likewise.
51050         ($(objpfx)tst-audit5.out): Likewise.
51051         ($(objpfx)tst-audit6): Likewise.
51052         ($(objpfx)tst-audit6.out): Likewise.
51053         ($(objpfx)tst-audit7): Likewise.
51054         ($(objpfx)tst-audit7.out): Likewise.
51055         (tst-audit3-ENV): Remove variable.
51056         (tst-audit4-ENV): Likewise.
51057         (tst-audit5-ENV): Likewise.
51058         (tst-audit6-ENV): Likewise.
51059         (tst-audit7-ENV): Likewise.
51060         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51061         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51062         addition to variable.
51063         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51064         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51065         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51066         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51067         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51068         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51069         tst-audit3, tst-audit4 and tst-audit5.
51070         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51071         tst-audit6 and tst-audit7.
51072         [$(subdir) = elf] (modules-names): Add audit modules for those
51073         tests.
51074         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51075         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51076         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51077         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51078         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51079         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51080         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51081         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51082         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51083         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51084         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51085         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51086         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51087         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51088         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51089         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51090         Likewise.
51091         [$(subdir) = elf && $(config-cflags-avx) = yes]
51092         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51093         [$(subdir) = elf && $(config-cflags-avx) = yes]
51094         (CFLAGS-tst-auditmod4a.c): Likewise.
51095         [$(subdir) = elf && $(config-cflags-avx) = yes]
51096         (CFLAGS-tst-auditmod4b.c): Likewise.
51097         [$(subdir) = elf && $(config-cflags-avx) = yes]
51098         (CFLAGS-tst-auditmod6b.c): Likewise.
51099         [$(subdir) = elf && $(config-cflags-avx) = yes]
51100         (CFLAGS-tst-auditmod6c.c): Likewise.
51101         [$(subdir) = elf && $(config-cflags-avx) = yes]
51102         (CFLAGS-tst-auditmod7b.c): Likewise.
51103         * elf/tst-audit3.c: Move to ...
51104         * sysdeps/x86_64/tst-audit3.c: ... here.
51105         * elf/tst-audit4.c: Move to ...
51106         * sysdeps/x86_64/tst-audit4.c: ... here.
51107         * elf/tst-audit5.c: Move to ...
51108         * sysdeps/x86_64/tst-audit5.c: ... here.
51109         * elf/tst-audit6.c: Move to ...
51110         * sysdeps/x86_64/tst-audit6.c: ... here.
51111         * elf/tst-audit7.c: Move to ...
51112         * sysdeps/x86_64/tst-audit7.c: ... here.
51113         * elf/tst-auditmod3a.c: Move to ...
51114         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51115         * elf/tst-auditmod3b.c: Move to ...
51116         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51117         * elf/tst-auditmod4a.c: Move to ...
51118         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51119         * elf/tst-auditmod4b.c: Move to ...
51120         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51121         * elf/tst-auditmod5a.c: Move to ...
51122         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51123         * elf/tst-auditmod5b.c: Move to ...
51124         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51125         * elf/tst-auditmod6a.c: Move to ...
51126         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51127         * elf/tst-auditmod6b.c: Move to ...
51128         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51129         * elf/tst-auditmod6c.c: Move to ...
51130         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51131         * elf/tst-auditmod7a.c: Move to ...
51132         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51133         * elf/tst-auditmod7b.c: Move to ...
51134         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51136 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51138         [BZ #15366]
51139         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51140         define unconditionally.
51141         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51142         define unconditionally.
51143         (INT8_C, INT16_C, etc.): Likewise.
51145 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51147         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51148         __ehdr_start with hidden visibility.
51150         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51152 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51154         * math/libm-test.inc (cos_test): Use accurate hex constants.
51155         (sincost_test): Likewise.
51157 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51159         * math/libm-test.inc (catan_test): Add more tests.
51160         (catanh_test): Likewise.
51162         * math/s_catanf.c (__catanf): Use suffixed floating-point
51163         constants.
51164         * math/s_catanhf.c (__catanhf): Likewise.
51165         * math/s_catanhl.c (__catanhl): Likewise.
51166         * math/s_catanl.c (__catanl): Likewise.
51168         [BZ #15394]
51169         * math/s_catan.c (__catan): Calculate imaginary part of result
51170         with log1p not log unless computing log of number close to 0.
51171         * math/s_catanf.c (__catanf): Likewise.
51172         * math/s_catanl.c (__catanl): Likewise.
51173         * math/s_catanh.c (__catanh): Calculate real part of result with
51174         log1p not log unless computing log of number close to 0.
51175         * math/s_catanhf.c (__catanhf): Likewise.
51176         * math/s_catanhl.c (__catanhl): Likewise.
51177         * math/libm-test.inc (catan_test): Add more tests.
51178         (catanh_test): Likewise.
51179         * sysdeps/i386/fpu/libm-test-ulps: Update.
51180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51182 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51184         * benchtests/Makefile: Mention files in which fast and slow
51185         paths of math functions are implemented.
51187 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51189         * sysdeps/posix/timespec_get.c: New file.
51191 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51193         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51194         POWER.
51195         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51196         for POWER.
51197         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51198         powerpc/power5/fpu folders.
51199         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51200         * benchtests/Makefile: Add modf testcase.
51201         * benchtests/bench-modf.c: New file: Benchmark test for mo
51203 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51205         [BZ #14888]
51206         * time/Makefile (tests): Add tst-strptime-whitespace.
51207         * time/strptime_l.c (get_number): Use ISSPACE.
51208         (__strptime_internal): Likewise.
51209         * time/tst-strptime-whitespace.c: New test case.
51211 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51213         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51214         member.
51215         (_nss_files_init): Set it here.
51217 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51219         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51220         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51221         unsigned.
51223 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51225         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51227 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51229         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51230         size just once.
51232 2013-04-21  David S. Miller  <davem@davemloft.net>
51234         * po/ru.po: Update Russion translation from translation project.
51236 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51238         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51239         and setfsgid.
51241 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51243         * configure.in: Remove i386 configure warning. Remove i386 case.
51244         * configure: Regenerate.
51245         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51246         Add example to error message.
51247         * sysdeps/i386/configure: Regenerate.
51249 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51251         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51252         slowtan.
51253         * benchtests/cos-inputs: New file.
51254         * benchtests/slowcos-inputs: New file.
51255         * benchtests/slowcos.c: New file.
51256         * benchtests/slowtan-inputs: New file.
51257         * benchtests/slowtan.c: New file.
51258         * benchtests/tan-inputs: New file.
51260 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51262         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51263         considered kosher.
51265 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51267         * benchtests/Makefile: Include cppflags-iterator.mk to add
51268         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51270         * Makefile.in (bench-clean): New target.
51271         * benchtests/Makefile (bench-clean): Likewise.
51273 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51275         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51277 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51279         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51281 2013-04-15  Andreas Schwab  <schwab@suse.de>
51283         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51285         * nscd/pwdcache.c (cache_addpw): Likewise.
51286         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51287         more than recsize.
51289 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51291         * benchtests/Makefile (bench): Write all output to
51292         bench-out.tmp together.
51294 2013-04-15  Andreas Schwab  <schwab@suse.de>
51296         * nscd/nscd.c (main): Don't fork again after closing files.
51298 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51300         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51302         * benchtests/Rules (bench-deps): Collect dependencies into a
51303         single variable.  Add Makefile to dependencies.
51304         ($(objpfx)bench-%.c): Depend on bench-deps.
51306 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51307             Xavier Roche  <roche+kml2@exalead.com>
51309         [BZ #15361]
51310         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51311         just that it's a file descriptor.
51312         * manual/llio.texi (Synchronizing AIO Operations): Update description
51313         for EBADF error from aio_fsync.
51315 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51317         * Rules (bench): Move target definition...
51318         * benchtests/Makefile: ... here.
51320 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51322         * math/libm-test.inc (cos_test): Fix PI/2 test.
51323         (sincos_test): Likewise.
51324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51325         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51327 2013-04-11  Andreas Schwab  <schwab@suse.de>
51329         [BZ #13988]
51330         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51331         accept exponent character only when digits were seen.
51332         * stdio-common/Makefile (tests): Add bug26.
51333         * stdio-common/bug26.c: New file.
51335         [BZ #14293]
51336         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51337         non-freeable.
51339 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51341         * Makeconfig (rtld-prefix): Define built linker prefix.
51342         * Rules (run-bench): Use it.
51343         * math/Makefile (run-regen-ulps): Likewise.
51345         * Rules (bench): Remove eval.
51347 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51348             Roland McGrath  <roland@hack.frob.com>
51349             Ondrej Bilka  <neleai@seznam.cz>
51351         [BZ #15346]
51352         * time/getdate.c: Include ctype.h and alloca.h.
51353         (__getdate_r): Trim leading and trailing spaces of input.
51354         * time/tst-getdate.c (tests): Add tests with leading and
51355         trailing spaces.
51357 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51359         [BZ #14280]
51360         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51361         when computing value.
51363 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51365         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51366         Use testrun.sh to run libm tests.
51368         [BZ #15309]
51369         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51371 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51373         [BZ #15264]
51374         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51376 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51378         * Makefile.in (regen-ulps): New target.
51379         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51380         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51381         [ifneq (no,$(PERL)] (regen-ulps): New target.
51382         [ifeq (no,$(PERL)] (regen-ulps): New target.
51383         * math/libm-test.inc (ulps_file_name): Define.
51384         (output_dir): New variable.
51385         (options): Add "output-dir" option.
51386         (parse_opt): Handle 'o' case.
51387         (main): If output_dir is non-NULL use it as a prefix
51388         otherwise use "".
51389         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51391 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51393         [BZ #10060, #10062]
51394         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51395         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51396         fail configure if __sync_val_compare_and_swap is not inlined.
51397         * sysdeps/i386/configure: Regenerate.
51398         * configure.in: Build for i686 when configured for i386.
51399         * configure: Regenerate.
51400         * README: Remove i386 reference.
51402 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51404         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51405         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51407 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51409         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51410         (lmsnanval): New variables.
51411         (F): Add conversion tests.
51412         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51413         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51415         * stdio-common/tstdiomisc.c (F): Properly collect individual
51416         tests' results.
51418         [BZ #14686, #15336]
51419         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51420         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51421         Instead, use input NaN values or generate a qNaN by arithmetic
51422         operation.  Also fix bugs to comply with the standard.
51423         * math/libm-test.inc (remainder_test): Add more tests.
51425         [BZ #15335, #15342]
51426         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51427         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51428         input NaN values or generate a qNaN by arithmetic operation.
51430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51431         unreachable code.
51433         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51434         definitions.
51436 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51438         [BZ #14478]
51439         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51440         underflowed result.
51441         * math/s_cexpf.c (__cexpf): Likewise.
51442         * math/s_cexpl.c (__cexpl): Likewise.
51443         * math/libm-test.inc (cexp_test): Add more tests.
51445 2013-04-03  Andreas Schwab  <schwab@suse.de>
51447         [BZ #15330]
51448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51449         order arrays from heap if bigger than alloca cutoff.
51451 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51453         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51454         (SNAN_TESTS_double): Refer to GCC PR56831.
51455         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51456         GCC PR56828.
51458 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51460         * Rules (bench): Move bench.out after the run is complete.
51462         * Rules (bench): Echo currently running benchmark.
51464         * benchtests/Makefile (bench): Add atan and slowatan.
51465         * benchtests/atan-inputs: New file.
51466         * benchtests/slowatan-inputs: New file.
51467         * benchtests/slowatan.c: New file.
51469         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51471         its value.
51473         [BZ #15305]
51474         * sysdeps/unix/sysv/linux/kernel-features.h
51475         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51476         __ASSUME_XFS_RESTRICTED_CHOWN.
51477         * sysdeps/unix/sysv/linux/pathconf.c
51478         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51479         Save and restore errno.
51481 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51483         [BZ #15327]
51484         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51485         arguments using __kernel_casinh.
51486         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51487         arguments using __kernel_casinhf.
51488         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51489         arguments using __kernel_casinhl.
51490         * math/libm-test.inc (cacosh_test): Add more tests.
51491         * sysdeps/i386/fpu/libm-test-ulps: Update.
51492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51494 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51496         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51497         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51499         * bench/Makefile (bench): Add sin and slowsin.
51500         * benchtests/sin-inputs: New file.
51501         * benchtests/slowsin-inputs: New file.
51502         * benchtests/slowsin.c: New file.
51504         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51505         (bench): Add slowexp and slowpow.
51506         (exp-ITER): Increase iterations.
51507         (pow-ITER): Likewise.
51508         * benchtests/exp-inputs: Change input.
51509         * benchtests/pow-inputs: Likewise.
51510         * benchtests/slowexp-inputs: New file.
51511         * benchtests/slowexp.c: New file.
51512         * benchtests/slowpow-inputs: New file.
51513         * benchtests/slowpow.c: New file.
51515 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51517         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51518         instructions.
51519         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51520         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51521         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51522         * benchtests/Makefile: Add rint benchtest.
51523         * benchtests/rint-inputs: Input for rint benchtest.
51525 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51527         * Versions.def (libm): Add GLIBC_2.18.
51528         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51529         hidden libm prototypes.
51530         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51531         * math/Makefile (libm-calls): Add s_issignaling.
51532         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51533         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51534         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51535         declaration.
51536         * math/math.h [__USE_GNU] (issignaling): New macro.
51537         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51538         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51539         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51540         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51541         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51543         * manual/arith.texi (issignaling): New section.
51544         * manual/libm-err-tab.pl (@all_functions): Update comment.
51545         * math/gen-libm-test.pl (parse_args): Apply special handling for
51546         issignaling.
51547         * math/libm-test.inc (print_float, issignaling_test): New
51548         functions.
51549         (check_float_internal): Add issignaling checks.
51550         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51551         default definition.
51552         * sysdeps/powerpc/math-tests.h: New file.
51553         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51554         tests.
51555         * math/test-snan.c (TEST_FUNC): Likewise.
51557 2013-03-30  David S. Miller  <davem@davemloft.net>
51559         * po/de.po: Update from translation team.
51561 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #10357]
51564         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51565         imaginary part less than 1.0 and real part less than 0.5
51566         specially.
51567         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51568         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51569         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51570         (cacos_test): Add more tests.
51571         (casin_test): Likewise.
51572         (casinh_test): Likewise.
51573         * sysdeps/i386/fpu/libm-test-ulps: Update.
51574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51576 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51578         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51579         ONE with its value.
51581         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51582         (__pow_mp): Replace ONE and MONE with their values.
51583         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51584         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51585         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51586         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51587         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51588         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51590         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51592         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51593         (__pow_mp): Replace ZERO and MZERO with their values.
51594         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51595         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51596         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51598         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51599         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51600         (__sqr): Likewise.
51602         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51604         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51606 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51608         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51609         Declare with __attribute__ ((weak)).
51610         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51611         Call __call_tls_dtors only if it's not NULL.
51613 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51615         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51616         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51617         magic __ehdr_start linker symbol if it's defined.
51618         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51619         them up here if it was already done.
51621         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51622         (_dl_aux_init): Use const in cast when setting it.
51623         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51624         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51625         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51627         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51628         Declare them here.
51629         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51630         * csu/libc-tls.c: Nor here.
51631         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51633         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51634         (__libc_message): Never call vsyslog.
51636 2013-03-28  Alan Modra  <amodra@gmail.com>
51638         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51639         Define as empty.
51640         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51641         Likewise.
51643 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51645         [BZ #15214]
51646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51647         underflow.
51648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51650 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51652         [BZ #15304]
51653         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51654         Don't add gid passed as argument.
51656         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51658 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51660         [BZ #15307]
51661         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51662         imaginary part between 1.0 and 1.5 and real part less than 0.5
51663         specially.
51664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51666         * math/libm-test.inc (cacos_test): Add more tests.
51667         (casin_test): Likewise.
51668         (casinh_test): Likewise.
51669         * sysdeps/i386/fpu/libm-test-ulps: Update.
51670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51672 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51674         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51675         constants.
51676         (norm): Likewise.
51677         (denorm): Likewise.
51678         (__dbl_mp): Likewise.
51679         (add_magnitudes): Likewise.
51680         (sub_magnitudes): Likewise.
51681         (__add): Likewise.
51682         (__sub): Likewise.
51683         (__mul): Likewise.
51684         (__sqr): Likewise.
51685         (__inv): Likewise.
51686         (__dvd): Likewise.
51688         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51689         commented code.
51690         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51691         (__dubcos): Likewise.
51692         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51693         (__ieee754_acos): Likewise.
51694         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51695         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51696         (__exp1): Likewise.
51697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51699         (log1): Likewise.
51700         (my_log2): Likewise.
51701         (checkint): Likewise.
51702         * sysdeps/ieee754/dbl-64/e_remainder.c
51703         (__ieee754_remainder): Likewise.
51704         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51705         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51706         (bsloww): Likewise.
51707         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51709         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51710         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51711         MANTISSA_STORE_T to store computations on mantissa.  Use
51712         macros for rounding and division.
51713         (denorm): Likewise.
51714         (__dbl_mp): Likewise.
51715         (add_magnitudes): Likewise.
51716         (sub_magnitudes): Likewise.
51717         (__mul): Likewise.
51718         (__sqr): Likewise.
51719         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51720         powers of two in terms of TWOPOW macro.
51721         (mp_no): Make type of mantissa as MANTISSA_T.
51722         [!RADIXI]: Define RADIXI.
51723         [!TWO52]: Define TWO52.
51724         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51726 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51728         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51729         llroundl symbol when building for PPC32.
51731 2013-03-24  Mark H Weaver  <mhw@netris.org>
51733         * manual/arith.texi (Normalization Functions): Fix prototypes for
51734         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51736 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51738         [BZ #13889]
51739         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51740         high value to check if expl overflow.
51741         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51742         to check for underflow and overflow.
51743         * math/libm-test.inc: Add exp test.
51745 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51747         [BZ #11120]
51748         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51749         with NOT_IN_libc.
51751 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51753         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51754         symbol.
51756 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51758         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51759         wrap blocks consisting of several statements.
51761         * sysdeps/generic/math-tests.h: New file.
51762         * sysdeps/i386/fpu/math-tests.h: Likewise.
51763         * math/test-snan.c: Include it.
51764         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51766 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51768         [BZ #15285]
51769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51770         (__ieee754_j0l): Do not improve calculations using cos of twice
51771         input for inputs above LDBL_MAX / 2.0L.
51772         (__ieee754_y0l): Likewise.
51773         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51774         (__ieee754_j1l): Do not improve calculations using cos of twice
51775         input for inputs above LDBL_MAX / 2.0L.
51776         (__ieee754_y1l): Likewise.
51777         * math/libm-test.inc (j0_test): Add another test.
51778         (j1_test): Likewise.
51779         (y0_test): Likewise.
51780         (y1_test): Likewise.
51781         * sysdeps/i386/fpu/libm-test-ulps: Update.
51783 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51785         * Rules ($(objpfx)bench-%.c): Include code from a C source
51786         file.
51788 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51790         [BZ #15287]
51791         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51792         imaginary part 1.0 and real part less than 0.5 specially.
51793         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51794         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51795         * math/libm-test.inc (cacos_test): Add more tests.
51796         (casin_test): Likewise.
51797         (casinh_test): Likewise.
51798         * sysdeps/i386/fpu/libm-test-ulps: Update.
51799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51801 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51804         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51806 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51808         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51809         * config.make.in (config-cflags-sse4): Remove variable.
51810         (config-cflags-avx): Likewise.
51811         (config-cflags-sse2avx): Likewise.
51812         (config-cflags-novzeroupper): Likewise.
51813         (config-asflags-i686): Likewise.
51814         (have-mfma4): Likewise.
51815         (have-as-vis3): Likewise.
51816         (MIG): Likewise.
51817         * configure.in (MIG): Do not AC_SUBST.
51818         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51819         (libc_cv_cc_sse4): Do not AC_SUBST.
51820         (libc_cv_cc_avx): Likewise.
51821         (libc_cv_cc_sse2avx): Likewise.
51822         (libc_cv_cc_novzeroupper): Likewise.
51823         (libc_cv_cc_fma4): Likewise.
51824         (libc_cv_as_i686): Likewise.
51825         (libc_cv_sparc_as_vis3): Likewise.
51826         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51827         LIBC_CONFIG_VAR.
51828         (config-asflags-i686): Likewise.
51829         (config-cflags-avx): Likewise.
51830         (config-cflags-sse2avx): Likewise.
51831         (have-mfma4): Likewise.
51832         (config-cflags-novzeroupper): Likewise.
51833         * sysdeps/mach/configure.in (MIG): Likewise.
51834         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51835         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51836         LIBC_CONFIG_VAR.
51837         (config-cflags-avx): Likewise.
51838         (config-cflags-sse2avx): Likewise.
51839         (have-mfma4): Likewise.
51840         (config-cflags-novzeroupper): Likewise.
51841         * configure: Regenerated.
51842         * sysdeps/i386/configure: Likewise.
51843         * sysdeps/mach/configure: Likewise.
51844         * sysdeps/sparc/configure: Likewise.
51845         * sysdeps/x86_64/configure: Likewise.
51847 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51849         [BZ #14812]
51850         * locale/programs/localedef.c (options): Put N_ translation marker
51851         on argument names, not just descriptions.
51853 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51855         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51857 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51859         [BZ #14176]
51860         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51862 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51864         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51865         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51866         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51867         [!BEFORE_ABORT] (before_abort): New function.
51868         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51869         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51870         (writev_for_fatal): New function.
51871         (WRITEV_FOR_FATAL): New macro; call that.
51872         (backtrace_and_maps): New function.
51873         (BEFORE_ABORT): New macro; call that.
51874         (struct str_list): Type removed.
51875         (__libc_message, __libc_fatal): Functions removed.
51876         Include <sysdeps/posix/libc_fatal.c> instead.
51878 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51880         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51881         constants.
51882         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51883         double constants.
51885 2013-03-19  Andreas Schwab  <schwab@suse.de>
51887         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51888         * sysdeps/gnu/configure: Regenerate.
51890         * configure.in: Substitute libc_cv_rtlddir.
51891         * configure: Regenerate.
51892         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51893         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51894         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51895         * elf/Makefile (install-others, CFLAGS-interp.c)
51896         (ldso_install, common-ldd-rewrite): Likewise.
51897         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51898         $(inst_slibdir)/$(rtld-installed-name).
51899         * scripts/rellns-sh: Add -p option.
51900         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51901         for source.
51903 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51905         * manual/nptl.texi: Renamed to ...
51906         * manual/threads.texi: ... this.
51907         * manual/Makefile (chapters): Update.
51909 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51911         [BZ #14812]
51912         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51913         on argument names, not just descriptions.
51914         * malloc/memusagestat.c (options): Likewise.
51915         * nss/getent.c (options): Likewise.
51917 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51919         [BZ #14812]
51920         * iconv/iconv_prog.c (options): Put N_ translation marker
51921         on argument names, not just descriptions.
51922         * iconv/iconvconfig.c (options): Likewise.
51924 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51926         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51927         implementation which is faster on all x86_64 architectures.
51928         Tested on AMD, Intel Nehalem, SNB, IVB.
51929         * sysdeps/x86_64/strnlen.S: Likewise.
51931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51932         Remove all multiarch strlen and strnlen versions.
51933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51934         Remove strlen and strnlen related parts.
51936         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51937         Inline strlen part.
51938         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51940         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51941         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51942         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51943         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51944         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51945         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51947 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51949         * manual/memory.texi (Malloc Tunable Parameters):
51950         Sort parameters alphabetically. Add comments for missing entries.
51952 2013-03-17  David S. Miller  <davem@davemloft.net>
51954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51956 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51958         [BZ #15283]
51959         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51960         for arguments at most half maximum finite value.
51961         * math/libm-test.inc (j0_test): Add more tests.
51962         (j1_test): Likewise.
51963         (y0_test): Likewise.
51964         (y1_test): Likewise.
51965         * sysdeps/i386/fpu/libm-test-ulps: Update.
51966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51968         [BZ #14155]
51969         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51970         1 / x and functions P and Q for arguments above 0x1p256L.
51971         (__ieee754_y0l): Likewise.
51972         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51973         (__ieee754_y1l): Likewise.
51974         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51975         (j1_test): Likewise.
51976         (y0_test): Likewise.
51977         (y1_test): Likewise.
51979 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51981         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51982         variable.
51984 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51986         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51987         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51988         zero since it's initialized to EXEC_PAGESIZE.
51990         * sysdeps/unix/sysv/linux/ldsodefs.h
51991         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51992         * sysdeps/generic/ldsodefs.h: ... here.
51994 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51996         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51998         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51999         math/test-snan.c.
52000         * math/test-snan.c: Renamed from
52001         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52002         * math/Makefile (tests): Add test-snan.
52003         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52004         test-powerpc-snan.
52006         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52007         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52008         functions.
52009         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52010         __builtin_nan family of functions.
52011         * math/libm-test.inc (initialize): Initialize qnan_value with
52012         __builtin_nan family of functions.
52013         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52014         Remove variables.
52015         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52016         Remove functions.
52017         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52018         storage class.  Initialize qNaN_var and sNaN_var with
52019         __builtin_nan and __builtin_nans families of functions,
52020         respectively.
52022         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52023         (sqrt_test): Remove duplicate test with qNaN input.
52024         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52025         (round_test, signbit_test, significand_test): Note missing +/-Inf
52026         as well as qNaN tests.
52028         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52029         qNaN_var.  Fix a few strings, too.
52030         * math/libm-test.inc (nan_value): Rename to qnan_value.
52031         * math/gen-libm-test.pl (%beautify): Adjust to that.
52032         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52033         * math/test-misc.c (main): Likewise.
52034         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52035         to __qnan_bytes, and __qnan_union, respectively.
52036         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52037         Likewise.
52038         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52039         and lqnanval, respectively.
52040         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52041         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52042         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52043         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52045         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52046         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52047         doubles.
52049         * math/test-misc.c (main): Fix copy'n'pastos.
52050         * misc/tst-efgcvt.c (special): Likewise.
52052         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52053         Remove declarations.
52055 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52057         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52058         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52059         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52060         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52062 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52065         macro to return vdso values correctly in IFUNC implementations.
52066         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52067         Optimization by using IFUNC.
52069 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52070             Richard Henderson  <rth@redhat.com>
52071             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52073         * Makefile.in (bench): New target.
52074         * NEWS: Mention the benchmark framework.
52075         * Rules (bench): Likewise.
52076         (binaries-bench): Generate binaries for functions to
52077         benchmark.
52078         * benchtests/Makefile: New makefile for benchmark tests.
52079         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52080         programs.
52081         * benchtests/exp-inputs: New input file for EXP function.
52082         * benchtests/pow-inputs: New input file for POW function.
52083         * scripts/bench.pl: New script to generate source files for
52084         benchmark programs.
52086 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52088         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52089         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52090         computations on mantissa.  Use macros for rounding and
52091         division.
52092         (denorm): Likewise.
52093         (__dbl_mp): Likewise.
52094         (add_magnitudes): Likewise.
52095         (sub_magnitudes): Likewise.
52096         (__mul): Likewise.
52097         (__sqr): Likewise.
52098         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52099         powers of two in terms of TWOPOW macro.
52100         (mp_no): Make type of mantissa as MANTISSA_T.
52101         [!RADIXI]: Define RADIXI.
52102         [!TWO52]: Define TWO52.
52103         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52105         * manual/nptl.texi (cindex): Modify threads to pthreads.
52107 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52109         * sysdeps/x86_64/preconfigure: Regenerated.
52111 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52113         [BZ #14155]
52114         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52115         0x1p28 and above.
52116         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52117         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52118         0x1p28 and above.
52119         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52120         * math/libm-test.inc (j0_test): Do not allow one spurious
52121         underflow exception.
52122         (y1_test): Likewise.
52124 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52126         * manual/Makefile (chapters): Add nptl.
52127         * manual/debug.texi (Debugging Support): Add link to Threads
52128         chapter.
52129         * manual/nptl.texi: New file.
52131         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52133 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52135         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52136         for non-NULL pointer before the memory validity test. Pointed
52137         out by Holger Brunck <holger.brunck@keymile.com>.
52139 2013-03-13  Andreas Schwab  <schwab@suse.de>
52141         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52142         instead of .os.
52144 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52146         * timezone/zic.c: Update from tzcode 2013b.
52148 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52150         * manual/install.texi (Configuring and compiling):
52151         Mention i686 and i586.
52152         * INSTALL: Regenerate.
52154 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52156         * sysdeps/init_array/elf-init.c: New file.
52157         * csu/elf-init.c
52158         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52159         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52161         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52162         __gmon_start__ as global, but as static with a .preinit_array pointer.
52163         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52164         * sysdeps/init_array/crti.S: New file, empty except for comments.
52165         * sysdeps/init_array/crtn.S: Likewise.
52167 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52169         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52170         definining bcopy.
52171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52172         Remove Prefer_SSE_for_memop.
52173         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52174         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52175         HAS_PREFER_SSE_FOR_MEMOP.
52176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52177         memset-x86-64.
52178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52179         Remove bzero, memset ifunc support.
52180         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52181         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52182         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52183         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52185 2013-03-11  Andreas Schwab  <schwab@suse.de>
52187         [BZ #15234]
52188         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52189         by SHLIB_COMPAT.
52190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52191         (GLIBC_2.16): Remove pthread_atfork.
52193 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52195         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52196         (ptestcases.h): Likewise.
52198 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52200         * Makeconfig ($(common-objpfx)config.status): Depend on
52201         sysdeps/*/preconfigure{,.in} too.
52203 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52205         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52206         (__free_hook): Use void * instead of __malloc_ptr_t.
52207         (__malloc_hook): Likewise.
52208         (__realloc_hook): Likewise.
52209         (__memalign_hook): Likewise.
52210         (__after_morecore_hook): Likewise.
52211         * malloc/arena.c (save_malloc_hook): Likewise.
52212         (save_free_hook): Likewise.
52213         * malloc/hooks.c (malloc_hook_ini): Likewise.
52214         (realloc_hook_ini): Likewise.
52215         (memalign_hook_ini): Likewise.
52216         * malloc/malloc.c (malloc_hook_ini): Likewise.
52217         (realloc_hook_ini): Likewise.
52218         (memalign_hook_ini): Likewise.
52219         (__free_hook): Likewise.
52220         (__malloc_hook): Likewise.
52221         (__realloc_hook): Likewise.
52222         (__memalign_hook): Likewise.
52223         (__libc_malloc): Likewise.
52224         (__libc_free): Likewise.
52225         (__libc_realloc): Likewise.
52226         (__libc_memalign): Likewise.
52227         (__libc_valloc): Likewise.
52228         (__libc_pvalloc): Likewise.
52229         (__libc_calloc): Likewise.
52230         (__posix_memalign): Likewise.
52231         * malloc/morecore.c (__sbrk): Likewise.
52232         (__default_morecore): Likewise.
52234         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52236         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52237         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52238         __malloc_ptrdiff_t.
52240         * malloc/malloc.h (__malloc_size_t): Remove macro.
52241         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52242         __malloc_size_t.
52243         (old_memalign_hook): Likewise.
52244         (old_realloc_hook): Likewise.
52245         (struct hdr): Likewise.
52246         (flood): Likewise.
52247         (mallochook): Likewise.
52248         (memalignhook): Likewise.
52249         (reallochook): Likewise.
52250         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52251         (tr_old_realloc_hook): Likewise.
52252         (tr_old_memalign_hook): Likewise.
52253         (tr_mallochook): Likewise.
52254         (tr_reallochook): Likewise.
52255         (tr_memalignhook): Likewise.
52257 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52260         default_ldbl_pack and using as default implementation.
52261         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52262         implementation.
52263         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52264         redundant definition.
52265         (ldbl_insert_mantissa): Likewise.
52266         (ldbl_canonicalize): Likewise.
52267         (ldbl_nearbyint): Likewise.
52268         (ldbl_pack): Rename to ldbl_pack_ppc.
52269         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52270         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52271         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52273 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52276         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52277         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52278         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52280         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52281         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52282         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52284 2013-03-07  Andreas Jaeger  <aj@suse.de>
52286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52287         bits/mman-linux.h.
52289 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52291         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52292         Include mpa.h and declare __MPEXP.
52293         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52294         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52295         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52296         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52297         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52298         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52299         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52301         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52302         (__slowpow): Use long double EXPL and LOGL functions to
52303         compute POW.
52304         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52305         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52306         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52308         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52309         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52312         intermediate variable to calculate exponent.
52313         (__sqr): Likewise.
52314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52315         Likewise.
52316         (__sqr): Likewise.
52318         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52319         [!NO__SQR]: Define __sqr.
52320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52321         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52322         sysdeps/ieee754/dbl-64/mpa.c.
52323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52325         [BZ #12723]
52326         * posix/Makefile (tests): Add tst-pathconf.
52327         * posix/tst-pathconf.c: New test case.
52328         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52329         _PC_PIPE_BUF.
52330         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52332 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52334         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52336 2013-03-06  Andreas Jaeger  <aj@suse.de>
52338         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52339         definition via __MAP_ANONYMOUS.
52341         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52342         it's not part of Linux headers.
52344         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52345         (MAP_HUGE_MASK): Define.
52347         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52348         Define.
52349         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52350         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52351         Define.
52352         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52353         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52354         Define.
52355         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52356         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52357         Define.
52358         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52360         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52361         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52362         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52363         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52364         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52365         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52367         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52368         Handle f2fs.
52370         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52371         Handle f2fs and efivarfs.
52373         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52374         f2fs.
52376         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52377         (EFIVARFS_MAGIC): Add.
52378         (F2FS_LINK_MAX): Add.
52380 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52382         * stdio-common/vfprintf.c: Replace __builtin_expect with
52383         __glibc_unlikely.
52385 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52387         [BZ #13550]
52388         * sysdeps/generic/bp-sym.h: Remove file.
52389         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52390         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52391         <bp-sym.h> and <bp-asm.h>.
52392         (__longjmp): Don't use BP_SYM.
52393         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52394         and <bp-asm.h>.
52395         (memcpy): Don't use BP_SYM.
52396         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52397         <bp-sym.h> and <bp-asm.h>.
52398         (memcpy): Don't use BP_SYM.
52399         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52400         <bp-asm.h>.
52401         (memcpy): Don't use BP_SYM.
52402         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52403         <bp-asm.h>.
52404         (memset): Don't use BP_SYM.
52405         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52406         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52407         (__bzero): Don't use BP_SYM.
52408         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52409         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52410         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52411         <bp-sym.h> and <bp-asm.h>.
52412         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52413         pointers.
52414         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52415         <bp-sym.h> and <bp-asm.h>.
52416         (memcpy): Don't use BP_SYM.
52417         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52418         <bp-sym.h> and <bp-asm.h>.
52419         (memset): Don't use BP_SYM.
52420         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52421         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52422         (__bzero): Don't use BP_SYM.
52423         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52424         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52425         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52426         <bp-sym.h> and <bp-asm.h>.
52427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52428         pointers.
52429         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52430         <bp-sym.h> and <bp-asm.h>.
52431         (memcpy): Don't use BP_SYM.
52432         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52433         <bp-sym.h> and <bp-asm.h>.
52434         (memset): Don't use BP_SYM.
52435         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52436         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52437         (__bzero): Don't use BP_SYM.
52438         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52439         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52441         <bp-sym.h> and <bp-asm.h>.
52442         (__memchr): Don't use BP_SYM.
52443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52444         <bp-sym.h> and <bp-asm.h>.
52445         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52446         pointers.
52447         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52448         <bp-sym.h> and <bp-asm.h>.
52449         (memcpy): Don't use BP_SYM.
52450         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52451         <bp-sym.h> and <bp-asm.h>.
52452         (__mempcpy): Don't use BP_SYM.
52453         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52454         <bp-sym.h> and <bp-asm.h>.
52455         (__memrchr): Don't use BP_SYM.
52456         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52457         <bp-sym.h> and <bp-asm.h>.
52458         (memset): Don't use BP_SYM.
52459         (__bzero): Likewise.
52460         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52461         <bp-sym.h> and <bp-asm.h>.
52462         (__rawmemchr): Don't use BP_SYM.
52463         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52464         <bp-sym.h> and <bp-asm.h>.
52465         (__STRCMP): Don't use BP_SYM.
52466         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52467         <bp-sym.h> and <bp-asm.h>.
52468         (strchr): Don't use BP_SYM.
52469         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52470         <bp-sym.h> and <bp-asm.h>.
52471         (__strchrnul): Don't use BP_SYM.
52472         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52473         <bp-sym.h> and <bp-asm.h>.
52474         (strlen): Don't use BP_SYM.
52475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52476         <bp-sym.h> and <bp-asm.h>.
52477         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52478         pointers.
52479         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52480         <bp-sym.h> and <bp-asm.h>.
52481         (__strnlen): Don't use BP_SYM.
52482         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52483         <bp-sym.h> and <bp-asm.h>.
52484         (__GI__setjmp): Don't use BP_SYM.
52485         (_setjmp): Likewise.
52486         (__sigsetjmp): Likewise.
52487         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52488         (L(start_addresses)): Don't use BP_SYM.
52489         (_start): Likewise.
52490         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52491         <bp-asm.h>.
52492         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52493         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52494         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52495         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52496         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52497         <bp-asm.h>.
52498         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52499         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52500         about bounded pointers.
52501         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52502         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52503         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52504         <bp-asm.h>.
52505         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52506         about bounded pointers.  Remove GKM FIXME comments.
52507         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52508         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52509         <bp-asm.h>.
52510         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52511         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52512         Remove GKM FIXME comments.
52513         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52514         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52515         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52516         <bp-asm.h>.
52517         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52518         about bounded pointers.  Remove GKM FIXME comment.
52519         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52520         and <bp-asm.h>.
52521         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52522         pointers.
52523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52524         <bp-sym.h> and <bp-asm.h>.
52525         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52527         <bp-sym.h> and <bp-asm.h>.
52528         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52529         comment.
52531 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52533         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52534         call free(NULL).
52536 2013-03-05  David S. Miller  <davem@davemloft.net>
52538         * po/es.po: Update from translation team.
52540 2013-03-05  Andreas Jaeger  <aj@suse.de>
52542         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52543         <bits/mman-linux.h>.
52544         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52545         is fine.
52546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52547         <bits/mman-linux.h> to end of file.
52548         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52549         is fine.
52550         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52551         <bits/mman-linux.h> to end of file.
52552         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52553         is fine.
52554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52555         <bits/mman-linux.h> to end of file.
52557         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52558         (MCL_CURRENT, MCL_FUTURE): Define here.
52560 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52562         [BZ #15232]
52563         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52564         attribute_hidden.
52565         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52567 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52569         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52570         fourth parameter needed for rt_sigprocmask syscall.
52571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52573         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52574         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52575         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52576         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52578 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52580         [BZ #13550]
52581         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52582         comment about bounded pointers.
52583         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52584         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52586 2013-03-04  Andreas Jaeger  <aj@suse.de>
52588         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52589         common definitions.
52591         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52592         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52593         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52594         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52595         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52596         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52598 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52600         [BZ #15055]
52601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52602         __ieee754_sqrl instead of __sqrl.
52604 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52606         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52607         * sysdeps/powerpc/fpu_control.h: ... here.
52608         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52609         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52610         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52611         * sysdeps/powerpc/bits/mathinline.h: ... here.
52613 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52615         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52616         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52617         to just [NEED_DL_SYSINFO_DSO].
52618         * elf/dl-support.c: Likewise.
52619         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52620         * elf/rtld.c (dl_main): Likewise.
52621         * elf/setup-vdso.h (setup_vdso): Likewise.
52622         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52623         * sysdeps/unix/sysv/linux/dl-sysdep.c
52624         (_dl_discover_osversion): Likewise.
52626 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52628         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52629         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52631 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52633         * NEWS: Mention libm performance improvements and non-x86 PI
52634         futex support.
52636         * csu/libc-start.c (__pthread_initialize_minimal): Change
52637         function arguments.
52638         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52640 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52642         [BZ #13550]
52643         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52644         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52645         <bp-sym.h> and <bp-asm.h>.
52646         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52647         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52648         and <bp-asm.h>.
52649         (memcpy): Don't use BP_SYM.
52650         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52651         <bp-asm.h>.
52652         (__mpn_add_n): Don't use BP_SYM.
52653         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52654         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52655         and <bp-asm.h>.
52656         (__mpn_addmul_1): Don't use BP_SYM.
52657         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52658         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52659         <bp-sym.h>.
52660         (_setjmp): Don't use BP_SYM.
52661         (__novmx_setjmp): Likewise.
52662         (__GI__setjmp): Likewise.
52663         (__vmx_setjmp): Likewise.
52664         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52665         <bp-sym.h>.
52666         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52667         (__bzero): Don't use BP_SYM.
52668         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52669         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52670         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52671         <bp-sym.h> and <bp-asm.h>.
52672         (memcpy): Don't use BP_SYM.
52673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52674         <bp-sym.h> and <bp-asm.h>.
52675         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52676         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52677         <bp-sym.h> and <bp-asm.h>.
52678         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52679         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52680         <bp-asm.h>.
52681         (__mpn_lshift): Don't use BP_SYM.
52682         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52683         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52684         <bp-asm.h>.
52685         (memset): Don't use BP_SYM.
52686         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52687         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52688         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52689         <bp-asm.h>.
52690         (__mpn_mul_1): Don't use BP_SYM.
52691         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52693         <bp-sym.h> and <bp-asm.h>.
52694         (memcmp): Don't use BP_SYM.
52695         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52696         <bp-sym.h> and <bp-asm.h>.
52697         (memcpy): Don't use BP_SYM.
52698         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52699         <bp-sym.h> and <bp-asm.h>.
52700         (memset): Don't use BP_SYM.
52701         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52702         <bp-sym.h> and <bp-asm.h>.
52703         (strncmp): Don't use BP_SYM.
52704         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52705         <bp-sym.h> and <bp-asm.h>.
52706         (memcpy): Don't use BP_SYM.
52707         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52708         <bp-sym.h> and <bp-asm.h>.
52709         (memset): Don't use BP_SYM.
52710         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52711         <bp-sym.h> and <bp-asm.h>.
52712         (__memchr): Don't use BP_SYM.
52713         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52714         <bp-sym.h> and <bp-asm.h>.
52715         (memcmp): Don't use BP_SYM.
52716         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52717         <bp-sym.h> and <bp-asm.h>.
52718         (memcpy): Don't use BP_SYM.
52719         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52720         <bp-sym.h> and <bp-asm.h>.
52721         (__mempcpy): Don't use BP_SYM.
52722         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52723         <bp-sym.h> and <bp-asm.h>.
52724         (__memrchr): Don't use BP_SYM.
52725         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52726         <bp-sym.h> and <bp-asm.h>.
52727         (memset): Don't use BP_SYM.
52728         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52729         <bp-sym.h> and <bp-asm.h>.
52730         (__rawmemchr): Don't use BP_SYM.
52731         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52732         <bp-sym.h> and <bp-asm.h>.
52733         (__STRCMP): Don't use BP_SYM.
52734         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52735         <bp-sym.h> and <bp-asm.h>.
52736         (strchr): Don't use BP_SYM.
52737         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52738         <bp-sym.h> and <bp-asm.h>.
52739         (__strchrnul): Don't use BP_SYM.
52740         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52741         <bp-sym.h> and <bp-asm.h>.
52742         (strlen): Don't use BP_SYM.
52743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52744         <bp-sym.h> and <bp-asm.h>.
52745         (strncmp): Don't use BP_SYM.
52746         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52747         <bp-sym.h> and <bp-asm.h>.
52748         (__strnlen): Don't use BP_SYM.
52749         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52750         <bp-asm.h>.
52751         (__mpn_rshift): Don't use BP_SYM.
52752         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52753         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52754         <bp-sym.h> and <bp-asm.h>.
52755         (__sigsetjmp): Don't use BP_SYM.
52756         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52757         (L(start_addresses)): Don't use BP_SYM.
52758         (_start): Likewise.
52759         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52760         <bp-asm.h>.
52761         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52762         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52763         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52764         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52765         <bp-asm.h>.
52766         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52767         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52768         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52769         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52770         <bp-asm.h>.
52771         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52772         comments.
52773         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52774         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52775         <bp-asm.h>.
52776         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52777         FIXME comments.
52778         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52779         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52780         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52781         <bp-asm.h>.
52782         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52783         comment.
52784         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52785         and <bp-asm.h>.
52786         (strncmp): Don't use BP_SYM,
52787         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52788         <bp-asm.h>.
52789         (__mpn_sub_n): Don't use BP_SYM.
52790         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52791         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52792         and <bp-asm.h>.
52793         (__mpn_submul_1): Don't use BP_SYM.
52794         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52796         <bp-sym.h> and <bp-asm.h>.
52797         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52799         <bp-sym.h> and <bp-asm.h>.
52800         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52801         comment.
52803 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52806         Use ZK to minimize writes to Z.
52807         (sub_magnitudes): Simplify code a bit.
52808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52809         Use ZK to minimize writes to Z.
52810         (sub_magnitudes): Simplify code a bit.
52812 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52814         * csu/gmon-start.c: Add special exception to license text.
52816 2013-02-27  Richard Henderson  <rth@redhat.com>
52818         * scripts/config.guess: Update from config.git.
52819         * scripts/config.sub: Likewise.
52821 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52825         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52827         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52829         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52831         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52833 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52835         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52836         [$(build-shared = yes].
52838 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52840         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52841         (__mul): Reduce iterations for calculating mantissa.
52843         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52844         MPTWO.
52845         (__mpranred): Likewise.
52847         [BZ #15160]
52848         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52849         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52851 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52853         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52854         Define __attribute__.
52856 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52858         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52859         unused.
52860         * posix/regex_internal.h (__attribute): Remove.
52861         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52862         (re_string_context_at): Likewise.
52863         (bitset_not): Use __attribute__ and mark function as possibly
52864         unused.
52865         (bitset_merge): Likewise.
52866         (bitset_mask): Likewise.
52867         (re_string_char_size_at): Likewise.
52868         (re_string_wchar_at): Likewise.
52869         (re_string_elem_size_at): Likewise.
52871 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52873         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52874         code.
52875         (cc32): Likewise.
52877         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52878         (__acr): Likewise.
52879         (__cpy): Likewise.
52880         (norm): Likewise.
52881         (denorm): Likewise.
52882         (__dbl_mp): Likewise.
52883         (add_magnitudes): Likewise.
52884         (sub_magnitudes): Likewise.
52885         (__mul): Likewise.
52886         (__inv): Likewise.
52888         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52889         style.
52891         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52892         style.
52894         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52895         code.
52897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52898         up changes with default code.
52899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52900         Likewise.
52902 2013-02-24  Allan McRae  <allan@archlinux.org>
52904         * manual/socket.texi (The Internet Namespace): Order menu items
52905         to match that in the file.
52907         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52908         node listing of the info page menu.
52910 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52912         [BZ #13550]
52913         * sysdeps/i386/bp-asm.h: Remove file.
52914         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52915         (PARMS): Do not use macros from bp-asm.h.
52916         (S1): Likewise.
52917         (S2): Likewise.
52918         (SIZE): Likewise.
52919         (__mpn_add_n): Do not use BP_SYM
52920         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52921         "bp-asm.h".
52922         (PARMS): Do not use macros from bp-asm.h.
52923         (S1): Likewise.
52924         (SIZE): Likewise.
52925         (__mpn_addmul_1): Do not use BP_SYM
52926         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52927         "bp-asm.h".
52928         (PARMS): Do not use macros from bp-asm.h.
52929         (SIGMSK): Likewise.
52930         (_setjmp): Likewise.  Do not use BP_SYM.
52931         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52932         "bp-asm.h".
52933         (PARMS): Do not use macros from bp-asm.h.
52934         (SIGMSK): Likewise.
52935         (setjmp): Likewise.  Do not use BP_SYM.
52936         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52937         "bp-asm.h".
52938         (PARMS): Do not use macros from bp-asm.h.
52939         (__frexp): Do not use BP_SYM.
52940         (frexp): Likewise.
52941         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52942         "bp-asm.h".
52943         (PARMS): Do not use macros from bp-asm.h.
52944         (__frexpf): Do not use BP_SYM.
52945         (frexpf): Likewise.
52946         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52947         "bp-asm.h".
52948         (PARMS): Do not use macros from bp-asm.h.
52949         (__frexpl): Do not use BP_SYM.
52950         (frexpl): Likewise.
52951         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52952         "bp-asm.h".
52953         (PARMS): Do not use macros from bp-asm.h.
52954         (__remquo): Do not use BP_SYM.
52955         (remquo): Likewise.
52956         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52957         "bp-asm.h".
52958         (PARMS): Do not use macros from bp-asm.h.
52959         (__remquof): Do not use BP_SYM.
52960         (remquof): Likewise.
52961         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52962         "bp-asm.h".
52963         (PARMS): Do not use macros from bp-asm.h.
52964         (__remquol): Do not use BP_SYM.
52965         (remquol): Likewise.
52966         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52967         "bp-asm.h".
52968         (PARMS): Do not use macros from bp-asm.h.
52969         (DEST): Likewise.
52970         (SRC): Likewise.
52971         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52972         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52973         "bp-asm.h".
52974         (PARMS): Do not use macros from bp-asm.h.
52975         (strlen): Do not use BP_SYM.
52976         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52977         "bp-asm.h".
52978         (PARMS): Do not use macros from bp-asm.h.
52979         (S1): Likewise.
52980         (S2): Likewise.
52981         (SIZE): Likewise.
52982         (__mpn_add_n): Do not use BP_SYM.
52983         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52984         "bp-asm.h".
52985         (PARMS): Do not use macros from bp-asm.h.
52986         (S1): Likewise.
52987         (SIZE): Likewise.
52988         (__mpn_addmul_1): Do not use BP_SYM.
52989         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52990         weak_alias.
52991         (bzero): Likewise.
52992         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52993         "bp-asm.h".
52994         (PARMS): Do not use macros from bp-asm.h.
52995         (S): Likewise.
52996         (SIZE): Likewise.
52997         (__mpn_lshift): Do not use BP_SYM.
52998         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52999         "bp-asm.h".
53000         (PARMS): Do not use macros from bp-asm.h.
53001         (DEST): Likewise.
53002         (SRC): Likewise.
53003         (LEN): Likewise.
53004         (memcpy): Likewise.  Do not use BP_SYM.
53005         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53006         libc_hidden_def and weak_alias.
53007         (mempcpy): Do not use BP_SYM in weak_alias.
53008         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53009         "bp-asm.h".
53010         (PARMS): Do not use macros from bp-asm.h.
53011         (DEST): Likewise.
53012         (LEN): Likewise.
53013         [!BZERO_P] (CHR): Likewise.
53014         (memset): Likewise.  Do not use BP_SYM.
53015         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53016         "bp-asm.h".
53017         (PARMS): Do not use macros from bp-asm.h.
53018         (S1): Likewise.
53019         (SIZE): Likewise.
53020         (__mpn_mul_1): Do not use BP_SYM.
53021         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53022         "bp-asm.h".
53023         (PARMS): Do not use macros from bp-asm.h.
53024         (S): Likewise.
53025         (SIZE): Likewise.
53026         (__mpn_rshift): Do not use BP_SYM.
53027         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53028         "bp-asm.h".
53029         (PARMS): Do not use macros from bp-asm.h.
53030         (STR): Likewise.
53031         (CHR): Likewise.
53032         (strchr): Likewise.  Do not use BP_SYM.
53033         (index): Do not use BP_SYM in weak_alias.
53034         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53035         "bp-asm.h".
53036         (PARMS): Do not use macros from bp-asm.h.
53037         (DEST): Likewise.
53038         (SRC): Likewise.
53039         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53040         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53041         "bp-asm.h".
53042         (PARMS): Do not use macros from bp-asm.h.
53043         (strlen): Do not use BP_SYM.
53044         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53045         "bp-asm.h".
53046         (PARMS): Do not use macros from bp-asm.h.
53047         (S1): Likewise.
53048         (S2): Likewise.
53049         (SIZE): Likewise.
53050         (__mpn_sub_n): Do not use BP_SYM.
53051         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53052         "bp-asm.h".
53053         (PARMS): Do not use macros from bp-asm.h.
53054         (S1): Likewise.
53055         (SIZE): Likewise.
53056         (__mpn_submul_1): Do not use BP_SYM.
53057         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53058         "bp-asm.h".
53059         (PARMS): Do not use macros from bp-asm.h.
53060         (S1): Likewise.
53061         (S2): Likewise.
53062         (SIZE): Likewise.
53063         (__mpn_add_n): Do not use BP_SYM.
53064         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53065         weak_alias.
53066         (bzero): Likewise.
53067         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53068         "bp-asm.h".
53069         (PARMS): Do not use macros from bp-asm.h.
53070         (BLK2): Likewise.
53071         (LEN): Likewise.
53072         (memcmp): Do not use BP_SYM.
53073         (bcmp): Do not use BP_SYM in weak_alias.
53074         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53075         "bp-asm.h".
53076         (PARMS): Do not use macros from bp-asm.h.
53077         (DEST): Likewise.
53078         (SRC): Likewise.
53079         (LEN): Likewise.
53080         (memcpy): Likewise.  Do not use BP_SYM.
53081         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
53088         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53089         "bp-asm.h".
53090         (PARMS): Do not use macros from bp-asm.h.
53091         (DEST): Likewise.
53092         (SRC): Likewise.
53093         (LEN): Likewise.
53094         (__mempcpy): Likewise.  Do not use BP_SYM.
53095         (mempcpy): Do not use BP_SYM in weak_alias.
53096         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53097         "bp-asm.h".
53098         (PARMS): Do not use macros from bp-asm.h.
53099         (DEST): Likewise.
53100         (LEN): Likewise.
53101         [!BZERO_P] (CHR): Likewise.
53102         (memset): Likewise.  Do not use BP_SYM.
53103         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53104         "bp-asm.h".
53105         (PARMS): Do not use macros from bp-asm.h.
53106         (STR2): Likewise.
53107         (strcmp): Do not use BP_SYM.
53108         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53109         "bp-asm.h".
53110         (PARMS): Do not use macros from bp-asm.h.
53111         (STR): Likewise.
53112         (DELIM): Likewise.
53113         [USE_AS_STRTOK_R] (SAVE): Likewise.
53114         (FUNCTION): Likewise.  Do not use BP_SYM.
53115         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53116         aliases.
53117         (strtok_r): Likewise.
53118         (__GI___strtok_r): Likewise.
53119         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53120         (PARMS): Do not use macros from bp-asm.h.
53121         (S): Likewise.
53122         (SIZE): Likewise.
53123         (__mpn_lshift): Do not use BP_SYM.
53124         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53125         (PARMS): Do not use macros from bp-asm.h.
53126         (STR): Likewise.
53127         (CHR): Likewise.
53128         (__memchr): Do not use BP_SYM.
53129         (memchr): Do not use BP_SYM in weak_alias.
53130         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53131         (PARMS): Do not use macros from bp-asm.h.
53132         (BLK2): Likewise.
53133         (LEN): Likewise.
53134         (memcmp): Do not use BP_SYM.
53135         (bcmp): Do not use BP_SYM in weak_alias.
53136         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53137         (PARMS): Do not use macros from bp-asm.h.
53138         (S1): Likewise.
53139         (SIZE): Likewise.
53140         (__mpn_mul_1): Do not use BP_SYM.
53141         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53142         "bp-asm.h".
53143         (PARMS): Do not use macros from bp-asm.h.
53144         (STR): Likewise.
53145         (CHR): Likewise.
53146         (__rawmemchr): Do not use BP_SYM.
53147         (rawmemchr): Do not use BP_SYM in weak_alias.
53148         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53149         (PARMS): Do not use macros from bp-asm.h.
53150         (S): Likewise.
53151         (SIZE): Likewise.
53152         (__mpn_rshift): Do not use BP_SYM.
53153         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53154         (PARMS): Do not use macros from bp-asm.h.
53155         (SIGMSK): Likewise.
53156         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53157         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53158         (_start): Do not use BP_SYM.
53159         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53160         (PARMS): Do not use macros from bp-asm.h.
53161         (DEST): Likewise.
53162         (SRC): Likewise.
53163         (__stpcpy): Likewise.  Do not use BP_SYM.
53164         (stpcpy): Do not use BP_SYM in weak_alias.
53165         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53166         "bp-asm.h".
53167         (PARMS): Do not use macros from bp-asm.h.
53168         (DEST): Likewise.
53169         (SRC): Likewise.
53170         (LEN): Likewise.
53171         (__stpncpy): Likewise.  Do not use BP_SYM.
53172         (stpncpy): Do not use BP_SYM in weak_alias.
53173         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53174         (PARMS): Do not use macros from bp-asm.h.
53175         (STR): Likewise.
53176         (CHR): Likewise.
53177         (strchr): Likewise.  Do not use BP_SYM.
53178         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53179         "bp-asm.h".
53180         (PARMS): Do not use macros from bp-asm.h.
53181         (STR): Likewise.
53182         (CHR): Likewise.
53183         (__strchrnul): Likewise.  Do not use BP_SYM.
53184         (strchrnul): Do not use BP_SYM in weak_alias.
53185         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53186         "bp-asm.h".
53187         (PARMS): Do not use macros from bp-asm.h.
53188         (STOP): Likewise.
53189         (strcspn): Do not use BP_SYM.
53190         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53191         "bp-asm.h".
53192         (PARMS): Do not use macros from bp-asm.h.
53193         (STR): Likewise.
53194         (STOP): Likewise.
53195         (strpbrk): Likewise.  Do not use BP_SYM.
53196         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53197         "bp-asm.h".
53198         (PARMS): Do not use macros from bp-asm.h.
53199         (STR): Likewise.
53200         (CHR): Likewise.
53201         (strrchr): Likewise.  Do not use BP_SYM.
53202         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53203         (PARMS): Do not use macros from bp-asm.h.
53204         (SKIP): Likewise.
53205         (strspn): Do not use BP_SYM.
53206         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53207         (PARMS): Do not use macros from bp-asm.h.
53208         (STR): Likewise.
53209         (DELIM): Likewise.
53210         (SAVE): Likewise.
53211         (FUNCTION): Likewise.  Do not use BP_SYM.
53212         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53213         aliases.
53214         (strtok_r): Likewise.
53215         (__GI___strtok_r): Likewise.
53216         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53217         (PARMS): Do not use macros from bp-asm.h.
53218         (S1): Likewise.
53219         (S2): Likewise.
53220         (SIZE): Likewise.
53221         (__mpn_sub_n): Do not use BP_SYM.
53222         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53223         "bp-asm.h".
53224         (PARMS): Do not use macros from bp-asm.h.
53225         (S1): Likewise.
53226         (SIZE): Likewise.
53227         (__mpn_submul_1): Do not use BP_SYM.
53228         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53229         <bp-sym.h>.
53230         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53231         and <bp-asm.h>.
53232         (PARMS): Do not use macros from bp-asm.h.
53233         (FLAGS): Likewise.
53234         (PTID): Likewise.
53235         (TLS): Likewise.
53236         (CTID): Likewise.
53237         (__clone): Do not use BP_SYM.
53238         (clone): Do not use BP_SYM in weak_alias.
53239         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53240         and <bp-asm.h>.
53241         (PARMS): Do not use macros from bp-asm.h.
53242         (LEN): Likewise.
53243         (__mmap64): Do not use BP_SYM.
53244         (mmap64): Do not use BP_SYM in weak_alias.
53245         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53246         <bp-sym.h> and <bp-asm.h>.
53247         (PARMS): Do not use macros from bp-asm.h.
53248         (__posix_fadvise64_l64): Do not use BP_SYM.
53249         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53250         (PARMS): Do not use macros from bp-asm.h.
53251         (NSOPS): Likewise.
53252         (semtimedop): Do not use BP_SYM.
53253         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53254         and <bp-asm.h>.
53256 2013-02-21  Allan McRae  <allan@archlinux.org>
53258         * manual/message.texi (Charset conversion in gettext):
53259         Move @end statement to beginning of line.
53261 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53264         static.
53265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53266         Likewise.
53268         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53269         (denorm): Likewise.
53270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53273 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53275         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53276         tail-call to the resolved function if pltexit isn't needed.
53278 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53281         or Y being zero as being unlikely.
53282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53283         Likewise.
53285 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53287         * manual/nss.texi (System Databases and Name Service Switch):
53288         Remove frobnicate @pxref.
53290 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53292         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53293         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53295 2013-02-20  Petr Machata  <pmachata@redhat.com>
53297         * elf/elf.h (R_ARM_TARGET1): New macro.
53298         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53299         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53300         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53301         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53302         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53303         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53304         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53305         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53306         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53307         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53308         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53309         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53310         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53311         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53312         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53313         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53314         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53315         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53316         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53317         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53318         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53319         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53320         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53321         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53322         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53323         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53324         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53325         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53326         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53327         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53328         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53329         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53330         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53331         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53332         (R_ARM_THM_GOT_BREL12): Likewise.
53333         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53334         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53335         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53336         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53337         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53338         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53339         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53340         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53341         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53343 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53345         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53346         __attribute_used__ to __attribute__ ((unused)).
53348 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53350         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53351         powerpc mpa.c.
53352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53353         comment formatting.
53354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53356 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53358         [BZ #13550]
53359         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53360         Remove macro.
53361         (ENTER): Remove both macro definitions.
53362         (LEAVE): Likewise.
53363         (CHECK_BOUNDS_LOW): Likewise.
53364         (CHECK_BOUNDS_HIGH): Likewise.
53365         (CHECK_BOUNDS_BOTH): Likewise.
53366         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53367         (RETURN_BOUNDED_POINTER): Likewise.
53368         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53369         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53370         (POP_ERRNO_LOCATION_RETURN): Likewise.
53371         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53372         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53373         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53374         macros.
53375         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53376         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53377         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53378         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53379         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53380         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53381         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53382         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53383         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53384         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53385         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53386         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53387         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53388         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53389         removed macros.
53390         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53391         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53392         macros.
53393         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53394         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53395         * sysdeps/i386/i586/memset.S (memset): Likewise.
53396         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53397         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53398         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53399         macros.
53400         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53401         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53402         Change uses of L(2) to L(out).
53403         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53404         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53405         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53406         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53407         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53408         removed macros.
53409         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53410         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53411         macros.
53412         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53413         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53414         (RETURN): Do not use macro LEAVE.
53415         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53416         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53417         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53418         * sysdeps/i386/i686/memset.S (memset): Likewise.
53419         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53420         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53421         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53422         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53423         Likewise.
53424         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53425         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53426         L(1_2) and L(1_3) into L(1).
53427         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53428         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53429         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53430         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53431         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53432         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53433         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53434         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53435         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53436         macros.
53437         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53438         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53439         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53440         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53441         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53442         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53443         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53444         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53445         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53446         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53447         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53448         * sysdeps/i386/strspn.S (strspn): Likewise.
53449         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53450         conditional code.
53451         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53452         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53453         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53454         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53455         L(1_3) into L(1_1).
53456         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53457         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53458         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53459         macros.
53460         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53462 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53464         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53465         macro.
53467 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53469         * math/atest-exp.c (exp_mpn): Remove ROUND.
53470         * math/atest-exp2.c (exp_mpn): Likewise.
53471         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53473         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53474         * stdlib/tst-tls-atexit-lib.c: Likewise.
53475         * stdlib/tst-tls-atexit.c: Likewise.
53477 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53479         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53480         and __attribute_alloc_size__.
53482 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53484         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53485         __attribute_alloc_size__.
53486         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53487         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53489 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53491         * include/programs/xmalloc.h: New file.
53492         * catgets/gencat.c: Include it.
53493         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53494         * elf/pldd.c: Likewise.
53495         * iconv/iconv_charmap.c: Likewise.
53496         * iconv/iconvconfig.c: Likewise.
53497         * iconv/strtab.c: Likewise.
53498         * locale/programs/locale.c: Likewise.
53499         * locale/programs/localedef.h: Likewise.
53500         * locale/programs/simple-hash.c: Likewise.
53501         * nscd/nscd.h: Likewise.
53502         * nss/makedb.c: Likewise.
53503         * sysdeps/generic/ldconfig.h: Likewise.
53505 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53507         * Versions.def: Add GLIBC_2.18.
53508         * include/link.h (struct link_map): New member l_tls_dtor_count.
53509         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53510         (__call_tls_dtors): Likewise.
53511         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53512         __cxa_thread_atexit_impl.
53513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53514         Likewise.
53515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53516         Likewise.
53517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53518         Likewise.
53519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53520         Likewise.
53521         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53523         Likewise.
53524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53525         Likewise.
53526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53528         Likewise.
53529         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53530         (tests): Add test case tst-tls-atexit.
53531         (modules-names): Add shared library for tst-tls-atexit.
53532         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53533         (GLIBC_PRIVATE): Add __call_tls_dtors.
53534         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53535         for libstdc++.
53536         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53537         * stdlib/tst-tls-atexit.c: New test case.
53538         * stdlib/tst-tls-atexit-lib.c: New test case.
53540         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53542         * elf/Versions (ld): Add _dl_find_dso_for_object.
53543         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53544         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53545         (dl_open_worker): Use _dl_find_dso_for_object.
53546         * elf/dl-sym.c (do_sym): Likewise.
53547         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53549 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53551         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53552         Syntactic changes only.
53553         (_dl_runtime_profile): Do a tail-call to the resolved function.
53555 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53557         [BZ #13550]
53558         * sysdeps/x86_64/bp-asm.h: Remove file.
53559         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53560         <bp-sym.h> and <bp-asm.h>.
53561         (__clone): Do not use BP_SYM.
53562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53563         <bp-sym.h> and <bp-asm.h>.
53564         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53565         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53566         "bp-asm.h".
53567         (_setjmp): Do not use BP_SYM.
53568         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53569         "bp-asm.h".
53570         (setjmp): Do not use BP_SYM.
53571         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53572         libc_hidden_def.
53573         (mempcpy): Do not use BP_SYM in weak_alias.
53574         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53575         "bp-asm.h".
53576         (strchr): Do not use BP_SYM.
53577         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53578         "bp-asm.h".
53579         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53580         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53581         (_start): Do not use BP_SYM.
53582         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53583         "bp-asm.h".
53584         (strcat): Do not use BP_SYM.
53585         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53586         "bp-asm.h".
53587         (STRCMP): Do not use BP_SYM.
53588         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53589         "bp-asm.h".
53590         (STRCPY): Do not use BP_SYM.
53591         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53592         "bp-asm.h".
53593         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53594         "bp-asm.h".
53595         (FUNCTION): Do not use BP_SYM.
53596         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53597         weak_alias.
53598         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53600 2013-02-17  Andreas Jaeger  <aj@suse.de>
53602         * time/Versions: Sort entries.
53603         * string/Versions: Likewise.
53604         * resolv/Versions: Likewise.
53605         * posix/Versions: Likewise.
53606         * iconv/Versions: Likewise.
53607         * elf/Versions: Likewise.
53608         * wcsmbs/Versions: Likewise.
53610 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53612         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53613         loop termination condition.
53615         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53616         variable to calculate EZ.
53617         (__sqr): Likewise.
53619         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53620         the lower precision input.
53622 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53624         [BZ #13550]
53625         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53626         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53627         (run-via-rtld-prefix): Do not handle %-bp tests.
53628         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53629         (all-object-suffixes): Remove .ob.
53630         (bppfx): Remove variable.
53631         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53632         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53633         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53634         [$(build-bounded) = yes] (libtype.ob): Likewise.
53635         * Makerules (elide-routines.ob): Remove variable.
53636         (do-tests-clean): Do not handle *-bp.out.
53637         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53638         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53639         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53640         (tests): Do not include $(tests-bp.out).
53641         (xtests): Do not include $(xtests-bp.out).
53642         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53643         [$(build-bounded) = yes] ($(addprefix
53644         $(objpfx),$(binaries-bounded))): Remove rule.
53645         ($(objpfx)%-bp.out): Remove rule.
53646         * config.make.in (build-bounded): Remove variable.
53647         * crypt/Makefile [$(build-bounded) = yes]
53648         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53649         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53650         append to variable.
53651         [$(build-bounded) = yes] (install-lib): Likewise.
53652         [$(build-bounded) = yes] (generated): Likewise.
53653         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53654         Remove rule.
53655         * intl/Makefile [$(build-bounded) = yes]
53656         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53657         * math/Makefile [$(build-bounded) = yes]
53658         ($(tests:%=$(objpfx)%-bp): Likewise.
53659         * misc/Makefile [$(build-bounded) = yes]
53660         ($(objpfx)tst-tsearch-bp): Likewise.
53661         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53662         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53663         Remove dependency.
53664         * string/Makefile (o-objects.ob): Remove variable.
53665         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53666         (CFLAGS-.ob): Remove variable.
53667         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53668         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53669         both definitions of variable.
53670         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53671         (ASFLAGS-.ob): Remove variable.
53673 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53675         [BZ #13550]
53676         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53677         Remove __BOUNDED_POINTERS__ from condition.
53678         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53679         * string/bits/string2.h [!__NO_STRING_INLINES &&
53680         !__BOUNDED_POINTERS__]: Likewise.
53681         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53682         Likewise.
53683         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53684         Remove conditional code.
53685         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53686         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53687         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53688         condition.
53690         [BZ #13550]
53691         * csu/libc-start.c: Do not include <bp-sym.h>.
53692         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53693         * elf/dl-open.c: Do not include <bp-sym.h>.
53694         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53695         * math/fegetenv.c: Do not include <bp-sym.h>.
53696         (fegetenv): Do not use BP_SYM in versioned symbols.
53697         * nptl/sysdeps/pthread/bits/libc-lockP.h
53698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53699         <bp-sym.h>.
53700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53701         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53703         (__pthread_mutex_destroy): Likewise.
53704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53705         (__pthread_mutex_lock): Likewise.
53706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53707         (__pthread_mutex_trylock): Likewise.
53708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53709         (__pthread_mutex_unlock): Likewise.
53710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53711         (__pthread_mutexattr_init): Likewise.
53712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53713         (__pthread_mutexattr_destroy): Likewise.
53714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53715         (__pthread_mutexattr_settype): Likewise.
53716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53717         (__pthread_rwlock_init): Likewise.
53718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53719         (__pthread_rwlock_destroy): Likewise.
53720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53721         (__pthread_rwlock_rdlock): Likewise.
53722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53723         (__pthread_rwlock_tryrdlock): Likewise.
53724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53725         (__pthread_rwlock_wrlock): Likewise.
53726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53727         (__pthread_rwlock_trywrlock): Likewise.
53728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53729         (__pthread_rwlock_unlock): Likewise.
53730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53731         (__pthread_key_create): Likewise.
53732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53733         (__pthread_setspecific): Likewise.
53734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53735         (__pthread_getspecific): Likewise.
53736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53737         Likewise.
53738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53739         (_pthread_cleanup_push_defer): Likewise.
53740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53741         (_pthread_cleanup_pop_restore): Likewise.
53742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53743         (pthread_setcancelstate): Likewise.
53744         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53745         <bp-sym.h>.
53746         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53747         (memchr): Do not use BP_SYM in weak_alias.
53748         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53749         (fegetenv): Do not use BP_SYM in versioned symbols.
53750         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53751         (fesetenv): Do not use BP_SYM in versioned symbols.
53752         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53753         (feupdateenv): Do not use BP_SYM in versioned symbols.
53754         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53755         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53756         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53757         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53758         (open64): Do not use BP_SYM in weak_alias.
53759         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53760         (fegetenv): Do not use BP_SYM in versioned symbols.
53761         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53762         (fesetenv): Do not use BP_SYM in versioned symbols.
53763         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53764         (feupdateenv): Do not use BP_SYM in versioned symbols.
53765         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53766         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53767         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53768         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53769         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53770         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53771         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53772         <bp-sym.h>.
53773         (__libc_start_main): Do not use BP_SYM.
53775 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53778         redundant return line.
53779         (norm): Likewise.
53780         (denorm): Likewise.
53781         (dbl_mp): Likewise.
53782         (sub_magnitudes): Likewise.
53783         (__add): Likewise.
53784         (__sub): Likewise.
53785         (__mul): Likewise.
53786         (__inv): Likewise.
53787         (__dvd): Likewise.
53788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53789         (norm): Likewise.
53790         (denorm): Likewise.
53791         (dbl_mp): Likewise.
53792         (sub_magnitudes): Likewise.
53793         (__add): Likewise.
53794         (__sub): Likewise.
53795         (__mul): Likewise.
53796         (__inv): Likewise.
53797         (__dvd): Likewise.
53799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53800         instead of __mul.
53801         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53802         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53803         (cc32): Likewise.
53805         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53806         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53808         of __mul for squares.
53809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53810         function
53811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53812         Likewise.
53813         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53814         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53816 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53818         [BZ #13550]
53819         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53820         code.
53821         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53822         prototype or function definition.  Rename ubp_* variables and
53823         parameters.  Remove argv definitions conditional on
53824         [__BOUNDED_POINTERS__].
53825         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53826         * elf/dl-runtime.c (_dl_fixup): Likewise.
53827         * include/set-hooks.h (RUN_HOOK): Likewise.
53828         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53829         definition.
53830         * string/strcpy.c (strcpy): Do not use __unbounded.
53831         * sysdeps/generic/frame.h (struct layout): Likewise.
53832         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53833         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53834         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53835         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53836         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53837         (__backtrace): Likewise.
53838         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53839         use __ptrvalue.
53840         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53841         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53842         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53843         Likewise.
53844         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53845         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53846         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53847         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53848         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53849         Do not use __unbounded.
53850         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53851         Rename __unboundedrlimits parameter to rlimits in prototype.
53852         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53853         Do not use __unbounded.
53854         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53855         not use __ptrvalue.
53856         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53857         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53858         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53859         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53860         __ptrvalue or __unbounded.
53861         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53862         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53863         use __unbounded.
53864         (__new_msgctl): Do not use __ptrvalue.
53865         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53866         __unbounded.
53867         (__libc_msgrcv): Do not use __ptrvalue.
53868         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53869         startup_info): Do not use __unbounded.
53870         (__libc_start_main): Likewise.  Rename ubp_* variables and
53871         parameters.  Remove argv definitions conditional on
53872         [__BOUNDED_POINTERS__].
53873         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53874         __ptrvalue.
53875         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53876         use __unbounded.
53877         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53878         or __ptrvalue.
53879         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53880         use __unbounded.
53881         (__new_shmctl): Do not use __ptrvalue.
53882         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53883         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53884         Likewise.
53885         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53886         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53887         (__libc_sigaction): Likewise.
53888         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53889         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53890         Likewise.
53891         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53893 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53895         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53897         * string/mempcpy.c: Implement by calling memcpy.
53899 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53904         evaluation.
53906         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53907         values in the mantissa.
53909         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53910         minimize writes to Z.
53911         (sub_magnitudes): Simplify code a bit.
53913 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53915         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53916         from the message.  The linker prefixes all warnings with that already.
53918 2013-02-12  Andreas Schwab  <schwab@suse.de>
53920         [BZ #15078]
53921         * posix/regexec.c (extend_buffers): Add parameter min_len.
53922         (check_matching): Pass minimum needed length.
53923         (clean_state_log_if_needed): Likewise.
53924         (get_subexp): Likewise.
53925         * posix/Makefile (tests): Add bug-regex34.
53926         (bug-regex34-ENV): Define.
53927         * posix/bug-regex34.c: New file.
53929         [BZ #11561]
53930         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53931         elements compare against the byte sequence of it, not its name.
53932         * posix/Makefile (tests): Add bug-regex35.
53933         (bug-regex35-ENV): Define.
53934         * posix/bug-regex35.c: New file.
53936 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53938         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53939         comment.
53940         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53941         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53942         (CHECK_EOL): Add undef.
53944 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53946         * bits/stdlib-bsearch.h: New file.
53947         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53948         * stdlib/stdlib.h: Likewise.
53950 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53952         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53953         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53954         declaration.
53955         * manual/search.texi (Array Search Function): Add missing const in
53956         lfind prototype.
53957         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53958         declaration to use rlim_t.
53959         (Basic Scheduling Functions): Remove erroneous const from
53960         sched_getparam prototype.  Remove erroneous * from
53961         sched_get_priority_max and sched_get_priority_min prototypes.
53962         (Resource Usage): Fix summary @comment on vtimes to refer to
53963         sys/vtimes.h rather than vtimes.h.
53964         Add missing *s in vtimes prototype.
53965         (Limits on Resources): Fix ulimit prototype to return long int.
53966         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53967         prototypes to use long int rather than double.
53968         (BSD Random): Fix initstate and setstate to use char *, not void *.
53969         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53970         prototype to make second argument 'struct aiocb64 *const[]'.
53971         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53972         (Status of AIO Operations): Remove erroneous const in aio_return and
53973         aio_return64 prototypes.
53974         (Synchronizing I/O): Fix sync prototype to return void.
53975         * manual/startup.texi (Suboptions): Remove an erroneous const in
53976         getsubopt prototype.
53977         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53978         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53979         use size_t rather than int.
53980         (Scanning All Users): Likewise for getpwent_r.
53981         (Setting Groups): Add missing const to setgroups prototype.
53982         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53983         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53984         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53985         'const void *' rather than 'const char *'.
53986         (Host Address Functions): Likewise for inet_ntop.
53987         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53988         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53989         ssize_t for return value.
53990         (Sending Data): Likewise for send, sendto, sendmsg.
53991         (Socket Option Functions): Add a missing const in setsockopt prototype.
53992         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53993         use wchar_t for the argument.
53994         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53995         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53996         take no arguments.
53997         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53998         double/float/long double for second argument.
53999         Fix return types of significand, significandf, significandl.
54000         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54001         argument in fchmod prototype.
54002         (File Owner): Use uid_t and gid_t in fchown prototype.
54003         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54004         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54005         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54006         use 'const struct dirent **' as argument types to CMP function pointer
54007         argument.
54008         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54009         (File Times): Fix summary magic @comment for struct utimbuf and utime
54010         to refer to utime.h, not time.h.
54011         * manual/string.texi (Argz Functions): Add missing const in
54012         argz_extract and argz_next prototypes.
54013         (Finding Tokens in a String): Likewise for basename.
54014         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54015         (Copying and Concatenation): Fix typo in wmemmove prototype.
54016         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54017         (Signal Stack): Remove erroneous const in sigstack prototype.
54018         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54019         prototype.
54020         (Simple Calendar Time): Likewise for stime.
54021         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54022         prototype.
54023         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54024         say sys/sysctl.h instead.
54025         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54026         and vsyslog prototypes.
54028 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54030         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54031         Remove.
54033 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54035         * misc/sys/mman.h: Fix typo in mremap comment.
54037 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54039         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54040         the '\0' terminator.
54042 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54044         [BZ #13550]
54045         * debug/segfault.c: Don't include <bp-checks.h>.
54046         * sysdeps/generic/bp-checks.h: Remove file.
54047         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54048         (__GETDENTS): Don't use CHECK_N.
54049         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54050         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54051         (__getgroups): Don't use CHECK_N.
54052         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54053         (setgroups): Don't use CHECK_N.
54054         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54055         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54056         (__libc_msgrcv): Don't use CHECK_N.
54057         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54058         (__libc_msgsnd): Don't use CHECK_N.
54059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54060         <bp-checks.h>.
54061         (__libc_pread): Don't use CHECK_N.
54062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54063         include <bp-checks.h>.
54064         (__libc_pread64): Don't use CHECK_N.
54065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54066         include <bp-checks.h>.
54067         (__libc_pwrite): Don't use CHECK_N.
54068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54069         include <bp-checks.h>.
54070         (__libc_pwrite64): Don't use CHECK_N.
54071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54072         <bp-checks.h>.
54073         (__libc_pread): Don't use CHECK_N.
54074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54075         include <bp-checks.h>.
54076         (__libc_pread64): Don't use CHECK_N.
54077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54078         include <bp-checks.h>.
54079         (__libc_pwrite): Don't use CHECK_N.
54080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54081         include <bp-checks.h>.
54082         (__libc_pwrite64): Don't use CHECK_N.
54083         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54084         (do_pread): Don't use CHECK_N.
54085         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54086         (do_pread64): Don't use CHECK_N.
54087         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54088         (do_pwrite): Don't use CHECK_N.
54089         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54090         (do_pwrite64): Don't use CHECK_N.
54091         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54092         (__libc_readv): Don't use CHECK_N.
54093         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54094         (semop): Don't use CHECK_N.
54095         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54096         <bp-checks.h>.
54097         (semtimedop): Don't use CHECK_N.
54098         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54099         (__libc_pread): Don't use CHECK_N.
54100         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54101         <bp-checks.h>.
54102         (__libc_pread64): Don't use CHECK_N.
54103         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54104         <bp-checks.h>.
54105         (__libc_pwrite): Don't use CHECK_N.
54106         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54107         <bp-checks.h>.
54108         (__libc_pwrite64): Don't use CHECK_N.
54109         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54110         <bp-checks.h>.
54111         (__libc_msgrcv): Don't use CHECK_N.
54112         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54113         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54114         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54115         (__libc_writev): Don't use CHECK_N.
54117 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54119         * string/strcpy.c: Removed unused variable.
54121         * Makeconfig (+sysdep-includes): Define with := rather than =.
54122         Use an existing include/ subdir of each sysdeps dir before it.
54124 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54126         * nscd/connection.c (register_traced_file): Comment function.
54127         [HAVE_INOTIFY] (union __inev): Define.
54128         [HAVE_INOTIFY] (inotify_check_files): New function.
54129         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54130         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54131         clear_db_cache.
54132         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54134 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54136         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54137         loaded if not already and that a failure is permanent.
54139 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54141         [BZ #15006]
54142         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54143         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54145 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54147         [BZ #13550]
54148         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54149         (CHECK_1_NULL_OK): Likewise.
54150         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54151         (__fxstat): Do not use CHECK_1.
54152         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54153         <bp-checks.h>.
54154         (___fxstat64): Do not use CHECK_1.
54155         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54156         <bp-checks.h>.
54157         (__fxstatat): Do not use CHECK_1.
54158         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54159         <bp-checks.h>.
54160         (__fxstatat64): Do not use CHECK_1.
54161         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54162         <bp-checks.h>.
54163         (__fxstat): Do not use CHECK_1.
54164         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54165         <bp-checks.h>.
54166         (__fxstatat): Do not use CHECK_1.
54167         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54168         <bp-checks.h>.
54169         (__getresgid): Do not use CHECK_1.
54170         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54171         <bp-checks.h>.
54172         (__getresuid): Do not use CHECK_1.
54173         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54174         <bp-checks.h>.
54175         (__lxstat): Do not use CHECK_1.
54176         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54177         <bp-checks.h>.
54178         (__old_msgctl): Do not use CHECK_1.
54179         (__new_msgctl): Likewise.
54180         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54181         <bp-checks.h>.
54182         (__new_setrlimit): Do not use CHECK_1.
54183         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54184         <bp-checks.h>.
54185         (__old_shmctl): Do not use CHECK_1.
54186         (__new_shmctl): Likewise.
54187         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54188         <bp-checks.h>.
54189         (__xstat): Do not use CHECK_1.
54190         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54191         (__lxstat): Do not use CHECK_1.
54192         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54193         <bp-checks.h>.
54194         (___lxstat64): Do not use CHECK_1.
54195         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54196         (__old_msgctl): Do not use CHECK_1.
54197         (__new_msgctl): Likewise.
54198         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54199         <bp-checks.h>.
54200         (__gettimeofday): Do not use CHECK_1.
54201         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54202         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54203         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54204         <bp-checks.h>.
54205         (__gettimeofday): Do not use CHECK_1.
54206         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54207         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54208         (__new_shmctl): Do not use CHECK_1.
54209         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54210         <bp-checks.h>.
54211         (do_sigtimedwait): Do not use CHECK_1.
54212         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54213         <bp-checks.h>.
54214         (do_sigwaitinfo): Do not use CHECK_1.
54215         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54216         <bp-checks.h>.
54217         (msgctl): Do not use CHECK_1.
54218         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54219         <bp-checks.h>.
54220         (shmctl): Do not use CHECK_1.
54221         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54222         (ustat): Do not use CHECK_1.
54223         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54224         <bp-checks.h>.
54225         (__fxstat): Do not use CHECK_1.
54226         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54227         <bp-checks.h>.
54228         (__fxstatat): Do not use CHECK_1.
54229         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54230         <bp-checks.h>.
54231         (__lxstat): Do not use CHECK_1.
54232         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54233         <bp-checks.h>.
54234         (__xstat): Do not use CHECK_1.
54235         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54236         (__xstat): Do not use CHECK_1.
54237         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54238         (___xstat64): Do not use CHECK_1.
54240         [BZ #13550]
54241         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54242         definitions.
54243         (CHECK_BOUNDS_HIGH): Likewise.
54244         * string/strcpy.c: Do not include <bp-checks.h>.
54245         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54247 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54249         * nscd/nscd-client.h (__nscd_drop_map_ref):
54250         Add __attribute__ ((unused)).
54251         * nis/nss-nisplus.h (niserr2nss): Likewise.
54253         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54254         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54256         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54257         Remove inline keyword.
54258         * include/rounding-mode.h (round_away): Likewise.
54259         * libio/wfileops.c (adjust_wide_data): Likewise.
54260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54261         (__m128i_strloadu_tolower): Likewise.
54262         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54263         (__m128i_strloadu_tolower): Likewise.
54264         * time/mktime.c (ydhms_diff): Likewise.
54265         * locale/elem-hash.h (elem_hash): Likewise.
54266         * locale/setlocale.c (setdata): Likewise.
54267         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54268         (re_string_wchar_at): Likewise.
54269         (bitset_not, bitset_merge, bitset_mask): Likewise.
54270         [!(__GNUC__ > 3)] (inline): Remove macro.
54271         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54272         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54273         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54274         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54275         * string/memcmp.c (memcmp_bytes): Likewise.
54276         * locale/programs/locarchive.c (compute_hashval): Likewise.
54277         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54278         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54279         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54280         * nss/getent.c (print_rpc, print_protocols): Likewise.
54281         (print_passwd, print_group, print_aliases): Likewise.
54282         * nis/nss-nisplus.h (niserr2nss): Likewise.
54283         * nscd/connections.c (restart_p): Likewise.
54284         Change return type to bool.
54286 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54288         * Makeconfig (all-Depend-files): Add existing
54289         $(sorted-subdirs:=/Depend) files.
54290         (all-subdirs): Remove nss.
54291         * sysdeps/unix/inet/Subdirs: Add it here instead.
54292         * hesiod/Depend: New file.
54294         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54295         instead of calling alloca.
54297         * io/lseek.c (__lseek): Rename to __libc_lseek.
54298         Define __lseek as an alias.
54300         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54302 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54304         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54305         else clause and remove check for non-standard endianness.
54307 2013-02-04  David S. Miller  <davem@davemloft.net>
54309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54311 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54313         [BZ #13550]
54314         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54315         (__ubp_memchr): Remove prototype.
54316         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54317         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54318         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54319         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54320         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54321         Remove alias.
54322         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54323         (__ubp_memchr): Likewise.
54324         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54325         (__ubp_memchr): Likewise.
54326         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54327         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54328         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54329         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54330         CHECK_STRING.
54331         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54332         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54333         (__getcwd): Do not use CHECK_STRING.
54334         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54335         <bp-checks.h>.
54336         (__real_chown): Do not use CHECK_STRING.
54337         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54338         <bp-checks.h>.
54339         (fchownat): Do not use CHECK_STRING.
54340         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54341         CHECK_STRING.
54342         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54343         <bp-checks.h>.
54344         (__lchown): Do not use CHECK_STRING.
54345         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54346         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54347         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54348         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54350         include <bp-checks.h>.
54351         (truncate64): Do not use CHECK_STRING.
54352         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54353         <bp-checks.h>.
54354         (__real_chown): Do not use CHECK_STRING.
54355         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54356         <bp-checks.h>.
54357         (__lchown): Do not use CHECK_STRING.
54358         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54359         <bp-checks.h>.
54360         (__chown): Do not use CHECK_STRING.
54361         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54362         <bp-checks.h>.
54363         (truncate64): Do not use CHECK_STRING.
54364         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54365         Likewise.
54366         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54367         (__xmknod): Do not use CHECK_STRING.
54368         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54369         <bp-checks.h>.
54370         (__xmknodat): Do not use CHECK_STRING.
54371         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54372         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54374 2013-02-04  Andreas Schwab  <schwab@suse.de>
54376         [BZ #14142]
54377         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54378         * include/netdb.h: Likewise for h_errno.
54379         * elf/tst-stackguard1.c: Include <tls.h>.
54381 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54383         * elf/link.h (struct link_map): Extend the l_addr comment.
54384         * include/link.h (struct link_map): Likewise.
54386 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54388         [BZ #13550]
54389         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54390         (BOUNDED_1): Remove macro.
54391         * debug/backtrace.c: Don't include <bp-checks.h>.
54392         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54393         (__backtrace): Likewise.
54394         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54395         <bp-checks.h>.
54396         (__backtrace): Don't use BOUNDED_1.
54397         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54398         <bp-checks.h>.
54399         (__backtrace): Don't use BOUNDED_1.
54400         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54401         (__backtrace): Don't use BOUNDED_1.
54402         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54403         (shmat): Don't use BOUNDED_N.
54405 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54407         [BZ #13550]
54408         * sysdeps/generic/bp-start.h: Remove file.
54409         * csu/libc-start.c: Don't include <bp-start.h>.
54410         (LIBC_START_MAIN): Set up __environ directly instead of using
54411         INIT_ARGV_and_ENVIRON.
54412         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54413         <bp-start.h>.
54415         [BZ #13550]
54416         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54417         definitions.
54418         (CHECK_FCNTL): Likewise.
54419         (CHECK_N_PAGES): Likewise.
54421         [BZ #13550]
54422         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54423         definitions.
54424         (CHECK_SIGSET_NULL_OK): Likewise.
54425         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54426         <bp-checks.h>.
54427         (sigpending): Don't use CHECK_SIGSET.
54428         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54429         <bp-checks.h>.
54430         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54431         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54432         <bp-checks.h>.
54433         (do_sigsuspend): Don't use CHECK_SIGSET.
54434         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54435         use CHECK_SIGSET.
54436         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54437         (do_sigwait): Don't use CHECK_SIGSET.
54438         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54439         use CHECK_SIGSET.
54440         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54441         include <bp-checks.h>.
54442         (sigpending): Don't use CHECK_SIGSET.
54443         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54444         include <bp-checks.h>.
54445         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54446         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54447         <bp-checks.h>.
54448         (sigpending): Don't use CHECK_SIGSET.
54449         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54450         <bp-checks.h>.
54451         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54453         [BZ #13550]
54454         * sysdeps/generic/bp-semctl.h: Remove file.
54455         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54456         <bp-checks.h> and <bp-semctl.h>.
54457         (__old_semctl): Don't use CHECK_SEMCTL.
54458         (__new_semctl): Likewise.
54459         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54460         and <bp-semctl.h>.
54461         (__old_semctl): Don't use CHECK_SEMCTL.
54462         (__new_semctl): Likewise.
54463         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54464         <bp-checks.h> and <bp-semctl.h>.
54465         (__old_semctl): Don't use CHECK_SEMCTL.
54466         (__new_semctl): Likewise.
54467         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54468         <bp-checks.h> and <bp-semctl.h>.
54469         (semctl): Don't use CHECK_SEMCTL.
54471         [BZ #13550]
54472         * Makerules (elide-bp-thunks): Remove variable.
54473         (elide-routines.oS): Don't use $(elide-bp-thunks).
54474         (elide-routines.os): Likewise.
54475         (elide-routines.o): Likewise.
54476         (elide-routines.op): Likewise.
54477         (elide-routines.og): Likewise.
54478         (objects): Don't use $(bp-thunks).
54479         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54480         include.
54481         (common-generated): Do not add s-proto-bp.d.
54482         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54483         (int): Likewise.
54484         (typ): Likewise.
54485         Do not generate makefile rules for bounded-pointer thunks.
54486         * sysdeps/generic/bp-thunks.h: Remove file.
54487         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54488         * sysdeps/unix/s-proto-bp.S: Likewise.
54490         [BZ #15062]
54491         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54492         parts of result separately when argument is not close to line from
54493         -i to i and one part of argument is small.
54494         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54495         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54496         * math/libm-test.inc (cacos_test): Add more tests.
54497         (casin_test): Likewise.
54498         (casinh_test): Likewise.
54499         * sysdeps/i386/fpu/libm-test-ulps: Update.
54500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54502 2013-01-31  David S. Miller  <davem@davemloft.net>
54504         * po/de.po: Update from translation team.
54506 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54508         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54510 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54512         * configure.in (_AC_PROG_CC_C89): New definition.
54513         * configure: Regenerate.
54515         * configure.in (AC_PROG_CPP): New definition.
54516         * configure: Regenerate.
54518 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54520         * debug/tst-backtrace.h: New file.
54521         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54522         (ret): Remove variable.
54523         (x): Likewise.
54524         (FAIL): Remove macro.
54525         (NO_INLINE): Likewise.
54526         (fn1): Use match function instead of strstr.
54527         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54528         (ret): Remove variable.
54529         (x): Likewise.
54530         (FAIL): Remove macro.
54531         (NO_INLINE): Likewise.
54532         (fn): Use match function instead of strstr.
54533         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54534         (ret): Remove variable.
54535         (x): Likewise.
54536         (FAIL): Remove macro.
54537         (NO_INLINE): Likewise.
54538         (handle_signal): Use match function instead of strstr.
54539         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54540         (ret): Remove variable.
54541         (x): Likewise.
54542         (FAIL): Remove macro.
54543         (NO_INLINE): Likewise.
54544         (handle_signal): Use match function instead of strstr.
54546 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54548         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54550 2013-01-23  David S. Miller  <davem@davemloft.net>
54552         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54553         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54554         argument of CAS if possible.
54555         * sysdeps/sparc/sparc64/bits/atomic.h
54556         (__arch_compare_and_exchange_val_32_acq): Likewise.
54557         (__arch_compare_and_exchange_val_64_acq): Likewise.
54559 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54561         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54562         * sysdeps/posix/ulimit.c: ... this.
54563         Include <limits.h>.
54564         * sysdeps/unix/bsd/ulimit.c: Remove file.
54566 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54568         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54569         (LDFLAGS-tst-array5): Likewise.
54571 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54573         [BZ #15036]
54574         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54575         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54576         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54577         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54579 2013-01-21  David S. Miller  <davem@davemloft.net>
54581         * sysdeps/sparc/backtrace.c: New file.
54582         * sysdeps/sparc/sparc32/backtrace.h: New file.
54583         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54584         * sysdeps/sparc/sparc64/backtrace.h: New file.
54585         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54586         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54587         -funwind-tables.
54589 2013-01-21  Andreas Schwab  <schwab@suse.de>
54591         [BZ #15020]
54592         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54593         closed its stdout.
54595 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54598         "mpa2.h".
54599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54601 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54602             Mark Mitchell  <mark@codesourcery.com>
54603             Tom de Vries  <tom@codesourcery.com>
54604             Paul Pluzhnikov  <ppluzhnikov@google.com>
54606         * debug/tst-backtrace2.c: New file.
54607         * debug/tst-backtrace3.c: Likewise.
54608         * debug/tst-backtrace4.c: Likewise.
54609         * debug/tst-backtrace5.c: Likewise.
54610         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54611         (CFLAGS-tst-backtrace3.c): Likewise.
54612         (CFLAGS-tst-backtrace4.c): Likewise.
54613         (CFLAGS-tst-backtrace5.c): Likewise.
54614         (LDFLAGS-tst-backtrace2): Likewise.
54615         (LDFLAGS-tst-backtrace3): Likewise.
54616         (LDFLAGS-tst-backtrace4): Likewise.
54617         (LDFLAGS-tst-backtrace5): Likewise.
54618         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54619         tst-backtrace4 and tst-backtrace5.
54621 2013-01-18  Anton Blanchard  <anton@samba.org>
54622             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54624         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54625         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54626         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54627         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54629         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54630         "+r" and remove output regs list as redundant.  Add explicit inline
54631         asm to specify register of return val to work around compiler codegen
54632         bug.  Remove (int) cast on return value.  Add return type parameter to
54633         use in macro so that this macro does not truncate return value for
54634         64-bit values.
54635         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54636         pass to INTERNAL_VSYSCALL_NCS.
54637         (INLINE_VSYSCALL): Add 'long int' as return type to
54638         INTERNAL_VSYSCALL_NCS macro invocation.
54639         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54640         INTERNAL_VSYSCALL_NCS macro invocation.
54641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54643 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54645         [BZ #14496]
54646         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54647         Fix application of SIMD FP exception mask.
54649         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54650         mp_no from a power of two.
54651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54652         __mpexp_twomm1.  Use __pow_mp.
54654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54655         multiplication.
54657 2013-01-17  David S. Miller  <davem@davemloft.net>
54659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54661 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54663         [BZ #15023]
54664         * include/complex.h: Condition contents on [!_COMPLEX_H].
54665         (__kernel_casinhf): New prototype.
54666         (__kernel_casinh): Likewise.
54667         (__kernel_casinhl): Likewise.
54668         * math/Makefile (libm_calls): Add k_casinh.
54669         * math/k_casinh.c: New file.
54670         * math/k_casinhf.c: Likewise.
54671         * math/k_casinhl.c: Likewise.
54672         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54673         finite nonzero arguments.
54674         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54675         finite nonzero arguments.
54676         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54677         finite nonzero arguments.
54678         * math/s_casinh.c: Do not include <float.h>.
54679         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54680         * math/s_casinhf.c: Do not include <float.h>.
54681         (__casinhf): Move code for finite nonzero arguments to
54682         k_casinhf.c.
54683         * math/s_casinhl.c: Do not include <float.h>.
54684         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54685         redefine.
54686         (__casinhl): Move code for finite nonzero arguments to
54687         k_casinhl.c.
54688         * math/libm-test.inc (cacos_test): Add more tests.
54689         * sysdeps/i386/fpu/libm-test-ulps: Update.
54690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54692 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54694         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54695         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54696         [!HAVE_MREMAP]: Remove [defined linux] case.
54697         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54699 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54701         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54703 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54705         * elf/elf.h (R_386_SIZE32): New relocation.
54706         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54707         R_386_SIZE32.
54708         (elf_machine_rela): Likewise.
54709         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54710         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54712 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54714         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54715         (FP_FAST_FMA): Do not define.
54716         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54717         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54718         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54719         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54720         !_SOFT_FLOAT]: Likewise.
54721         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54722         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54723         value.
54724         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54725         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54726         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54727         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54728         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54729         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54730         file.
54732 2013-01-16  Andreas Schwab  <schwab@suse.de>
54734         [BZ #14327]
54735         * include/stdlib.h (__mktemp): Add declaration.
54736         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54737         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54739 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54741         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54742         definitions.
54743         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54744         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54745         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54746         definitions here.
54747         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54748         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54749         definitions.
54750         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54751         and ONE.
54752         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54753         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54754         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54755         definitions.
54756         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54757         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54758         definitions.
54759         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54761         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54763 2013-01-15  David S. Miller  <davem@davemloft.net>
54765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54766         trunc{,f} to libm-sysdep_routes.
54767         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54769         file.
54770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54772         file.
54773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54774         file.
54775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54777         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54778         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54779         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54780         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54781         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54782         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54785         nearbyint{,f} to libm-sysdep_routes.
54786         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54788         New file.
54789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54790         file.
54791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54792         New file.
54793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54794         file.
54795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54797         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54798         file.
54799         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54800         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54801         file.
54802         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54803         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54804         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54806         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54807         libc_feholdexcept and libc_fesetenv.
54809 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54811         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54813 2013-01-14  David S. Miller  <davem@davemloft.net>
54815         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54816         (SPARC_ASM_VIS2_IFUNC): Likewise.
54817         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54819         use of 'siam' instruction.
54820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54821         Likewise.
54822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54823         Likewise.
54824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54825         Likewise.
54826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54831         file.
54832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54833         file.
54834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54835         file.
54836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54837         file.
54838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54843         new VIS2 routines.
54844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54847         Likewise.
54848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54853         routines to libm-sysdep_routines.
54854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54857         fdim/fdimf to libm-sysdep_routines.
54858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54859         file.
54860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54862         file.
54863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54866         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54867         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54868         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54869         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54871 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54874         to optimize copies.
54876         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54877         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54881         local variable MPTWO.
54882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54883         Likewise.
54885 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54887         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54888         GLOB_NOESCAPE.
54890 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54892         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54894 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54896         * manual/pattern.texi (glob_t): Document gl_flags.
54897         (glob64_t): Likewise.
54899 2013-01-11  David S. Miller  <davem@davemloft.net>
54901         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54902         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54903         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54904         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54905         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54906         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54907         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54908         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54909         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54910         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54911         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54912         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54913         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54915         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54916         sparc V9 rather than using V8 code.
54917         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54918         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54920         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54921         Move to...
54922         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54923         Here.
54925 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54927         [BZ #14941]
54928         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54929         not in the main loop.
54930         * configure: Regenerated.
54932 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54934         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54935         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54936         to just #else.
54937         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54938         [!__GLIBC_HAVE_LONG_LONG] case.
54939         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54940         condition to just #else.
54941         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54942         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54943         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54944         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54945         unconditional.
54946         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54947         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54948         #elif condition to just #else.
54949         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54950         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54951         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54952         #elif condition to just #else.
54954 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54956         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54957         (EF_MIPS_ARCH_64): Fix value.
54958         (EF_MIPS_ARCH_32R2): New.
54959         (EF_MIPS_ARCH_64R2): New.
54961 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54963         * Makeconfig (+link-pie-before-libc): New.
54964         (+link-pie-after-libc): Likewise.
54965         (+link-pie-tests): Likewise.
54966         (+link-pie): Rewritten.
54967         (link-before-libc): Remove $(config-LDFLAGS).
54968         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54969         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54970         (config-LDFLAGS): Renamed to ...
54971         (rtld-LDFLAGS): This.
54972         (rtld-tests-LDFLAGS): New macro.
54973         (link-libc-rpath-link): Likewise.
54974         (link-libc-tests-rpath-link): Likewise.
54975         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54976         (link-libc): Prepand $(link-libc-rpath-link).
54977         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54978         (test-program-prefix): New macro.
54979         (test-via-rtld-prefix): Likewise.
54980         (test-program-cmd): Likewise.
54981         (host-test-program-cmd): Likewise.
54982         * Makefile ($(common-objpfx)testrun.sh): Replace
54983         $(run-program-prefix) with $(test-program-prefix).
54984         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54985         $(rtld-LDFLAGS).
54986         ($(common-objpfx)shlib.lds): Likewise.
54987         (build-module-helper): Likewise.
54988         ($(common-objpfx)format.lds): Likewise.
54989         * Rules (binaries-pie-tests): New.
54990         (binaries-pie-notests): Likewise.
54991         (binaries-pie): Rewritten.
54992         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54993         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54994         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54995         (make-test-out): Replace $(host-built-program-cmd) with
54996         $(host-test-program-cmd).
54997         * config.make.in (build-hardcoded-path-in-tests): New variable.
54998         * configure.in (--enable-hardcoded-path-in-tests): New configure
54999         option.
55000         (hardcoded_path_in_tests): New AC_SUBST.
55001         * configure: Regenerated.
55002         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55003         $(built-program-cmd) with $(test-program-cmd).
55004         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55005         (test_program_cmd): This.
55006         * elf/Makefile ($(objpfx)order.out): Run test with
55007         $(test-program-prefix).
55008         ($(objpfx)order2.out): Likewise.
55009         ($(objpfx)tst-initorder.out): Likewise.
55010         ($(objpfx)tst-initorder2.out): Likewise.
55011         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55012         $(test-program-cmd).
55013         ($(objpfx)tst-array1-static.out): Likewise.
55014         ($(objpfx)tst-array2.out): Likewise.
55015         ($(objpfx)tst-array3.out): Likewise.
55016         ($(objpfx)tst-array4.out): Likewise.
55017         ($(objpfx)tst-array5.out): Likewise.
55018         ($(objpfx)tst-array5-static.out): Likewise.
55019         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55020         $(test-program-cmd).
55021         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55022         $(run-program-prefix) with $(test-program-prefix).
55023         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55024         (test_program_prefix): This.
55025         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55026         $(run-program-prefix) with $(test-program-prefix).
55027         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55028         (test_program_prefix): This.
55029         * iconvdata/tst-tables.sh: Likewise.
55030         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55031         $(run-program-prefix) with $(test-program-prefix).
55032         ($(objpfx)tst-translit.out): Likewise.
55033         ($(objpfx)tst-gettext2.out): Likewise.
55034         ($(objpfx)tst-gettext4.out): Likewise.
55035         ($(objpfx)tst-gettext6.out): Likewise.
55036         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55037         (test_program_prefix): This.
55038         * intl/tst-gettext2.sh: Likewise.
55039         * intl/tst-gettext4.sh  Likewise.
55040         * intl/tst-gettext6.sh: Likewise.
55041         * intl/tst-translit.sh: Likewise.
55042         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55043         with $(test-program-cmd).
55044         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55045         $(run-program-prefix) with $(test-program-prefix).
55046         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55047         (test_program_prefix): This.
55048         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55049         $(run-program-prefix) with $(test-program-prefix).
55050         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55051         (test_program_prefix): This.
55052         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55053         * posix/Makefile ($(objpfx)globtest.out): Replace
55054         $(run-via-rtld-prefix) and $(test-wrapper) with
55055         $(test-program-prefix) and $(test-via-rtld-prefix).
55056         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55057         $(test-program-prefix).
55058         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55059         $(host-test-program-cmd).
55060         (tst-spawn-ARGS): Likewise.
55061         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55062         $(test-program-prefix).
55063         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55064         (test_via_rtld_prefix): This.
55065         (test_wrapper): Renamed to ...
55066         (test_program_prefix): This.
55067         (run_program_prefix): Replaced by test_program_prefix.
55068         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55069         (test_program_prefix): This.
55070         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55071         with $(host-test-program-cmd).
55072         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55073         $(run-program-prefix) with $(test-program-prefix).
55074         ($(objpfx)tst-printf.out): Likewise.
55075         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55076         $(test-program-cmd).
55077         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55078         (test_program_prefix): This.
55079         * stdio-common/tst-unbputc.sh: Likewise.
55080         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55081         $(run-program-prefix) with $(test-program-prefix).
55082         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55083         (test_program_prefix): This.
55084         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55085         $(built-program-cmd) with $(test-program-cmd).
55087 2013-01-11  Andreas Jaeger  <aj@suse.de>
55089         [BZ #15003]
55090         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55091         value. Sync with Linux 3.7.
55093 2013-01-10  David S. Miller  <davem@davemloft.net>
55095         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55096         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55097         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55099 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55101         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55102         never set.
55103         * configure: Regenerated.
55105 2013-01-10  David S. Miller  <davem@davemloft.net>
55107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55108         sparc V9 rather than using V8 code.
55109         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55110         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55112 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55114         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55115         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55116         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55117         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55118         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55119         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55120         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55121         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55122         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55123         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55124         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55125         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55126         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55127         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55128         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55129         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55130         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55131         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55132         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55133         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55134         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55135         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55136         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55137         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55138         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55139         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55140         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55142 2013-01-10  David S. Miller  <davem@davemloft.net>
55144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55146 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55148         * posix/Makefile (tests-static): New variable.
55149         (tests): Add $(tests-static).
55150         (tst-exec-static-ARGS): New variable.
55151         (tst-spawn-static-ARGS): Likewise.
55152         * posix/tst-exec-static.c: New file.
55153         * posix/tst-spawn-static.c: Likewise.
55154         * posix/tst-exec.c: Support run directly.
55155         * posix/tst-spawn.c: Likewise.
55157 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55159         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55160         long.
55161         * math/bits/mathcalls.h (llrint): Likewise.
55162         (llround): Likewise.
55163         * stdlib/stdlib.h (struct drand48_data): Likewise.
55164         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55165         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55166         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55167         Likewise.
55168         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55169         Likewise.
55170         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55171         (elf_greg_t): Likewise.
55172         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55173         (__jmp_buf): Likewise.
55174         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55175         definitions.
55176         (llrint): Likewise, for all definitions.
55177         (llrintl): Likewise.
55179         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55180         Remove [__GNUC__] condition.
55181         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55182         condition to just [__USE_ISOC99].
55183         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55185 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55187         [BZ #14200]
55188         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55189         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55190         defined.
55191         (_POSIX_V6_ILP32_OFF32): Likewise.
55192         (_XBS5_ILP32_OFF32): Likewise.
55193         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55194         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55196 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55198         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55201         doubles __mpexp_twomm1.  Adjust usage.
55202         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55203         Remove.
55205 2013-01-10  Andreas Schwab  <schwab@suse.de>
55207         [BZ #14964]
55208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55209         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55211 2013-01-09  David S. Miller  <davem@davemloft.net>
55213         [BZ #15003]
55214         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55215         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55216         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55217         (TCP_FASTOPEN): Define.
55218         (tcp_repair_opt): New structure.
55219         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55220         enum values.
55221         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55222         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55223         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55224         (tcp_cookie_transactions): New structure.
55226 2013-01-09  Anton Blanchard  <anton@samba.org>
55228         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55229         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55231         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55233 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55235         * include/features.h (__USE_ANSI): Remove.
55237 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55239         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55241         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55243 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55245         * sysdeps/s390/fpu/libm-test-ulps: Update.
55247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55249         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55250         (__acr): Likewise.
55251         (__cpy): Likewise.
55252         (norm): Likewise.
55253         (denorm): Likewise.
55254         (__mp_dbl): Likewise.
55255         (__dbl_mp): Likewise.
55256         (add_magnitudes): Likewise.
55257         (sub_magnitudes): Likewise.
55258         (__add): Likewise.
55259         (__sub): Likewise.
55260         (__mul): Likewise.
55261         (__inv): Likewise.
55262         (__dvd): Likewise.
55263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55264         (__acr): Likewise.
55265         (__cpy): Likewise.
55266         (norm): Likewise.
55267         (denorm): Likewise.
55268         (__mp_dbl): Likewise.
55269         (__dbl_mp): Likewise.
55270         (add_magnitudes): Likewise.
55271         (sub_magnitudes): Likewise.
55272         (__add): Likewise.
55273         (__sub): Likewise.
55274         (__mul): Likewise.
55275         (__inv): Likewise.
55276         (__dvd): Likewise.
55277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55278         (__acr): Likewise.
55279         (__cpy): Likewise.
55280         (norm): Likewise.
55281         (denorm): Likewise.
55282         (__mp_dbl): Likewise.
55283         (__dbl_mp): Likewise.
55284         (add_magnitudes): Likewise.
55285         (sub_magnitudes): Likewise.
55286         (__add): Likewise.
55287         (__sub): Likewise.
55288         (__mul): Likewise.
55289         (__inv): Likewise.
55290         (__dvd): Likewise.
55292 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55294         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55295         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55296         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55297         2 && __USE_EXTERN_INLINES]: Likewise.
55299 2013-01-08  Andreas Jaeger  <aj@suse.de>
55301         [BZ# 14985]
55302         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55303         Remove.
55304         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55305         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55307 2013-01-07  Anton Blanchard  <anton@samba.org>
55309         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55310         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55311         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55312         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55313         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55314         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55315         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55316         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55318         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55319         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55320         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55321         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55322         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55323         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55324         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55325         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55326         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55327         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55328         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55329         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55330         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55331         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55332         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55333         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55334         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55335         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55336         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55337         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55338         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55339         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55341         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55342         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55343         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55345         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55347         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55348         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55349         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55350         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55351         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55353 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55355         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55356         (__MALLOC_PMT): Likewise.
55357         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55358         [__GNUC__], only on [_LIBC].
55359         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55360         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55361         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55362         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55363         forward declaration.
55364         (realloc_hook_ini): Likewise.
55365         (memalign_hook_ini): Likewise.
55366         (__libc_memalign): Do not use __MALLOC_PMT in variable
55367         declaration.
55368         (__libc_valloc): Likewise.
55369         (__libc_pvalloc): Likewise.
55370         (__libc_calloc): Likewise.
55371         (__posix_memalign): Likewise.
55373         [BZ #14996]
55374         * math/s_casinh.c: Include <float.h>.
55375         (__casinh): Do not do computation with squaring and square root
55376         for large arguments.
55377         * math/s_casinhf.c: Include <float.h>.
55378         (__casinhf): Do not do computation with squaring and square root
55379         for large arguments.
55380         * math/s_casinhl.c: Include <float.h>.
55381         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55382         (__casinhl): Do not do computation with squaring and square root
55383         for large arguments.
55384         * math/libm-test.inc (casin_test): Add more tests.
55385         (casinh_test): Likewise.
55386         * sysdeps/i386/fpu/libm-test-ulps: Update.
55387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55389 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55391         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55392         (__x86_64_raw_data_cache_size): Likewise.
55393         (__x86_64_data_cache_size_half): Likewise.
55394         (__x86_64_raw_data_cache_size_half): Likewise.
55395         (__x86_64_shared_cache_size): Likewise.
55396         (__x86_64_raw_shared_cache_size): Likewise.
55397         (__x86_64_shared_cache_size_half): Likewise.
55398         (__x86_64_raw_shared_cache_size_half): Likewise.
55399         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55400         to ...
55401         (__x86_data_cache_size): This.
55402         (__x86_64_raw_data_cache_size): Renamed to ...
55403         (__x86_raw_data_cache_size): This.
55404         (__x86_64_data_cache_size_half): Renamed to ...
55405         (__x86_data_cache_size_half): This.
55406         (__x86_64_raw_data_cache_size_half): Renamed to ...
55407         (__x86_raw_data_cache_size_half): This.
55408         (__x86_64_shared_cache_size): Renamed to ...
55409         (__x86_shared_cache_size): This.
55410         (__x86_64_raw_shared_cache_size): Renamed to ...
55411         (__x86_raw_shared_cache_size): This.
55412         (__x86_64_shared_cache_size_half): Renamed to ...
55413         (__x86_shared_cache_size_half): This.
55414         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55415         (__x86_raw_shared_cache_size_half): This.
55416         * sysdeps/x86_64/memcpy.S: Updated.
55417         * sysdeps/x86_64/memset.S: Likewise.
55418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55419         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55420         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55422 2013-01-04  David S. Miller  <davem@davemloft.net>
55424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55426 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55428         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55429         1 to avoid redefinition warning.
55430         (__USE_GNU): Don't define.
55431         (init_signaling_nan): Protoize.
55433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55435 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55437         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55439         (__cpymn): Likewise.
55440         (norm): Remove commented code.
55441         (denorm): Likewise.
55442         (__mp_dbl): Likewise.
55443         (__inv): Likewise.
55444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55445         (__cpymn): Likewise.
55446         (norm): Remove commented code.
55447         (denorm): Likewise.
55448         (__mp_dbl): Likewise.
55449         (__inv): Likewise.
55451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55452         mp_no value for 1.0 and 2.0.
55453         (norm): Use RADIXI instead of radixi.d.
55454         (denorm): Likewise.
55455         (__mul): Use 0.0 instead of zero.d.
55456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55457         mp_no value for 1.0 and 2.0.
55458         (norm): Use RADIXI instead of radixi.d.
55459         (denorm): Likewise.
55460         (__mul): Use 0.0 instead of zero.d.
55462 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55464         [BZ #14994]
55465         * math/s_casinh.c (__casinh): Reduce finite argument to first
55466         quadrant then set signs of results at the end.
55467         * math/s_casinhf.c (__casinhf): Likewise.
55468         * math/s_casinhl.c (__casinhl): Likewise.
55469         * math/libm-test.inc (casin_test): Add more tests.
55470         (casinh_test): Likewise.
55471         * sysdeps/i386/fpu/libm-test-ulps: Update.
55472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55474 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55476         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55478         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55480         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55481         declarations.
55482         (denorm): Likewise.
55483         (__mp_dbl): Likewise.
55484         (__inv): Likewise.
55486         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55487         and adjust the header comment.
55489         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55490         variable name from declaration.
55492 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55495         Initialize COMMON_CPUID_INDEX_7 element.
55496         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55497         (CPUID_RTM): Likewise.
55498         (HAS_RTM): Likewise.
55499         (COMMON_CPUID_INDEX_7): New enum.
55501 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55503         [BZ #14981]
55504         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55505         size is zero, record memory as freed.
55507 2013-01-03  Andreas Jaeger  <aj@suse.de>
55509         * po/ia.po: Add new Interlingua translation.
55511 2012-01-03  Allan McRae  <allan@archlinux.org>
55513         * locale/programs/localedef.c: Fix description of '--posix' flag.
55515 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55517         * NEWS: Update dates in second copyright notice.
55518         * README: Update copyright dates in example.
55519         * manual/libc.texinfo: Update copyright dates.
55520         * scripts/test-installation.pl: Update copyright date in --version
55521         output.
55523         * hurd/ctty-input.c: Fix copyright notice formatting.
55524         * hurd/ctty-output.c: Likewise.
55525         * hurd/dtable.c: Likewise.
55526         * hurd/hurd-raise.c: Likewise.
55527         * hurd/hurdprio.c: Likewise.
55528         * hurd/msgportdemux.c: Likewise.
55529         * misc/sys/file.h: Likewise.
55530         * misc/sys/ioctl.h: Likewise.
55531         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55532         * sysdeps/mach/hurd/chdir.c: Likewise.
55533         * sysdeps/mach/hurd/fchdir.c: Likewise.
55534         * sysdeps/mach/hurd/rename.c: Likewise.
55535         * sysdeps/mach/hurd/rmdir.c: Likewise.
55536         * sysdeps/mach/hurd/seekdir.c: Likewise.
55537         * sysdeps/mach/hurd/setsid.c: Likewise.
55538         * sysdeps/posix/wait3.c: Likewise.
55540         * All files with FSF copyright notices: Update copyright dates
55541         using scripts/update-copyrights.
55542         * intl/plural.c: Regenerated.
55543         * locale/programs/charmap-kw.h: Likewise.
55544         * locale/programs/locfile-kw.h: Likewise.
55546 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55548         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55549         four values.
55551         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55552         calculation loop and add branch prediction.
55554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55555         check access beyond bounds of m1np.
55557         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55558         MPTWO.
55559         (__inv): Remove local variable MPTWO to use the global
55560         constant.
55561         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55562         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55563         variable MPTWO.
55564         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55565         MP3HALFS static const.
55567 2013-01-01  David S. Miller  <davem@davemloft.net>
55569         * po/ca.po: Update from translation team.
55571 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55573         * scripts/update-copyrights: New file.
55574         * Makeconfig: Reformat copyright notice.
55575         * ctype/ctype.h: Likewise.
55576         * debug/swprintf_chk.c: Likewise.
55577         * elf/dl-cache.c: Likewise.
55578         * elf/dl-debug.c: Likewise.
55579         * elf/dl-object.c: Likewise.
55580         * grp/initgroups.c: Likewise.
55581         * hurd/Makefile: Likewise.
55582         * hurd/hurd/signal.h: Likewise.
55583         * hurd/hurdfault.c: Likewise.
55584         * hurd/hurdioctl.c: Likewise.
55585         * hurd/hurdlookup.c: Likewise.
55586         * hurd/intr-msg.c: Likewise.
55587         * iconv/gconv_open.c: Likewise.
55588         * libio/swprintf.c: Likewise.
55589         * locale/lc-ctype.c: Likewise.
55590         * locale/nl_langinfo.c: Likewise.
55591         * mach/Machrules: Likewise.
55592         * mach/Makefile: Likewise.
55593         * malloc/obstack.h: Likewise.
55594         * manual/Makefile: Likewise.
55595         * manual/tsort.awk: Likewise.
55596         * misc/bits/stab.def: Likewise.
55597         * nis/nis_print_group_entry.c: Likewise.
55598         * nis/nis_table.c: Likewise.
55599         * nis/nss_compat/compat-pwd.c: Likewise.
55600         * nis/nss_compat/compat-spwd.c: Likewise.
55601         * po/Makefile: Likewise.
55602         * posix/fnmatch.c: Likewise.
55603         * posix/regex.h: Likewise.
55604         * resolv/Makefile: Likewise.
55605         * resolv/nss_dns/dns-network.c: Likewise.
55606         * resolv/res_hconf.c: Likewise.
55607         * scripts/gen-sorted.awk: Likewise.
55608         * soft-fp/soft-fp.h: Likewise.
55609         * stdio-common/printf.h: Likewise.
55610         * stdlib/monetary.h: Likewise.
55611         * stdlib/random.c: Likewise.
55612         * stdlib/random_r.c: Likewise.
55613         * sysdeps/generic/Makefile: Likewise.
55614         * sysdeps/gnu/Makefile: Likewise.
55615         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55617         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55618         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55619         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55620         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55621         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55622         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55623         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55624         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55625         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55626         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55627         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55628         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55629         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55630         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55631         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55633         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55634         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55635         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55636         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55637         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55638         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55639         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55640         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55641         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55642         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55643         * sysdeps/mach/hurd/errnos.awk: Likewise.
55644         * sysdeps/mach/hurd/fork.c: Likewise.
55645         * sysdeps/mach/hurd/getcwd.c: Likewise.
55646         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55647         * sysdeps/mach/hurd/mmap.c: Likewise.
55648         * sysdeps/mach/hurd/utimes.c: Likewise.
55649         * sysdeps/mach/hurd/xmknod.c: Likewise.
55650         * sysdeps/posix/profil.c: Likewise.
55651         * sysdeps/posix/readdir_r.c: Likewise.
55652         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55653         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55654         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55655         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55657         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55658         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55659         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55661         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55662         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55663         * sysdeps/pthread/lio_listio.c: Likewise.
55664         * sysdeps/sparc/dl-procinfo.h: Likewise.
55665         * sysdeps/unix/i386/sysdep.S: Likewise.
55666         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55667         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55668         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55669         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55671         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55672         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55673         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55674         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55675         * sysdeps/wordsize-32/divdi3.c: Likewise.
55676         * time/sys/time.h: Likewise.
55677         * wcsmbs/Makefile: Likewise.
55679 2013-01-01  David S. Miller  <davem@davemloft.net>
55681         * po/fr.po: Update from translation team.
55683         * catgets/gencat.c: Update copyright year.
55684         * csu/version.c: Likewise.
55685         * debug/catchsegv.sh: Likewise.
55686         * debug/pcprofiledump.c: Likewise.
55687         * debug/xtrace.sh: Likewise.
55688         * elf/ldconfig.c: Likewise.
55689         * elf/ldd.bash.in: Likewise.
55690         * elf/pldd.c: Likewise.
55691         * elf/sotruss.ksh: Likewise.
55692         * elf/sprof.c: Likewise.
55693         * iconv/iconv_prog.c: Likewise.
55694         * iconv/iconvconfig.c: Likewise.
55695         * locale/programs/locale.c: Likewise.
55696         * locale/programs/localedef.c: Likewise.
55697         * login/programs/pt_chown.c: Likewise.
55698         * malloc/memusage.sh: Likewise.
55699         * malloc/memusagestat.c: Likewise.
55700         * malloc/mtrace.pl: Likewise.
55701         * nscd/nscd.c: Likewise.
55702         * nss/getent.c: Likewise.
55703         * nss/makedb.c: Likewise.
55704         * posix/getconf.c: Likewise.
55706 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55708         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55709         numbers.
55711 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55713         * math/bits/mathcalls.h (modf): Use __nonnull.
55715 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55717         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55718         (split): Use macro CN instead of the bare value.
55719         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55720         could be used.
55721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55722         instead of the bare value.
55723         (power1): Likewise.
55725 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55728         __ATAN_TWOM.
55729         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55731         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55732         their values.
55733         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55735         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55736         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55738 2012-12-28  Andreas Jaeger  <aj@suse.de>
55740         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55741         values are from Linux 3.7.
55743         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55744         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55746 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55748         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55749         TRUE case.
55751         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55752         (norm): Likewise.
55753         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55754         variables with preprocessor constants.
55755         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55756         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55757         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55759 2012-12-27  Bruno Haible  <bruno@clisp.org>
55761         [BZ #14317]
55762         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55763         only if needed.
55765 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55768         and use variable directly.
55769         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55771         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55772         MPONE.
55773         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55775         variable MPONE.
55776         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55778         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55779         include directive.  Remove local variable MPONE.
55780         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55781         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55782         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55784 2012-12-25  David S. Miller  <davem@davemloft.net>
55786         * version.h (RELEASE): Set to "development".
55787         (VERSION): Set to "2.17.90".
55788         * NEWS: Add 2.18 section.
55790 2012-12-21  David S. Miller  <davem@davemloft.net>
55792         * po/hr.po: Update from translation team.
55794 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55796         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55798 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55800         * NEWS:  Mention new memcpy for MIPS.
55802 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55804         * manual/contrib.texi (Contributors): Spelling correction.
55806 2012-12-15  David S. Miller  <davem@davemloft.net>
55808         * po/ru.po: Update from translation team.
55810 2012-12-13  David S. Miller  <davem@davemloft.net>
55812         * NEWS: Mention IFUNC testsuite enhancements.
55814         * po/pl.po: Update from translation team.
55815         * po/bg.po: Likewise.
55817         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55818         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55820 2012-12-11  David S. Miller  <davem@davemloft.net>
55822         * po/sv.po: Update from translation team.
55824         * po/vi.po: Update from translation team.
55826         * po/cs.po: Update from translation team.
55828         * po/de.po: Update from translation team.
55829         * po/eo.po: Likewise.
55830         * po/nl.po: Likewise.
55832 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55834         [BZ #14246]
55835         * manual/argp.texi (Argp Helper Functions): Move node to follow
55836         Argp Parsing State.
55838         [BZ #14872]
55839         * manual/conf.texi (Limits on File System Capacity): Mention if
55840         terminating null is included in the max size.
55842 2012-12-10  Andreas Jaeger  <aj@suse.de>
55844         * po/cs.po: Update from translation team.
55846 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55848         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55849         void pointer and cast to uintptr_t.
55850         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55851         path.
55852         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55853         * sysdeps/s390/s390-64/memset.S: Likewise.
55855 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55857         [BZ #14833]
55858         * menual/message.texi (Message Translation): Fix typos.
55859         (Helper programs for gettext): Likewise.
55861 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55863         [BZ #14898]
55864         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55865         Change to -1.
55867 2012-12-07  David S. Miller  <davem@davemloft.net>
55869         * po/libc.pot: Update.
55871 2012-12-07  Richard Henderson  <rth@redhat.com>
55873         [BZ #10114]
55874         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55875         normal/normal case to before the switch.
55876         (_FP_DIV): Likewise.
55878 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55879             Mike Frysinger  <vapier@gentoo.org>
55881         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55882         check for __NR_fadvise64_64.
55884 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55886         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55887         0, not just to plain "0" as a statement.
55888         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55889         with cw.
55891 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55893         * NEWS: Use sourceware.org in Bugzilla URL.
55895 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55898         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55900         * stdio-common/tst-put-error.c (do_test): Add newline to the
55901         padded test to ensure flush.
55903 2012-12-05  Jeff Law  <law@redhat.com>
55905         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55907 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55909         * README: Don't refer to ports add-on as distributed separately.
55910         Mention AArch64 in list of systems supported in the ports add-on.
55912         * LICENSES: Add more non-FSF copyright and license notices.
55914         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55915         ((unused)).
55917         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55919         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55920         10000 as width of padded output.
55922 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55924         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55926         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55927         variable LX with __attribute__ ((unused)).
55928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55929         Likewise.
55930         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55931         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55933         with __attribute__ ((unused)).
55935 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55937         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55939 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55941         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55942         (CFLAGS-nldbl-acos.c): New variable.
55943         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55944         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55945         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55946         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55947         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55948         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55949         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55950         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55951         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55952         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55953         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55954         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55955         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55956         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55957         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55958         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55959         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55960         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55961         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55962         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55963         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55964         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55965         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55966         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55967         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55968         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55969         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55970         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55971         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55972         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55973         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55974         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55975         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55976         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55977         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55978         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55979         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55980         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55981         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55982         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55983         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55984         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55985         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55986         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55987         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55988         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55989         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55990         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55991         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55992         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55993         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55994         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55995         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55996         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55997         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55998         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55999         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56000         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56001         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56002         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56003         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56004         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56005         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56006         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56007         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56008         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56009         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56010         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56011         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56012         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56013         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56014         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56015         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56016         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56017         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56018         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56019         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56020         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56021         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56022         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56023         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56024         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56025         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56026         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56027         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56028         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56029         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56030         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56031         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56032         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56033         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56034         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56035         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56036         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56037         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56038         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56039         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56042         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56044         [BZ #14914]
56045         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56046         whole low double instead of just low 47 bits when splitting values
56047         into two parts.
56049 2012-12-03  Allan McRae  <allan@archlinux.org>
56051         * manual/stdio.texi (Predefined Printf Handlers): Remove
56052         @hsep and @vsep usage.
56054 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56056         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56057         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56059 2012-12-03  Jeff Law  <law@redhat.com>
56061         * time/sys/time.h (settimeofday): Do not mark TV argument
56062         as __nonnull.
56064 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56066         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56067         when currently writing and seek to current position when not.
56068         * libio/Makefile (tests): Remove bug-fclose1.
56069         * libio/bug-fclose1.c: Delete.
56071 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56073         * manual/arith.texi (feenableexcept): Fix typo.
56074         (fedisableexcept): Likewise.
56076 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56078         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56079         second, differently-typed declaration, rather than a cast.
56081 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56083         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56084         * include/rpc/svc.h: ... here.
56086 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56088         [BZ #13013]
56089         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56090         depending n and resplen2 to catch cases where answer
56091         equals answerp2.
56093 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56095         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56096         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56098 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56100         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56102 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56104         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56106 2012-11-28  Jeff Law  <law@redhat.com>
56108         [BZ #13761]
56109         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56110         dataset_temporary.  Track alloca usage into alloca_used.
56111         If dataset is large allocate and release it via malloc/free.
56113 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56115         [BZ #14197]
56116         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56118 2012-11-28  David S. Miller  <davem@davemloft.net>
56120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56122 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56124         [BZ #14803]
56125         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56126         of pi/2 rounded to nearest to 64 bits.
56127         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56128         nearest to 64 bits.
56129         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56130         bits.
56132 2012-11-28  Jeff Law <law@redhat.com>
56133             Martin Osvald <mosvald@redhat.com>
56135         [BZ #14889]
56136         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56137         * sunrpc/svc.c: Include time.h.
56138         (__svc_accept_failed): New function.
56139         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56140         any reason other than EINTR, call __svc_accept_failed.
56141         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56142         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56144 2012-11-28  Andreas Schwab  <schwab@suse.de>
56146         * scripts/abilist.awk: Also handle indirect functions in .opd
56147         section.
56149 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56151         [BZ #13881]
56152         * sysdeps/x86/fpu/powl_helper.c: New file.
56153         * sysdeps/x86/fpu/Makefile: Likewise.
56154         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56155         (p3): New object.
56156         (__ieee754_powl): Use __powl_helper for finite arguments except
56157         integer exponents below 8.
56158         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56159         (p3): New object.
56160         (__ieee754_powl): Use __powl_helper for finite arguments except
56161         integer exponents below 8.
56162         * math/libm-test.inc (pow_test): Add more tests and enable some
56163         previously disabled tests.
56164         * sysdeps/i386/fpu/libm-test-ulps: Update.
56165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56167 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56168             Carlos O'Donell  <carlos_odonell@mentor.com>
56170         * nss/makedb.c (is_prime): Assert that input is odd and greater
56171         than 4.  Note that fact in a comment too.
56172         (next_prime): Add 4 to input.
56174 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56176         [BZ #11741]
56177         * libio/Makefile (tests): Add test case tst-fwrite-error.
56178         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56179         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56180         * libio/tst-fwrite-error.c: New test case.
56182 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56184         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56185         before casting to void *.
56186         * include/libc-internal.h (__pointer_type): New macro.
56187         (__integer_if_pointer_type_sub): Likewise.
56188         (__integer_if_pointer_type): Likewise.
56189         (cast_to_integer): Likewise.
56190         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56191         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56192         before casting to atomic64_t.
56193         (atomic_exchange_acq): Likewise.
56194         (__arch_exchange_and_add_body): Likewise.
56195         (__arch_add_body): Likewise.
56196         (atomic_add_negative): Likewise.
56197         (atomic_add_zero): Likewise.
56199 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56201         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56202         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56203         (add_fdes): Likewise.
56204         (linear_search_fdes): Likewise.
56205         (binary_search_unencoded_fdes): Likewise.
56207 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56209         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56211 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56213         * configure.in: Autodetect C++ header directories.
56214         * configure: Regenerated.
56216 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56218         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56220 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56224 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56226         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56227         LDBL_MANT_DIG == 106]: Disable some tests.
56228         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56229         Likewise.
56230         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56231         Likewise.
56233         [BZ #14871]
56234         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56235         input for small inputs.  Return +/- pi/2 for large inputs.
56236         * math/libm-test.inc (atan_test): Add more tests.
56238         * sysdeps/generic/unwind-dw2-fde-glibc.c
56239         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56240         __attribute__ ((unused)).
56242         [BZ #14645]
56243         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56244         x * y if x and y are nonzero and z is zero.
56246         [BZ #14811]
56247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56248         nonzero exponents with absolute value below 0x1p-117 to +/-
56249         0x1p-117.
56251         [BZ #14869]
56252         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56253         up arguments below 2**-450, not just those below 2**-500.
56254         * math/libm-test.inc (hypot_test): Add another test.
56256         [BZ #14868]
56257         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56258         Return a+b for ratio over 2**120, not 2**60.
56259         * math/libm-test.inc (hypot_test): Add another test.
56261         * math/libm-test.inc (clog_test): Use
56262         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56263         (clog10_test): Likewise.
56265         [BZ #6778]
56266         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56268 2012-11-22  Andreas Schwab  <schwab@suse.de>
56270         * sysdeps/i386/fpu/libm-test-ulps: Update.
56272 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56274         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56275         printf output with newline.
56277 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56279         [BZ #14865]
56280         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56281         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56282         -z nodlopen, -z initfirst and -z execstack support.
56283         * configure: Regenerated.
56285         * elf/elf.h (DF_1_NODIRECT): New macro.
56286         (DF_1_IGNMULDEF): Likewise.
56287         (DF_1_NOKSYMS): Likewise.
56288         (DF_1_NOHDR): Likewise.
56289         (DF_1_EDITED): Likewise.
56290         (DF_1_NORELOC): Likewise.
56291         (DF_1_SYMINTPOSE): Likewise.
56292         (DF_1_GLOBAUDIT): Likewise.
56293         (DF_1_SINGLETON): Likewise.
56294         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56295         DT_1_SUPPORTED_MASK bits.
56296         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56298 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56300         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56302 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56304         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56305         macro.
56307         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56308         (sendmmsg): Move declarations...
56309         * socket/sys/socket.h: ... here.
56310         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56311         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56312         include it from...
56313         * socket/recvmmsg.c: ... this new file.
56314         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56315         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56316         definition of __sendmmsg hidden.
56317         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56318         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56319         Move ENOSYS stub into and include it from...
56320         * socket/sendmmsg.c: ... this new file.
56321         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56322         (sysdep_routines): Move recvmmsg and sendmmsg...
56323         * socket/Makefile (routines): ... here.
56324         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56325         (GLIBC_PRIVATE): Add __sendmmsg.
56326         * include/sys/socket.h (__sendmmsg): Add declarations.
56327         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56328         sendmmsg.
56330 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56332         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56333         variable I1 with __attribute__ ((unused)).
56334         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56336 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56338         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56339         DUMMY variables with __attribute__ ((unused)).
56341         * bits/byteswap.h: Include <bits/types.h>.
56342         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56344 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56346         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56347         string_t.  Do not manually set errno.
56348         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56349         length with __strnlen.  Make sure to both set errno and return it on
56350         failure.
56352 2012-11-19  David S. Miller  <davem@davemloft.net>
56354         With help from Joseph Myers.
56355         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56356         very large arguments properly.
56357         * math/libm-test.inc (atan_test): New tests.
56358         (atan2_test): New tests.
56359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56362 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56364         [BZ #14856]
56365         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56366         Define to 3.
56368         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56369         [POSIX] (EADDRNOTAVAIL): Likewise.
56370         [POSIX] (EAFNOSUPPORT): Likewise.
56371         [POSIX] (EALREADY): Likewise.
56372         [POSIX] (ECONNABORTED): Likewise.
56373         [POSIX] (ECONNREFUSED): Likewise.
56374         [POSIX] (ECONNRESET): Likewise.
56375         [POSIX] (EDESTADDRREQ): Likewise.
56376         [POSIX] (EDQUOT): Likewise.
56377         [POSIX] (EHOSTUNREACH): Likewise.
56378         [POSIX] (EIDRM): Likewise.
56379         [POSIX] (EISCONN): Likewise.
56380         [POSIX] (ELOOP): Likewise.
56381         [POSIX] (EMULTIHOP): Likewise.
56382         [POSIX] (ENETDOWN): Likewise.
56383         [POSIX] (ENETUNREACH): Likewise.
56384         [POSIX] (ENOBUFS): Likewise.
56385         [POSIX] (ENODATA): Likewise.
56386         [POSIX] (ENOLINK): Likewise.
56387         [POSIX] (ENOMSG): Likewise.
56388         [POSIX] (ENOPROTOOPT): Likewise.
56389         [POSIX] (ENOSR): Likewise.
56390         [POSIX] (ENOSTR): Likewise.
56391         [POSIX] (ENOTCONN): Likewise.
56392         [POSIX] (ENOTSOCK): Likewise.
56393         [POSIX] (EOPNOTSUPP): Likewise.
56394         [POSIX] (EOVERFLOW): Likewise.
56395         [POSIX] (EPROTO): Likewise.
56396         [POSIX] (EPROTONOSUPPORT): Likewise.
56397         [POSIX] (EPROTOTYPE): Likewise.
56398         [POSIX] (ESTALE): Likewise.
56399         [POSIX] (ETIME): Likewise.
56400         [POSIX] (ETXTBSY): Likewise.
56401         [POSIX] (EWOULDBLOCK): Likewise.
56402         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56403         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56404         [POSIX] (SEEK_CUR): Likewise.
56405         [POSIX] (SEEK_END): Likewise.
56406         [POSIX || UNIX98] (mode_t): Do not require.
56407         [POSIX] (off_t): Likewise.
56408         [POSIX] (pid_t): Likewise.
56409         [POSIX] (sys/stat.h): Do not allow header.
56410         [POSIX] (unistd.h): Likewise.
56411         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56412         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56413         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56414         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56415         require.
56416         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56417         sigevent): Specify elements.
56418         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56419         entry.
56420         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56421         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56423         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56424         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56425         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56426         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56427         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56428         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56429         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56430         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56431         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56432         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56433         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56434         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56435         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56436         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56437         Likewise.
56438         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56439         Likewise.
56440         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56441         Likewise.
56442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56443         Likewise.
56444         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56445         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56446         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56447         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56448         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56449         Specify lower bound on value.
56450         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56451         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56452         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56453         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56454         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56455         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56456         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56457         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56458         value.
56459         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56460         as optional.
56461         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56462         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56463         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56464         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56465         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56466         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56467         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56468         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56469         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56470         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56471         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56472         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56473         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56474         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56475         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56476         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56477         entry.
56478         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56479         optional.
56480         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56481         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56482         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56483         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56484         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56485         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56486         Likewise.
56487         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56488         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56489         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56490         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56491         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56492         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56493         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56494         as optional.
56495         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56496         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56497         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56498         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56499         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56500         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56501         specify as optional.
56502         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56503         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56504         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56505         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56506         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56507         [XPG3] (NL_LANGMAX): Likewise.
56508         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56509         [POSIX || XPG3] (NL_NMAX): Likewise.
56510         [POSIX || XPG3] (NL_SETMAX): Likewise.
56511         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56512         [XPG3] (NZERO): Likewise.
56513         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56514         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56515         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56516         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56517         (REG_ERANGE): Expect.
56518         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56519         optional-constant.
56520         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56521         Use (void) in prototype.
56522         [POSIX] (*_t): Allow.
56523         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56524         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56525         (WRDE_BADVAL): Expect.
56527         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56528         expect.
56529         [XPG3 || XPG4] (O_RSYNC): Likewise.
56530         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56531         Likewise.
56532         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56533         [XPG3 || XPG4] (sigqueue): Likewise.
56534         [XPG3 || XPG4] (sigtimedwait): Likewise.
56535         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56536         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56537         [XPG3 || XPG4] (vsnprintf): Likewise.
56538         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56539         Likewise.
56540         [XPG3 || XPG4] (blksize_t): Likewise.
56541         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56542         Likewise.
56543         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56544         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56545         [XPG3 || XPG4] (struct itimerspec): Likewise.
56546         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56547         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56548         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56549         [XPG3 || XPG4] (clockid_t): Likewise.
56550         [XPG3 || XPG4] (timer_t): Likewise.
56551         [XPG3 || XPG4] (clock_getres): Likewise.
56552         [XPG3 || XPG4] (clock_gettime): Likewise.
56553         [XPG3 || XPG4] (clock_settime): Likewise.
56554         [XPG3 || XPG4] (nanosleep): Likewise.
56555         [XPG3 || XPG4] (timer_create): Likewise.
56556         [XPG3 || XPG4] (timer_delete): Likewise.
56557         [XPG3 || XPG4] (timer_gettime): Likewise.
56558         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56559         [XPG3 || XPG4] (timer_settime): Likewise.
56560         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56561         [XPG3 || XPG4] (getlogin_r): Likewise.
56562         [XPG3 || XPG4] (pread): Likewise.
56563         [XPG3 || XPG4] (pthread_atfork): Likewise.
56564         [XPG3 || XPG4] (pwrite): Likewise.
56566         [BZ #14835]
56567         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56568         <bits/siginfo.h>.
56570 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56572         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56573         finalizing MALLSTREAM.
56575         * sysdeps/mach/hurd/syncfs.c: New file.
56577 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56579         [BZ #14719]
56580         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56581         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56582         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56583         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56584         (_nss_dns_gethostbyname4_r): Likewise.
56585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56586         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56588 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56590         [BZ #13763]
56591         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56593 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56595         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56596         * elf/cache.c (print_entry): Print ",AArch64" for
56597         FLAG_AARCH64_LIB64
56599         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56600         * elf/cache.c (print_entry): Print ",hard-float" for
56601         FLAG_ARM_LIBHF.
56603 2012-11-18  David S. Miller  <davem@davemloft.net>
56605         With help from Joseph Myers.
56606         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56607         cutoff to 2**-13.
56608         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56609         cutoff to 2**-25.
56610         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56611         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56612         small.
56613         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56614         * math/libm-test.inc (y0_test): New tests.
56615         (y1_test): New tests.
56616         * sysdeps/i386/fpu/libm-test-ulps: Update.
56617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56620 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56622         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56623         64-bit targets.
56624         * configure: Regenerated.
56626 2012-11-17  David S. Miller  <davem@davemloft.net>
56628         [BZ #14811]
56629         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56630         nonzero exponents with absolute value below 0x1p-128 to +/-
56631         0x1p-128.
56633 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56635         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56637         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56639         * posix/getconf-speclist.c: New file.
56640         * posix/posix-envs.def: Likewise.
56641         * posix/confstr.c (START_ENV_GROUP): New macro.
56642         (END_ENV_GROUP): Likewise.
56643         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56644         (KNOWN_PRESENT_ENV_STRING): Likewise.
56645         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56646         (UNKNOWN_ENVIRONMENT): Likewise.
56647         (confstr): Include posix-envs.def instead of handling
56648         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56649         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56650         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56651         (END_ENV_GROUP): Likewise.
56652         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56653         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56654         (UNKNOWN_ENVIRONMENT): Likewise.
56655         (__sysconf): Include posix-envs.def instead of handling associated
56656         cases directly here.
56657         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56658         preprocessing getconf-speclist.c rather than running getconf or
56659         generating empty file.
56661 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56663         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56665 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56667         [BZ #14672]
56668         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56670 2012-11-16  David S. Miller  <davem@davemloft.net>
56672         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56673         smaller than LDBL_EPSILON/2.0L, just return xm1.
56675 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56677         * elf/tst-array1.c (init): Set constructor priority to 1000.
56678         (fini): Set destructor priority to 1000.
56679         * elf/tst-array2dep.c: Likewise.
56681 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56683         [BZ #11741]
56684         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56685         (_IO_new_file_xsputn): Also return EOF if none of the input
56686         data was written when overflow failed.
56687         * libio/iopadn.c (_IO_padn): Likewise.
56688         * libio/iowpadn.c (_IO_wpadn): Likewise.
56689         * stdio-common/tst-put-error.c: Add copyright notice.
56690         (do_test): Add case for printing padded string.
56691         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56692         _IO_padn returned error.
56693         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56694         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56695         return EOF.
56697 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         * libio/libioP.h: Add comment note that the references to C++
56700         bits are now obsolete.
56702 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56704         * math/libm-test.inc (check_complex): Use asprintf.
56706 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56708         * debug/pcprofiledump.c (print_version): Update copyright year.
56709         * malloc/memusagestat.c (print_version): Likewise.
56711 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56713         [BZ #14831]
56714         * elf/Makefile (tests): Add tst-audit8.
56715         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56716         ($(objpfx)tst-audit8.out): New target.
56717         (tst-audit8-ENV): New variable.
56718         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56719         audit if l_reloc_result is NULL.
56720         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56721         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56722         * elf/tst-audit8.c: New file.
56724 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56726         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56727         * misc/Makefile (CFLAGS-select.c): Define.
56728         * posix/Makefile (CFLAGS-pause.c): Define.
56730 2012-11-13  David S. Miller  <davem@davemloft.net>
56732         * crypt/Makefile: Move test targets after toplevel Rules
56733         inclusion.  Grab any necessary sysdep routines when linking.
56734         * crypt/md5.c (md5_process_block): Remove define, we will always
56735         name it __md5_process_block.
56736         (md5_finish_ctx): Update md5_process_block call.
56737         (md5_stream): Likewise.
56738         (md5_process_bytes): Likewise.
56739         (md5_process_block): Rename to __md5_process_block and move to ...
56740         * crypt/md5-block.c: ... here.
56741         * crypt/sha256.c (sha256_process_block): Move to ...
56742         * crypt/sha256-block.c: ... here.
56743         * crypt/sha512.c (sha512_process_block): Move to ...
56744         * crypt/sha512-block.c: ... here.
56745         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56746         path.
56747         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56748         * sysdeps/sparc/sparc64/multiarch/Makefile
56749         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56750         crypt subdir.
56751         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56752         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56753         multiarch changes.
56754         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56755         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56756         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56757         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56758         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56759         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56760         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56761         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56762         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56763         file.
56764         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56765         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56766         file.
56767         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56769 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56771         * timezone/tzselect.ksh: Update from tzcode git revision
56772         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56773         * timezone/zdump.c: Likewise.
56774         * timezone/zic.c: Likewise.
56775         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56776         in TZVERSION setting, not $(PKGVERSION).
56777         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56778         REPORT_BUGS_TO settings.
56780         [BZ #14838]
56781         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56782         macro.
56784 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56786         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56787         detection to immediately after _FP_ROUND().
56788         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56789         bits are 0.
56791 2012-11-11  David S. Miller  <davem@davemloft.net>
56793         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56794         inttypes.h
56795         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56796         __close rather than their public counterparts.
56798 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56800         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56801         file.
56802         [UNIX98] (sem_timedwait): Do not expect.
56803         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56804         [XPG4 || UNIX98] (sockatmark): Do not expect.
56805         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56806         (clock_getcpuclockid): Do not expect.
56807         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56808         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56809         Do not expect.
56810         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56811         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56812         [UNIX98] (vwscanf): Likewise.
56813         [UNIX98] (vswscanf): Likewise.
56815 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56817         * timezone/version.h: Remove file.
56818         * timezone/README: Do not refer to version.h.
56819         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56820         $(objpfx)version.h.
56821         ($(objpfx)zdump.o): Likewise.
56822         ($(objpfx)version.h): New target.
56824         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56825         2012i.
56826         * timezone/README: Don't mention modification to tzselect.ksh.
56827         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56828         work on unmodified tzselect.ksh.  Substitute version numbers in
56829         tzselect.ksh.
56831         * Makefile (format-me): Remove.
56832         (INSTALL): Adjust indentation.  Use commands directly instead of
56833         using $(format-me).
56835         * aclocal.m4 (ACX_PKGVERSION): New macro.
56836         (ACX_BUGURL): Likewise.
56837         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56838         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56839         (REPORT_BUGS_TO): Likewise.
56840         * configure: Regenerated.
56841         * config.h.in (PKGVERSION): New macro.
56842         (REPORT_BUGS_TO): Likewise.
56843         * config.make.in (PKGVERSION): New variable.
56844         (PKGVERSION_TEXI): Likewise.
56845         (REPORT_BUGS_TO): Likewise.
56846         (REPORT_BUGS_TEXI): Likewise.
56847         * Makefile (format-me): Use -I$(common-objpfx)manual.
56848         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56849         ($(common-objpfx)manual/%): New target.
56850         (manual/%): Remove target.
56851         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56852         (print_version): Use PKGVERSION.
56853         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56854         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56855         and REPORT_BUGS_TO.
56856         ($(objpfx)xtrace): Likewise.
56857         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56858         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56859         (print_version): Use PKGVERSION.
56860         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56861         (do_version): Use PKGVERSION.
56862         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56863         REPORT_BUGS_TO.
56864         (common-ldd-rewrite): Likewise.
56865         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56866         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56867         (print_version): Use PKGVERSION.
56868         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56869         * elf/pldd.c (argp_program_bug_address): Remove variable.
56870         (more_help): New function.
56871         (argp): Use more_help.
56872         (print_version): Use PKGVERSION.
56873         * elf/sln.c (main): Use PKGVERSION.
56874         (usage): Use REPORT_BUGS_TO.
56875         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56876         (top level): Use PKGVERSION.
56877         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56878         (print_version): Use PKGVERSION.
56879         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56880         (print_version): Use PKGVERSION.
56881         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56882         (print_version): Use PKGVERSION.
56883         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56884         (print_version): Use PKGVERSION.
56885         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56886         (print_version): Use PKGVERSION.
56887         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56888         (print_version): Use PKGVERSION.
56889         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56890         and BUGURL.
56891         ($(objpfx)memusage): Likewise.
56892         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56893         (do_version): Use PKGVERSION.
56894         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56895         (print_version): Use PKGVERSION.
56896         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56897         ($PKGVERSION): New variable.
56898         ($REPORT_BUGS_TO): Likewise.
56899         (usage): Use $REPORT_BUGS_TO.
56900         (top level): Use $PKGVERSION.
56901         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56902         ($(objpfx)pkgvers.texi): New rule.
56903         ($(objpfx)stamp-pkgvers): Likewise.
56904         * manual/install.texi: Include pkgvers.texi.
56905         (--with-pkgversion): Document new configure option.
56906         (--with-bugurl): Likewise.
56907         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56908         than necessarily for this particular distribution.  Use
56909         REPORT_BUGS_TO for where to report bugs.
56910         * INSTALL: Regenerated.
56911         * manual/libc.texinfo: Include pkgvers.texi.
56912         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56913         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56914         (print_version): Use PKGVERSION.
56915         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56916         (print_version): Use PKGVERSION.
56917         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56918         (print_version): Use PKGVERSION.
56919         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56920         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56921         macro.
56922         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56923         (print_version): Use PKGVERSION.
56924         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56925         (print_version): Use PKGVERSION.
56926         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56927         and PKGVERSION.
56929         * timezone/checktab.awk: Update from tzcode 2012i.
56930         * timezone/ialloc.c: Likewise.
56931         * timezone/private.h: Likewise.
56932         * timezone/scheck.c: Likewise.
56933         * timezone/tzfile.h: Likewise.
56934         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56935         (TZVERSION): Hardcode tzcode version number.
56936         * timezone/zdump.c: Update from tzcode 2012i.
56937         * timezone/zic.c: Likewise.
56938         * timezone/version.h: New file.
56939         * timezone/README: Describe version.h.  Update upstream location.
56941         [BZ #14824]
56942         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56943         (mktemp): Enable declaration.
56944         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56946         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56947         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56948         Likewise.
56949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56950         Likewise.
56951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56952         Likewise.
56953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56954         Likewise.
56955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56956         Likewise.
56957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56958         Likewise.
56960         [BZ #14821]
56961         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56962         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56963         for copies of such integer values.
56964         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56965         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56967 2012-11-09  Andreas Jaeger  <aj@suse.de>
56969         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56970         definitions and declarations that are provided by
56971         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56973 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56975         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56976         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56977         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56978         definition.
56980 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56982         * elf/elf.h: Update comment before AArch64 relocations.
56984 2012-11-07  David S. Miller  <davem@davemloft.net>
56986         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56987         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56988         (__start_context): Declare.
56989         (__makecontext_ret): Delete.
56990         (__makecontext): Hook up __start_context instead of
56991         __makecontext_ret.
56992         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56993         (sysdep_routines): Add __start_context when in stdlib.
56995 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56997         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56998         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56999         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57000         hardcoded "nm".
57001         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57002         (READELF): New variable.  Use it instead of hardcoded "readelf".
57004 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57006         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57007         * sysdeps/x86/Makefile: Here.
57008         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57009         * sysdeps/x86/tst-xmmymm.sh: This.
57011 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57013         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57014         expectations.
57015         [UNIX98] (pthread_barrier_t): Do not expect.
57016         [UNIX98] (pthread_barrierattr_t): Likewise.
57017         [UNIX98] (pthread_spinlock_t): Likewise.
57018         [UNIX98] (pthread_barrier_destroy): Likewise.
57019         [UNIX98] (pthread_barrier_init): Likewise.
57020         [UNIX98] (pthread_barrier_wait): Likewise.
57021         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57022         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57023         [UNIX98] (pthread_barrierattr_init): Likewise.
57024         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57025         [UNIX98] (pthread_getcpuclockid): Likewise.
57026         [UNIX98] (pthread_mutex_timedlock): Likewise.
57027         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57028         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57029         [UNIX98] (pthread_sigmask): Likewise.
57030         [UNIX98] (pthread_spin_destroy): Likewise.
57031         [UNIX98] (pthread_spin_init): Likewise.
57032         [UNIX98] (pthread_spin_lock): Likewise.
57033         [UNIX98] (pthread_spin_trylock): Likewise.
57034         [UNIX98] (pthread_spin_unlock): Likewise.
57035         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57036         Do not expect.
57037         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57038         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57039         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57040         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57041         [XPG3 || XPG4] (pthread_key_t): Likewise.
57042         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57043         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57044         [XPG3 || XPG4] (pthread_once_t): Likewise.
57045         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57046         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57047         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57048         [XPG3 || XPG4] (pthread_t): Likewise.
57050         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57051         not expect.
57052         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57054         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57055         Change function return type to int.
57057         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57058         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57059         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57060         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57061         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57062         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57063         [!POSIX] (posix_madvise): Likewise.
57064         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57065         && !UNIX98].
57066         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57067         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57068         (mode_t): Likewise.
57069         (posix_mem_offset): Likewise.
57070         (posix_typed_mem_get_info): Likewise.
57071         (posix_typed_mem_open): Likewise.
57073         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57074         Change condition to [XOPEN2K8].
57076         * conform/conformtest.pl: Preprocess allow-header data with -x c
57077         instead of from stdin.
57078         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57079         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57080         [C99-based standards] (cerfc): Likewise.
57081         [C99-based standards] (cexp2): Likewise.
57082         [C99-based standards] (cexpm1): Likewise.
57083         [C99-based standards] (clog10): Likewise.
57084         [C99-based standards] (clog1p): Likewise.
57085         [C99-based standards] (clog2): Likewise.
57086         [C99-based standards] (clgamma): Likewise.
57087         [C99-based standards] (ctgamma): Likewise.
57088         [C99-based standards] (cerff): Likewise.
57089         [C99-based standards] (cerfcf): Likewise.
57090         [C99-based standards] (cexp2f): Likewise.
57091         [C99-based standards] (cexpm1f): Likewise.
57092         [C99-based standards] (clog10f): Likewise.
57093         [C99-based standards] (clog1pf): Likewise.
57094         [C99-based standards] (clog2f): Likewise.
57095         [C99-based standards] (clgammaf): Likewise.
57096         [C99-based standards] (ctgammaf): Likewise.
57097         [C99-based standards] (cerfl): Likewise.
57098         [C99-based standards] (cerfcl): Likewise.
57099         [C99-based standards] (cexp2l): Likewise.
57100         [C99-based standards] (cexpm1l): Likewise.
57101         [C99-based standards] (clog10l): Likewise.
57102         [C99-based standards] (clog1pl): Likewise.
57103         [C99-based standards] (clog2l): Likewise.
57104         [C99-based standards] (clgammal): Likewise.
57105         [C99-based standards] (ctgammal): Likewise.
57106         * conform/data/inttypes.h-data [C99-based standards]: Include
57107         stdint.h-data.  Remove all expectations for stdint.h contents.
57108         [C99-based standards] (PRI*): Do not allow.
57109         [C99-based standards] (SCN*): Likewise.
57110         [C99-based standards] (*_t): Likewise.
57111         [C99-based-standards] (PRId8): Expect macro.
57112         [C99-based-standards] (PRIi8): Likewise.
57113         [C99-based-standards] (PRIo8): Likewise.
57114         [C99-based-standards] (PRIu8): Likewise.
57115         [C99-based-standards] (PRIx8): Likewise.
57116         [C99-based-standards] (PRIX8): Likewise.
57117         [C99-based-standards] (SCNd8): Likewise.
57118         [C99-based-standards] (SCNi8): Likewise.
57119         [C99-based-standards] (SCNo8): Likewise.
57120         [C99-based-standards] (SCNu8): Likewise.
57121         [C99-based-standards] (SCNx8): Likewise.
57122         [C99-based-standards] (PRIdLEAST8): Likewise.
57123         [C99-based-standards] (PRIiLEAST8): Likewise.
57124         [C99-based-standards] (PRIoLEAST8): Likewise.
57125         [C99-based-standards] (PRIuLEAST8): Likewise.
57126         [C99-based-standards] (PRIxLEAST8): Likewise.
57127         [C99-based-standards] (PRIXLEAST8): Likewise.
57128         [C99-based-standards] (SCNdLEAST8): Likewise.
57129         [C99-based-standards] (SCNiLEAST8): Likewise.
57130         [C99-based-standards] (SCNoLEAST8): Likewise.
57131         [C99-based-standards] (SCNuLEAST8): Likewise.
57132         [C99-based-standards] (SCNxLEAST8): Likewise.
57133         [C99-based-standards] (PRIdFAST8): Likewise.
57134         [C99-based-standards] (PRIiFAST8): Likewise.
57135         [C99-based-standards] (PRIoFAST8): Likewise.
57136         [C99-based-standards] (PRIuFAST8): Likewise.
57137         [C99-based-standards] (PRIxFAST8): Likewise.
57138         [C99-based-standards] (PRIXFAST8): Likewise.
57139         [C99-based-standards] (SCNdFAST8): Likewise.
57140         [C99-based-standards] (SCNiFAST8): Likewise.
57141         [C99-based-standards] (SCNoFAST8): Likewise.
57142         [C99-based-standards] (SCNuFAST8): Likewise.
57143         [C99-based-standards] (SCNxFAST8): Likewise.
57144         [C99-based-standards] (PRId16): Likewise.
57145         [C99-based-standards] (PRIi16): Likewise.
57146         [C99-based-standards] (PRIo16): Likewise.
57147         [C99-based-standards] (PRIu16): Likewise.
57148         [C99-based-standards] (PRIx16): Likewise.
57149         [C99-based-standards] (PRIX16): Likewise.
57150         [C99-based-standards] (SCNd16): Likewise.
57151         [C99-based-standards] (SCNi16): Likewise.
57152         [C99-based-standards] (SCNo16): Likewise.
57153         [C99-based-standards] (SCNu16): Likewise.
57154         [C99-based-standards] (SCNx16): Likewise.
57155         [C99-based-standards] (PRIdLEAST16): Likewise.
57156         [C99-based-standards] (PRIiLEAST16): Likewise.
57157         [C99-based-standards] (PRIoLEAST16): Likewise.
57158         [C99-based-standards] (PRIuLEAST16): Likewise.
57159         [C99-based-standards] (PRIxLEAST16): Likewise.
57160         [C99-based-standards] (PRIXLEAST16): Likewise.
57161         [C99-based-standards] (SCNdLEAST16): Likewise.
57162         [C99-based-standards] (SCNiLEAST16): Likewise.
57163         [C99-based-standards] (SCNoLEAST16): Likewise.
57164         [C99-based-standards] (SCNuLEAST16): Likewise.
57165         [C99-based-standards] (SCNxLEAST16): Likewise.
57166         [C99-based-standards] (PRIdFAST16): Likewise.
57167         [C99-based-standards] (PRIiFAST16): Likewise.
57168         [C99-based-standards] (PRIoFAST16): Likewise.
57169         [C99-based-standards] (PRIuFAST16): Likewise.
57170         [C99-based-standards] (PRIxFAST16): Likewise.
57171         [C99-based-standards] (PRIXFAST16): Likewise.
57172         [C99-based-standards] (SCNdFAST16): Likewise.
57173         [C99-based-standards] (SCNiFAST16): Likewise.
57174         [C99-based-standards] (SCNoFAST16): Likewise.
57175         [C99-based-standards] (SCNuFAST16): Likewise.
57176         [C99-based-standards] (SCNxFAST16): Likewise.
57177         [C99-based-standards] (PRId32): Likewise.
57178         [C99-based-standards] (PRIi32): Likewise.
57179         [C99-based-standards] (PRIo32): Likewise.
57180         [C99-based-standards] (PRIu32): Likewise.
57181         [C99-based-standards] (PRIx32): Likewise.
57182         [C99-based-standards] (PRIX32): Likewise.
57183         [C99-based-standards] (SCNd32): Likewise.
57184         [C99-based-standards] (SCNi32): Likewise.
57185         [C99-based-standards] (SCNo32): Likewise.
57186         [C99-based-standards] (SCNu32): Likewise.
57187         [C99-based-standards] (SCNx32): Likewise.
57188         [C99-based-standards] (PRIdLEAST32): Likewise.
57189         [C99-based-standards] (PRIiLEAST32): Likewise.
57190         [C99-based-standards] (PRIoLEAST32): Likewise.
57191         [C99-based-standards] (PRIuLEAST32): Likewise.
57192         [C99-based-standards] (PRIxLEAST32): Likewise.
57193         [C99-based-standards] (PRIXLEAST32): Likewise.
57194         [C99-based-standards] (SCNdLEAST32): Likewise.
57195         [C99-based-standards] (SCNiLEAST32): Likewise.
57196         [C99-based-standards] (SCNoLEAST32): Likewise.
57197         [C99-based-standards] (SCNuLEAST32): Likewise.
57198         [C99-based-standards] (SCNxLEAST32): Likewise.
57199         [C99-based-standards] (PRIdFAST32): Likewise.
57200         [C99-based-standards] (PRIiFAST32): Likewise.
57201         [C99-based-standards] (PRIoFAST32): Likewise.
57202         [C99-based-standards] (PRIuFAST32): Likewise.
57203         [C99-based-standards] (PRIxFAST32): Likewise.
57204         [C99-based-standards] (PRIXFAST32): Likewise.
57205         [C99-based-standards] (SCNdFAST32): Likewise.
57206         [C99-based-standards] (SCNiFAST32): Likewise.
57207         [C99-based-standards] (SCNoFAST32): Likewise.
57208         [C99-based-standards] (SCNuFAST32): Likewise.
57209         [C99-based-standards] (SCNxFAST32): Likewise.
57210         [C99-based-standards] (PRId64): Likewise.
57211         [C99-based-standards] (PRIi64): Likewise.
57212         [C99-based-standards] (PRIo64): Likewise.
57213         [C99-based-standards] (PRIu64): Likewise.
57214         [C99-based-standards] (PRIx64): Likewise.
57215         [C99-based-standards] (PRIX64): Likewise.
57216         [C99-based-standards] (SCNd64): Likewise.
57217         [C99-based-standards] (SCNi64): Likewise.
57218         [C99-based-standards] (SCNo64): Likewise.
57219         [C99-based-standards] (SCNu64): Likewise.
57220         [C99-based-standards] (SCNx64): Likewise.
57221         [C99-based-standards] (PRIdLEAST64): Likewise.
57222         [C99-based-standards] (PRIiLEAST64): Likewise.
57223         [C99-based-standards] (PRIoLEAST64): Likewise.
57224         [C99-based-standards] (PRIuLEAST64): Likewise.
57225         [C99-based-standards] (PRIxLEAST64): Likewise.
57226         [C99-based-standards] (PRIXLEAST64): Likewise.
57227         [C99-based-standards] (SCNdLEAST64): Likewise.
57228         [C99-based-standards] (SCNiLEAST64): Likewise.
57229         [C99-based-standards] (SCNoLEAST64): Likewise.
57230         [C99-based-standards] (SCNuLEAST64): Likewise.
57231         [C99-based-standards] (SCNxLEAST64): Likewise.
57232         [C99-based-standards] (PRIdFAST64): Likewise.
57233         [C99-based-standards] (PRIiFAST64): Likewise.
57234         [C99-based-standards] (PRIoFAST64): Likewise.
57235         [C99-based-standards] (PRIuFAST64): Likewise.
57236         [C99-based-standards] (PRIxFAST64): Likewise.
57237         [C99-based-standards] (PRIXFAST64): Likewise.
57238         [C99-based-standards] (SCNdFAST64): Likewise.
57239         [C99-based-standards] (SCNiFAST64): Likewise.
57240         [C99-based-standards] (SCNoFAST64): Likewise.
57241         [C99-based-standards] (SCNuFAST64): Likewise.
57242         [C99-based-standards] (SCNxFAST64): Likewise.
57243         [C99-based-standards] (PRIdMAX): Likewise.
57244         [C99-based-standards] (PRIiMAX): Likewise.
57245         [C99-based-standards] (PRIoMAX): Likewise.
57246         [C99-based-standards] (PRIuMAX): Likewise.
57247         [C99-based-standards] (PRIxMAX): Likewise.
57248         [C99-based-standards] (PRIXMAX): Likewise.
57249         [C99-based-standards] (SCNdMAX): Likewise.
57250         [C99-based-standards] (SCNiMAX): Likewise.
57251         [C99-based-standards] (SCNoMAX): Likewise.
57252         [C99-based-standards] (SCNuMAX): Likewise.
57253         [C99-based-standards] (SCNxMAX): Likewise.
57254         [C99-based-standards] (PRIdPTR): Likewise.
57255         [C99-based-standards] (PRIiPTR): Likewise.
57256         [C99-based-standards] (PRIoPTR): Likewise.
57257         [C99-based-standards] (PRIuPTR): Likewise.
57258         [C99-based-standards] (PRIxPTR): Likewise.
57259         [C99-based-standards] (PRIXPTR): Likewise.
57260         [C99-based-standards] (SCNdPTR): Likewise.
57261         [C99-based-standards] (SCNiPTR): Likewise.
57262         [C99-based-standards] (SCNoPTR): Likewise.
57263         [C99-based-standards] (SCNuPTR): Likewise.
57264         [C99-based-standards] (SCNxPTR): Likewise.
57265         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57266         allow.
57267         * conform/data/stdint.h-data: Update comments to clarify
57268         requirements.
57269         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57270         type.
57271         [C99-based standards] (INT8_MAX): Likewise.
57272         [C99-based standards] (INT16_MIN): Likewise.
57273         [C99-based standards] (INT16_MAX): Likewise.
57274         [C99-based standards] (INT32_MIN): Likewise.
57275         [C99-based standards] (INT32_MAX): Likewise.
57276         [C99-based standards] (INT64_MIN): Likewise.
57277         [C99-based standards] (INT64_MAX): Likewise.
57278         [C99-based standards] (UINT8_MAX): Likewise.
57279         [C99-based standards] (UINT16_MAX): Likewise.
57280         [C99-based standards] (UINT32_MAX): Likewise.
57281         [C99-based standards] (UINT64_MAX): Likewise.
57282         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57283         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57284         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57285         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57286         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57287         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57288         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57289         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57290         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57291         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57292         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57293         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57294         [C99-based standards] (INT_FAST8_MIN): Likewise.
57295         [C99-based standards] (INT_FAST8_MAX): Likewise.
57296         [C99-based standards] (INT_FAST16_MIN): Likewise.
57297         [C99-based standards] (INT_FAST16_MAX): Likewise.
57298         [C99-based standards] (INT_FAST32_MIN): Likewise.
57299         [C99-based standards] (INT_FAST32_MAX): Likewise.
57300         [C99-based standards] (INT_FAST64_MIN): Likewise.
57301         [C99-based standards] (INT_FAST64_MAX): Likewise.
57302         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57303         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57304         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57305         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57306         [C99-based standards] (INTPTR_MIN): Likewise.
57307         [C99-based standards] (INTPTR_MAX): Likewise.
57308         [C99-based standards] (UINTPTR_MAX): Likewise.
57309         [C99-based standards] (INTMAX_MIN): Likewise.
57310         [C99-based standards] (INTMAX_MAX): Likewise.
57311         [C99-based standards] (UINTMAX_MAX): Likewise.
57312         [C99-based standards] (PTRDIFF_MIN): Likewise.
57313         [C99-based standards] (PTRDIFF_MAX): Likewise.
57314         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57315         [C99-based standards] (SIZE_MAX): Likewise.
57316         [C99-based standards] (WCHAR_MAX): Likewise.
57317         [C99-based standards] (WINT_MAX): Likewise.
57318         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57319         constraint on value.
57320         [C99-based standards] (WCHAR_MIN): Likewise.
57321         [C99-based standards] (WINT_MIN): Likewise.
57322         [C99-based standards] (*_t): Allow.
57323         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57324         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57325         Include math.h-data and complex.h-data.  Remove all expectations
57326         of math.h and complex.h contents.
57327         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57328         at end of line.
57329         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57330         (struct tm): Expect tag.
57331         [C99-based-standards] (wcstof): Expect function.
57332         [C99-based-standards] (wcstold): Likewise.
57333         [C99-based-standards] (wcstoll): Likewise.
57334         [C99-based-standards] (wcstoull): Likewise.
57335         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57336         macro-int-constant.  Specify type.
57337         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57338         constraint on value.
57339         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57340         Specify type.
57341         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57342         Specify value.
57343         [ISO C standards]: Do not allow headers.
57344         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57345         wcs[abcdefghijklmnopqrstuvwxyz]*.
57346         [ISO C standards] (*_t): Do not allow.
57347         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57348         Expect function.
57349         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57350         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57351         Specify type.
57352         [ISO C standards]: Do not allow headers.
57353         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57354         is[abcdefghijklmnopqrstuvwxyz]*.
57355         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57356         to[abcdefghijklmnopqrstuvwxyz]*.
57357         [ISO C standards] (*_t): Do not allow.
57358         * conform/data/stdalign.h-data: New file.
57359         * conform/data/stdbool.h-data: Likewise.
57360         * conform/data/stdnoreturn.h-data: Likewise.
57362 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57364         [BZ #14815]
57365         * manual/filesys.texi (Directory Entries): Typo fix.
57366         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57368 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57370         * elf/elf.h (EM_AARCH64): New macro.
57371         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57372         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57373         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57374         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57375         (R_AARCH64_TLSDESC): Likewise.
57376         (NT_ARM_TLS): Likewise.
57377         (NT_ARM_HW_BREAK): Likewise.
57378         (NT_ARM_HW_WATCH): Likewise.
57380 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57382         [BZ #14811]
57383         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57384         (__ieee754_powl): Saturate nonzero exponents with absolute value
57385         below 0x1p-79 to +/- 0x1p-79.
57386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57387         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57388         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57389         nonzero exponents with absolute value below 0x1p-32 to +/-
57390         0x1p-32.
57391         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57392         (__ieee754_powl): Saturate nonzero exponents with absolute value
57393         below 0x1p-79 to +/- 0x1p-79.
57394         * math/libm-test.inc (pow_test): Add more tests.
57396 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57398         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57399         _dl_s390_cap_flags with kernel. Increase string length.
57400         (_dl_s390_platforms): Add z196 and zEC12.
57402 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57404         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57405         Change XOPEN21K to XOPEN2K.
57407 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57409         * string/memmove.c: Use memcpy when possible.
57411 2012-11-06  Andreas Jaeger  <aj@suse.de>
57413         * po/eo.po: Update from translation team.
57415 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57417         [BZ #14793]
57418         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57419         exponent and small x and y exponents, scale x or y up.  Increase
57420         by 2 the exponent used in scaling up.
57421         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57423         * math/libm-test.inc (fma_test): Add more tests.
57424         (fma_test_towardzero): Likewise.
57425         (fma_test_downward): Likewise.
57426         (fma_test_upward): Likewise.
57428 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57430         [BZ #14805]
57431         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57432         fenv_t *.
57434         [BZ #14801]
57435         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57436         namespace for names of struct fields.
57437         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57438         fenv_t fields.
57439         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57440         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57442 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57444         [BZ #3665]
57445         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57447 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57449         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57450         PTR_DEMANGLE.
57452         [BZ #5246]
57453         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57454         PTR_DEMANGLE.
57456 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57458         [BZ #14797]
57459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57460         definitely overflow as x * y not x * y + z.
57461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57463         * math/libm-test.inc (fma_test): Add more tests.
57464         (fma_test_towardzero): Likewise.
57465         (fma_test_downward): Likewise.
57466         (fma_test_upward): Likewise.
57468 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57470         [BZ #157]
57472         * include/stub-tag.h: Remove file.
57473         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57474         '#include' of it.
57475         * manual/maint.texi (Porting): Don't reference it.
57476         * Makerules ($(objpfx)stubs): Likewise.
57477         * dirent/closedir.c: Don't include <stub-tag.h>.
57478         * dirent/dirfd.c: Likewise.
57479         * dirent/fdopendir.c: Likewise.
57480         * dirent/getdents.c: Likewise.
57481         * dirent/getdents64.c: Likewise.
57482         * dirent/opendir.c: Likewise.
57483         * dirent/readdir.c: Likewise.
57484         * dirent/readdir64.c: Likewise.
57485         * dirent/readdir64_r.c: Likewise.
57486         * dirent/readdir_r.c: Likewise.
57487         * dirent/rewinddir.c: Likewise.
57488         * dirent/seekdir.c: Likewise.
57489         * dirent/telldir.c: Likewise.
57490         * gmon/profil.c: Likewise.
57491         * grp/setgroups.c: Likewise.
57492         * inet/if_index.c: Likewise.
57493         * io/access.c: Likewise.
57494         * io/chdir.c: Likewise.
57495         * io/chmod.c: Likewise.
57496         * io/chown.c: Likewise.
57497         * io/close.c: Likewise.
57498         * io/dup.c: Likewise.
57499         * io/dup2.c: Likewise.
57500         * io/dup3.c: Likewise.
57501         * io/euidaccess.c: Likewise.
57502         * io/faccessat.c: Likewise.
57503         * io/fchdir.c: Likewise.
57504         * io/fchmod.c: Likewise.
57505         * io/fchmodat.c: Likewise.
57506         * io/fchown.c: Likewise.
57507         * io/fchownat.c: Likewise.
57508         * io/fcntl.c: Likewise.
57509         * io/flock.c: Likewise.
57510         * io/fstatfs.c: Likewise.
57511         * io/fstatfs64.c: Likewise.
57512         * io/fstatvfs.c: Likewise.
57513         * io/fstatvfs64.c: Likewise.
57514         * io/futimens.c: Likewise.
57515         * io/fxstat.c: Likewise.
57516         * io/fxstat64.c: Likewise.
57517         * io/fxstatat.c: Likewise.
57518         * io/fxstatat64.c: Likewise.
57519         * io/getcwd.c: Likewise.
57520         * io/isatty.c: Likewise.
57521         * io/lchmod.c: Likewise.
57522         * io/lchown.c: Likewise.
57523         * io/link.c: Likewise.
57524         * io/linkat.c: Likewise.
57525         * io/lseek.c: Likewise.
57526         * io/lseek64.c: Likewise.
57527         * io/lxstat64.c: Likewise.
57528         * io/mkdir.c: Likewise.
57529         * io/mkdirat.c: Likewise.
57530         * io/mkfifo.c: Likewise.
57531         * io/mkfifoat.c: Likewise.
57532         * io/open.c: Likewise.
57533         * io/open64.c: Likewise.
57534         * io/openat.c: Likewise.
57535         * io/openat64.c: Likewise.
57536         * io/pipe.c: Likewise.
57537         * io/pipe2.c: Likewise.
57538         * io/poll.c: Likewise.
57539         * io/posix_fadvise.c: Likewise.
57540         * io/posix_fadvise64.c: Likewise.
57541         * io/posix_fallocate.c: Likewise.
57542         * io/posix_fallocate64.c: Likewise.
57543         * io/read.c: Likewise.
57544         * io/readlink.c: Likewise.
57545         * io/readlinkat.c: Likewise.
57546         * io/rmdir.c: Likewise.
57547         * io/sendfile.c: Likewise.
57548         * io/sendfile64.c: Likewise.
57549         * io/statfs.c: Likewise.
57550         * io/statfs64.c: Likewise.
57551         * io/statvfs.c: Likewise.
57552         * io/statvfs64.c: Likewise.
57553         * io/symlink.c: Likewise.
57554         * io/symlinkat.c: Likewise.
57555         * io/ttyname.c: Likewise.
57556         * io/ttyname_r.c: Likewise.
57557         * io/umask.c: Likewise.
57558         * io/unlink.c: Likewise.
57559         * io/unlinkat.c: Likewise.
57560         * io/utime.c: Likewise.
57561         * io/utimensat.c: Likewise.
57562         * io/write.c: Likewise.
57563         * io/xmknod.c: Likewise.
57564         * io/xmknodat.c: Likewise.
57565         * io/xstat.c: Likewise.
57566         * io/xstat64.c: Likewise.
57567         * login/getpt.c: Likewise.
57568         * login/grantpt.c: Likewise.
57569         * login/unlockpt.c: Likewise.
57570         * math/e_acoshl.c: Likewise.
57571         * math/e_acosl.c: Likewise.
57572         * math/e_asinl.c: Likewise.
57573         * math/e_atan2l.c: Likewise.
57574         * math/e_atanhl.c: Likewise.
57575         * math/e_coshl.c: Likewise.
57576         * math/e_expl.c: Likewise.
57577         * math/e_fmodl.c: Likewise.
57578         * math/e_gammal_r.c: Likewise.
57579         * math/e_hypotl.c: Likewise.
57580         * math/e_j0l.c: Likewise.
57581         * math/e_j1l.c: Likewise.
57582         * math/e_jnl.c: Likewise.
57583         * math/e_lgammal_r.c: Likewise.
57584         * math/e_log10l.c: Likewise.
57585         * math/e_log2l.c: Likewise.
57586         * math/e_logl.c: Likewise.
57587         * math/e_powl.c: Likewise.
57588         * math/e_rem_pio2l.c: Likewise.
57589         * math/e_sinhl.c: Likewise.
57590         * math/e_sqrtl.c: Likewise.
57591         * math/fclrexcpt.c: Likewise.
57592         * math/fedisblxcpt.c: Likewise.
57593         * math/feenablxcpt.c: Likewise.
57594         * math/fegetenv.c: Likewise.
57595         * math/fegetexcept.c: Likewise.
57596         * math/fegetround.c: Likewise.
57597         * math/feholdexcpt.c: Likewise.
57598         * math/fesetenv.c: Likewise.
57599         * math/fesetround.c: Likewise.
57600         * math/feupdateenv.c: Likewise.
57601         * math/fgetexcptflg.c: Likewise.
57602         * math/fraiseexcpt.c: Likewise.
57603         * math/fsetexcptflg.c: Likewise.
57604         * math/ftestexcept.c: Likewise.
57605         * math/k_cosl.c: Likewise.
57606         * math/k_rem_pio2l.c: Likewise.
57607         * math/k_sinl.c: Likewise.
57608         * math/k_tanl.c: Likewise.
57609         * math/s_asinhl.c: Likewise.
57610         * math/s_atanl.c: Likewise.
57611         * math/s_cbrtl.c: Likewise.
57612         * math/s_erfl.c: Likewise.
57613         * math/s_expm1l.c: Likewise.
57614         * math/s_log1pl.c: Likewise.
57615         * math/s_tanhl.c: Likewise.
57616         * misc/acct.c: Likewise.
57617         * misc/brk.c: Likewise.
57618         * misc/chflags.c: Likewise.
57619         * misc/chroot.c: Likewise.
57620         * misc/fchflags.c: Likewise.
57621         * misc/fgetxattr.c: Likewise.
57622         * misc/flistxattr.c: Likewise.
57623         * misc/fremovexattr.c: Likewise.
57624         * misc/fsetxattr.c: Likewise.
57625         * misc/fsync.c: Likewise.
57626         * misc/ftruncate.c: Likewise.
57627         * misc/futimes.c: Likewise.
57628         * misc/futimesat.c: Likewise.
57629         * misc/getdomain.c: Likewise.
57630         * misc/getdtsz.c: Likewise.
57631         * misc/gethostid.c: Likewise.
57632         * misc/gethostname.c: Likewise.
57633         * misc/getloadavg.c: Likewise.
57634         * misc/getpagesize.c: Likewise.
57635         * misc/getsysstats.c: Likewise.
57636         * misc/getxattr.c: Likewise.
57637         * misc/gtty.c: Likewise.
57638         * misc/ioctl.c: Likewise.
57639         * misc/lgetxattr.c: Likewise.
57640         * misc/listxattr.c: Likewise.
57641         * misc/llistxattr.c: Likewise.
57642         * misc/lremovexattr.c: Likewise.
57643         * misc/lsetxattr.c: Likewise.
57644         * misc/lutimes.c: Likewise.
57645         * misc/madvise.c: Likewise.
57646         * misc/mincore.c: Likewise.
57647         * misc/mlock.c: Likewise.
57648         * misc/mlockall.c: Likewise.
57649         * misc/mmap.c: Likewise.
57650         * misc/mprotect.c: Likewise.
57651         * misc/msync.c: Likewise.
57652         * misc/munlock.c: Likewise.
57653         * misc/munlockall.c: Likewise.
57654         * misc/munmap.c: Likewise.
57655         * misc/preadv.c: Likewise.
57656         * misc/preadv64.c: Likewise.
57657         * misc/ptrace.c: Likewise.
57658         * misc/pwritev.c: Likewise.
57659         * misc/pwritev64.c: Likewise.
57660         * misc/readv.c: Likewise.
57661         * misc/reboot.c: Likewise.
57662         * misc/remap_file_pages.c: Likewise.
57663         * misc/removexattr.c: Likewise.
57664         * misc/revoke.c: Likewise.
57665         * misc/select.c: Likewise.
57666         * misc/setdomain.c: Likewise.
57667         * misc/setegid.c: Likewise.
57668         * misc/seteuid.c: Likewise.
57669         * misc/sethostid.c: Likewise.
57670         * misc/sethostname.c: Likewise.
57671         * misc/setregid.c: Likewise.
57672         * misc/setreuid.c: Likewise.
57673         * misc/setxattr.c: Likewise.
57674         * misc/sstk.c: Likewise.
57675         * misc/stty.c: Likewise.
57676         * misc/swapoff.c: Likewise.
57677         * misc/swapon.c: Likewise.
57678         * misc/sync.c: Likewise.
57679         * misc/syncfs.c: Likewise.
57680         * misc/syscall.c: Likewise.
57681         * misc/truncate.c: Likewise.
57682         * misc/ualarm.c: Likewise.
57683         * misc/usleep.c: Likewise.
57684         * misc/ustat.c: Likewise.
57685         * misc/utimes.c: Likewise.
57686         * misc/vhangup.c: Likewise.
57687         * misc/writev.c: Likewise.
57688         * posix/_exit.c: Likewise.
57689         * posix/alarm.c: Likewise.
57690         * posix/execve.c: Likewise.
57691         * posix/fexecve.c: Likewise.
57692         * posix/fork.c: Likewise.
57693         * posix/fpathconf.c: Likewise.
57694         * posix/getaddrinfo.c: Likewise.
57695         * posix/getegid.c: Likewise.
57696         * posix/geteuid.c: Likewise.
57697         * posix/getgid.c: Likewise.
57698         * posix/getgroups.c: Likewise.
57699         * posix/getlogin.c: Likewise.
57700         * posix/getlogin_r.c: Likewise.
57701         * posix/getpgid.c: Likewise.
57702         * posix/getpid.c: Likewise.
57703         * posix/getppid.c: Likewise.
57704         * posix/getresgid.c: Likewise.
57705         * posix/getresuid.c: Likewise.
57706         * posix/getsid.c: Likewise.
57707         * posix/getuid.c: Likewise.
57708         * posix/glob64.c: Likewise.
57709         * posix/nanosleep.c: Likewise.
57710         * posix/pathconf.c: Likewise.
57711         * posix/pause.c: Likewise.
57712         * posix/posix_madvise.c: Likewise.
57713         * posix/pread.c: Likewise.
57714         * posix/pread64.c: Likewise.
57715         * posix/pwrite.c: Likewise.
57716         * posix/pwrite64.c: Likewise.
57717         * posix/sched_getaffinity.c: Likewise.
57718         * posix/sched_getp.c: Likewise.
57719         * posix/sched_gets.c: Likewise.
57720         * posix/sched_primax.c: Likewise.
57721         * posix/sched_primin.c: Likewise.
57722         * posix/sched_rr_gi.c: Likewise.
57723         * posix/sched_setaffinity.c: Likewise.
57724         * posix/sched_setp.c: Likewise.
57725         * posix/sched_sets.c: Likewise.
57726         * posix/sched_yield.c: Likewise.
57727         * posix/setgid.c: Likewise.
57728         * posix/setlogin.c: Likewise.
57729         * posix/setpgid.c: Likewise.
57730         * posix/setresgid.c: Likewise.
57731         * posix/setresuid.c: Likewise.
57732         * posix/setsid.c: Likewise.
57733         * posix/setuid.c: Likewise.
57734         * posix/sleep.c: Likewise.
57735         * posix/spawni.c: Likewise.
57736         * posix/sysconf.c: Likewise.
57737         * posix/times.c: Likewise.
57738         * posix/wait.c: Likewise.
57739         * posix/wait3.c: Likewise.
57740         * posix/wait4.c: Likewise.
57741         * posix/waitpid.c: Likewise.
57742         * resolv/gai_sigqueue.c: Likewise.
57743         * resource/getpriority.c: Likewise.
57744         * resource/getrlimit.c: Likewise.
57745         * resource/getrusage.c: Likewise.
57746         * resource/nice.c: Likewise.
57747         * resource/setpriority.c: Likewise.
57748         * resource/setrlimit.c: Likewise.
57749         * resource/ulimit.c: Likewise.
57750         * rt/aio_cancel.c: Likewise.
57751         * rt/aio_fsync.c: Likewise.
57752         * rt/aio_read.c: Likewise.
57753         * rt/aio_sigqueue.c: Likewise.
57754         * rt/aio_suspend.c: Likewise.
57755         * rt/aio_write.c: Likewise.
57756         * rt/clock_getres.c: Likewise.
57757         * rt/clock_gettime.c: Likewise.
57758         * rt/clock_nanosleep.c: Likewise.
57759         * rt/clock_settime.c: Likewise.
57760         * rt/lio_listio.c: Likewise.
57761         * rt/mq_close.c: Likewise.
57762         * rt/mq_getattr.c: Likewise.
57763         * rt/mq_notify.c: Likewise.
57764         * rt/mq_open.c: Likewise.
57765         * rt/mq_receive.c: Likewise.
57766         * rt/mq_send.c: Likewise.
57767         * rt/mq_setattr.c: Likewise.
57768         * rt/mq_timedreceive.c: Likewise.
57769         * rt/mq_timedsend.c: Likewise.
57770         * rt/mq_unlink.c: Likewise.
57771         * rt/shm_open.c: Likewise.
57772         * rt/shm_unlink.c: Likewise.
57773         * rt/timer_create.c: Likewise.
57774         * rt/timer_delete.c: Likewise.
57775         * rt/timer_getoverr.c: Likewise.
57776         * rt/timer_gettime.c: Likewise.
57777         * rt/timer_settime.c: Likewise.
57778         * setjmp/__longjmp.c: Likewise.
57779         * setjmp/setjmp.c: Likewise.
57780         * signal/kill.c: Likewise.
57781         * signal/killpg.c: Likewise.
57782         * signal/raise.c: Likewise.
57783         * signal/sigaction.c: Likewise.
57784         * signal/sigaltstack.c: Likewise.
57785         * signal/sigblock.c: Likewise.
57786         * signal/sigignore.c: Likewise.
57787         * signal/sigintr.c: Likewise.
57788         * signal/signal.c: Likewise.
57789         * signal/sigpause.c: Likewise.
57790         * signal/sigpending.c: Likewise.
57791         * signal/sigqueue.c: Likewise.
57792         * signal/sigreturn.c: Likewise.
57793         * signal/sigset.c: Likewise.
57794         * signal/sigsetmask.c: Likewise.
57795         * signal/sigstack.c: Likewise.
57796         * signal/sigsuspend.c: Likewise.
57797         * signal/sigtimedwait.c: Likewise.
57798         * signal/sigvec.c: Likewise.
57799         * signal/sigwait.c: Likewise.
57800         * signal/sigwaitinfo.c: Likewise.
57801         * signal/sysv_signal.c: Likewise.
57802         * socket/accept.c: Likewise.
57803         * socket/accept4.c: Likewise.
57804         * socket/bind.c: Likewise.
57805         * socket/connect.c: Likewise.
57806         * socket/getpeername.c: Likewise.
57807         * socket/getsockname.c: Likewise.
57808         * socket/getsockopt.c: Likewise.
57809         * socket/isfdtype.c: Likewise.
57810         * socket/listen.c: Likewise.
57811         * socket/recv.c: Likewise.
57812         * socket/recvfrom.c: Likewise.
57813         * socket/recvmsg.c: Likewise.
57814         * socket/send.c: Likewise.
57815         * socket/sendmsg.c: Likewise.
57816         * socket/sendto.c: Likewise.
57817         * socket/setsockopt.c: Likewise.
57818         * socket/shutdown.c: Likewise.
57819         * socket/sockatmark.c: Likewise.
57820         * socket/socket.c: Likewise.
57821         * socket/socketpair.c: Likewise.
57822         * stdio-common/ctermid.c: Likewise.
57823         * stdio-common/cuserid.c: Likewise.
57824         * stdio-common/remove.c: Likewise.
57825         * stdio-common/rename.c: Likewise.
57826         * stdio-common/renameat.c: Likewise.
57827         * stdio-common/tempname.c: Likewise.
57828         * stdlib/getcontext.c: Likewise.
57829         * stdlib/makecontext.c: Likewise.
57830         * stdlib/setcontext.c: Likewise.
57831         * stdlib/swapcontext.c: Likewise.
57832         * stdlib/system.c: Likewise.
57833         * streams/fattach.c: Likewise.
57834         * streams/fdetach.c: Likewise.
57835         * streams/getmsg.c: Likewise.
57836         * streams/getpmsg.c: Likewise.
57837         * streams/putmsg.c: Likewise.
57838         * streams/putpmsg.c: Likewise.
57839         * sysdeps/unix/bsd/getpt.c: Likewise.
57840         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57841         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57842         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57844         Likewise.
57845         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57846         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57847         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57848         * sysvipc/msgctl.c: Likewise.
57849         * sysvipc/msgget.c: Likewise.
57850         * sysvipc/msgrcv.c: Likewise.
57851         * sysvipc/msgsnd.c: Likewise.
57852         * sysvipc/semctl.c: Likewise.
57853         * sysvipc/semget.c: Likewise.
57854         * sysvipc/semop.c: Likewise.
57855         * sysvipc/semtimedop.c: Likewise.
57856         * sysvipc/shmat.c: Likewise.
57857         * sysvipc/shmctl.c: Likewise.
57858         * sysvipc/shmdt.c: Likewise.
57859         * sysvipc/shmget.c: Likewise.
57860         * termios/tcdrain.c: Likewise.
57861         * termios/tcflow.c: Likewise.
57862         * termios/tcflush.c: Likewise.
57863         * termios/tcgetattr.c: Likewise.
57864         * termios/tcgetpgrp.c: Likewise.
57865         * termios/tcsendbrk.c: Likewise.
57866         * termios/tcsetattr.c: Likewise.
57867         * termios/tcsetpgrp.c: Likewise.
57868         * time/adjtime.c: Likewise.
57869         * time/clock.c: Likewise.
57870         * time/getitimer.c: Likewise.
57871         * time/gettimeofday.c: Likewise.
57872         * time/setitimer.c: Likewise.
57873         * time/settimeofday.c: Likewise.
57874         * time/stime.c: Likewise.
57875         * time/time.c: Likewise.
57877 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57879         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57880         /usr/old/bin.
57882         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57883         instead of spaces.
57884         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57886 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57888         [BZ #14796]
57889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57890         FE_TONEAREST before applying Dekker multiplication and Knuth
57891         addition.  Clear inexact exceptions and check for exact zero
57892         results afterwards.
57893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57894         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57896         * math/libm-test.inc (fma_test): Add more tests.
57897         (fma_test_towardzero): Likewise.
57898         (fma_test_downward): Likewise.
57899         (fma_test_upward): Likewise.
57900         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57901         function.
57902         (libc_fesetround): New macro.
57903         (libc_fesetroundf): Likewise.
57904         (libc_fesetroundl): Likewise.
57905         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57906         function.
57907         (libc_fesetround_387): Likewise.
57908         (libc_fesetroundf): New macro.
57909         (libc_fesetround): Likewise.
57910         (libc_fesetroundl): Likewise.
57911         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57912         function.
57913         (libc_fesetroundf): New macro.
57914         (libc_fesetround): Likewise.
57915         (libc_fesetroundl): Likewise.
57916         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57917         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57918         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57919         libm_hidden_ver.
57920         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57921         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57922         libm_hidden_def.
57923         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57924         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57925         libm_hidden_ver.
57926         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57927         libm_hidden_def.
57929         [BZ #3439]
57930         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57931         integer constant usable in #if and use that to give value to enum
57932         constant.
57933         (FE_DIVBYZERO): Likewise.
57934         (FE_UNDERFLOW): Likewise.
57935         (FE_OVERFLOW): Likewise.
57936         (FE_INVALID): Likewise.
57937         (FE_INVALID_SNAN): Likewise.
57938         (FE_INVALID_ISI): Likewise.
57939         (FE_INVALID_IDI): Likewise.
57940         (FE_INVALID_ZDZ): Likewise.
57941         (FE_INVALID_IMZ): Likewise.
57942         (FE_INVALID_COMPARE): Likewise.
57943         (FE_INVALID_SOFTWARE): Likewise.
57944         (FE_INVALID_SQRT): Likewise.
57945         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57946         (FE_TONEAREST): Likewise.
57947         (FE_TOWARDZERO): Likewise.
57948         (FE_UPWARD): Likewise.
57949         (FE_DOWNWARD): Likewise.
57950         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57951         (FE_DIVBYZERO): Likewise.
57952         (FE_OVERFLOW): Likewise.
57953         (FE_UNDERFLOW): Likewise.
57954         (FE_INEXACT): Likewise.
57955         (FE_TONEAREST): Likewise.
57956         (FE_DOWNWARD): Likewise.
57957         (FE_UPWARD): Likewise.
57958         (FE_TOWARDZERO): Likewise.
57959         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57960         (FE_UNDERFLOW): Likewise.
57961         (FE_OVERFLOW): Likewise.
57962         (FE_DIVBYZERO): Likewise.
57963         (FE_INVALID): Likewise.
57964         (FE_TONEAREST): Likewise.
57965         (FE_TOWARDZERO): Likewise.
57966         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57967         (FE_OVERFLOW): Likewise.
57968         (FE_UNDERFLOW): Likewise.
57969         (FE_DIVBYZERO): Likewise.
57970         (FE_INEXACT): Likewise.
57971         (FE_TONEAREST): Likewise.
57972         (FE_TOWARDZERO): Likewise.
57973         (FE_UPWARD): Likewise.
57974         (FE_DOWNWARD): Likewise.
57975         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57976         (FE_DIVBYZERO): Likewise.
57977         (FE_OVERFLOW): Likewise.
57978         (FE_UNDERFLOW): Likewise.
57979         (FE_INEXACT): Likewise.
57980         (FE_TONEAREST): Likewise.
57981         (FE_DOWNWARD): Likewise.
57982         (FE_UPWARD): Likewise.
57983         (FE_TOWARDZERO): Likewise.
57985 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57987         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57989 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57991         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57992         commands.  Quote $PWD.
57993         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57994         -x" by "export".
57995         (remove_newlines): Remove.
57997 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57999         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58000         * stdlib/stdlib.h (atof): Moved to ...
58001         * include/bits/stdlib-float.h: Here.  New file.
58002         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58003         * stdlib/bits/stdlib-float.h: New file.
58004         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58005         -mno-sse -mno-mmx.
58006         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58007         <xmmintrin.h>.
58009 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58011         * conform/conformtest.pl (@headers): Add fenv.h.
58012         * conform/data/fenv.h-data: New file.
58013         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58014         include of <math/fenv.h>.
58016         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58017         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58018         && !UNIX98].  Enables tests for XOPEN2K8.
58019         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58020         POSIX2008]: Likewise.
58022         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58023         (struct rusage): Do not expect type or its members.
58025         [BZ #3439]
58026         * math/math.h (FP_NAN): Define macro to integer constant usable in
58027         #if and use that to give value to enum constant.
58028         (FP_INFINITE): Likewise.
58029         (FP_ZERO): Likewise.
58030         (FP_SUBNORMAL): Likewise.
58031         (FP_NORMAL): Likewise.
58033 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58035         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58036         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58037         arguments.
58039 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58041         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58042         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58043         autoconf-time if not.
58044         * configure.in: Remove AC_PREREQ.
58046 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58048         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58049         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58050         of the internal implementation.
58052 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58054         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58055         except include of <misc/sys/syslog.h>.
58057 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58060         function returns with a NULL context exit with zero.
58062 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58064         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58066 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58068         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58069         (run_program_cmd): This.
58070         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58071         (tst_langinfo): New variable.  Use it.
58073 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58075         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58076         floating point opcodes.
58078 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58080         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58081         variable.
58083         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58085         * sysdeps/mach/hurd/powerpc: Remove directory.
58086         * sysdeps/mach/powerpc: Likewise.
58088 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58090         * scripts/check-local-headers.sh: Ignore c++ headers.
58092 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58094         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58095         __libc_cleanup_region_start argument.
58097 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58099         [BZ #14784]
58100         [BZ #14785]
58101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58102         x * y using scaling, not as x * y + z.
58103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58105         * math/libm-test.inc (fma_test): Add more tests.
58106         (fma_test_towardzero): Likewise.
58107         (fma_test_downward): Likewise.
58108         (fma_test_upward): Likewise.
58110 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58112         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58114 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58116         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58117         New variable.
58119 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58121         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58123 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58126         Fix sort order.
58127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58128         Likewise.
58130 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58133         Fix the order of the list for glibc 2.17.
58134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58135         Likewise.
58137 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58141 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58143         [BZ #14610]
58144         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58145         for low part of x being zero before using __atanl (y).
58146         * math/libm-test.inc (atan2_test): Add another test.
58148         * manual/install.texi (Configuring and compiling): Document
58149         general use of test-wrapper and test-wrapper-env.
58150         * INSTALL: Regenerated.
58152         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58153         (__fma): Do not extract and scale down low bits on after-rounding
58154         systems when result rounded to normal precision would have normal
58155         exponent.
58156         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58157         (__fmal): Do not extract and scale down low bits on after-rounding
58158         systems when result rounded to normal precision would have normal
58159         exponent.
58160         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58161         (__fmal): Do not extract and scale down low bits on after-rounding
58162         systems when result rounded to normal precision would have normal
58163         exponent.
58164         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58165         macro.
58166         (fma_test): Add more tests.
58167         (fma_test_towardzero): Likewise.
58168         (fma_test_downward): Likewise.
58169         (fma_test_upward): Likewise.
58171 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58173         * sysdeps/i386/tininess.h: Renamed to ...
58174         * sysdeps/x86/tininess.h: This.
58175         * sysdeps/x86_64/tininess.h: Removed.
58177 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58179         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58180         input.  Use $(build-program-cmd).
58181         ($(objpfx)tst-array1-static.out): Likewise.
58182         ($(objpfx)tst-array2.out): Likewise.
58183         ($(objpfx)tst-array3.out): Likewise.
58184         ($(objpfx)tst-array4.out): Likewise.
58185         ($(objpfx)tst-array5.out): Likewise.
58186         ($(objpfx)tst-array5-static.out): Likewise.
58188 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58190         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58191         if defined.
58193         * nss/nsswitch.h (nss_interface_function): Provide new
58194         macro for use with NSS functions.
58195         * grp/initgroups.c: Use new macro.
58196         * nss/getXXbyYY.c: Likewise.
58197         * nss/getXXbyYY_r.c: Likewise.
58198         * nss/getXXent.c: Likewise.
58199         * nss/getXXent_r.c: Likewise.
58200         * sysdeps/posix/getaddrinfo.c: Likewise.
58202 2012-10-30  Andreas Jaeger  <aj@suse.de>
58204         * po/ru.po: Update Russion translation from translation project.
58206 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58208         [BZ #14152]
58209         [BZ #14783]
58210         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58211         result and shift together with sticky bit instead of replicating
58212         round-to-nearest rounding.
58213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58215         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58216         missing underflow exceptions.
58217         (fma_test_towardzero): Add more tests.
58218         (fma_test_downward): Likewise.
58219         (fma_test_upward): Likewise.
58221         [BZ #14047]
58222         * sysdeps/generic/tininess.h: New file.
58223         * sysdeps/i386/tininess.h: Likewise.
58224         * sysdeps/sh/tininess.h: Likewise.
58225         * sysdeps/x86_64/tininess.h: Likewise.
58226         * stdlib/tst-strtod-underflow.c: Likewise.
58227         * stdlib/tst-tininess.c: Likewise.
58228         * stdlib/strtod_l.c: Include <tininess.h>.
58229         (round_and_return): Do not set errno for exact underflow cases.
58230         Force an underflow exception when setting errno for underflow.
58231         Determine underflow based on rounding to normal precision if
58232         TININESS_AFTER_ROUNDING.
58233         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58234         ERANGE for exact underflow cases.
58235         * stdlib/Makefile (tests): Add tst-tininess and
58236         tst-strtod-underflow.
58237         ($(objpfx)tst-tininess): Use $(link-libm).
58238         ($(objpfx)tst-strtod-underflow): Likewise.
58240 2012-10-30  Andreas Jaeger  <aj@suse.de>
58242         [BZ#14767]
58243         * elf/Makefile (tests): Remove conditional for have-initfini-array
58244         since this is now always required and the variable does not exist
58245         anymore.
58246         (tests-static): Likewise.
58247         (modules-names): Likewise.
58249         * po/eo.po: Add Esperanto translation from translation project.
58251         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58252         merged with constructor/destructor.
58253         (init_array): Likewise.
58254         * elf/tst-array2dep.c (fini_array): Likewise.
58255         (init_array): Likewise.
58257 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58259         * manual/message.texi: Delete @cartouche tags.
58261 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58263         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58264         EOPNOTSUPP.
58265         * sysdeps/mach/hurd/fsync.c: Likewise.
58267         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58268         [_POSIX_REALTIME_SIGNALS]: Change condition to
58269         [_POSIX_REALTIME_SIGNALS > 0].
58271 2012-10-27  Andreas Jaeger  <aj@suse.de>
58273         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58274         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58275         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58276         [__WORDSIZE != 64]: Likewise.
58278 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58280         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58281         *  iconvdata/tst-tables.sh: Likewise.
58283 2012-10-25  David S. Miller  <davem@davemloft.net>
58285         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58286         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58287         of strtoull.
58289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58290         ifunc-impl-list.c
58291         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58292         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58293         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58294         file.
58296 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58298         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58299         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58300         __getdirentries.
58302 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58303             Jim Blandy  <jimb@codesourcery.com>
58305         * scripts/cross-test-ssh.sh: New file.
58306         * manual/install.texi (Configuring and compiling): Document use of
58307         cross-test-ssh.sh.
58308         * INSTALL: Regenerated.
58310 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58312         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58313         EOPNOTSUPP.
58315 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58317         * Makeconfig (run-program-prefix): Fix comment.
58319 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58320             Jim Blandy  <jimb@codesourcery.com>
58322         * Makeconfig (test-wrapper): New variable,
58323         (test-wrapper-env): Likewise.
58324         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58325         (run-built-tests): Define to yes.
58326         (run-program-prefix): Use $(test-wrapper).
58327         (built-program-cmd): Likewise.
58328         * Rules (make-test-out): Use $(test-wrapper-env) and
58329         $(host-built-program-cmd).
58330         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58331         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58332         tst-pathopt.sh.
58333         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58334         $(test-wrapper-env) to tst-rtld-load-self.sh.
58335         ($(objpfx)order2.out): Use $(test-wrapper).
58336         ($(objpfx)tst-initorder.out): Likewise.
58337         ($(objpfx)tst-initorder2.out): Likewise.
58338         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58339         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58340         (test_wrapper_env): New variable.  Use it to run ld.so.
58341         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58342         Use it to run ld.so.
58343         (test_wrapper_env): Likewise.
58344         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58345         $(test-wrapper) to run-iconv-test.sh.
58346         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58347         (ICONV): Use $test_wrapper.
58348         * posix/Makefile ($(objpfx)globtest.out): Pass
58349         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58350         globtest.sh, not $(run-program-prefix).
58351         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58352         (test_wrapper): Likewise.
58353         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58354         set together with run_via_rtld_prefix.
58355         (run_program_prefix): Define in terms of test_wrapper and
58356         run_via_rtld_prefix.
58358 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58360         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58361         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58362         Targets removed.
58364         [BZ #14743]
58365         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58366         Declare __clock_getres, __clock_gettime, __clock_settime,
58367         __clock_nanosleep, and __clock_getcpuclockid.
58368         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58369         Remove librt_hidden_def (clock_gettime).
58370         * sysdeps/unix/clock_gettime.c: Likewise.
58371         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58373         * rt/clock_getres.c: Define __clock_getres as an alias.
58374         * sysdeps/posix/clock_getres.c: Likewise.
58375         * rt/clock_settime.c: Define __clock_settime as an alias.
58376         * sysdeps/unix/clock_settime.c: Likewise.
58377         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58378         * sysdeps/unix/clock_nanosleep.c: Likewise.
58379         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58380         * rt/clock-compat.c: New file.
58381         * rt/Makefile (librt-routines): Add clock-compat and move
58382         $(clock-routines) to ...
58383         (routines): ... here, new variable.
58384         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58385         Don't add get_clockfreq here.
58386         * rt/Versions (libc: GLIBC_2.17): New version set.
58387         Add clock_* symbols here.
58388         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58390         (GLIBC_2.17): Add clock_* symbols.
58391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58393         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58395         Likewise.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58397         Likewise.
58398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58402         * NEWS: Mention the move.
58404         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58405         Use __open, __read, __close rather than their public counterparts.
58406         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58407         (__get_clockfreq_via_cpuinfo): Likewise.
58408         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58409         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58411         * config.h.in (HAVE_IFUNC): New #undef.
58412         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58413         was successful.
58414         * configure: Regenerated.
58416 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58418         * configure.in: Move READELF check to start of file.
58419         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58420         libc_cv_asm_gnu_indirect_function in the process.
58421         * configure: Regenerated.
58423 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58425         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58426         send the output to /dev/null.
58427         (libc_cv_cc_with_libunwind): Likewise.
58428         (libc_cv_as_noexecstack): Likewise.
58429         * configure: Regenerate.
58431 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58433         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58435         * posix/globtest.sh (TMPDIR): Do not set.
58436         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58437         (testout): Likewise.
58439 2012-10-24  Andreas Jaeger  <aj@suse.de>
58441         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58442         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58443         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58444         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58445         posix_fadvise64, posix_fallocate64.
58447         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58448         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58449         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58450         Likewise.
58451         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58452         Likewise.
58453         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58456         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58457         <bits/fcntl-linux.h>.
58458         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58461         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58462         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58463         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58464         [__WORDSIZE != 64]: Likewise.
58466 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58468         * Makeconfig (run-built-tests): New variable.
58469         * Rules [$(cross-compiling) = yes]: Change condition to
58470         [$(run-built-tests) = no].
58471         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58472         to [$(run-built-tests) = yes].
58473         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58474         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58475         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58476         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58477         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58478         * io/Makefile [$(cross-compiling) = no]: Likewise.
58479         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58480         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58481         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58482         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58483         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58484         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58485         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58486         * string/Makefile [$(cross-compiling) = no]: Likewise.
58488         * posix/Makefile ($(objpfx)globtest.out): Pass
58489         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58490         $(rtld-installed-name).
58491         * posix/globtest.sh (elf_objpfx): Remove variable.
58492         (rtld_installed_name): Likewise.
58493         (library_path): Likewise.
58494         (run_program_prefix): New variable.  Use for running globtest
58495         binary.
58497 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58498             Joseph Myers  <joseph@codesourcery.com>
58500         * Makeconfig (host-built-program-cmd): New variable.
58501         * elf/Makefile (tst-stackguard1-ARGS): Use
58502         $(host-built-program-cmd).
58503         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58504         (tst-spawn-ARGS): Likewise.
58505         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58507 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58508             Jim Blandy  <jimb@codesourcery.com>
58510         * Makeconfig (run-via-rtld-prefix): New variable.
58511         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58512         (built-program-cmd): Likewise.
58514 2012-10-22  Andreas Jaeger  <aj@suse.de>
58516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58517         __O_RSYNC if it exists, otherwise to O_SYNC.
58519 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58520             Joseph Myers  <joseph@codesourcery.com>
58522         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58523         /dev/null.
58524         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58525         from /dev/null
58526         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58527         /dev/null.
58529 2012-10-22  Andreas Jaeger  <aj@suse.de>
58531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58532         Define always.
58533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58536         bits/fcntl-linux.h.
58538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58539         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58542         to __O_LARGEFILE.
58543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58544         to __O_LARGEFILE.
58546 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58547             Joseph Myers  <joseph@codesourcery.com>
58549         * config.make.in (NM): New variable.
58551 2012-10-21  Andreas Jaeger  <aj@suse.de>
58553         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58554         definitions and declarations that are provided by
58555         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58557 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58559         [BZ #14683]
58560         * elf/Makefile (tests-static): Add tst-leaks1-static.
58561         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58562         ($(objpfx)tst-leaks1-static): New rule.
58563         ($(objpfx)tst-leaks1-static-mem): Likewise.
58564         (tst-leaks1-static-ENV): New macro.
58565         * elf/dl-open.c (dl_open_worker): Check the main application
58566         only if SHARED is defined.
58567         * elf/tst-leaks1-static.c: New file.
58569 2012-10-20  Andreas Jaeger  <aj@suse.de>
58571         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58572         generic values for Linux.
58573         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58574         and declarations that are provided by <bits/fcntl-linux.h> and
58575         include <bits/fcntl-linux.h>.
58576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58579 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58581         * io/fcntl.h: Move include of <bits/types.h> to the top and
58582         include it unconditionally.
58584 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58586         * wcsmbs/Makefile (tests-ifunc): New variable.
58587         (tests): Add $(tests-ifunc).
58588         * wcsmbs/test-wcschr-ifunc.c: New file.
58589         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58590         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58591         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58592         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58593         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58595         * string/Makefile (tests-ifunc): New variable.
58596         (tests): Add $(tests-ifunc).
58597         * string/test-memccpy.c (TEST_NAME): New macro.
58598         * string/test-memchr.c (TEST_NAME): Likewise.
58599         * string/test-memcmp.c (TEST_NAME): Likewise.
58600         * string/test-memcpy.c (TEST_NAME): Likewise.
58601         * string/test-memmem.c (TEST_NAME): Likewise.
58602         * string/test-memmove.c (TEST_NAME): Likewise.
58603         * string/test-memset.c (TEST_NAME): Likewise.
58604         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58605         * string/test-stpcpy.c (TEST_NAME): Likewise.
58606         * string/test-stpncpy.c (TEST_NAME): Likewise.
58607         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58608         * string/test-strcasestr.c (TEST_NAME): Likewise.
58609         * string/test-strcat.c (TEST_NAME): Likewise.
58610         * string/test-strchr.c (TEST_NAME): Likewise.
58611         * string/test-strcmp.c(TEST_NAME): Likewise.
58612         * string/test-strcpy.c (TEST_NAME): Likewise.
58613         * string/test-strcspn.c (TEST_NAME): Likewise.
58614         * string/test-strlen.c (TEST_NAME): Likewise.
58615         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58616         * string/test-strncmp.c (TEST_NAME): Likewise.
58617         * string/test-strncpy.c (TEST_NAME): Likewise.
58618         * string/test-strnlen.c (TEST_NAME): Likewise.
58619         * string/test-strpbrk.c (TEST_NAME): Likewise.
58620         * string/test-strrchr.c (TEST_NAME): Likewise.
58621         * string/test-strspn.c (TEST_NAME): Likewise.
58622         * string/test-strstr.c (TEST_NAME): Likewise.
58623         * string/test-bcopy-ifunc.c: New file.
58624         * string/test-bzero-ifunc.c: Likewise.
58625         * string/test-memccpy-ifunc.c: Likewise.
58626         * string/test-memchr-ifunc.c: Likewise.
58627         * string/test-memcmp-ifunc.c: Likewise.
58628         * string/test-memcpy-ifunc.c: Likewise.
58629         * string/test-memmem-ifunc.c: Likewise.
58630         * string/test-memmove-ifunc.c: Likewise.
58631         * string/test-mempcpy-ifunc.c: Likewise.
58632         * string/test-memset-ifunc.c: Likewise.
58633         * string/test-rawmemchr-ifunc.c: Likewise.
58634         * string/test-stpcpy-ifunc.c: Likewise.
58635         * string/test-stpncpy-ifunc.c: Likewise.
58636         * string/test-strcasecmp-ifunc.c: Likewise.
58637         * string/test-strcasestr-ifunc.c: Likewise.
58638         * string/test-strcat-ifunc.c: Likewise.
58639         * string/test-strchr-ifunc.c: Likewise.
58640         * string/test-strchrnul-ifunc.c: Likewise.
58641         * string/test-strcmp-ifunc.c: Likewise.
58642         * string/test-strcpy-ifunc.c: Likewise.
58643         * string/test-strcspn-ifunc.c: Likewise.
58644         * string/test-strlen-ifunc.c: Likewise.
58645         * string/test-strncasecmp-ifunc.c: Likewise.
58646         * string/test-strncat-ifunc.c: Likewise.
58647         * string/test-strncmp-ifunc.c: Likewise.
58648         * string/test-strncpy-ifunc.c: Likewise.
58649         * string/test-strnlen-ifunc.c: Likewise.
58650         * string/test-strpbrk-ifunc.c: Likewise.
58651         * string/test-strrchr-ifunc.c: Likewise.
58652         * string/test-strspn-ifunc.c: Likewise.
58653         * string/test-strstr-ifunc.c: Likewise.
58655         * debug/Makefile (tests-ifunc): New variable.
58656         (tests): Add $(tests-ifunc).
58657         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58658         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58659         * debug/test-stpcpy_chk-ifunc.c: New file.
58660         * debug/test-strcpy_chk-ifunc.c: Likewise.
58662 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58664         [BZ #13601]
58665         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58666         header is not read in.
58668 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58670         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58671         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58672         directly.  Pass built executable to script as
58673         $(built-program-cmd).
58674         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58675         $testprogram without using LD_LIBRARY_PATH and $ldso.
58677         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58678         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58679         $(rtld-installed-name).
58680         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58681         (rtld_installed_name): Likewise.
58682         (library_path): Likewise.
58683         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58684         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58685         $(run-program-prefix) to tst-tables.sh.
58686         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58687         it to run tst-table-from and tst-table-to.
58688         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58689         Pass it to tst-table.sh.
58690         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58691         $(run-program-prefix) to tst-gettext.sh.
58692         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58693         tst-translit.sh.
58694         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58695         tst-gettext2.sh.
58696         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58697         to run tst-gettext.
58698         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58699         to run tst-gettext2.
58700         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58701         to run tst-translit.
58702         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58703         $(run-program-prefix) to tst-mtrace.sh.
58704         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58705         to run tst-mtrace.
58706         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58707         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58708         $(rtld-installed-name).
58709         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58710         (rtld_installed_name): Likewise.
58711         (run_program_prefix): New variable.  Use it to run wordexp-test.
58713         * Makeconfig (ARCH): Remove all definitions.
58714         (machine): Likewise.
58715         [ARCH]: Remove conditional code.
58716         [!objdir]: Give error.
58717         [!objdir] (objpfx): Remove.
58718         [!objdir] (common-objpfx): Likewise.
58719         [!objdir] (common-objdir): Likewise.
58720         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58721         AC_CONFIG_FILES call.
58722         * configure: Regenerated.
58724         [BZ #13888]
58725         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58726         or TMPDIR.
58727         (testout): Likewise.
58729         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58730         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58731         $(rtld-installed-name).
58732         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58733         (rtld_installed_name): Likwise.
58734         (runit): Remove function.
58735         (run_getconf): New variable,  Use it for running getconf binary.
58737 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58739         [BZ #14716]
58740         * string/test-memmem.c (check_result): New function.
58741         (do_one_test): Use it.
58742         (check1): New function.
58743         (test_main): Use it.
58745 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58747         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58749 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58751         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58752         (_G_LSEEK64): Likewise.
58753         (_G_MMAP64): Likewise.
58754         (_G_FSTAT64): Likewise.
58755         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58756         (_G_LSEEK64): Likewise.
58757         (_G_MMAP64): Likewise.
58758         (_G_FSTAT64): Likewise.
58759         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58760         unconditional.  Call __mmap64 directly.
58761         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58762         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58763         __lseek64 directly.
58764         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58765         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58766         __mmap64 directly.
58767         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58768         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58769         __lseek64 directly.
58770         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58771         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58772         __lseek64 directly.
58773         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58774         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58775         __lseek64 directly.
58776         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58777         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58778         __fxstat64 directly.
58779         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58780         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58781         unconditional.
58782         (freopen64) [!_G_OPEN64]: Remove conditional code.
58783         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58784         unconditional.
58785         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58786         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58787         unconditional.
58788         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58789         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58790         unconditional.
58791         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58792         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58793         unconditional.
58794         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58795         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58796         unconditional.
58797         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58798         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58799         unconditional.
58800         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58801         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58802         unconditional.
58803         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58805 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58807         [BZ #12140]
58808         * manual/memory.texi (Malloc Tunable Parameters): Add note
58809         about free list pointers overwriting some perturb bytes.
58810         Wording suggested by Roland McGrath.
58812 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58814         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58815         (lgamma_test): Likewise.
58816         (tgamma_test): Likewise.
58818 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58820         [BZ #14700]
58821         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58822         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58824 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58826         * NEWS: Mention BZ #14716.
58827         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58828         when removing AVAILABLE1_USES_J macro.
58830 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58832         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58833         (__bswap_64): __uint64_t for unsigned 64-bit int.
58835 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58837         * include/string.h (memmem): Declare libc hidden alias.
58838         * string/memmem.c (memmem): Define libc hidden alias.
58839         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58840         __read, __close instead of open, read, close.
58842 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58845         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58846         global and hidden.
58847         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58848         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58849         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58850         Likewise.
58851         (__rawmemchr_sse2): Likewise.
58852         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58853         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58854         (__strchr_sse2): Likewise.
58855         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58856         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58857         (__strcasecmp_sse2): Likewise.
58858         (__strncasecmp_sse2): Likewise.
58859         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58860         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58861         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58862         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58863         (__strrchr_sse2): Likewise.
58864         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58865         ifunc-impl-list.c.
58866         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58867         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58868         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58869         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58870         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58871         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58872         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58873         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58874         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58875         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58876         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58877         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58878         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58879         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58880         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58881         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58882         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58883         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58884         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58885         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58886         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58887         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58888         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58889         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58890         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58891         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58892         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58893         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58894         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58895         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58897         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58898         global and hidden.
58899         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58900         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58901         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58902         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58903         Likewise.
58904         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58905         Likewise.
58906         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58907         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58908         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58909         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58910         ifunc-impl-list.c.
58911         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58912         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58913         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58914         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58915         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58916         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58917         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58918         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58919         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58920         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58921         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58922         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58923         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58924         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58925         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58926         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58927         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58928         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58929         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58930         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58931         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58932         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58933         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58934         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58935         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58936         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58937         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58938         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58939         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58940         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58941         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58942         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58943         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58944         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58945         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58946         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58947         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58948         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58949         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58950         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58951         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58953         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58954         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58955         * include/ifunc-impl-list.h: New file.
58956         * misc/ifunc-impl-list.c: Likewise.
58957         * misc/Makefile (routines): Add ifunc-impl-list.
58958         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58959         * string/test-string.h: Include <ifunc-impl-list.h>.
58960         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58961         TEST_NAME]: New variables.
58962         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58963         are defined.
58964         (test_init): Call __libc_ifunc_impl_list to initialize
58965         func_list if TEST_IFUNC and TEST_NAME are defined.
58967         * string/Makefile (strop-tests): Add bcopy and bzero.
58968         * string/test-bcopy.c: New file.
58969         * string/test-bzero.c: Likewise.
58970         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58971         defined.
58972         * string/test-memset.c: Support bzero test if TEST_BZERO is
58973         defined.
58974         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58975         __libc_memmove.
58976         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58977         __libc_memset.
58978         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58979         of memset.
58981 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58983         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58984         * configure: Regenerated.
58986         * Makeconfig (+link-static-before-libc): Don't include
58987         $(link-static-libc).
58989         * libio/libio.h (_IO_pos_t): Remove.
58991 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58993         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58994         McGrath.
58996 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58998         * crypt/crypt-entry.c: Include fips-private.h.
58999         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59000         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59001         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59002         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59004 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59006         * crypt/crypt-private.h: Include stdbool.h.
59007         (_ufc_setup_salt_r): Return bool.
59008         * crypt/crypt-entry.c: Include errno.h.
59009         (__crypt_r): Return NULL with EINVAL for bad salt.
59010         * crypt/crypt_util.c (bad_for_salt): New.
59011         (_ufc_setup_salt_r): Check that salt is long enough and within
59012         the specified alphabet.
59013         * crypt/badsalttest.c: New file.
59014         * crypt/Makefile (tests): Add it.
59015         ($(objpfx)badsalttest): New.
59017 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59019         * NEWS: Add entry for BZ #14602.
59021 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59023         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59024         type-generic.
59025         * math/libm-test.inc: Update comment listing what functions and
59026         macros are tested.
59027         (isgreater_test): New function.
59028         (isgreaterequal_test): Likewise.
59029         (isless_test): Likewise.
59030         (islessequal_test): Likewise.
59031         (islessgreater_test): Likewise.
59032         (isunordered_test): Likewise.
59033         (main): Call the new functions.
59035 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59037         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59038         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59039         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59040         * sysdeps/i386/configure: Regenerated.
59041         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59042         * sysdeps/mach/configure: Regenerated.
59043         * sysdeps/mach/hurd/configure: Regenerated.
59044         * sysdeps/powerpc/configure: Regenerated.
59045         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59046         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59047         * sysdeps/s390/s390-32/configure: Regenerated.
59048         * sysdeps/s390/s390-64/configure: Regenerated.
59049         * sysdeps/sh/configure: Regenerated.
59050         * sysdeps/sparc/configure: Regenerated.
59051         * sysdeps/unix/sysv/linux/configure: Regenerated.
59052         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59053         * sysdeps/x86_64/configure: Regenerated.
59055         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59056         defined.  Don't check if MAP is NULL.
59058 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59060         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59061         (_G_stat64): Likewise.
59062         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59063         (_G_stat64): Likewise.
59064         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59065         instead of struct _G_stat64.
59066         * libio/fileops.c (mmap_remap_check): Likewise.
59067         (decide_maybe_mmap): Likewise.
59068         (_IO_new_file_seekoff): Likewise.
59069         (_IO_file_stat): Likewise.
59070         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59071         _G_off64_t.
59072         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59073         instead of struct _G_stat64.
59074         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59076 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59078         [BZ #14602]
59079         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59080         Replace with ...
59081         (CHECK_EOL): New macro.
59082         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59083         CHECK_EOL.
59084         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59085         Replace with CHECK_EOL.
59086         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59087         Replace with CHECK_EOL.
59089 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59091         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59092         type-generic.
59093         * math/libm-test.inc: Update comment listing what functions and
59094         macros are tested.
59095         (finite_test): New function.
59096         (isinf_test): Likewise.
59097         (isnan_test): Likewise.
59098         (fpclassify_test): Test subnormal input.
59099         (isfinite_test): Likewise.
59100         (isnormal_test): Likewise.
59101         (main): Call the new functions.
59103 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59105         [BZ #14660]
59106         * Makerules (%.dynsym): Force C locale when running
59107         $(OBJDUMP) --dynamic-syms.
59109 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59111         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59112         <stdint.h>.
59114 2012-10-06  David S. Miller  <davem@davemloft.net>
59116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59117         upper 32-bits of the length value in %o2 since we use branch-on-register
59118         tests which consider the entire 64-bit register.
59120 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59122         * string/test-strstr.c (check2): Add a test for page boundary.
59124 2012-10-05  David S. Miller  <davem@davemloft.net>
59126         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59127         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59128         file.
59129         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59130         sysdep_routines.
59131         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59132         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59133         and bzero when HWCAP_SPARC_CRYPTO is present.
59135 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59137         [BZ #14602]
59138         * string/test-strstr.c (check2): New function.
59139         (test_main): Call check2.
59141         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59142         and bug-strchr1.
59143         * string/bug-strcasestr1.c (do_test): Moved to ...
59144         * string/test-strcasestr.c (check1): Here.  New function.
59145         (do_one_test): Break out result checking code into ...
59146         (check_result): This.  New function.
59147         (do_one_test): Call check_result.
59148         (test_main): Call check1.
59149         * string/bug-strchr1.c (do_test): Moved to ...
59150         * string/test-strchr.c (check1): Here.  New function.
59151         (do_one_test): Break out result checking code into ...
59152         (check_result): This.  New function.
59153         (do_one_test): Call check_result.
59154         (test_main): Call check1.
59155         * string/bug-strstr1.c (main): Moved to ...
59156         * string/test-strstr.c (check1): Here.  New function.
59157         (do_one_test): Break out result checking code into ...
59158         (check_result): This.  New function.
59159         (do_one_test): Call check_result.
59160         (test_main): Call check1.
59161         * string/bug-strcasestr1.c: Removed.
59162         * string/bug-strchr1.c: Likewise.
59163         * string/bug-strstr1.c: Likewise.
59165         * elf/Makefile (dl-routines): Add hwcaps.
59166         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59167         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59168         (_dl_important_hwcaps): Moved to ...
59169         * elf/dl-hwcaps.c: Here.  New file.
59170         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59172         [BZ #14557]
59173         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59174         if IS_IN_rtld isn't defined.
59176         * elf/dl-support.c (_dl_sysinfo_map): New.
59177         Include "get-dynamic-info.h" and "setup-vdso.h".
59178         (_dl_non_dynamic_init): Call setup_vdso.
59179         * elf/dynamic-link.h: Don't include <assert.h>.
59180         (elf_get_dynamic_info): Moved to ...
59181         * elf/get-dynamic-info.h: Here.  New file.
59182         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59183         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59184         * elf/setup-vdso.h: Here.  New file.
59185         * elf/rtld.c: Include "setup-vdso.h".
59186         (dl_main): Call setup_vdso.
59188 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59190         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59191         creal in comment listing functions tested.  List finite, isinf,
59192         isnan, isless, islessequal, isgreater, isgreaterequal,
59193         islessgreater, isunordered, lgamma_r and pow10 as functions and
59194         macros not tested.  Mention which functions not tested are aliases
59195         for other functions.  Fix typo.  Note that signs of NaNs are not
59196         tested.
59198         * scripts/config.guess: Update from config.git.
59199         * scripts/config.sub: Likewise.
59201 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59203         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59204         * misc/madvise.c (madvise): Renamed to __madvise.
59205         Make madvise a weak alias.
59206         * include/sys/mman.h: Declare __madvise.
59207         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59208         * sysdeps/unix/syscalls.list
59209         (madvise): Make __madvise the strong name, and madvise a weak alias.
59210         * sysdeps/unix/sysv/linux/syscalls.list
59211         (madvise, mmap): Remove redundant entries.
59212         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59213         * malloc/malloc.c (mtrim): Likewise.
59214         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59216 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59218         * sysdeps/mach/hurd/dl-cache.c: File removed.
59219         * config.h.in (USE_LDCONFIG): New #undef.
59220         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59221         * configure: Regenerated.
59222         * elf/Makefile (dl-routines): Add dl-cache only under
59223         [$(use-ldconfig) = yes].
59224         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59225         cache on [USE_LDCONFIG].
59226         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59227         [USE_LDCONFIG].
59228         * elf/rtld.c (dl_main): Likewise.
59230 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59232         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59233         _SC_LEVEL4_CACHE_LINESIZE.
59235 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59237         * sysdeps/unix/bsd/confstr.h: File removed.
59239 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59241         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59242         sys/sdt-config.h.
59244 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59246         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59247         Make 'mapoff' field ElfW(Off) rather than off_t.
59249 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59251         * nscd/Makefile: Remove nscd-cflags and all its users.
59252         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59253         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59255         [BZ #10631]
59256         * malloc.c (malloc_printerr): Clarify error message.
59258 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59260         [BZ #14648]
59261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59262         Set bit_FMA_Usable if FMA is supported.
59263         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59264         macro.
59265         (bit_FMA4_Usable): Updated.
59266         (index_FMA_Usable): New macro.
59267         (CPUID_FMA): Likewise.
59268         (HAS_FMA): Defined with bit_FMA_Usable.
59270 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59272         * bits/types.h (__swblk_t): Type removed.
59273         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59274         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59275         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59276         (__SWBLK_T_TYPE): Likewise.
59277         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59278         (__SWBLK_T_TYPE): Likewise.
59279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59280         (__SWBLK_T_TYPE): Likewise.
59281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59282         (__SWBLK_T_TYPE): Likewise.
59284 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59285             Honza Horak <hhorak@redhat.com>
59287         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59288         (xdr_mapname): Use YPMAXMAP as maxsize.
59289         (xdr_peername): Use YPMAXPEER as maxsize.
59290         (xdr_keydat): Use YPAXRECORD as maxsize.
59291         (xdr_valdat): Use YPMAXRECORD as maxsize.
59293 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59295         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59297         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59298         * csu/init-first.c: ... here.
59299         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59300         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59301         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59302         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59303         * sysdeps/i386/init-first.c: File removed.
59304         * sysdeps/sh/init-first.c: File removed.
59306 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59308         [BZ #14645]
59309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59310         if x * y might underflow to zero and z is zero.
59311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59313         * math/libm-test.inc (min_subnorm_value): New variable.
59314         (fma_test): Add more tests.
59315         (fma_test_towardzero): Likewise.
59316         (fma_test_downward): Likewise.
59317         (fma_test_upward): Likewise.
59318         (initialize): Set min_subnorm_value.
59320 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59322         [BZ #14638]
59323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59324         0 + 0.
59325         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59326         mode for addition resulting in exact zero.
59327         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59329         exact 0 + 0.
59330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59332         * math/libm-test.inc (fma_test): Add more tests.
59333         (fma_test_towardzero): New function.
59334         (fma_test_downward): Likewise.
59335         (fma_test_upward): Likewise.
59336         (main): Call the new functions.
59338 2012-09-28  David S. Miller  <davem@davemloft.net>
59340         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59342 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59344         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59345         instead of SIGALRM.
59347         * sysdeps/gnu/_G_config.h: Moved to ...
59348         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59349         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59350         * sysdeps/generic/_G_config.h: ... here.
59352         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59354         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59356         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59357         Conditionalize target on [libnss_test1.so-version].
59359         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59361         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59362         (elfobjdir): Move out of conditionals.
59364         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59365         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59366         (__nss_lookup_function): Conditionalize label remove_from_tree on
59367         [!DO_STATIC_NSS || SHARED], matching its only use.
59369 2012-09-28  David S. Miller  <davem@davemloft.net>
59371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59372         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59373         file.
59374         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59375         sysdep_routines.
59376         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59378         when HWCAP_SPARC_CRYPTO is present.
59380 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59382         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59384 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59386         [BZ #6530]
59387         * stdio-common/vfprintf.c (process_string_arg): Revert
59388         2000-07-22 change.
59390 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59392         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59393         for testcase.
59394         * stdio-common/tst-sprintf.c: Include <locale.h>
59395         (main): Test sprintf's handling of incomplete multibyte
59396         characters.
59398 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59400         * elf/dl-runtime.c (VERSYMIDX): Removed.
59401         * elf/dl-version.c (VERSYMIDX): Likewise.
59402         * elf/do-rel.h (VERSYMIDX): Likewise.
59403         (VALIDX): Likewise.
59404         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59405         * elf/rtld.c (VALIDX): Likewise.
59406         (ADDRIDX): Likewise.
59407         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59408         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59409         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59410         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59411         (VALIDX): Likewise.
59412         (ADDRIDX): Likewise.
59414 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59416         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59418 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59420         [BZ #11438]
59421         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59422         to global scope.
59423         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59424         addresses are in the same scope as 192.0.2/24.
59425         * posix/gai.conf: Document new scope table defaults.
59427 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59429         [BZ #5298]
59430         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59431         for ftell.  Compute offsets from write pointers instead.
59432         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59434 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59436         [BZ #14543]
59437         * libio/Makefile (tests): New test case tst-fseek.
59438         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59439         combination works in wide mode.
59440         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59441         state when the external buffer state changes.
59443 2012-09-27  David S. Miller  <davem@davemloft.net>
59445         [BZ #14376]
59446         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59447         pass reloc->r_addend in as the 'high' argument to
59448         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59452 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59454         * rt/tst-aio2.c: Include <pthread.h>.
59455         * rt/tst-aio3.c: Likewise.
59457 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59459         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59461 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59463         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59464         contents on [SHARED].
59466 2012-09-26  Marek Polacek  <polacek@redhat.com>
59468         [BZ #14530]
59469         [BZ #13741]
59470         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59471         for C++ and GCC <4.3 as well as for non GCC compilers.
59473 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59477 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59479         * Makefile.in (all, install): Declare with .PHONY.
59480         Reported by Michael Hope <michael.hope@linaro.org>.
59482 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59484         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59485         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59486         system header.
59487         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59488         Likewise.
59489         (sydep_routines): Add the new and the internal functions.
59490         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59491         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59493         (GLIBC_2.17): Add the new function.
59494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59495         (GLIBC_2.17): Likewise.
59496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59497         (GLIBC_2.17): Likewise.
59498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59499         (GLIBC_2.17): Likewise.
59500         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59502 2012-09-25  Alan Modra  <amodra@gmail.com>
59504         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59505         Add release barrier before setting once_control to say
59506         initialisation is done.  Add hints on lwarx.  Use macro in
59507         place of isync.
59508         (clear_once_control): Add release barrier.
59510 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59512         [BZ #13629]
59513         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59514         specially.
59515         * math/s_clog10.c (__clog10): Likewise.
59516         * math/s_clog10f.c (__clog10f): Likewise.
59517         * math/s_clog10l.c (__clog10l): Likewise.
59518         * math/s_clogf.c (__clogf): Likewise.
59519         * math/s_clogl.c (__clogl): Likewise.
59520         * math/Makefile (libm-calls): Add x2y2m1.
59521         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59522         (__x2y2m1): Likewise.
59523         (__x2y2m1l): Likewise.
59524         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59525         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59526         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59527         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59528         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59529         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59530         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59531         * sysdeps/i386/fpu/libm-test-ulps: Update.
59532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59534         [BZ #14621]
59535         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59536         int as type of variable DEPTH.
59537         (glob): Use size_t instead of int as type of variables NEWCOUNT
59538         and OLD_PATHC.
59540 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59542         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59543         Add s_sincosf-sse2.
59544         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59545         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59546         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59547         macros for using routine as __sincosf_ia32.
59548         Use macro for function declaration and weak_alias.
59549         * sysdeps/i386/fpu/libm-test-ulps: Update.
59551         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59554         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59555         subnormal argument.
59556         * math/s_cexpf.c (__cexpf): Likewise.
59557         * math/s_csinf.c (__csinf): Likewise.
59558         * math/s_csinhf.c (__csinhf): Likewise.
59559         * math/s_ctanf.c (__ctanf): Likewise.
59560         * math/s_ctanhf.c (__ctanhf): Likewise.
59561         * math/s_ccosh.c (__ccoshf): Likewise.
59562         * math/s_cexp.c (__cexpl): Likewise.
59563         * math/s_csin.c (__csin): Likewise.
59564         * math/s_csinh.c (__csinh): Likewise.
59565         * math/s_ctan.c (__ctan): Likewise.
59566         * math/s_ctanh.c (ctanh): Likewise.
59567         * math/s_ccoshl.c (__ccoshl): Likewise.
59568         * math/s_cexpl.c (__cexpl): Likewise.
59569         * math/s_csinl.c (__csinl): Likewise.
59570         * math/s_csinhl.c (__csinhl): Likewise.
59571         * math/s_ctanl.c (__ctanl): Likewise.
59572         * math/s_ctanhl.c (__ctanhl): Likewise.
59574 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59576         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59577         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59578         (_IO_off_t): Define to __off_t, not _G_off_t.
59579         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59580         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59581         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59582         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59583         type of __dummy and __dummy2 fields.
59584         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59585         (_G_ssize_t): Likewise.
59586         (_G_off_t): Likewise.
59587         (_G_pid_t): Likewise.
59588         (_G_uid_t): Likewise.
59589         (_G_wchar_t): Likewise.
59590         (_G_wint_t): Likewise.
59591         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59592         (_G_ssize_t): Likewise.
59593         (_G_off_t): Likewise.
59594         (_G_pid_t): Likewise.
59595         (_G_uid_t): Likewise.
59596         (_G_wchar_t): Likewise.
59597         (_G_wint_t): Likewise.
59598         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59599         (_G_ssize_t): Likewise.
59600         (_G_off_t): Likewise.
59601         (_G_pid_t): Likewise.
59602         (_G_uid_t): Likewise.
59603         (_G_wchar_t): Likewise.
59604         (_G_wint_t): Likewise.
59606 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59608         * malloc/arena.c: Include malloc-sysdep.h.
59609         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59610         is sufficient to shrink the heap or an unmap is needed.
59611         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59612         new function check_may_shrink_heap.
59613         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59614         new function check_may_shrink_heap.
59616 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59618         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59619         comments.
59621 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59623         * catgets/test-gencat.sh: Add "set -e".
59624         * elf/tst-pathopt.sh: Likewise.
59625         * grp/tst_fgetgrent.sh: Likewise.
59626         * iconvdata/run-iconv-test.sh: Likewise.
59627         * intl/tst-gettext.sh: Likewise.
59628         * intl/tst-gettext2.sh: Likewise.
59629         * intl/tst-gettext4.sh: Likewise.
59630         * intl/tst-gettext6.sh: Likewise.
59631         * intl/tst-translit.sh: Likewise.
59632         * io/ftwtest-sh: Likewise.
59633         * libio/test-freopen.sh: Likewise.
59634         * malloc/tst-mtrace.sh: Likewise.
59635         * posix/globtest.sh: Likewise.
59636         * posix/tst-getconf.sh: Likewise.
59637         * posix/wordexp-tst.sh: Likewise.
59638         * stdio-common/tst-printf.sh: Likewise.
59639         * stdio-common/tst-unbputc.sh: Likewise.
59640         * stdlib/tst-fmtmsg.sh: Likewise.
59641         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59642         * catgets/Makefile: Do not specify -e option when running
59643         testsuite shell scripts.
59644         * elf/Makefile: Likewise.
59645         * grp/Makefile: Likewise.
59646         * iconvdata/Makefile: Likewise.
59647         * intl/Makefile: Likewise.
59648         * io/Makefile: Likewise.
59649         * libio/Makefile: Likewise.
59650         * malloc/Makefile: Likewise.
59651         * posix/Makefile: Likewise.
59652         * stdio-common/Makefile: Likewise.
59653         * stdlib/Makefile: Likewise.
59654         * sysdeps/x86_64/Makefile: Likewise.
59656         * io/ftwtest-sh: Add copyright header.
59657         * posix/globtest.sh: Likewise.
59658         * posix/tst-getconf.sh: Likewise.
59659         * posix/wordexp-tst.sh: Likewise.
59660         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59662 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59664         [BZ #13679]
59665         * Makeconfig (+link): Defined as $(+link-static) if
59666         $(build-shared) isn't yes.
59667         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59668         isn't yes.
59669         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59671         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59673         [BZ #14562]
59674         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59675         new chunk size with MALLOC_ALIGN_MASK.
59677 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59679         [BZ #5044]
59680         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59681         <rounding-mode.h>.
59682         (__printf_fphex): Determine rounding using get_rounding_mode and
59683         round_away.
59684         * stdio-common/tst-printf-round.c (struct hex_test): New
59685         structure.
59686         (hex_tests): New variable.
59687         (test_hex_in_one_mode): New function.
59688         (do_test): Also run tests for hex float output.
59690 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59692         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59693         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59694         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59695         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59696         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59697         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59698         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59699         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59701 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59703         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59704         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59705         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59706         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59708 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59710         [BZ #14579]
59711         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59712         mode only.
59713         * elf/tst-rtld-load-self.sh: New test.
59714         * elf/Makefile: Run it.
59716 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59718         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59719         (tst-writev-ENV): Remove.
59720         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59722 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59724         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59726 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59728         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59729         unconditional.
59730         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59731         Likewise.
59732         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59733         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59734         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59735         Likewise.
59737 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59739         [BZ #14587]
59740         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59741         * config.make.in (have-cpp-asm-debuginfo): Removed.
59742         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59743         * configure: Regenerated.
59745 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59747         [BZ #5044]
59748         * stdio-common/printf_fp.c: Include <stdbool.h> and
59749         <rounding-mode.h>.
59750         (___printf_fp): Determine rounding using get_rounding_mode and
59751         round_away.
59752         * stdio-common/tst-printf-round.c: New file.
59753         * stdio-common/Makefile (tests): Add tst-printf-round.
59754         (link-libm): New variable.
59755         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59757 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59759         [BZ #14576]
59760         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59761         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59762         Likewise.
59763         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59764         Likewise.
59766 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59768         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59769         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59770         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59771         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59773 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59775         [BZ #14518]
59776         * include/rounding-mode.h: New file.
59777         * sysdeps/generic/get-rounding-mode.h: Likewise.
59778         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59779         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59780         (MAX_VALUE): New macro.
59781         (MIN_VALUE): Likewise.
59782         (overflow_value): New function.
59783         (underflow_value): Likewise.
59784         (round_and_return): Use overflow_value and underflow_value to
59785         determine return values in overflow and underflow cases.  Use
59786         round_away to determine rounding depending on rounding mode.
59787         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59788         determine return values in overflow and underflow cases.
59789         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59790         (struct test_results): New structure.
59791         (struct test): Use struct test_results to store expected results
59792         for all rounding modes.
59793         (TEST): Include expected results for all rounding modes.
59794         (test_in_one_mode): New function.
59795         (do_test): Use test_in_one_mode to compute and check results.
59796         Check results for all rounding modes.
59797         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59798         $(link-libm).
59800 2012-12-09  Allan McRae  <allan@archlinux.org>
59802         * sysdeps/i386/fpu/libm-test-ulps: Update
59804 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59806         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59807         (_G_int32_t): Likewise.
59808         (_G_uint16_t): Likewise.
59809         (_G_uint32_t): Likewise.
59810         (_G_HAVE_BOOL): Likewise.
59811         (_G_HAVE_ATEXIT): Likewise.
59812         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59813         (_G_HAVE_IO_FILE_OPEN): Likewise.
59814         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59815         (_G_int32_t): Likewise.
59816         (_G_uint16_t): Likewise.
59817         (_G_uint32_t): Likewise.
59818         (_G_HAVE_BOOL): Likewise.
59819         (_G_HAVE_ATEXIT): Likewise.
59820         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59821         (_G_HAVE_IO_FILE_OPEN): Likewise.
59822         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59823         (_G_int32_t): Likewise.
59824         (_G_uint16_t): Likewise.
59825         (_G_uint32_t): Likewise.
59826         (_G_HAVE_BOOL): Likewise.
59827         (_G_HAVE_ATEXIT): Likewise.
59828         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59829         (_G_HAVE_IO_FILE_OPEN): Likewise.
59831 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59833         * csu/libc-tls.c: Update copyright years.
59835 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59837         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59838         [!_G_USING_THUNKS]: Remove conditional code.
59839         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59840         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59842         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59843         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59844         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59845         (_G_VTABLE_LABEL_PREFIX): Likewise.
59846         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59847         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59848         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59849         (_G_VTABLE_LABEL_PREFIX): Likewise.
59850         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59851         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59852         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59853         (_G_VTABLE_LABEL_PREFIX): Likewise.
59854         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59856 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59858         * libio/Makefile: Include ../Makeconfig before tests.
59859         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59860         only if $(build-shared) is yes.
59862         * iconv/gconv_db.c: Update copyright years.
59864 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59866         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59867         unwind info if defined PIC. Fix special cases description.
59868         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59870         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59871         DP_HI_MASK entry.
59872         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59874 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59876         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59878         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59879         is NULL.
59881         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59882         (LDLIBS-tst-chk4): This.
59883         (LDFLAGS-tst-chk5): Renamed to ...
59884         (LDLIBS-tst-chk5): This.
59885         (LDFLAGS-tst-chk6): Renamed to ...
59886         (LDLIBS-tst-chk6): This.
59887         (LDFLAGS-tst-lfschk4): Renamed to ...
59888         (LDLIBS-tst-lfschk4): This.
59889         (LDFLAGS-tst-lfschk5): Renamed to ...
59890         (LDLIBS-tst-lfschk5): This.
59891         (LDFLAGS-tst-lfschk6): Renamed to ...
59892         (LDLIBS-tst-lfschk6): This.
59894         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59895         on $(common-objpfx)soversions.mk.
59897 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59899         [BZ #10014]
59900         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59901         example host name.
59903 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59905         * malloc/arena.c (arena_get_retry): New function that gets
59906         another arena for the caller to try its request on.
59907         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59908         current arena cannot fulfill the request.
59909         (__libc_memalign): Likewise.
59910         (__libc_memalign): Likewise.
59911         (__libc_pvalloc): Likewise.
59912         (__libc_calloc): Likewise.
59914 2012-09-05  John Tobey  <john.tobey@gmail.com>
59916         [BZ #13542]
59917         * manual/arith.texi (Operations on Complex): Fix description
59918         of carg branch cut.
59920 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59922         [BZ #10014]
59923         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59924         host name.
59926         [BZ #10038]
59927         * manual/memory.texi (Memory): Make order of menu items match
59928         order of sections.
59930 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59932         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59933         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59934         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59936 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59938         * csu/libc-tls.c (static_dtv): Renamed to ...
59939         (_dl_static_dtv): This.  Make it global.
59940         (_dl_initial_dtv): Removed.
59941         (__libc_setup_tls): Updated.
59942         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59943         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59944         DL_INITIAL_DTV.
59946 2012-09-06  Petr Machata  <pmachata@redhat.com>
59948         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59949         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59950         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59951         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59953 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59955         [BZ #14545]
59956         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59957         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59958         freeing dtv[-1].
59960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59962         [BZ #14544]
59963         * Makeconfig (link-static-before-libc): Replace $(+prector)
59964         with $(+prectorT).
59965         (link-static-after-libc): Replace $(+postctor) with
59966         $(+postctorT).
59967         (link-bounded): Replace $(+prector)/$(+postctor) with
59968         $(+prectorT)/$(+postctorT).
59969         (+prectorT): New macro.
59970         (+postctorT): Likewise.
59972 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59974         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59975         (round_str): Handle values above the maximum for IBM long double
59976         as inexact.
59977         * stdlib/tst-strtod-round.c (tests): Regenerated.
59979 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59981         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59982         assembler flag.
59983         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59984         zarch_nohighgprs around the zarch optimized routines.
59985         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59986         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59988         for zarch.
59990 2012-09-05  David S. Miller  <davem@davemloft.net>
59992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59994         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59995         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59996         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59997         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59998         entries.
60000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60002         * malloc/arena.c: Fold copyright years.
60003         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60005 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60007         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60009 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60011         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60015         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60016         change internal state upon failure.
60018 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60020         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60021         * malloc/memusage.c (mmap): Likewise.
60022         (mmap64, mremap): Likewise.  Adjust name in comment.
60024 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60026         * libio/fileops.c: Fix typos in comments.
60027         * libio/oldfileops.c: Likewise.
60028         * libio/wfileops.c: Likewise.
60030 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60032         [BZ #1349]
60033         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60034         (tst-malloc-usable-ENV): Set environment for test case.
60035         * malloc/hooks.c (malloc_check_get_size): New function to get
60036         requested size.
60037         * malloc/malloc.c (musable): Use malloc_check_get_size.
60038         * malloc/tst-malloc-usable.c: New test case.
60040 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60042         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60044 2012-09-05  Allan McRae  <allan@archlinux.org>
60046         [BZ #13966]
60047         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60048         determine header location.
60049         * configure: Regenerated.
60051 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60053         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60054         float format.
60055         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60056         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60057         format.
60058         (test): Regenerate.
60060 2012-09-04  David S. Miller  <davem@davemloft.net>
60062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60064         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60066 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60068         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60069         failures.
60071         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60073 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60075         [BZ #9914]
60076         * libio/iogetdelim.c: Include <limits.h>.
60077         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60078         + len + 1 would overflow.
60080 2012-09-03  Andreas Jaeger  <aj@suse.de>
60082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60083         * sysdeps/i386/fpu/libm-test-ulps: Update.
60085 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60087         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60088         Add s_sinf-sse2, s_conf-sse2.
60090         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60091         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60092         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60093         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60095         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60096         for using routine as __sinf_ia32.
60097         Use macro for function declaration and weak_alias.
60098         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60099         for using routine as __cosf_ia32.
60100         Use macro for function declaration and weak_alias.
60102         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60103         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60105         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60106         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60109         * math/libm-test.inc (cos_test): Add more test cases.
60110         (sin_test): Likewise.
60111         (sincos_test): Likewise.
60113 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60115         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60116         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60117         hidden.
60118         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60120 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60122         [BZ #14538]
60123         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60124         first element of the GOT.
60125         (elf_machine_load_address): Return the difference between
60126         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60128 2012-09-01  Allan McRae  <allan@archlinux.org>
60130         [BZ #13412]
60131         * configure.in (AWK): Require gawk version 3.0 or later.
60132         * configure: Regenerated.
60134 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60136         * sysdeps/unix/sysv/linux/kernel-features.h
60137         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60139         [__NR_clock_getres]: Make code unconditional.
60140         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60141         (clock_getcpuclockid): Remove code left unreachable by removal of
60142         conditionals.
60143         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60144         code unconditional.
60145         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60146         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60147         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60148         Make code unconditional.
60149         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60150         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60151         * sysdeps/unix/sysv/linux/clock_settime.c
60152         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60153         conditional code.
60154         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60155         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60157 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60159         [BZ #14476]
60160         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60161         scripts/test-installation.pl.
60163         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60164         and $ld_so_version if it is set.
60166 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60168         [BZ #14516]
60169         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60170         failure if reading from procfs failed.
60171         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60173 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60175         * sysdeps/unix/sysv/linux/kernel-features.h
60176         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60177         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60178         Remove conditional code.
60179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60180         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60181         Remove conditional code.
60182         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60183         * sysdeps/unix/sysv/linux/i386/fxstat.c
60184         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60186         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60187         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60189         * sysdeps/unix/sysv/linux/i386/lxstat.c
60190         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60191         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60192         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60193         Remove conditional code.
60194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60195         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60196         Remove conditional code.
60197         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60198         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60199         <kernel-features.h>.
60200         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60201         Remove.
60202         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60203         Remove conditional code.
60204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60205         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60206         Remove conditional.
60208 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60210         [BZ #5400]
60211         * NEWS: Add fixed bug number.
60213 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60215         [BZ #14519]
60216         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60217         underflowing exponent in case of negative sign.
60218         * stdlib/tst-strtod-round-data: Add more tests.
60219         * stdlib/tst-strtod-round.c (tests): Regenerated.
60221         [BZ #3479]
60222         * stdlib/strtod_l.c (NDIG): Remove.
60223         (HEXNDIG): Likewise.
60224         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60225         smallest representable value.
60226         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60227         lie within an exact representation of 1/2 ulp of the result.
60228         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60229         unconditionally.
60230         (TENS_P9_IDX): Define unconditionally.
60231         (TENS_P9_SIZE): Likewise.
60232         (TENS_P10_IDX): Likewise.
60233         (TENS_P10_SIZE): Likewise.
60234         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60235         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60236         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60237         entries for 10^2^13 and 10^2^14.
60238         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60239         (TENS_P13_IDX): Define.
60240         (TENS_P13_SIZE): Likewise.
60241         (TENS_P14_IDX): Likewise.
60242         (TENS_P14_SIZE): Likewise.
60243         (_fpioconst_pow10): Change array size to
60244         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60245         unconditional.
60246         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60247         1024]: Add entries for 10^2^13 and 10^2^14.
60248         [LAST_POW10 > _LAST_POW10]: Remove #error.
60249         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60250         (_fpioconst_pow10): Change array size to
60251         FPIOCONST_POW10_ARRAY_SIZE.
60252         * stdlib/gen-fpioconst.c: New file.
60253         * stdlib/gen-tst-strtod-round.c: Likewise.
60254         * stdlib/tst-strtod-round-data: Likewise.
60255         * stdlib/tst-strtod-round.c: Likewise.
60256         * stdlib/Makefile (tests): Add tst-strtod-round.
60258         [BZ #14459]
60259         * stdlib/strtod_l.c: Include <stdint.h>.
60260         (NDEBUG): Do not define.
60261         (round_and_return): Change EXPONENT parameter to type intmax_t.
60262         Rearrange calculations to avoid internal overflow possibilities.
60263         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60264         Rearrange calculations to avoid internal overflow possibilities.
60265         Assert that number fits inside MPNSIZE limbs.
60266         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60267         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60268         calculations and add assertions to avoid internal overflow
60269         possibilities.  Add casts to avoid signed/unsigned operations.
60270         * stdlib/tst-strtod-overflow.c: New file.
60271         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60273 2012-08-25  Marek Polacek  <polacek@redhat.com>
60275         * time/time.h: Fix some typos in comments.
60277 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60279         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60280         * posix/tst-rfc3484-2.c: Likewise.
60281         * posix/tst-rfc3484-3.c: Likewise.
60283 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60285         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60286         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60288 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60290         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60291         #include of fxstatat64.c.
60293 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60295         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60296         * shadow/getspent_r.c: Likewise.
60297         * shadow/getspnam.c: Likewise.
60298         * shadow/getspnam_r.c: Likewise.
60299         * gshadow/getsgent.c: Likewise.
60300         * gshadow/getsgent_r.c: Likewise.
60301         * gshadow/getsgnam.c: Likewise.
60302         * gshadow/getsgnam_r.c: Likewise.
60303         * inet/getnetbyad.c: Likewise.
60304         * inet/getnetbyad_r.c: Likewise.
60305         * inet/getnetbynm.c: Likewise.
60306         * inet/getnetbynm_r.c: Likewise.
60307         * inet/getnetent.c: Likewise.
60308         * inet/getnetent_r.c: Likewise.
60309         * inet/getproto.c: Likewise.
60310         * inet/getproto_r.c: Likewise.
60311         * inet/getprtent.c: Likewise.
60312         * inet/getprtent_r.c: Likewise.
60313         * inet/getprtname.c: Likewise.
60314         * inet/getprtname_r.c: Likewise.
60315         * inet/getrpcbyname.c: Likewise.
60316         * inet/getrpcbyname_r.c: Likewise.
60317         * inet/getrpcbynumber.c: Likewise.
60318         * inet/getrpcbynumber_r.c: Likewise.
60319         * inet/getrpcent.c: Likewise.
60320         * inet/getrpcent_r.c: Likewise.
60321         * inet/getaliasent.c: Likewise.
60322         * inet/getaliasent_r.c: Likewise.
60323         * inet/getaliasname.c: Likewise.
60324         * inet/getaliasname_r.c: Likewise.
60325         * nscd/getgrgid_r.c: Likewise.
60326         * nscd/getgrnam_r.c: Likewise.
60327         * nscd/gethstbyad_r.c: Likewise.
60328         * nscd/gethstbynm3_r.c: Likewise.
60329         * nscd/getpwnam_r.c: Likewise.
60330         * nscd/getpwuid_r.c: Likewise.
60331         * nscd/getsrvbynm_r.c: Likewise.
60332         * nscd/getsrvbypt_r.c: Likewise.
60333         * nscd/gai.c: Likewise.
60335         * configure.in (build_nscd): New substituted variable, set
60336         by --disable-build-nscd and defaults to $use_nscd.
60337         * configure: Regenerated.
60338         * config.make.in (build-nscd): New substituted variable.
60339         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60340         Change conditional to require [$(build-nscd) = yes] as well.
60341         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60343         [BZ# 13696]
60344         * configure.in (use_nscd): New substituted variable, set by
60345         --disable-nscd.  If enabled, define USE_NSCD.
60346         * configure: Regenerated.
60347         * config.h.in: Add USE_NSCD.
60348         * config.make.in (use-nscd): New substituted variable.
60349         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60350         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60351         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60352         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60353         (CFLAGS-getgrnam_r.c): Likewise.
60354         (CFLAGS-initgroups.c): Likewise.
60355         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60356         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60357         Variables removed.
60358         * inet/getnetgrent_r.c
60359         (nscd_setnetgrent): New function, broken out of ...
60360         (setnetgrent): ... here.  Call it.
60361         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60362         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60363         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60364         * nscd/Makefile (routines, aux): Move definitions after include of
60365         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60366         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60367         Conditionalize on [USE_NSCD].
60368         (is_nscd, nscd_init_cb): Likewise.
60369         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60370         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60371         * nss/nss_db/db-init.c: Likewise.
60372         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60373         [USE_NSCD].
60374         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60375         (make_request): Use it.
60376         (cache_valid_p): New function.
60377         (__check_pf): Use it.
60378         * NEWS: Add item for --disable-nscd.
60380 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60382         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60383         to support sed >= 4.2.1-20-ga9bf076.
60384         * configure: Regenerated.
60386 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60388         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60389         Conditionalize whole body on [IREL].
60391 2012-08-22  Jeff Law <law@redhat.com>
60393         [BZ #14505]
60394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60395         if the family is PF_UNSPEC.
60397 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60399         * Makerules (lib-version): Rename from V.
60400         (install-lib-nosubdir): Change V to lib-version.
60402 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60404         [BZ #14252]
60405         * powerpc32/power6/wcschr.c: New file.
60406         * powerpc32/power6/wcscpy.c: New file.
60407         * powerpc32/power6/wcsrchr.c: New file.
60408         * powerpc64/power6/wcschr.c: New file.
60409         * powerpc64/power6/wcscpy.c: New file.
60410         * powerpc64/power6/wcsrchr.c: New file.
60412 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60414         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60415         (two_way_short_needle): Use it.
60416         * string/strstr.c (AVAILABLE1_USES_J): Define.
60417         * string/strcasestr.c: Likewise.
60419         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60420         array references.
60421         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60423         [BZ #11607]
60424         * NEWS: Add an entry.
60425         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60426         define their defaults.
60427         (two_way_short_needle): Detect end-of-string on-the-fly.
60428         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60429         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60430         * string/bug-strcasestr1.c: New test.
60431         * string/Makefile: Run it.
60433 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60435         [BZ #11607]
60436         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60437         the first character.
60439 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60441         * csu/elf-init.c (__libc_csu_irel): Function removed.
60442         * csu/libc-start.c (apply_irel): New function.
60443         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60445 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60447         * sysdeps/unix/sysv/linux/kernel-features.h
60448         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60449         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60450         <kernel-features.h>.
60451         [__NR_fadvise64_64]: Make code unconditional.
60452         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60453         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60454         !__NR_fadvise64_64)]: Likewise.
60455         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60456         !__NR_fadvise64_64))]: Likewise.
60457         [__NR_fadvise64]: Make code unconditional.
60458         [!__NR_fadvise64]: Remove conditional code.
60459         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60460         <kernel-features.h>.
60461         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60462         unconditional.
60463         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60464         conditional code.
60465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60466         not include <kernel-features.h>.
60467         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60468         unconditional.
60469         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60470         conditional code.
60471         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60472         include <kernel-features.h>.
60473         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60474         unconditional.
60475         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60476         conditional code.
60478 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60480         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60481         slight instruction rearrangements per scrollpipe analysis.
60482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60484 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60486         * manual/syslog.texi (syslog; vsyslog, closelog):
60487         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60488         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60490         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60491         DSOCAPS to match condition on defining it.
60493 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60495         * sysdeps/unix/sysv/linux/kernel-features.h
60496         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60498         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60499         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60501         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60502         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60504         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60505         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60507         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60508         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60510         * sysdeps/unix/sysv/linux/kernel-features.h
60511         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60512         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60513         unconditional.
60514         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60515         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60516         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60517         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60518         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60519         Make code unconditional.
60520         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60521         (__mmap64) [!__NR_mmap2]: Likewise.
60522         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60523         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60524         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60525         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60526         [__NR_mmap2]: Make code unconditional.
60527         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60528         (__mmap64) [!__NR_mmap2]: Likewise.
60530 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60532         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60534 2012-08-18  Andreas Jaeger  <aj@suse.de>
60536         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60538 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60540         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60541         * include/unistd.h (__have_sock_cloexec): Likewise.
60542         (__have_pipe2): Likewise.
60543         (__have_dup3): Likewise.
60545 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60547         [BZ #9685]
60548         * include/unistd.h (__have_pipe2): Change define into an extern int.
60549         (__have_dup3): Likewise.
60550         * socket/have_sock_cloexec.c: Include fcntl.h.
60551         (__have_pipe2): New variable.
60552         (__have_dup3): Likewise.
60554 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60556         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60558 2012-08-17  Marek Polacek  <polacek@redhat.com>
60560         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60561         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60563 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60565         * configure.in: Add AC_SUBST for sysheaders.
60566         * configure: Regenerated.
60567         * config.make.in (sysheaders): New substituted variable.
60569         * sysdeps/unix/mkfifo.c: Moved ...
60570         * sysdeps/posix/mkfifo.c: ... here.
60571         * sysdeps/unix/mkfifoat.c: Moved ...
60572         * sysdeps/posix/mkfifoat.c: ... here.
60574         * sysdeps/unix/utime.c: Moved ...
60575         * sysdeps/posix/utime.c: ... here.
60577         * sysdeps/unix/time.c: Moved ...
60578         * sysdeps/posix/time.c: ... here.
60579         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60580         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60582         * sysdeps/unix/nice.c: Moved ...
60583         * sysdeps/posix/nice.c: ... here.
60585         * sysdeps/unix/alarm.c: Moved ...
60586         * sysdeps/posix/alarm.c: ... here.
60588         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60590 2012-08-17  Jeff Law <law@redhat.com>
60592         * intl/Makefile (codeset_mo): New variable.
60593         ($(codeset_mo)): New target.
60594         (tst-codeset.out): Depend on that.  Remove explicit rule.
60595         (tst-gettext3.out, tst-gettext5.out): Likewise.
60596         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60597         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60598         * intl/tst-codeset.sh: Remove.
60599         * intl/tst-gettext3.sh: Likewise.
60600         * intl/tst-gettext5.sh: Likewise.
60602 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60604         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60605         * sysdeps/unix/syscalls.list: ... here.
60607         * sysdeps/posix/getaddrinfo.c
60608         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60609         (gaiconf_init, gaiconf_reload): Use them.
60610         [!_STATBUF_ST_NSEC]
60611         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60612         Define using time_t rather than struct timespec.
60614         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60615         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60616         Macros removed.
60617         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60618         [!NO_THREADS].
60619         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60620         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60621         Likewise.
60623         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60624         __libc_cleanup_push argument.
60626         * bits/param.h: New file.
60627         * misc/sys/param.h: New file.
60628         * include/sys/param.h: New file.
60629         * misc/Makefile (headers): Add bits/param.h.
60630         * sysdeps/generic/sys/param.h: File removed.
60631         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60632         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60633         * sysdeps/mach/hurd/bits/param.h: New file.
60634         * sysdeps/mach/hurd/sys/param.h: File removed.
60636         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60637         last change.
60639         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60640         [_IO_MTSAFE_IO].
60641         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60642         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60643         New macros.
60645         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60646         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60647         rather than -D_IO_MTSAFE_IO conditionally.
60648         * stdio-common/Makefile (CPPFLAGS): Likewise.
60649         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60650         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60651         Use $(libio-mtsafe).
60652         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60653         of -D_IO_MTSAFE_IO.
60654         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60655         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60656         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60657         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60658         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60659         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60660         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60661         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60662         (CFLAGS-fread_u_chk.c): Likewise.
60663         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60664         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60665         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60666         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60667         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60668         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60669         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60670         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60671         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60673         * libio/Makefile: Test [$(libc-reentrant) = yes]
60674         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60676         * Makeconfig
60677         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60678         * sysdeps/pthread/configure: File removed.
60679         * sysdeps/pthread/Makeconfig: New file.
60680         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60681         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60683 2012-08-16  Gary Benson  <gbenson@redhat.com>
60685         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60686         unmapping the first object in a namespace.
60688 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60690         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60691         (__internal_setnetgrent): ... this.  Add internal_function to
60692         definition.  Add libc_hidden_def.
60693         (setnetgrent): Update caller.
60694         (internal_endnetgrent): Renamed to ...
60695         (__internal_endnetgrent): ... this.  Add internal_function to
60696         definition.  Add libc_hidden_def.
60697         (endnetgrent): Update caller.
60698         (internal_getnetgrent_r): Renamed to ...
60699         (__internal_getnetgrent_r): ... this.  Add internal_function to
60700         definition.  Add libc_hidden_def.
60701         (__getnetgrent_r): Update caller.
60702         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60704 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60706         * stdlib/longlong.h: Update from GCC.
60708 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60710         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60711         on _QL, which is set by umul_ppmm but never used.
60712         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60713         variables, which are set by GMP macros but never used.
60714         * stdio-common/_itowa.c (_itowa): Likewise.
60715         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60716         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60718 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60720         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60721         struct La_sh_regs is not constant.
60722         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60723         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60724         and struct La_sparc64_regs are not constant.
60726 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60728         * sysdeps/unix/sysv/linux/kernel-features.h
60729         (__ASSUME_POSIX_TIMERS): Remove.
60730         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60731         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60732         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60733         Make code unconditional.
60734         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60735         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60736         Make code unconditional.
60737         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60738         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60739         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60740         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60741         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60742         Make code unconditional.
60743         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60744         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60745         (__libc_missing_posix_timers): Remove.
60747 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60749         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60750         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60752         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60754         * elf/dl-sym.c: Include <stdlib.h>.
60756         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60757         constants, which avoids warnings in 32-bit builds.
60759         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60760         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60762         * misc/lseek.c: File moved to ...
60763         * io/lseek.c: ... here.
60765         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60767         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60768         shifting LEN more than 31 bits at once.
60770 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60772         [BZ #14195]
60773         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60774         segmentation fault for a case of two empty input strings.
60775         * string/test-strncasecmp.c (check1): Renamed to...
60776         (bz12205): ...this.
60777         (bz14195): Add new testcase for two empty input strings and N > 0.
60778         (test_main): Call new testcase, adapt for renamed function.
60780 2012-08-15  Andreas Jaeger  <aj@suse.de>
60782         [BZ #14090]
60783         * crypt/md5test2.c: New test, based on test supplied by Serge
60784         Belyshev <belyshev@depni.sinp.msu.ru>.
60785         * crypt/Makefile (xtests): Add md5test-giant..
60786         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60788 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60790         [BZ #14090]
60791         * crypt/md5.c (md5_process_block): Don't assume the buffer
60792         length is less than 2**32.
60793         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60794         length is less than 2**64.
60796 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60798         * string/str-two-way.h: Include <sys/param.h>.
60799         (MAX): Macro removed.
60801         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60802         Move #define and #undef of memmove to just before and after
60803         including <string.h>.
60805         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60806         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60807         and after including <string.h>.  Move declarations of
60808         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60809         to before #include "string/memmove.c".
60811         * include/dirent.h: Declare __getdirentries.
60813         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60814         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60816 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60818         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60819         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60820         * sysdeps/i386/configure: Regenerated.
60821         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60822         STABS_CURRENT_FILE, and STABS_FUN.
60823         (END): Remove call to STABS_FUN_END.
60824         (STABS_CURRENT_FILE1): Delete.
60825         (STABS_CURRENT_FILE): Likewise.
60826         (STABS_FUN): Likewise.
60827         (STABS_FUN_END): Likewise.
60828         (STABS_FUN2): Likewise.
60829         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60830         * sysdeps/x86_64/configure: Regenerated.
60832 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60834         * elf/dl-open.c: Include <atomic.h>.
60835         * elf/dl-lookup.c: Likewise.
60837 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60839         * sysdeps/unix/sysv/linux/kernel-features.h
60840         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60841         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60842         unconditionally.
60843         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60844         unconditionally.
60845         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60846         condition on __ASSUME_CLONE_THREAD_FLAGS.
60848 2012-08-14  Andreas Jaeger  <aj@suse.de>
60850         * sysdeps/i386/fpu/libm-test-ulps: Update.
60852 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60854         * include/atomic.h (atomic_exchange_and_add): Split into ...
60855         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60856         New atomic macros.
60858 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60862 2012-08-13  Jeff Law <law@redhat.com>
60864         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60865         null byte in the output string.
60867 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60869         * sysdeps/unix/sysv/linux/kernel-features.h
60870         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60871         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60872         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60873         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60874         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60875         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60876         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60878 2012-08-09  Jeff Law <law@redhat.com>
60880         [BZ #13939]
60881         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60882         When avoid_arena is set, don't retry in the that arena.  Pick the
60883         next one, whatever it might be.
60884         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60885         (arena_lock): Pass in new parameter to arena_get2.
60886         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60887         arena_get2.
60888         (__libc_malloc): Unify retrying after main arena failure with
60889         __libc_memalign version.
60890         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60892 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60894         [BZ #14166]
60895         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60896         to __redirect_strstr.
60897         (__strstr_sse42): Use typeof __redirect_strstr.
60898         (__strstr_ia32): Likewise.
60899         (__libc_strstr): New prototype.
60900         (strstr): Renamed to ...
60901         (__libc_strstr): This.
60902         (strstr): New strong alias of __libc_strstr.
60903         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60904         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60905         __redirect_time.
60906         Include <time.h>.
60907         (__libc_time): New prototype.
60908         (time_ifunc): Replace time with __libc_time.
60909         (time): New strong alias and hidden definition of __libc_time.
60910         (__GI_time): Remove strong alias.
60911         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60912         Include <stddef.h>.
60913         (memmove): Redefined to __redirect_memmove.
60914         (__memmove_sse2): Use typeof __redirect_memmove.
60915         (__memmove_ssse3): Likewise.
60916         (__memmove_ssse3_back): Likewise.
60917         (__libc_memmove): New prototype.
60918         (memmove): Renamed to ...
60919         (__libc_memmove): This.
60920         (memmove): New strong alias of __libc_memmove.
60922 2012-08-08  Mark Salter  <msalter@redhat.com>
60924         * elf/elf.h
60925         (R_MN10300_TLS_GD): Define.
60926         (R_MN10300_TLS_LD): Likewise.
60927         (R_MN10300_TLS_LDO): Likewise.
60928         (R_MN10300_TLS_GOTIE): Likewise.
60929         (R_MN10300_TLS_IE): Likewise.
60930         (R_MN10300_TLS_LE): Likewise.
60931         (R_MN10300_TLS_DTPMOD): Likewise.
60932         (R_MN10300_TLS_DTPOFF): Likewise.
60933         (R_MN10300_TLS_TPOFF): Likewise.
60934         (R_MN10300_SYM_DIFF): Likewise.
60935         (R_MN10300_ALIGN): Likewise.
60936         (R_MN10300_NUM): Update.
60938 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60940         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60941         Remove.
60943 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60945         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60947         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60948         sysdeps/unix -> sysdeps/posix move.
60949         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60951 2012-08-07      Allan McRae     <allan@archlinux.org>
60953         [BZ #14303]
60954         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60955         (SUNOS_CPP): Likewise.
60956         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60957         not found.
60958         (open_input): Call CPP using execvp.
60960 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60962         * sysdeps/unix/sysv/linux/kernel-features.h
60963         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60964         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60965         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60966         (__ASSUME_WAITID_SYSCALL): Likewise.
60967         * sysdeps/unix/sysv/linux/dl-execstack.c
60968         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60969         code unconditional.
60970         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60971         conditional code.
60972         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60973         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60974         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60975         code.
60976         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60977         unconditional.
60978         [__ASSUME_WAITID_SYSCALL]: Likewise.
60979         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60981 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60983         * sysdeps/unix/closedir.c: Renamed to ...
60984         * sysdeps/posix/closedir.c: ... here.
60985         * sysdeps/unix/dirfd.c: Renamed to ...
60986         * sysdeps/posix/dirfd.c: ... here.
60987         * sysdeps/unix/dirstream.h: Renamed to ...
60988         * sysdeps/posix/dirstream.h: ... here.
60989         * sysdeps/unix/fdopendir.c: Renamed to ...
60990         * sysdeps/posix/fdopendir.c: ... here.
60991         * sysdeps/unix/opendir.c: Renamed to ...
60992         * sysdeps/posix/opendir.c: ... here.
60993         * sysdeps/unix/readdir.c: Renamed to ...
60994         * sysdeps/posix/readdir.c: ... here.
60995         * sysdeps/unix/readdir_r.c: Renamed to ...
60996         * sysdeps/posix/readdir_r.c: ... here.
60997         * sysdeps/unix/rewinddir.c: Renamed to ...
60998         * sysdeps/posix/rewinddir.c: ... here.
60999         * sysdeps/unix/seekdir.c: Renamed to ...
61000         * sysdeps/posix/seekdir.c: ... here.
61001         * sysdeps/unix/telldir.c: Renamed to ...
61002         * sysdeps/posix/telldir.c: ... here.
61003         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61004         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61005         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61006         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61008         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61009         * bits/fcntl.h: ... here.
61011         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61012         not 0.
61013         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61014         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61015         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61016         (struct flock): Move l_start, l_len to the beginning.
61017         Use __pid_t for l_pid.
61018         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61019         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61020         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61021         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61022         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61023         [__USE_LARGEFILE64] (struct flock64): New type.
61024         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61026         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61027         * bits/dirent.h: ... here.
61029         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61030         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61032 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61034         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61035         Change from 2.6.0 to 2.6.16.
61036         * sysdeps/unix/sysv/linux/configure: Regenerated.
61037         * sysdeps/unix/sysv/linux/kernel-features.h
61038         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61039         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61040         version.
61041         (__ASSUME_UTIMES): Likewise.
61042         (__ASSUME_CLONE_STOPPED): Remove.
61043         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61044         architectures, not kernel version.
61045         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61046         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61047         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61048         (__ASSUME_WAITID_SYSCALL): Likewise.
61049         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61050         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61051         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61052         refer to older versions.
61054 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61056         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61057         Define alphasort64 as an alias.
61058         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61059         Define versionsort64 as an alias.
61060         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61061         Define scandir64 as an alias.
61062         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61063         Define scandirat64 as an alias.
61064         * dirent/alphasort64.c (alphasort64):
61065         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61066         * dirent/versionsort64.c: Likewise.
61067         * dirent/scandir64.c: Likewise.
61068         * dirent/scandirat64.c: Likewise.
61069         * sysdeps/wordsize-64/alphasort.c: File removed.
61070         * sysdeps/wordsize-64/alphasort64.c: File removed.
61071         * sysdeps/wordsize-64/scandir.c: File removed.
61072         * sysdeps/wordsize-64/scandir64.c: File removed.
61073         * sysdeps/wordsize-64/scandirat.c: File removed.
61074         * sysdeps/wordsize-64/scandirat64.c: File removed.
61075         * sysdeps/wordsize-64/versionsort.c: File removed.
61076         * sysdeps/wordsize-64/versionsort64.c: File removed.
61077         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61078         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61079         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61080         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61081         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61082         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61083         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61084         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61086         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61087         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61088         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61089         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61090         [defined __arch64__ || defined __sparcv9]
61091         (__INO_T_MATCHES_INO64_T): New macro.
61092         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61093         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61094         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61095         * sysdeps/unix/sysv/linux/bits/dirent.h
61096         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61097         (_DIRENT_MATCHES_DIRENT64): New macro.
61099         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61100         Define lockf64 as an alias.
61101         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61102         Define fseeko64 as an alias.
61103         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61104         Define ftello64 as an alias.
61105         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61106         Define _IO_fgetpos64 and fgetpos64 as aliases.
61107         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61108         Define _IO_fsetpos64 and fsetpos64 as aliases.
61109         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61110         Conditionalize body on this.
61111         * libio/fseeko64.c: Likewise.
61112         * libio/ftello64.c: Likewise.
61113         * libio/iofgetpos64.c: Likewise.
61114         * libio/iofsetpos64.c: Likewise.
61115         * sysdeps/wordsize-64/lockf.c: File removed.
61116         * sysdeps/wordsize-64/lockf64.c: File removed.
61117         * sysdeps/wordsize-64/fseeko.c: File removed.
61118         * sysdeps/wordsize-64/fseeko64.c: File removed.
61119         * sysdeps/wordsize-64/ftello.c: File removed.
61120         * sysdeps/wordsize-64/ftello64.c: File removed.
61121         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61122         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61123         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61124         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61125         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61126         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61127         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61129         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61131         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61132         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61133         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61134         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61136         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61138         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61140         [defined __arch64__ || defined __sparcv9]
61141         (__OFF_T_MATCHES_OFF64_T): New macro.
61142         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61143         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61144         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61145         (__OFF_T_MATCHES_OFF64_T): New macro.
61147 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61149         * stdlib/secure-getenv.c (__secure_getenv): Replace
61150         GLIBC_2_16 with GLIBC_2_17.
61152 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61154         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61155         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61157 2012-08-03  David S. Miller  <davem@davemloft.net>
61159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61161 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61164         Remove.
61165         (__ASSUME_CORRECT_SI_PID): Likewise.
61166         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61167         (__ASSUME_TMPFS_NAME): Likewise.
61168         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61169         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61170         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61171         (HAVE_AUX_SECURE): Make definition unconditional.
61172         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61173         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61175 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61177         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61178         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61179         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61180         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61181         __eloop_threshold instead of SYMLOOP_MAX.
61183         * sysdeps/generic/eloop-threshold.h: New file.
61184         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61185         of MAXSYMLINKS.
61186         * elf/chroot_canon.c (chroot_canon): Likewise.
61188 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61190         [BZ #13717]
61191         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61192         Change to 2.6.0 everywhere.
61193         * sysdeps/unix/sysv/linux/configure: Regenerated.
61194         * sysdeps/unix/sysv/linux/kernel-features.h
61195         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61196         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61197         kernel versions.
61198         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61199         (__ASSUME_FUTEX_REQUEUE): Remove.
61200         (__ASSUME_STATFS64): Define unconditionally.
61201         (__ASSUME_AT_SECURE): Likewise.
61202         (__ASSUME_CORRECT_SI_PID): Likewise.
61203         (__ASSUME_TGKILL): Define without depending on kernel version for
61204         i386.
61205         (__ASSUME_UTIMES): Likewise.
61206         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61207         kernel version.
61208         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61209         (__ASSUME_TMPFS_NAME): Likewise.
61210         * README: Update reference to Linux kernel versions.
61212 2012-08-02  Marek Polacek  <polacek@redhat.com>
61214         [BZ# 14150]
61215         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61216         libc_cv_asm_type_prefix with %.
61217         * configure: Regenerated.
61218         * include/libc-symbols.h: Remove comment about
61219         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61220         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61221         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61222         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61223         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61224         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61225         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61226         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61227         * elf/tst-unique2mod1.c: Likewise.
61228         * elf/tst-unique1mod2.c: Likewise.
61229         * elf/tst-unique1mod1.c: Likewise.
61230         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61231         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61232         Replace ASM_TYPE_DIRECTIVE with .type.
61233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61234         * sysdeps/i386/sysdep.h: Likewise.
61235         * sysdeps/x86_64/sysdep.h: Likewise.
61236         * sysdeps/sh/sysdep.h: Likewise.
61237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61238         Do not define ASM_TYPE_DIRECTIVE.
61239         * sysdeps/powerpc/sysdep.h: Likewise.
61240         * sysdeps/powerpc/powerpc32/sysdep.h:
61241         Replace ASM_TYPE_DIRECTIVE with .type.
61242         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61243         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61244         * sysdeps/i386/fpu/e_powf.S: Likewise.
61245         * sysdeps/i386/fpu/e_expl.S: Likewise.
61246         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61247         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61248         * sysdeps/i386/fpu/e_pow.S: Likewise.
61249         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61250         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61251         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61252         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61253         * sysdeps/i386/fpu/e_log2.S: Likewise.
61254         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61255         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61256         * sysdeps/i386/fpu/e_powl.S: Likewise.
61257         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61258         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61259         * sysdeps/i386/fpu/e_logl.S: Likewise.
61260         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61261         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61262         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61263         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61264         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61265         * sysdeps/i386/fpu/e_log.S: Likewise.
61266         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61267         * sysdeps/i386/fpu/e_logf.S: Likewise.
61268         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61269         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61270         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61271         * sysdeps/i386/fpu/e_log10.S: Likewise.
61272         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61273         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61274         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61275         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61276         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61277         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61278         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61279         * sysdeps/i386/i686/strtok.S: Likewise.
61280         * sysdeps/i386/i386-mcount.S: Likewise.
61281         * sysdeps/i386/strtok.S: Likewise.
61282         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61283         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61284         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61285         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61286         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61287         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61288         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61289         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61290         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61291         * sysdeps/x86_64/_mcount.S: Likewise.
61292         * sysdeps/x86_64/strtok.S: Likewise.
61293         * sysdeps/sh/_mcount.S: Likewise.
61295 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61297         * libio/iofopen.c: Include <fcntl.h>.
61298         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61299         (_IO_fopen64, fopen64): Define as aliases.
61300         * libio/iofopen64.c: Include <fcntl.h>.
61301         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61302         Conditionalize body on this.
61303         * sysdeps/wordsize-64/iofopen.c: File removed.
61304         * sysdeps/wordsize-64/iofopen64.c: File removed.
61306 2012-08-01  Marek Polacek  <polacek@redhat.com>
61308         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61309         Use dlfcn directly instead of a variable.
61310         (binfmt-subdir): Do not define.
61311         (dlfcn): Likewise.
61313 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61316         Remove all definitions.
61317         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61318         <kernel-features.h>.
61319         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61320         (miss_F_GETOWN_EX): Remove all definitions.
61321         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61322         macro definition.
61323         [!__ASSUME_FCNTL64]: Remove conditional code.
61324         [__ASSUME_FCNTL64]: Make code unconditional.
61325         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61326         <kernel-features.h>.
61327         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61328         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61329         (lockf64) [__NR_fcntl64]: Make code unconditional.
61330         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61332         * sysdeps/unix/sysv/linux/kernel-features.h
61333         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61334         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61335         Make code unconditional.
61336         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61337         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61339         [__NR_vfork]: Make code unconditional.
61340         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61341         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61343         [__NR_vfork]: Make code unconditional.
61344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61347 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61349         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61350         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61352         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61353         Define mkstemp64 as an alias.
61354         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61355         Define mkstemps64 as an alias.
61356         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61357         Define mkostemp64 as an alias.
61358         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61359         Define mkostemps64 as an alias.
61360         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61361         Conditionalize body on this.
61362         * misc/mkostemp64.c: Likewise.
61363         * misc/mkostemps64.c: Likewise.
61364         * misc/mkstemps64.c: Likewise.
61365         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61366         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61367         * sysdeps/wordsize-64/mkostemp.c: File removed.
61368         * sysdeps/wordsize-64/mkstemp.c: File removed.
61369         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61370         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61371         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61372         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61374         [BZ #14138]
61375         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61376         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61377         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61378         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61380         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61381         compat_symbol macros from <shlib-compat.h> rather than the underlying
61382         default_symbol_version and symbol_version macros, so that DEFAULT
61383         lines in shlib-versions are respected.
61384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61386 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61388         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61389         Declare with warn_unused_result.
61390         (setgid, setregid, setegid, setresgid): Likewise.
61391         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61392         Likewise.
61393         * WUR-REPORT: Remove set*id functions.
61395 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61397         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61399 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61401         [BZ #10191]
61402         * include/sys/socket.h (__libc_accept, __libc_accept4):
61403         Add attribute_hidden.
61404         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61406         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61407         use of PTR_MANGLE.
61408         * inet/getnetgrent_r.c (setup): Likewise.
61410         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61412 2012-07-31  David S. Miller  <davem@davemloft.net>
61414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61416 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61418         [BZ #13629]
61419         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61420         value between 1.0 and 2.0 and smaller part has absolute value less
61421         than 1.0.
61422         * math/s_clog10.c (__clog10): Likewise.
61423         * math/s_clog10f.c (__clog10f): Likewise.
61424         * math/s_clog10l.c (__clog10l): Likewise.
61425         * math/s_clogf.c (__clogf): Likewise.
61426         * math/s_clogl.c (__clogl): Likewise.
61427         * math/libm-test.inc (clog_test): Add more tests.
61428         (clog10_test): Likewise.
61429         * sysdeps/i386/fpu/libm-test-ulps: Update.
61430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61432 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61434         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61435         Exit with zero in case no suitable GID is found, and write a
61436         message to standard error.
61438 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61440         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61441         rather than to 1.
61442         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61443         (MAXPATHLEN): Removed.
61444         (NOGROUP, NODEV): New macros.
61445         (setbit, clrbit, isset, isclr): New macros.
61446         (howmany, roundup, powerof2): New macros.
61447         (DEV_BSIZE): New macro.
61449         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61450         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61452         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61453         definition on [!__NO_LONG_DOUBLE_MATH].
61455         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61456         PTR_MANGLE and PTR_DEMANGLE.
61458         * socket/accept4.c (accept4): Rename to __libc_accept4.
61459         Define accept4 as a weak alias.
61461         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61462         on [_DIRENT_HAVE_D_TYPE].
61463         * io/ftw.c (ftw_dir): Likewise.
61465         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61467         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61469         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61470         Use the BSD numbers rather than the arbitrary ones we had.
61471         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61472         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61473         (SIGXCPU, SIGXFSZ): New macros.
61474         (_NSIG): Now 32.
61476         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61477         initializer on [_LIBC_REENTRANT].
61479         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61480         definitions inside [_POSIX_MAPPED_FILES].
61482         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61484         * dirent/opendir.c: Include <fcntl.h>.
61486         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61487         (__libc_getspecific): Likewise.
61488         (__libc_key_create): Likewise.
61490         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61491         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61492         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61493         (tmpfile64): Define as alias.
61494         * sysdeps/wordsize-64/tmpfile.c: File removed.
61495         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61496         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61497         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61499         * stdio-common/vfscanf.c: Include <stdbool.h>.
61500         * nss/makedb.c: Likewise.
61501         * stdio-common/_i18n_number.h: Likewise.
61502         * argp/argp-help.c: Likewise.
61503         * posix/wordexp.c: Likewise.
61504         * sysdeps/posix/spawni.c: Likewise.
61505         * nss/nss_files/files-initgroups.c: Likewise.
61506         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61507         * nss/nss_files/files-initgroups.c: Likewise.
61508         * nss/nss_db/db-netgrp.c: Likewise.
61509         * nss/nss_db/db-initgroups.c: Likewise.
61510         * io/fchmodat.c: Include <sys/stat.h>.
61512         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61513         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61515         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61516         [HAVE_MMAP].
61518         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61519         Add multiple inclusion protection.
61521 2012-07-27  David S. Miller  <davem@davemloft.net>
61523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61525 2012-07-27  Gary Benson  <gbenson@redhat.com>
61527         [BZ #14298]
61528         * elf/rtld.c: Include <stap-probe.h>.
61529         (dl_main): Added static probes "init_start" and "init_complete".
61530         * elf/dl-load.c: Include <stap-probe.h>.
61531         (lose): Take new parameter "nsid".
61532         Added static probe "map_failed".
61533         (_dl_map_object_from_fd): Pass namespace id to lose.
61534         Added static probe "map_start".
61535         (open_verify): Pass namespace id to lose.
61536         * elf/dl-open.c: Include <stap-probe.h>.
61537         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61538         and "reloc_complete".
61539         * elf/dl-close.c: Include <stap-probe.h>.
61540         (_dl_close_worker): Added static probes "unmap_start" and
61541         "unmap_complete".
61542         * elf/rtld-debugger-interface.txt: New file documenting the above.
61544 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61546         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61547         rather than a string variable.
61548         * sunrpc/rpc_main.c (h_output): Likewise.
61549         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61551 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61553         * inet/check_native.c: New file.
61555 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61557         [BZ #13629]
61558         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61559         if larger part has absolute value 1.0.
61560         * math/s_clog10.c (__clog10): Likewise.
61561         * math/s_clog10f.c (__clog10f): Likewise.
61562         * math/s_clog10l.c (__clog10l): Likewise.
61563         * math/s_clogf.c (__clogf): Likewise.
61564         * math/s_clogl.c (__clogl): Likewise.
61565         * math/libm-test.inc (clog_test): Add more tests.
61566         (clog10_test): Likewise.
61567         * sysdeps/i386/fpu/libm-test-ulps: Update.
61568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61570         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61571         (pltexit): Likewise.
61572         (La_regs): Likewise.
61573         (La_retval): Likewise.
61574         (int_retval): Likewise.
61575         Update #error for removed macros to refer only to definitions in
61576         tst-audit.h.
61577         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61578         macro.
61579         (pltexit): Likewise.
61580         (La_regs): Likewise.
61581         (La_retval): Likewise.
61582         (int_retval): Likewise.
61583         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61584         macro.
61585         (pltexit): Likewise.
61586         (La_regs): Likewise.
61587         (La_retval): Likewise.
61588         (int_retval): Likewise.
61589         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61590         macro.
61591         (pltexit): Likewise.
61592         (La_regs): Likewise.
61593         (La_retval): Likewise.
61594         (int_retval): Likewise.
61595         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61596         macro.
61597         (pltexit): Likewise.
61598         (La_regs): Likewise.
61599         (La_retval): Likewise.
61600         (int_retval): Likewise.
61601         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61602         macro.
61603         (pltexit): Likewise.
61604         (La_regs): Likewise.
61605         (La_retval): Likewise.
61606         (int_retval): Likewise.
61607         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61608         macro.
61609         (pltexit): Likewise.
61610         (La_regs): Likewise.
61611         (La_retval): Likewise.
61612         (int_retval): Likewise.
61613         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61614         macro definitions in tst-audit.h.
61615         * sysdeps/i386/tst-audit.h: New file.
61616         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61617         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61618         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61619         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61620         * sysdeps/sh/tst-audit.h: Likewise.
61621         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61622         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61623         * sysdeps/x86_64/tst-audit.h: Likewise.
61625 2012-07-26  Andreas Jaeger  <aj@suse.de>
61627         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61628         ptrace.
61630         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61631         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61632         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61633         PTRACE_O_MASK.
61634         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61635         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61636         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61638         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61639         value.
61641         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61642         _sigsys.
61643         (si_call_addr, si_syscall, si_arch): Define new macro.
61644         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61645         _sigsys.
61646         (si_call_addr, si_syscall, si_arch): Define new marcro.
61647         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61648         _sigsys.
61649         (si_call_addr, si_syscall, si_arch): Define new macro.
61650         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61651         _sigsys.
61652         (si_call_addr, si_syscall, si_arch): Define new macro.
61654 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61656         [BZ #13717]
61657         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61658         Change to 2.4.21 where previously 2.4.1.
61659         * sysdeps/unix/sysv/linux/configure: Regenerated.
61660         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61661         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61662         Linux kernel version.
61663         (__ASSUME_STD_AUXV): Remove.
61664         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61665         kernel version.
61666         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61667         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61668         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61669         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61670         (__ASSUME_NETLINK_SUPPORT): Likewise.
61671         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61672         (__no_netlink_support): Remove conditional definition.
61673         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61674         Remove.
61675         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61676         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61677         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61678         (if_nameindex_ioctl): Remove.
61679         (if_nameindex_netlink): Do not handle __no_netlink_support.
61680         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61681         code.
61682         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61683         Remove conditional code.
61684         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61685         code.
61686         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61687         unconditional.
61688         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61689         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61690         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61691         Remove.
61692         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61693         [!__ASSUME_STD_AUXV]: Remove conditional code.
61694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61695         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61696         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61698         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61699         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61700         code.
61701         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61703         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61704         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61705         conditional code.
61706         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61708         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61709         code.
61710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61711         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61712         conditional code.
61713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61714         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61715         code unconditional.
61716         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61717         conditional code.
61718         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61719         unconditional.
61720         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61721         conditional code.
61722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61723         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61724         unconditional.
61725         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61726         conditional code.
61727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61728         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61729         code unconditional.
61730         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61731         conditional code.
61732         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61733         unconditional.
61734         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61735         conditional code.
61736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61737         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61738         code unconditional.
61739         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61740         conditional code.
61741         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61742         unconditional.
61743         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61744         conditional code.
61746 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61748         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61749         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61750         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61751         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61752         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61753         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61754         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61755         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61756         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61757         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61758         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61759         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61760         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61761         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61762         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61763         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61764         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61765         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61766         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61768         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61769         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61770         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61772 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61774         * Versions.def: Add GLIBC_2.17.
61775         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61776         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61777         Introduce __libc_secure_getenv.
61778         * stdlib/Versions (2.17): Add secure_getenv
61779         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61780         * stdlib/secure-getenv.c: Rename __secure_getenv to
61781         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61782         symbol __secure_getenv for GLIBC_2.0.
61783         * stdlib/tst-secure-getenv.c: New.
61784         * stdlib/Makefile (tests): Add testcase.
61785         * manual/startup.texi (Environment Access): Document
61786         secure_getenv.
61787         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61788         __libc_secure_getenv.
61789         * inet/ruserpass.c (ruserpass): Likewise.
61790         * malloc/mtrace.c (mtrace): Likewise.
61791         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61792         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61793         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61794         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61795         HAVE_SECURE_GETENV.
61796         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61797         __secure_getenv to __libc_secure_getenv.
61798         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61800         Likewise.
61801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61802         Likewise.
61803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61805         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61811 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61813         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61814         (struct La_i86_retval): Likewise.
61815         (struct La_x86_64_regs): Likewise.
61816         (struct La_x86_64_retval): Likewise.
61817         (struct La_x32_regs): Likewise.
61818         (struct La_x32_retval): Likewise.
61819         (struct La_ppc32_regs): Likewise.
61820         (struct La_ppc32_retval): Likewise.
61821         (struct La_ppc64_regs): Likewise.
61822         (struct La_ppc64_retval): Likewise.
61823         (struct La_sh_regs): Likewise.
61824         (struct La_sh_retval): Likewise.
61825         (struct La_s390_32_regs): Likewise.
61826         (struct La_s390_32_retval): Likewise.
61827         (struct La_s390_64_regs): Likewise.
61828         (struct La_s390_64_retval): Likewise.
61829         (struct La_sparc32_regs): Likewise.
61830         (struct La_sparc32_retval): Likewise.
61831         (struct La_sparc64_regs): Likewise.
61832         (struct La_sparc64_retval): Likewise.
61833         (struct audit_ifaces): Remove architecture-specific pltenter and
61834         pltexit members.
61835         * sysdeps/i386/ldsodefs.h: New file.
61836         * sysdeps/powerpc/ldsodefs.h: Likewise.
61837         * sysdeps/s390/ldsodefs.h: Likewise.
61838         * sysdeps/sh/ldsodefs.h: Likewise.
61839         * sysdeps/sparc/ldsodefs.h: Likewise.
61840         * sysdeps/x86_64/ldsodefs.h: Likewise.
61842 2012-07-25  Marek Polacek  <polacek@redhat.com>
61844         [BZ #6808]
61845         * math/libm-test.inc (yn_test): Add another test.
61846         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61847         to ERANGE when the result is +-Inf.
61848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61849         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61850         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61851         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61853 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61855         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61856         equal to 0.
61857         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61858         clock_t.
61859         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61861 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61863         * configure.in <sysdeps resolving>: Correct printing
61864         Implies_before.
61865         * configure: Regenerate.
61867 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61869         * math/w_ilogb.c: Include <limits.h>.
61870         * math/w_ilogbl.c: Likewise.
61872 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61874         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61875         va_copy.  Document allowing for unavailable va_copy only as
61876         pre-C99 compatibility.
61877         * manual/string.texi (Copying and Concatenation): Use va_copy
61878         instead of __va_copy in concat example.
61880 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61882         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61883         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61884         it if not null.
61886         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61887         with O_NOLINK passed to __file_name_lookup.
61889         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61890         with O_NOLINK passed to __file_name_lookup.
61892         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61893         negative N or less than NGIDS.
61895         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61896         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61897         enough.  Use memcpy instead of strncpy.
61899 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61901         * elf/Makefile (check-data): Remove.
61902         (localplt.data): New vpath directive.
61903         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61904         instead of $(check-data).
61905         * scripts/data/localplt-generic.data: Move to ...
61906         * sysdeps/generic/localplt.data: ... here.
61907         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61908         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61909         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61911         ... here.
61912         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61914         ... here.
61915         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61917         ... here.
61918         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61920         ... here.
61921         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61923         ... here.
61924         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61926         ... here.
61928 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61930         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61931         PPC32 and PPC64 files.
61932         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61933         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61935 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61937         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61938         __makecontext_ret to ...
61939         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61940         ... here and call exit if uc_link is NULL.  New file.
61941         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61942         __makecontext_ret.S.
61943         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61944         __makecontext_ret to ...
61945         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61946         ... here and call exit if uc_link is NULL.  New file.
61947         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61948         __makecontext_ret.S.
61950 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61952         * elf/elf.h (R_390_IRELATIVE): New definition.
61953         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61954         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61955         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61956         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61957         (elf_machine_lazy_rel): Likewise.
61958         * sysdeps/s390/dl-irel.h: New file.
61959         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61960         * sysdeps/s390/s390-64/memset.S: New asm code.
61961         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61962         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61963         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61964         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61965         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61966         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61967         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61968         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61969         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61970         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61971         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61972         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61973         * sysdeps/s390/s390-32/memset.S: New asm code.
61974         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61976 2012-07-17  Marek Polacek  <polacek@redhat.com>
61978         [BZ #14349]
61979         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61980         * sysdeps/s390/s390-64/configure.in: Likewise.
61981         * sysdeps/sparc/configure.in: Likewise.
61982         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61983         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61984         * sysdeps/i386/configure.in: Likewise.
61985         * sysdeps/x86_64/configure.in: Likewise.
61986         * sysdeps/sh/configure.in: Likewise.
61987         * sysdeps/s390/s390-32/configure: Regenerated.
61988         * sysdeps/s390/s390-64/configure: Likewise.
61989         * sysdeps/x86_64/configure: Likewise.
61990         * sysdeps/sh/configure: Likewise.
61991         * sysdeps/powerpc/powerpc64/configure: Likewise.
61992         * sysdeps/powerpc/powerpc32/configure: Likewise.
61993         * sysdeps/sparc/configure: Likwise.
61994         * sysdeps/i386/configure: Likewise.
61996         * elf/dl-open.c: Comment fixes.
61998 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62000         * Makefile [CXX] (check-data): Remove.
62001         [CXX] (c++-types.data): New vpath directive.
62002         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62003         vpath.  Do not allow for C++ type data being missing.
62004         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62005         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62006         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62007         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62008         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62009         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62010         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62012         ... here.
62013         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62015         ... here.
62016         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62018         ... here.
62019         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62021         ... here.
62022         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62024         ... here.
62025         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62027         ... here.
62028         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62030         ... here.
62031         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62034         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62035         definitions to architecture-specific files.
62036         (TLS_IE): Likewise.
62037         (TLS_LD): Likewise.
62038         (TLS_GD): Likewise.
62039         * sysdeps/i386/tls-macros.h: New file.
62040         * sysdeps/powerpc/tls-macros.h: Likewise.
62041         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62042         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62043         * sysdeps/sh/tls-macros.h: Likewise.
62044         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62045         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62046         * sysdeps/x86_64/tls-macros.h: Likewise.
62048 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62050         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62051         zero value for regular exit case.
62053         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62054         (__start_context): Preserve zero value for regular exit case.
62056 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62057             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62059         * manual/setjmp.texi (setcontext): Clarify normal process
62060         termination when uc_link is the null pointer.
62061         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62062         exit call.
62064 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62066         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62067         preprocessor.  Test for each exception mask separately.
62069 2012-07-16  Andreas Jaeger  <aj@suse.de>
62071         * po/ru.po: Update from translation team.
62073 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62075         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62076         equal to 0.
62077         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62078         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62079         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62080         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62083 2012-07-13  Andreas Jaeger  <aj@suse.de>
62085         * po/fr.po: Update from translation team.
62087 2012-07-12  Marek Polacek  <polacek@redhat.com>
62089         [BZ #14173]
62090         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62091         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62092         loop condition.
62094 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62096         [BZ #13717]
62097         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62098         Change to 2.4.1 where previously 2.4.0.
62099         * sysdeps/unix/sysv/linux/configure: Regenerated.
62100         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62101         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62102         version.
62103         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62104         (__ASSUME_AT_CLKTCK): Remove.
62105         (__ASSUME_AT_PAGESIZE): Likewise.
62106         (__ASSUME_AT_XID): Likewise.
62107         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62108         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62109         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62110         unconditionally.
62111         (HAVE_AUX_PAGESIZE): Likewise.
62112         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62113         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62114         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62116 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62118         [BZ #14307]
62119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62120         the temporary buffer used to invoke __gethostbyname2_r,
62121         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62122         host_data / struct gaih_addrtuple.
62123         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62124         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62125         header file nss/nsswitch.h.
62126         * nss/nsswitch.h (global scope): Add definition of implementation
62127         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62128         resolv/nss_dns/dns-host.c).
62130 2012-07-11  Andreas Jaeger  <aj@suse.de>
62132         * po/fr.po: Update from translation team.
62134         * po/sv.po: Update from translation team
62135         * po/fr.po: Another update from translation team.
62137 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62139         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62140         for subnormals or multiply small sinh result by itself.
62141         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62144 2012-07-11  David S. Miller  <davem@davemloft.net>
62146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62148 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62150         [BZ #14347]
62151         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62152         (INTERNAL_MARK): Shift it here.
62154 2012-07-10  Marek Polacek  <polacek@redhat.com>
62156         [BZ #14151]
62157         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62158         libc_cv_asm_global_directive with .globl.
62159         * configure: Regenerated.
62160         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62161         with .globl.
62162         * sysdeps/i386/configure: Regenerated.
62163         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62164         with .globl.
62165         * sysdeps/x86_64/configure: Regenerated.
62166         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62167         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62168         * elf/tst-unique2mod2.c: Likewise.
62169         * elf/tst-unique2mod1.c: Likewise.
62170         * elf/tst-unique1mod2.c: Likewise.
62171         * elf/tst-unique1mod1.c: Likewise.
62172         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62173         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62174         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62175         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62176         * sysdeps/mach/sysdep.h: Likewise.
62177         * sysdeps/i386/sysdep.h: Likewise.
62178         * sysdeps/i386/i386-mcount.S: Likewise.
62179         * sysdeps/x86_64/_mcount.S: Likewise.
62180         * sysdeps/x86_64/sysdep.h: Likewise.
62181         * sysdeps/sh/_mcount.S: Likewise.
62182         * sysdeps/sh/sysdep.h: Likewise.
62183         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62184         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62185         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62186         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62187         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62188         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62189         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62190         * locale/localeinfo.h: Likewise.
62191         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62192         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62194 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62196         [BZ #14336]
62197         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62198         system".
62199         * manual/message.texi (The Uniforum approach): Likewise.
62200         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62201         (glibc iconv Implementation): Likewise.
62203 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62205         [BZ #14337]
62206         * math/s_clog.c (__clog): Avoid scaling a value down where that
62207         could result in underflow.
62208         * math/s_clog10.c (__clog10): Likewise.
62209         * math/s_clog10f.c (__clog10f): Likewise.
62210         * math/s_clog10l.c (__clog10l): Likewise.
62211         * math/s_clogf.c (__clogf): Likewise.
62212         * math/s_clogl.c (__clogl): Likewise.
62213         * math/libm-test.inc (clog_test): Add more tests.
62214         (clog10_test): Likewise.
62215         * sysdeps/i386/fpu/libm-test-ulps: Update.
62216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62218 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62220         [BZ #14283]
62221         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62222         by 7 not 8 to examine high bit of fractional part.
62224         [BZ #14042]
62225         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62226         for call to __mcount_internal.
62227         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62228         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62229         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62231 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62233         [BZ #14154]
62234         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62235         approximation for values within 0x1p-13f of an odd multiple of
62236         pi/4.
62237         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62238         exception.  Add more tests.
62239         * sysdeps/i386/fpu/libm-test-ulps: Update.
62241         [BZ #6778]
62242         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62243         inputs and return -1 for them.  Do not check for +Inf in case not
62244         reachable for +Inf.
62245         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62246         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62247         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62248         and return -1 for them.  Do not check for +Inf in case not
62249         reachable for +Inf.
62250         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62251         define.
62252         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62253         and return -1 for them.  Do not check for +Inf in case not
62254         reachable for +Inf.
62255         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62256         spurious underflow.
62257         * sysdeps/i386/fpu/libm-test-ulps: Update.
62258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62260 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62262         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62264 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62266         [BZ #14157]
62267         [BZ #14331]
62268         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62269         could result in spurious underflow.  Scale down values above
62270         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62271         * math/s_csqrtf.c (__csqrtf): Likewise.
62272         * math/s_csqrtl.c (__csqrtl): Likewise.
62273         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62274         spurious underflow.
62275         * sysdeps/i386/fpu/libm-test-ulps: Update.
62276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62278 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62280         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62281         xopen-msg.sed.
62282         * catgets/xopen-msg.awk: New file.
62283         * catgets/xopen-msg.sed: Removed.
62285         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62286         po2text.sed.
62287         * intl/po2test.awk: New file.
62288         * intl/po2test.sed: Removed.
62290 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62292         [BZ #14328]
62293         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62294         or multiply small sinh result by itself.
62295         * math/s_ctanf.c (__ctanf): Likewise.
62296         * math/s_ctanh.c (__ctanh): Likewise.
62297         * math/s_ctanhf.c (__ctanhf): Likewise.
62298         * math/s_ctanhl.c (__ctanhl): Likewise.
62299         * math/s_ctanl.c (__ctanl): Likewise.
62300         * math/libm-test.inc (ctan_test_tonearest): New function.
62301         (ctan_test_towardzero): Likewise.
62302         (ctan_test_downward): Likewise.
62303         (ctan_test_upward): Likewise.
62304         (ctanh_test_tonearest): Likewise.
62305         (ctanh_test_towardzero): Likewise.
62306         (ctanh_test_downward): Likewise.
62307         (ctanh_test_upward): Likewise.
62308         (main): Call these new functions.
62309         * sysdeps/i386/fpu/libm-test-ulps: Update.
62310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62312 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62314         * .gitignore: Delete /ports entry.
62316 2012-07-03  Andreas Jaeger  <aj@suse.de>
62318         * po/bg.po: Update from translation team.
62319         * po/cs.po: Likewise.
62320         * po/de.po: Likewise.
62321         * po/hr.po: Likewise.
62322         * po/nl.pl: Likewise.
62323         * po/pl.po: Likewise.
62324         * po/vi.po: Likewise.
62326 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62328         * Makeconfig [!+link] (+link-before-libc): New variable.
62329         [!+link] (+link-after-libc): Likewise.
62330         [!+link] (+link-tests): Likewise.
62331         [!+link] (+link): Define in terms of $(+link-before-libc) and
62332         $(+link-after-libc).
62333         [!+link-static] (+link-static-before-libc): New variable.
62334         [!+link-static] (+link-static-after-libc): Likewise.
62335         [!+link-static] (+link-static-tests): Likewise.
62336         [!+link-static] (+link-static): Define in terms of
62337         $(+link-static-before-libc) and $(+link-static-after-libc).
62338         [build-shared] (link-libc-before-gnulib): New variable.
62339         [build-shared] (link-libc-tests): Likewise.
62340         [build-shared] (link-libc): Define in terms of
62341         $(link-libc-before-gnulib).
62342         [!build-shared] (link-libc-tests): New variable.
62343         (link-libc-static-tests): New variable.
62344         [!gnulib] (gnulib-arch): New variable.
62345         [!gnulib] (gnulib-tests): Likewise.
62346         [!gnulib] (static-gnulib-arch): Likewise.
62347         [!gnulib] (static-gnulib-tests): Likewise.
62348         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62349         Define with "=" instead of ":=".
62350         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62351         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62352         * Rules (binaries-all-notests): New variable.
62353         (binaries-all-tests): Likewise.
62354         (binaries-static-notests): Likewise.
62355         (binaries-static-tests): Likewise.
62356         (binaries-all): Define using $(binaries-all-notests) and
62357         $(binaries-all-tests).
62358         (binaries-static): Define using $(binaries-static-notests) and
62359         $(binaries-static-tests).
62360         (binaries-shared-tests): New variable.
62361         (binaries-shared-notests): Likewise.
62362         (binaries-shared): Remove variable.
62363         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62364         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62365         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62366         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62367         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62368         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62369         * elf/Makefile (sln-modules): New variable.
62370         (extra-objs): Add $(sln-modules:=.o).
62371         (ldconfig-modules): Add static-stubs.
62372         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62373         * elf/static-stubs.c: New file.
62375         [BZ #14283]
62376         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62377         by 7 not 8 to examine high bit of fractional part.  Use volatile
62378         variables when splitting into final array of floats if
62379         __FLT_EVAL_METHOD__ != 0.
62380         * math/libm-test.inc (cos_test): Add another test.
62381         (sin_test): Likewise.
62382         * sysdeps/i386/fpu/libm-test-ulps: Update.
62384         [BZ #14273]
62385         * math/libm-test.inc (cosh_test): Add more tests.
62387         * version.h (RELEASE): Set to "development".
62388         (VERSION): Set to "2.16.90".
62390 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62392         * NEWS: Update copyright. Remove last-updated date.
62393         Mention math library bug fixes and timezone data changes.
62394         * README: Mention GNU/Hurd, x32, and HPPA support status.
62396 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62398         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62400 2012-06-27  Andreas Jaeger  <aj@suse.de>
62402         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62404 2012-06-25  Andreas Jaeger  <aj@suse.de>
62406         * sysdeps/s390/fpu/libm-test-ulps: Update.
62408 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62409             Thomas Schwinge  <thomas@codesourcery.com>
62411         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62412         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62413         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62414         fanotify_mark.
62416 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62418         * sysdeps/mach/start.c: Remove file.
62419         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62420         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62421         * sysdeps/sh/init-first.c: Likewise.
62423         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62424         registers for frame unwinding purposes, add CFI directives.
62425         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62427         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62428         Likewise.
62430         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62431         __fortify_fail returning.
62432         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62434         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62435         sysdeps/sh/____longjmp_chk.S.
62436         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62437         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62438         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62439         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62441         * sysdeps/sh/abort-instr.h: New file.
62442         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62443         process in case exit returns.
62445         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62446         initialize the GOT register before use.
62448         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62449         calculation of ARGC > 4.
62451         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62452         meaningful names to some local labels.
62454 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62455             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62457         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62458         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62459         (__arch_compare_and_exchange_val_16_acq): Likewise.
62460         (__arch_compare_and_exchange_val_32_acq): Likewise.
62461         (atomic_exchange_and_add): Fix gUSA sequence.
62462         (atomic_add): Likewise.
62463         (atomic_add_negative): Likewise.
62464         (atomic_add_zero): Likewise.
62465         (atomic_bit_test_set): Likewise.
62467 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62469         [BZ #13579]
62470         * include/link.h (struct link_map): Add l_free_initfini.
62471         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62472         l_initfini.
62473         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62474         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62475         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62476         set.
62478 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62480         * configure.in: Use AC_LANG_SOURCE.
62481         * configure: Regenerate.
62483 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62485         * configure.in (libc_cv_localstatedir): New substituted variable.
62486         * configure: Regenerated.
62487         * config.make.in (localstatedir): New variable, substituted from
62488         libc_cv_localstatedir.
62489         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62490         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62491         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62492         * sysdeps/gnu/configure: Regenerated.
62494 2012-06-21  Jeff Law  <law@redhat.com>
62496         [BZ #14277]
62497         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62498         free.  Simplify list management for _LIBC case.
62500 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62502         [BZ #14273]
62503         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62504         Clear sign bit of 64-bit integer value before comparing against
62505         overflow value.
62507         * sysdeps/mach/configure: Regenerated.
62509 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62511         [BZ #14278]
62512         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62514 2012-06-21  Jeff Law  <law@redhat.com>
62516         [BZ #13882]
62517         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62518         uint16_t for elements in the "seen" array to avoid char overflows.
62519         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62520         * elf/dl-open.c (dl_open_worker): Likewise.
62522 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62524         * scripts/list-sources.sh: Scan PORTS for translations.
62525         * po/libc.pot: Regenerated.
62527 2012-06-21  Andreas Jaeger  <aj@suse.de>
62529         [BZ #12194]
62530         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62531         warning.
62532         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62533         * bits/byteswap-16.h (__bswap_16): Likewise.
62534         * bits/byteswap.h (__bswap_constant_16): Likewise.
62536 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62538         [BZ #14117]
62539         * sysdeps/i386/fpu_control.h: Removed.
62540         * sysdeps/x86_64/fpu_control.h: Moved to ...
62541         * sysdeps/x86/fpu_control.h: Here.
62543         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62544         (_FPU_SETCW): Likewise.
62546 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62548         [BZ #14117]
62549         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62550         * sysdeps/x86/fpu/bits/mathinline.h: This.
62551         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62553         [BZ #14050]
62554         [BZ #14117]
62555         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62556         functions if __x86_64__ is defined.
62558 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62560         * string/endian.h: Add !__ASSEMBLER__ condition for including
62561         conversion interfaces.
62563 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62565         [BZ #14241]
62566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62567         of ABS(x) in calculating zero to negative powers other than odd
62568         integers.
62569         * math/libm-test.inc (pow_test): Add more tests.
62571 2012-06-15  Andreas Jaeger  <aj@suse.de>
62573         * manual/contrib.texi (Contributors): Update entry of Liubov
62574         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62575         Machado Filho.
62577 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62579         * string/string.h: Add __wur to GNU version of strerror_r.
62581 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62583         [BZ #14229]
62584         * string/Makefile (tests): Add tst-strtok_r.
62585         * string/tst-strtok_r.c: New file.
62586         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62587         RAX_LP/RDX_LP on SAVE_PTR.
62589 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62591         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62593 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62595         * libm_test.inc (csqrt_test): Allow more spurious underflow
62596         exceptions.
62597         (j0_test): Likewise.
62598         (j1_test): Likewise.
62599         (y0_test): Likewise.
62600         (y1_test): Likewise.
62602 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62604         * po/Makefile (libc.pot): Use UTF-8 charset.
62606 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62608         [BZ #14210]
62609         Suppress sign-conversion warning from FD_SET.
62610         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62611         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62612         not unsigned long int.
62613         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62615 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62617         [BZ #14050]
62618         [BZ #14117]
62619         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62620         __extern_always_inline instead of __extern_inline.
62621         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62622         (__signbit): Likewise.
62623         (__signbitl): Support C++ namespace.
62624         (lrintf): New inline function.
62625         (lrint): Likewise.
62626         (llrintf): Likewise.
62627         (llrint): Likewise.
62628         (fmaxf): Likewise.
62629         (fmax): Likewise.
62630         (fminf): Likewise.
62631         (fmin): Likewise.
62632         (rint): Likewise.
62633         (rintf): Likewise.
62634         (ceil): Likewise.
62635         (ceilf): Likewise.
62636         (floor): Likewise.
62637         (floorf): Likewise.
62638         (nearbyint): Likewise.
62639         (nearbyintf): Likewise.
62641 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62643         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62644         non-default versions.
62646 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62648         [BZ #14218]
62649         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62651 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62653         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62654         (FE_UPWARD, FE_DOWNWARD): Don't define.
62655         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62656         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62658         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62659         reading it.
62660         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62661         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62663 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62665         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62667         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62668         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62670 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62672         [BZ #14117]
62673         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62674         * sysdeps/i386/fpu/Implies: New file.
62675         * sysdeps/x86_64/fpu/Implies: Likewise.
62676         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62677         * sysdeps/x86/fpu/bits/fenv.h: This.
62679         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62680         __SSE_MATH__.
62682 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62684         [BZ #14134]
62685         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62686         character 0xffff that matches the last element of the
62687         conversion table.
62689 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62692         fmodl commit.
62694 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62696         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62697         values higher than 25.6283.
62699 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62702         subnormal exponent extraction and add some __builtin_expect.
62703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62704         Fix for subnormal mantissa calculation.
62706 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62708         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62709         cpu2 is -1 and errno is not ENOSYS.
62711 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62713         [BZ #14117]
62714         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62715         * sysdeps/x86/bits/string.h: This.
62716         * sysdeps/x86_64/bits/string.h: Removed.
62718         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62719         if not compiling for x86-64, but compiling for >= i486.
62721         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62722         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62724         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62725         New macro from Linux kernel 3.4.0.
62726         (FP_XSTATE_MAGIC2): Likewise.
62727         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62728         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62729         (struct _fpx_sw_bytes): New struct.
62730         (struct _xsave_hdr): Likewise.
62731         (struct _ymmh_state): Likewise.
62732         (struct _xstate): Likewise.
62734         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62735         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62736         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62737         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62738         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62739         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62741         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62742         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62743         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62744         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62745         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62746         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62748 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62750         [BZ #13743]
62751         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62752         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62753         (sysdep_headers): Include sys/platform/ppc.h.
62754         * sysdeps/powerpc/test-gettimebase.c: Test for
62755         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62756         * manual/Makefile (appendices): Include platform.texi.
62757         * manual/contrib.texi (Contributors): Update @node pointers.
62758         * manual/maint.texi (Maintenance): Likewise.
62759         (Platform): New node.
62760         * manual/platform.texi: New file.  Document the new features.
62762 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62763             Jakub Jelinek  <jakub@redhat.com>
62765         [BZ #14188]
62766         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62767         where __builtin_expect is unavailable.
62769 2012-06-03  David S. Miller  <davem@davemloft.net>
62771         * stdlib/longlong.h: Updated from GCC.
62773 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62775         [BZ #14042]
62776         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62777         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62778         __mcount_internal.
62779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62780         (GLIBC_2.16): Likewise.
62782 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62784         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62786 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62789         (default-abi): New variable.
62790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62791         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62792         variable.
62793         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62794         Likewise.
62795         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62796         Likewise.
62797         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62798         Likewise.
62800         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62801         definition.  Document in comment.
62803 2012-06-01  David S. Miller  <davem@davemloft.net>
62805         * stdlib/longlong.h: Updated from GCC.
62807 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62809         [BZ #14117]
62810         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62811         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62812         sys/debugreg.h sys/io.h here.
62813         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62814         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62815         sys/io.h.
62816         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62817         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62818         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62819         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62820         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62821         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62823         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62824         Define only if __x86_64__ is defined.
62826 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62828         [BZ #14048]
62829         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62830         Use int64_t for variable i.
62831         * math/libm-test.inc (fmod_test): Add more tests.
62833         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62834         z computation is not scheduled after fetestexcept.
62835         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62836         Use math_force_eval instead of asm to ensure calculation scheduled
62837         before exception test.
62838         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62839         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62841 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62844         computation is not scheduled after fetestexcept.
62846 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62848         [BZ #14117]
62849         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62850         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62852 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62854         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62855         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62857 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62859         [BZ #14117]
62860         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62861         <bits/wordsize.h>.
62862         (__WCHAR_MIN): Support __WORDSIZE == 64.
62863         (__WCHAR_MAX): Likewise.
62865         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62866         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62868         [BZ #14183]
62869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62870         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62872         [BZ #14117]
62873         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62874         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62876         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62877         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62879         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62880         Defined to 1 if __x86_64__ isn't defined.
62881         (_STAT_VER_LINUX_OLD): New.
62882         (st_atime): Remove duplicate.
62883         (st_mtime): Likewise.
62884         (st_ctime): Likewise.
62886 2012-05-31  David S. Miller  <davem@davemloft.net>
62888         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62889         entries.
62891 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62893         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62894         gen-libm-test.pl.
62896         [BZ #14132]
62897         * elf/dl-reloc.c: Include <_itoa.h>.
62898         (_dl_reloc_bad_type): Remove use of INTUSE.
62899         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62900         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62901         * stdio-common/psiginfo.c (psiginfo): Likewise.
62902         * stdio-common/psignal.c (psignal): Likewise.
62903         * string/strsignal.c (strsignal): Likewise.
62904         * include/signal.h (_sys_siglist): Declare hidden proto.
62905         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62906         INTVARDEF with libc_hidden_data_def.
62907         * stdio-common/itoa-udigits.c: Likewise.
62908         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62909         (_itoa_lower_digits_internal): Remove declaration.
62910         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62911         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62912         (_sys_sigabbrev_internal): Remove aliases.
62913         (_sys_siglist): Define hidden alias.
62915 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62918         bits/sysctl.h.
62920 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62922         [BZ #14117]
62923         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62924         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62926         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62927         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62928         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62929         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62930         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62931         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62933         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62934         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62935         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62937         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62938         with __addr.
62939         (insw): Likewise.
62940         (insl): Likewise.
62941         (outsb): Likewise.
62942         (outsw): Likewise.
62943         (outsl): Likewise.
62945         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62946         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62947         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62949         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62950         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62951         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62952         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62953         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62954         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62956         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62957         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62959         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62960         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62962         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62963         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62964         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62966         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62967         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62968         to ...
62969         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62971         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62972         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62973         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62975         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62976         for x86-64.
62977         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62979 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62981         * math/math.h (M_El): Use two more decimal places.
62982         (M_LOG2El): Likewise.
62983         (M_LOG10El): Likewise.
62984         (M_LN2l): Likewise.
62985         (M_LN10l): Likewise.
62986         (M_PIl): Likewise.
62987         (M_PI_2l): Likewise.
62988         (M_PI_4l): Likewise.
62989         (M_1_PIl): Likewise.
62990         (M_2_PIl): Likewise.
62991         (M_2_SQRTPIl): Likewise.
62992         (M_SQRT2l): Likewise.
62993         (M_SQRT1_2l): Likewise.
62995 2012-05-31  David S. Miller  <davem@davemloft.net>
62997         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62998         values between float registers.
62999         * sysdeps/sparc/sparc64/memset.S: Likewise.
63000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63002 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63004         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63005         -D_FORTIFY_SOURCE=1.
63006         (CPPFLAGS-tst-longjmp_chk.c): Define.
63007         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63008         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63009         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63010         CFLAGS-tst-wchar-h.c.
63012 2012-05-31  Marek Polacek  <polacek@redhat.com>
63014         [BZ #14132]
63015         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63016         __endmntent_internal): Remove declaration.
63017         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63018         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63019         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63021 2012-05-30  David S. Miller  <davem@davemloft.net>
63023         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63024         (___Q_simulate_exceptions): Use real FP ops rather than writing
63025         into the %fsr.
63026         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63027         Likewise.
63029 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63031         [BZ #14117]
63032         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63033         * sysdeps/x86/bits/xtitypes.h: This.
63035         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63036         * sysdeps/x86/bits/wordsize.h: This.
63038         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63039         * sysdeps/x86/bits/huge_vall.h: This.
63041         * sysdeps/i386/bits/select.h: Removed.
63042         * sysdeps/x86_64/bits/select.h: Renamed to ...
63043         * sysdeps/x86/bits/select.h: This.
63045         * sysdeps/i386/bits/setjmp.h: Removed.
63046         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63047         * sysdeps/x86/bits/setjmp.h: This.
63049         * sysdeps/i386/bits/mathdef.h: Removed.
63050         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63051         * sysdeps/x86/bits/mathdef.h: This.
63053 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63055         [BZ #14132]
63056         * include/sys/socket.h (__connect_internal)
63057         (__libc_sa_len_internal): Remove declaration.
63058         (__connect, __libc_sa_len): Declare hidden_proto.
63059         (SA_LEN): Remove use of INTUSE.
63060         * socket/connect.c: Add libc_hidden_def.
63061         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63062         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63063         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63064         alias.
63065         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63067         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63068         of adding _internal alias.
63070 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63072         [BZ #14117]
63073         * sysdeps/i386/bits/link.h: Removed.
63074         * sysdeps/i386/bits/linkmap.h: Likewise.
63075         * sysdeps/x86_64/bits/link.h: Renamed to ...
63076         * sysdeps/x86/bits/link.h: This.
63077         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63078         * sysdeps/x86/bits/linkmap.h: This.
63080         * sysdeps/i386/bits/endian.h: Removed.
63081         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63082         * sysdeps/x86/bits/endian.h: This.
63084         * sysdeps/i386/bits/byteswap.h: Removed.
63085         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63086         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63087         * sysdeps/x86/bits/byteswap.h: This.
63088         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63089         * sysdeps/x86/bits/byteswap-16.h: This.
63090         * sysdeps/i386/Implies: Add x86.
63091         * sysdeps/x86_64/Implies: Likewise.
63093 2012-05-30  David S. Miller  <davem@davemloft.net>
63095         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63096         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63097         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63098         (FP_TRAPPING_EXCEPTIONS): Define.
63099         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63100         (FP_TRAPPING_EXCEPTIONS): Define.
63101         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63102         subnormals only when inexact has been signalled or underflow
63103         exceptions are enabled.
63104         (_FP_PACK_CANONICAL): Likewise.
63106 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63108         [BZ #14183]
63109         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63110         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63112 2012-05-30  Richard Henderson  <rth@twiddle.net>
63114         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63115         with #ifndef NOT_IN_libc.
63117         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63118         marked to avoid plt entry.
63120 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63122         [BZ #14112]
63123         * Makeconfig (default-abi): New macro.
63124         (abi-includes): Likewise.
63125         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63126         $(abi-$(default-abi)-lib-soname) for soname if defined.
63127         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63128         abi-variants.
63129         * Makefile (installed-stubs): Likewise.
63130         * include/stubs-biarch.h: Removed.
63131         * scripts/lib-names.awk: Only handle one library at a time.
63132         * scripts/soversions.awk: Remove WORDSIZE support.
63133         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63134         entries.
63135         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63136         Removed.
63137         (syscall-list-default-condition): Likewise.
63138         (syscall-list-default-condition): Likewise.
63139         (syscall-list-includes): Likewise.
63140         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63141         syscall-list-* with abi-*.  Handle undefined abi-variants.
63142         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63143         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63144         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63145         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63146         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63147         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63148         Removed.
63149         (syscall-list-32-options): Likewise.
63150         (syscall-list-32-condition): Likewise.
63151         (syscall-list-64-options): Likewise.
63152         (syscall-list-64-condition): Likewise.
63153         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63154         macro.
63155         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63156         Renamed to ...
63157         (abi-*): This.
63158         (abi-64-ld-soname): New macro.
63159         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63160         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63161         Renamed to ...
63162         (abi-*): This.
63163         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63164         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63166 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63168         * sysdeps/unix/sysv/linux/kernel-features.h
63169         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63170         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63171         include <kernel-features.h>.
63172         [!__NR_ftruncate64]: Remove conditional code.
63173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63174         [__NR_ftruncate64]: Make code unconditional.
63175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63176         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63177         include <kernel-features.h>.
63178         [!__NR_ftruncate64]: Remove conditional code.
63179         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63180         [__NR_ftruncate64]: Make code unconditional.
63181         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63183         include <kernel-features.h>.
63184         [!__NR_ftruncate64]: Remove conditional code.
63185         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63186         [__NR_ftruncate64]: Make code unconditional.
63187         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63189         include <kernel-features.h>.
63190         [!__NR_ftruncate64]: Remove conditional code.
63191         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63192         [__NR_ftruncate64]: Make code unconditional.
63193         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63195         * configure.in (libc_cv_fpie): Weaken to a compile test using
63196         LIBC_TRY_CC_OPTION.
63197         * configure: Regenerated.
63199 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63205         Refreshed.
63206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63212         Refreshed.
63214 2012-05-27  David S. Miller  <davem@davemloft.net>
63216         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63217         (___Q_zero): New.
63218         (__Q_simulate_exceptions): Return void.  Change to simulate
63219         exceptions by writing into the %fsr.
63220         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63221         (__Qp_handle_exceptions): Likewise.
63222         (numbers): Delete.
63223         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63224         __Qp_handle_exceptions.
63225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63226         __Qp_handle_exceptions.
63227         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63228         as unused and give dummy FP_RND_NEAREST initializer.
63229         (FP_INHIBIT_RESULTS): Define.
63230         (___Q_simulate_exceptions): Update declaration.
63231         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63232         formatting.
63233         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63234         as unused and give dummy FP_RND_NEAREST initializer.
63235         (__Qp_handle_exceptions): Update declaration.
63236         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63237         formatting.
63239 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63241         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63242         the temporary FPU control word.
63243         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63244         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63245         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63246         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63247         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63248         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63249         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63250         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63251         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63252         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63253         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63255 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63257         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63258         fields.
63260 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63262         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63263         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63264         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63265         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63266         Likewise.
63267         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63268         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63269         Likewise.
63271 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63273         * po/h.po: Update from translation team.
63275 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63277         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63279         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63280         handling of denormals.
63281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63282         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63283         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63284         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63287         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63288         Likewise.
63290 2012-05-26  Marek Polacek  <polacek@redhat.com>
63292         [BZ #14152]
63293         * math/libm-test.inc (fma_test): Don't always expect underflow
63294         exception.
63296 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63298         [BZ #12416]
63299         * elf/tst-execstack.c: Include stackinfo.h.
63300         (do_test): Adjust test case to ensure that pthread_getattr_np
63301         behaviour remains the same after marking stack executable.
63303 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63305         * sysdeps/unix/sysv/linux/kernel-features.h
63306         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63307         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63308         kernel-features.h.
63309         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63310         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63311         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63312         kernel-features.h.
63313         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63314         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63316 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63318         * configure.in: Define the default includes to being none.
63319         * configure: Regenerated.
63321 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63323         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63324         * sysdeps/x86_64/setjmp.S: Likewise.
63325         * sysdeps/i386/bsd-setjmp.S: Likewise.
63326         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63327         * sysdeps/i386/setjmp.S: Likewise.
63328         * sysdeps/i386/__longjmp.S: Likewise.
63329         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63330         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63332         * include/stap-probe.h: New file.
63333         * configure.in: Handle --enable-systemtap.
63334         * configure: Regenerated.
63335         * config.h.in (USE_STAP_PROBE): New #undef.
63336         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63337         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63338         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63340 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63342         [BZ #13717]
63343         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63344         to 2.4.0 where earlier.
63345         * sysdeps/unix/sysv/linux/configure: Regenerated.
63346         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63347         <kernel-features.h>.
63348         [__ASSUME_32BITUIDS]: Make code unconditional.
63349         [!__ASSUME_32BITUIDS]: Remove conditional code.
63350         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63351         <kernel-features.h>.
63352         [__ASSUME_32BITUIDS]: Make code unconditional.
63353         [!__ASSUME_32BITUIDS]: Remove conditional code.
63354         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63355         [__ASSUME_32BITUIDS]: Make code unconditional.
63356         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63357         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63358         <kernel-features.h>.
63359         [__ASSUME_32BITUIDS]: Make code unconditional.
63360         [!__ASSUME_32BITUIDS]: Remove conditional code.
63361         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63362         <kernel-features.h>.
63363         [__ASSUME_32BITUIDS]: Make code unconditional.
63364         [!__ASSUME_32BITUIDS]: Remove conditional code.
63365         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63366         <kernel-features.h>.
63367         [__ASSUME_32BITUIDS]: Make code unconditional.
63368         [!__ASSUME_32BITUIDS]: Remove conditional code.
63369         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63370         <kernel-features.h>.
63371         [__ASSUME_32BITUIDS]: Make code unconditional.
63372         [!__ASSUME_32BITUIDS]: Remove conditional code.
63373         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63374         <kernel-features.h>.
63375         [__ASSUME_32BITUIDS]: Make code unconditional.
63376         [!__ASSUME_32BITUIDS]: Remove conditional code.
63377         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63378         <kernel-features.h>.
63379         [__ASSUME_32BITUIDS]: Make code unconditional.
63380         [!__ASSUME_32BITUIDS]: Remove conditional code.
63381         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63382         <kernel-features.h>.
63383         [__ASSUME_32BITUIDS]: Make code unconditional.
63384         [!__ASSUME_32BITUIDS]: Remove conditional code.
63385         * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.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/i386/semctl.c: Do not include
63394         <kernel-features.h>.
63395         [__ASSUME_32BITUIDS]: Make code unconditional.
63396         [!__ASSUME_32BITUIDS]: Remove conditional code.
63397         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63398         <kernel-features.h>.
63399         [__NR_setresgid] (__setresgid): Do not declare.
63400         [__ASSUME_32BITUIDS]: Make code unconditional.
63401         [!__ASSUME_32BITUIDS]: Remove conditional code.
63402         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63403         <kernel-features.h>.
63404         [__NR_setresuid] (__setresuid): Do not declare.
63405         [__ASSUME_32BITUIDS]: Make code unconditional.
63406         [!__ASSUME_32BITUIDS]: Remove conditional code.
63407         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
63412         <kernel-features.h>.
63413         [__ASSUME_32BITUIDS]: Make code unconditional.
63414         [!__ASSUME_32BITUIDS]: Remove conditional code.
63415         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63416         <kernel-features.h>.
63417         [__ASSUME_32BITUIDS]: Make code unconditional.
63418         [!__ASSUME_32BITUIDS]: Remove conditional code.
63419         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63420         <kernel-features.h>.
63421         [__ASSUME_32BITUIDS]: Make code unconditional.
63422         [!__ASSUME_32BITUIDS]: Remove conditional code.
63423         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63424         <kernel-features.h>.
63425         [__ASSUME_32BITUIDS]: Make code unconditional.
63426         [!__ASSUME_32BITUIDS]: Remove conditional code.
63427         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63428         <kernel-features.h>.
63429         [__ASSUME_32BITUIDS]: Make code unconditional.
63430         [!__ASSUME_32BITUIDS]: Remove conditional code.
63431         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63432         <kernel-features.h>.
63433         [__ASSUME_32BITUIDS]: Make code unconditional.
63434         [!__ASSUME_32BITUIDS]: Remove conditional code.
63435         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63436         <kernel-features.h>.
63437         [__ASSUME_32BITUIDS]: Make code unconditional.
63438         [!__ASSUME_32BITUIDS]: Remove conditional code.
63439         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63440         <kernel-features.h>.
63441         [__ASSUME_32BITUIDS]: Make code unconditional.
63442         [!__ASSUME_32BITUIDS]: Remove conditional code.
63443         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63444         <kernel-features.h>.
63445         [__ASSUME_32BITUIDS]: Make code unconditional.
63446         [!__ASSUME_32BITUIDS]: Remove conditional code.
63447         * sysdeps/unix/sysv/linux/kernel-features.h
63448         (__ASSUME_SETRESUID_SYSCALL): Remove.
63449         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63450         (__ASSUME_32BITUIDS): Likewise.
63451         (__ASSUME_LDT_WORKS): Likewise.
63452         (__ASSUME_O_DIRECTORY): Likewise.
63453         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63454         architecture but not kernel version.
63455         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63456         (__ASSUME_MMAP2_SYSCALL): Likewise.
63457         (__ASSUME_STAT64_SYSCALL): Likewise.
63458         (__ASSUME_IPC64): Likewise.
63459         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63460         <kernel-features.h>.
63461         [__ASSUME_32BITUIDS]: Make code unconditional.
63462         [!__ASSUME_32BITUIDS]: Remove conditional code.
63463         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63464         <kernel-features.h>.
63465         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63466         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63467         132096]: Remove conditional code.
63468         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63469         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63470         <kernel-features.h>.
63471         [__ASSUME_32BITUIDS]: Make code unconditional.
63472         [!__ASSUME_32BITUIDS]: Remove conditional code.
63473         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63474         <kernel-features.h>.
63475         [__ASSUME_32BITUIDS]: Make code unconditional.
63476         [!__ASSUME_32BITUIDS]: Remove conditional code.
63477         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63478         <kernel-features.h>.
63479         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63480         unconditional.
63481         (__setresgid): Do not declare.
63482         [__ASSUME_32BITUIDS]: Make code unconditional.
63483         [!__ASSUME_32BITUIDS]: Remove conditional code.
63484         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63485         <kernel-features.h>.
63486         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63487         unconditional.
63488         (__setresuid): Do not declare.
63489         [__ASSUME_32BITUIDS]: Make code unconditional.
63490         [!__ASSUME_32BITUIDS]: Remove conditional code.
63491         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63492         <kernel-features.h>.
63493         [__ASSUME_32BITUIDS]: Make code unconditional.
63494         [!__ASSUME_32BITUIDS]: Remove conditional code.
63495         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63496         <kernel-features.h>.
63497         [__ASSUME_32BITUIDS]: Make code unconditional.
63498         [!__ASSUME_32BITUIDS]: Remove conditional code.
63500 2012-05-25  Richard Henderson  <rth@twiddle.net>
63502         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63503         dl_hwcap to ifunc resolver.
63504         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63505         elf_ifunc_invoke.
63506         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63507         dl_hwcap to ifunc resolver.
63508         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63510 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63512         [BZ #14153]
63513         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63514         for |x| <= 2**-26, not 2**-57.
63515         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63516         exception.
63518 2012-05-24  Jeff Law  <law@redhat.com>
63520         * stdio-common/Makefile (tests): Add bug25.
63521         * stdio-common/bug25.c: New test.
63523 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63525         [BZ #13576]
63526         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63527         multiple of MALLOC_ALIGNMENT in size.
63528         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63530 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63532         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63533         Require >= 256.
63534         (FILENAME_MAX): Use macro-int-constant.
63535         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63536         (_IOFBF): Use macro-int-constant.
63537         (_IOLBF): Likewise.
63538         (_IONBF): Likewise.
63539         (SEEK_CUR): Likewise.
63540         (SEEK_END): Likewise.
63541         (SEEK_SET): Likewise.
63542         (TMP_MAX): Likewise.
63543         (EOF): Use macro-int-constant.  Require < 0.
63544         (NULL): Use macro-constant.  Require == 0.
63545         (stdin): Require type to be FILE *.
63546         (stdout): Likewise.
63547         (stderr): Likewise.
63548         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63549         macro-int-constant.
63550         (EXIT_SUCCESS): Likewise.
63551         (NULL): Use macro-constant.  Require == 0.
63552         (RAND_MAX): Use macro-int-constant.
63553         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63554         [C99-based standards] (strtof): Require function.
63555         [C99-based standards] (strtold): Likewise.
63556         [C99-based standards] (strtoll): Likewise.
63557         [C99-based standards] (strtoull): Likewise.
63558         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63559         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63560         [ISO || ISO99 || ISO11] (math.h): Likewise.
63561         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63562         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63565 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63567         [BZ #14132]
63568         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63569         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63570         * intl/dgettext.c (DCGETTEXT): Likewise.
63571         * intl/gettext.c (DCGETTEXT): Likewise.
63572         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63573         * posix/regex_internal.h (gettext): Likewise.
63574         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63575         Remove declaration.
63576         * include/argz.h (__argz_count_internal)
63577         (__argz_stringify_internal): Remove declaration.
63578         (__argz_count, __argz_stringify): Declare hidden proto.
63579         * intl/dcgettext.c: Remove use of INTDEF.
63580         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63581         * string/argz-stringify.c: Likewise.
63582         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63583         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63584         Declare hidden proto.
63585         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63586         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63587         Declare hidden proto.
63588         * include/stdio.h (__asprintf_internal): Don't declare.
63589         (__asprintf): Don't define as macro.  Declare hidden proto.
63590         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63591         (__fsetlocking): Declare hidden proto.
63592         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63593         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63594         hidden proto.
63595         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63596         (_IO_setlinebuf): Remove use of INTUSE.
63597         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63598         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63599         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63600         Remove declaration.
63601         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63602         (_IO_do_flush): Remove use of INTUSE.
63603         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63604         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63605         (_IO_adjust_column, _IO_least_wmarker)
63606         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63607         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63608         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63609         (_IO_default_doallocate, _IO_wdefault_doallocate)
63610         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63611         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63612         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63613         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63614         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63615         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63616         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63617         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63618         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63619         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63620         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63621         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63622         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63623         proto.
63624         (_IO_flush_all_internal, _IO_adjust_column_internal)
63625         (_IO_default_uflow_internal, _IO_default_finish_internal)
63626         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63627         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63628         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63629         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63630         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63631         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63632         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63633         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63634         (_IO_file_close_internal, _IO_file_close_it_internal)
63635         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63636         (_IO_file_init_internal, _IO_file_attach_internal)
63637         (_IO_file_fopen_internal, _IO_file_read_internal)
63638         (_IO_file_sync_internal, _IO_file_seek_internal)
63639         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63640         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63641         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63642         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63643         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63644         (_IO_list_all_internal, _IO_link_in_internal)
63645         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63646         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63647         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63648         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63649         (_IO_do_write_internal, _IO_padn_internal)
63650         (_IO_getline_info_internal, _IO_getline_internal)
63651         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63652         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63653         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63654         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63655         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63656         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63657         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63658         with libc_hidden_ver, remove use of INTUSE.
63659         * libio/genops.c: Likewise.
63660         * libio/freopen.c: Likewise.
63661         * libio/freopen64.c: Likewise.
63662         * libio/iofclose.c: Likewise.
63663         * libio/iofdopen.c: Likewise.
63664         * libio/iofflush.c: Likewise.
63665         * libio/iofflush_u.c: Likewise.
63666         * libio/iofgets.c: Likewise.
63667         * libio/iofgets_u.c: Likewise.
63668         * libio/iofopen.c: Likewise.
63669         * libio/iofopncook.c: Likewise.
63670         * libio/iofread.c: Likewise.
63671         * libio/iofread_u.c: Likewise.
63672         * libio/ioftell.c: Likewise.
63673         * libio/iofwrite.c: Likewise.
63674         * libio/iogetline.c: Likewise.
63675         * libio/iogets.c: Likewise.
63676         * libio/iogetwline.c: Likewise.
63677         * libio/iopadn.c: Likewise.
63678         * libio/iopopen.c: Likewise.
63679         * libio/ioseekoff.c: Likewise.
63680         * libio/ioseekpos.c: Likewise.
63681         * libio/iosetbuffer.c: Likewise.
63682         * libio/iosetvbuf.c: Likewise.
63683         * libio/ioungetc.c: Likewise.
63684         * libio/ioungetwc.c: Likewise.
63685         * libio/iovdprintf.c: Likewise.
63686         * libio/iovsprintf.c: Likewise.
63687         * libio/iovsscanf.c: Likewise.
63688         * libio/memstream.c: Likewise.
63689         * libio/obprintf.c: Likewise.
63690         * libio/oldfileops.c: Likewise.
63691         * libio/oldiofclose.c: Likewise.
63692         * libio/oldiofdopen.c: Likewise.
63693         * libio/oldiofopen.c: Likewise.
63694         * libio/oldiopopen.c: Likewise.
63695         * libio/oldstdfiles.c: Likewise.
63696         * libio/putc.c: Likewise.
63697         * libio/setbuf.c: Likewise.
63698         * libio/setlinebuf.c: Likewise.
63699         * libio/stdfiles.c: Likewise.
63700         * libio/strops.c: Likewise.
63701         * libio/vasprintf.c: Likewise.
63702         * libio/vscanf.c: Likewise.
63703         * libio/vsnprintf.c: Likewise.
63704         * libio/vswprintf.c: Likewise.
63705         * libio/wfiledoalloc.c: Likewise.
63706         * libio/wfileops.c: Likewise.
63707         * libio/wgenops.c: Likewise.
63708         * libio/wmemstream.c: Likewise.
63709         * libio/wstrops.c: Likewise.
63710         * libio/__fpurge.c: Likewise.
63711         * libio/__fsetlocking.c: Likewise.
63712         * assert/assert.c: Likewise.
63713         * debug/fgets_chk.c: Likewise.
63714         * debug/fgets_u_chk.c: Likewise.
63715         * debug/fread_chk.c: Likewise.
63716         * debug/fread_u_chk.c: Likewise.
63717         * debug/gets_chk.c: Likewise.
63718         * debug/obprintf_chk.c: Likewise.
63719         * debug/vasprintf_chk.c: Likewise.
63720         * debug/vdprintf_chk.c: Likewise.
63721         * debug/vsnprintf_chk.c: Likewise.
63722         * debug/vsprintf_chk.c: Likewise.
63723         * malloc/mtrace.c: Likewise.
63724         * misc/error.c: Likewise.
63725         * misc/syslog.c: Likewise.
63726         * stdio-common/asprintf.c: Likewise.
63727         * stdio-common/fxprintf.c: Likewise.
63728         * stdio-common/getw.c: Likewise.
63729         * stdio-common/isoc99_fscanf.c: Likewise.
63730         * stdio-common/isoc99_scanf.c: Likewise.
63731         * stdio-common/isoc99_vfscanf.c: Likewise.
63732         * stdio-common/isoc99_vscanf.c: Likewise.
63733         * stdio-common/isoc99_vsscanf.c: Likewise.
63734         * stdio-common/printf-prs.c: Likewise.
63735         * stdio-common/printf_fp.c: Likewise.
63736         * stdio-common/printf_fphex.c: Likewise.
63737         * stdio-common/printf_size.c: Likewise.
63738         * stdio-common/putw.c: Likewise.
63739         * stdio-common/scanf.c: Likewise.
63740         * stdio-common/sprintf.c: Likewise.
63741         * stdio-common/tmpfile.c: Likewise.
63742         * stdio-common/vfprintf.c: Likewise.
63743         * stdio-common/vfscanf.c: Likewise.
63744         * stdlib/strfmon_l.c: Likewise.
63745         * sunrpc/openchild.c: Likewise.
63746         * sunrpc/xdr_stdio.c: Likewise.
63747         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63748         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63750 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63752         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63754         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63755         in the third column, to generate for the shared library an IFUNC
63756         that uses _dl_vdso_vsym.
63757         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63758         * Makeconfig (object-suffixes-noshared): New variable.
63760         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63761         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63762         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63763         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63765         [BZ #14132]
63766         * include/sys/time.h (__gettimeofday): Remove macro.
63767         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63768         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63769         Remove INTDEF.
63770         (__gettimeofday): Add libc_hidden_def.
63771         (gettimeofday): Add libc_hidden_weak.
63772         * sysdeps/mach/gettimeofday.c: Likewise.
63773         * sysdeps/posix/gettimeofday.c: Likewise.
63774         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63775         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63776         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63777         (__gettimeofday_internal): Remove strong_alias.
63778         (__gettimeofday): Add libc_hidden_def.
63779         (gettimeofday): Add libc_hidden_weak.
63780         * sysdeps/unix/syscalls.list (gettimeofday):
63781         Remove __gettimeofday_internal alias.
63783 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63784             H.J. Lu  <hongjiu.lu@intel.com>
63786         [BZ #12495]
63787         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63788         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63789         (largebin_index_32_big): New.
63790         (largebin_index): Use it for 16-byte alignment.
63791         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63792         correction with front_misalign.
63794 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63798         Likewise.
63799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63800         Likewise.
63801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63802         Likewise.
63803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63804         Likewise.
63805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63806         Likewise.
63807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63808         Likewise.
63809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63810         Likewise.
63811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63812         Likewise.
63813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63814         Likewise.
63815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63816         Likewise.
63817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63818         Likewise.
63819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63820         Likewise.
63822         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63823         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63825 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63827         [BZ #10846]
63828         [BZ #14036]
63829         * math/libm-test.inc (exp_test): Add test from bug 14036.
63830         (pow_test): Add test from bug 10846.
63832         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63833         and other flags.
63834         (special_function): Do not include flags in test name.
63835         (parse_args): Likewise.
63836         * sysdeps/i386/fpu/libm-test-ulps: Update.
63837         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63838         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63839         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63842         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63843         exceptions.
63844         * math/libm-test.inc ("Philosophy"): Update comment about
63845         exception testing.
63846         (UNDERFLOW_EXCEPTION): New macro.
63847         (UNDERFLOW_EXCEPTION_OK): Likewise.
63848         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63849         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63850         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63851         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63852         (INVALID_EXCEPTION_OK): Update value.
63853         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63854         (OVERFLOW_EXCEPTION_OK): Likewise.
63855         (IGNORE_ZERO_INF_SIGN): Likewise.
63856         (test_exceptions): Handle underflow exceptions.
63857         (acos_test): Update for underflow exception expectations.
63858         (cexp_test): Likewise.
63859         (clog_test): Likewise.
63860         (clog10_test): Likewise.
63861         (csqrt_test): Likewise.
63862         (ctan_test): Likewise.
63863         (ctanh_test): Likewise.
63864         (exp_test): Likewise.
63865         (exp10_test): Likewise.
63866         (exp2_test): Likewise.
63867         (expm1_test): Likewise.
63868         (fma_test): Likewise.
63869         (j0_test): Likewise.
63870         (jn_test): Likewise.
63871         (nexttoward_test): Likewise.
63872         (pow_test): Likewise.
63873         (scalbn_test): Likewise.
63874         (scalbln_test): Likewise.
63875         (tan_test): Likewise.
63876         (y1_test): Likewise.
63877         * sysdeps/i386/fpu/libm-test-ulps: Update.
63878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63880 2012-05-23  David S. Miller  <davem@davemloft.net>
63882         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63883         (__libc_sigaction): Remove unused local variables.
63885 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63887         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63889 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63891         mktime: avoid signed integer overflow
63892         * time/mktime.c (__mktime_internal): Do not mishandle the case
63893         where diff == INT_MIN.
63895         mktime: simplify computation of average
63896         * time/mktime.c (ranged_convert): Use new time_t_avg function
63897         instead of rolling our own (probably-slower) code.
63899         mktime: do not assume signed right shift propagates sign bit
63900         * time/mktime.c (isdst_differ): New static function.
63901         (__mktime_internal): No need to normalize tm_isdst now.
63902         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63903         tm_isdst values.
63905         mktime: merge another wrapv change from gnulib
63906         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63907         from some compilers.
63909         mktime: remove incorrect attempt at unusual arithmetics
63910         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63911         The code didn't really work on such machines anyway.
63912         (TYPE_MINIMUM): Assume two's complement.
63913         (twos_complement_arithmetic): Verify that long_int and time_t
63914         are two's complement (or unsigned, in the latter case).
63916         mktime: check signed shifts on long_int and time_t, too
63917         * time/mktime.c (SHR): Check that shifts work as desired
63918         on the types long_int and time_t too, as SHR is used on
63919         such types.
63921         mktime: do not assume 'long' is wide enough
63922         * time/mktime.c (verify): Move decl up.
63923         (long_int): New type.
63924         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63925         to remove assumption in the code that 'long' is wide enough to
63926         store year values.  This assumption is not true on x32 and on
63927         some non-glibc platforms.
63929         mktime: merge wrapv change from gnulib
63930         * time/mktime.c (WRAPV): New macro.
63931         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63932         (guess_time_tm, __mktime_internal): Do not assume that signed
63933         integer overflow wraps around; modern compilers generate code
63934         where this assumption is no longer valid.
63936 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63938         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63939         Replace "jmp L(pseudo_end)" with "ret".
63940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63941         Likewise.
63943 2012-05-23  Andreas Jaeger  <aj@suse.de>
63945         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63946         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63948 2012-05-23  Andreas Jaeger  <aj@suse.de>
63949             Maximilian Attems  <max@stro.at>
63951         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63952         New macros.
63954 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63956         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63957         code so that pseudo_end is just ret and the stack pointer is
63958         correct also for static library in error case.
63960 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63962         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63963         move to syscalls.list.
63964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63969         * manual/install.texi (Running make install): Do not mention Linux
63970         kernel version for which pt_chown is not needed.
63971         (Linux): Do not mention problems with nscd with 2.0 kernels.
63972         * INSTALL: Regenerated.
63974 2012-05-23  Andreas Jaeger  <aj@suse.de>
63976         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63977         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63978         macro.
63979         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63980         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63981         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63982         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63983         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63984         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63985         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63987         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63989         * sysdeps/unix/sysv/linux/bits/in.h
63990         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63992 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63994         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63995         (PREPARE_VERSION): Just use assert instead, it will be elided
63996         under [NDEBUG] anyway.
63998 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64000         * sysdeps/unix/sysv/linux/Makefile: Include
64001         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64002         (sysdep_routines): Remove sysctl.
64003         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64004         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64005         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64006         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64007         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64009 2012-05-22  Andreas Jaeger  <aj@suse.de>
64011         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64012         that pseudo_end is just ret and the stack pointer is correct also
64013         for static library in error case.
64015 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64017         [BZ #14122]
64018         * nss/nsswitch.c (defconfig_entries): New variable.
64019         (__nss_database_lookup): Don't leak defconfig entries.
64020         (nss_parse_service_list): Don't leak on error paths.
64021         (free_database_entries): New function.
64022         (free_defconfig): New function.
64023         (free_mem): Move common code to free_database_entries.
64025 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64027         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64028         Add arch_prctl.
64029         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64031         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64032         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64034         New macro.
64035         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64036         (INTERNAL_SYSCALL_TYPES): Likewise.
64037         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64038         (LOAD_REGS_TYPES_[1-6]): Likewise.
64039         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64040         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64042 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64044         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64045         copysignl for GLIBC_2_0.
64046         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64047         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64049         logbl for GLIBC_2_0.
64050         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64051         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64053 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64055         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64056         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64058         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64059         Use "neg %eax".
64061         * time/mktime.c: Update copyright years.
64063 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64065         mktime: merge comment-quoting-style change from gnulib
64066         * time/mktime.c: Quote 'like this' in comments.
64067         The GNU coding standards suggest that we no longer quote `like this',
64068         as "`" and "'" are typically rendered asymmetrically nowadays.
64069         The typical gnulib style is to quote 'like this' when quoting
64070         code, and "like this" when quoting English.
64072         * time/mktime.c (compile-command): Add "-I.".
64074         mktime: merge mktime-internal.h change from gnulib
64075         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64077         mktime: merge time_r change from gnulib
64078         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64080         mktime: merge DEBUG change from gnulib
64081         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64082         case system <time.h> has a #define.
64084         mktime: merge <sys/types.h> change from gnulib
64085         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64086         since <time.t> is now guaranteed to define time_t.
64088         mktime: merge HAVE_CONFIG_H change from gnulib
64089         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64091 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64094         Use "neg %eax".
64096         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64097         __rlim_t cast.
64098         (struct rusage): Use anonymous union to pad each field to
64099         __syscall_slong_t.
64101 2012-05-21  David S. Miller  <davem@davemloft.net>
64103         * Makefules (o-iterator): Remove .s cases.
64104         (compile-command.s): Delete.
64105         (COMPILE.s): Delete.
64106         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64108 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64110         * configure.in (libc_cv_predef_stack_protector): Only consider
64111         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64112         * configure: Regenerated.
64114 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64117         New macro.  Use R*LP on int and pointer.
64118         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64119         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64120         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64121         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64123         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64124         [__WORDSIZE_TIME64_COMPAT32] instead of
64125         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64126         (struct utmp): Likewise.
64127         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64128         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64129         Renamed to ...
64130         (__WORDSIZE_TIME64_COMPAT32): This.
64131         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64132         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64133         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64134         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64135         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64136         (__WORDSIZE_TIME64_COMPAT32): New macro.
64138 2012-05-21  Andreas Jaeger  <aj@suse.de>
64140         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64141         only if [SHARED]. Add prototype for __wcschr_ia32.
64143 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64145         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64146         of %rbp unmolested in the jmp_buf while mangling the low bits.
64147         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64148         unmolested high bits of %rbp while demangling the low bits.
64149         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64151 2012-05-21  Andreas Jaeger  <aj@suse.de>
64153         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64154         * sunrpc/svc_simple.c: Use it for registerrpc.
64155         * sunrpc/xcrypt.c: Use it for passwd2des.
64157         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64159 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64161         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64162         Don't define if [__SYSCALL_WORDSIZE != 32].
64163         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64164         New macro.
64166 2012-05-21  Bruno Haible  <bruno@clisp.org>
64167             Andreas Jaeger  <aj@suse.de>
64169         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64170         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64171         inptr and inend for must_buffer_ch.
64172         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64173         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64174         * stdio-common/Makefile (tests): Remove bug15.
64175         (bug15-ENV): Remove macro.
64176         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64177         anymore.
64179 2012-05-19  Andreas Jaeger  <aj@suse.de>
64180             Roland McGrath  <roland@hack.frob.com>
64182         * manual/contrib.texi: Completely rewritten. It contains now an
64183         alphabetical list of contributors and their contributions.
64185 2012-05-21  Richard Henderson  <rth@twiddle.net>
64187         * misc/getauxval.c (__getauxval): Use unsigned long int.
64188         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64189         (getauxval): Use unsigned long int.
64191 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64193         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64195 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64197         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64198         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64199         __alignof__ (long double).
64201 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64205 2012-05-20  Richard Henderson  <rth@twiddle.net>
64207         * misc/getauxval.c: New file.
64208         * misc/sys/auxv.h: New file.
64209         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64210         (routines): Add getauxval.
64211         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64213         * elf/dl-sysdep.c (_dl_auxv): Remove.
64214         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64215         * elf/dl-support.c (_dl_auxv): New variable.
64216         (_dl_aux_init): Initialize it.
64217         * manual/startup.texi (Auxiliary Vector): New node.
64218         * sysdeps/generic/bits/hwcap.h: New file.
64219         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64220         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64221         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64222         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64223         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64226         Update.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64236 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64240 2012-05-19  David S. Miller  <davem@davemloft.net>
64242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64244 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64246         [BZ #14123]
64247         * math/s_ccosh.c: Include <float.h>
64248         (__ccosh): Avoid internal overflow calculating sinh and cosh
64249         values before multiplying by sin and cos values.
64250         * math/s_ccoshf.c: Likewise.
64251         * math/s_ccoshl.c: Likewise.
64252         * math/s_csin.c: Likewise.
64253         * math/s_csinf.c: Likewise.
64254         * math/s_csinl.c: Likewise.
64255         * math/s_csinh.c: Likewise.
64256         * math/s_csinhf.c: Likewise.
64257         * math/s_csinhl.c: Likewise.
64258         * math/libm-test.inc (ccos_test): Add more tests.
64259         (ccosh_test): Likewise.
64260         (csin_test): Likewise.
64261         (csinh_test): Likewise.
64262         * sysdeps/i386/fpu/libm-test-ulps: Update.
64263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64265 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64267         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64268         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64270         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64272 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64274         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64275         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64276         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64277         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64278         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64279         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64280         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64281         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64282         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64283         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64284         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64285         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64286         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64287         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64288         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64289         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64290         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64291         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64292         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64293         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64294         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64295         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64296         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64297         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64298         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64299         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64300         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64301         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64302         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64303         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64304         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64306 2012-05-18  Andreas Jaeger  <aj@suse.de>
64308         * csu/.gitignore: Delete.
64310 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64312         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64313         (timex): Use __syscall_slong_t.
64315 2012-05-18  Andreas Jaeger  <aj@suse.de>
64316             Carlos O'Donell  <carlos_odonell@mentor.com>
64318         * manual/install.texi (Configuring and compiling): Update
64319         description about files modified in the source directory.
64320         * INSTALL: Regenerated.
64322 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64324         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64325         value.  Use "or" to set return value to -1.
64326         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64327         negate return value.
64329 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64331         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64332         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64333         failure if the compiler has Graphite support disabled.
64334         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64335         Likewise.
64336         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64337         (CFLAGS-memmove.c): Likewise.
64338         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64339         Likewise.
64341 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64343         * sysdeps/x86_64/x32/_itoa.h: New file.
64345         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64346         getdents system call only if kernel and user dirents have the
64347         same d_ino and d_off.
64349         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64350         LLONG_MAX != LONG_MAX.
64351         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64352         (_fitoa_word): Likewise.
64354         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64355         years.
64356         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64357         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64358         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64360         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64361         include <bits/wordsize.h>.  Check __x86_64__ instead of
64362         __WORDSIZE.
64363         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64364         if __x86_64__ is defined.  Use anonymous union on fpstate.
64366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64367         anonymous union.
64369 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64371         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64372         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64373         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64374         Refer to _rtld_local_ro instead of _rtld_global_ro.
64375         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64376         Likewise.
64377         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64378         Likewise.
64379         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64380         Likewise.
64381         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64382         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64383         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64385         [BZ #10882]
64386         * sysdeps/powerpc/powerpc32/dl-machine.c
64387         (__elf_machine_runtime_setup) [PROF]: Don't reference
64388         _dl_prof_resolve.
64390 2012-05-18  Andreas Jaeger  <aj@suse.de>
64392         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64393         function only available for GCCs before 3.4 since GCC 3.4
64394         introduced a builtin.
64395         (lrint): Likewise.
64396         (llrintf): Likewise.
64397         (llrint): Likewise.
64398         (fmaxf): Likewise.
64399         (fmax): Likewise.
64400         (fminf): Likewise.
64401         (fmin): Likewise.
64402         (rint): Likewise.
64403         (rintf): Likewise.
64404         (nearbyint): Likewise.
64405         (nearbyintf): Likewise.
64406         (ceil): Likewise.
64407         (ceilf): Likewise.
64408         (floor): Likewise.
64409         (floorf): Likewise.
64411 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64413         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64414         on both fields and cast pointer to __syscall_ulong_t.
64416         * bits/types.h (__fsword_t): New type.
64417         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64418         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64420         (__FSWORD_T_TYPE): Likewise.
64421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64422         (__FSWORD_T_TYPE): Likewise.
64423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64424         (__FSWORD_T_TYPE): Likewise.
64425         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64426         (__FSWORD_T_TYPE): Likewise.
64427         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64428         __SWORD_TYPE with __fsword_t.
64429         (statfs64): Likewise.
64431 2012-05-17  David S. Miller  <davem@davemloft.net>
64433         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64435 2012-05-17  Andreas Jaeger  <aj@suse.de>
64437         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64438         warning.
64440 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64442         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64444 2012-05-17  Andreas Jaeger  <aj@suse.de>
64446         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64447         when it is used.
64449 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64451         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64453 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64455         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64456         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64458 2012-05-17  Andreas Jaeger  <aj@suse.de>
64459             Carlos O'Donell  <carlos_odonell@mentor.com>
64461         [BZ #14059]
64462         * sysdeps/x86_64/multiarch/init-arch.h
64463         (bit_YMM_Usable): Rename to...
64464         (bit_AVX_Usable): ... this.
64465         (bit_FMA4_Usable): New macro.
64466         (bit_XMM_state): New macro.
64467         (bit_YMM_state): New macro.
64468         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64469         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64470         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64471         (CPUID_OSXSAVE): New macro.
64472         (CPUID_AVX): New macro.
64473         (CPUID_FMA4): New macro.
64474         (index_YMM_Usable): Rename to...
64475         (index_AVX_Usable): ... this.
64476         (HAS_AVX): Use HAS_ARCH_FEATURE.
64477         (HAS_FMA4): Likewise.
64478         (HAS_YMM_USABLE): Remove.
64479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64480         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64481         are present.
64482         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64483         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64484         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64485         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64486         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64488 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64490         * math/libm-test.c: Support platforms without multiple rounding modes.
64491         * math/bug-nextafter.c: Support platforms without FP exceptions.
64492         * math/bug-nexttoward.c: Likewise.
64493         * math/test-fenv.c: Likewise.
64494         * math/test-misc.c: Likewise.
64495         * stdlib/bug-getcontext.c: Likewise.
64497 2012-05-17  Andreas Jaeger  <aj@suse.de>
64499         * manual/examples/search.c (critter_cmp): Change signature to
64500         avoid warnings.
64501         * manual/string.texi (Collation Functions): Likewise.
64503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64505         * bits/types.h: Fold copyright years.
64506         * bits/typesizes.h: Likewise.
64507         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64508         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64511         * time/time.h: Likewise.
64513 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64515         [BZ #208]
64516         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64517         in instead of returning them.  Return void.
64518         (__libc_mallinfo): Accumulate over all arenas.
64519         (__malloc_stats): Adjust for change in int_mallinfo interface.
64521 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64523         [BZ #10375]
64524         * configure.in (NM): Add AC_CHECK_TOOL for it.
64525         (libc_extra_cflags): New substituted variable.
64526         Check for -fstack-protector being used implicitly.
64527         * configure: Regenerated.
64528         * config.make.in (config-extra-cflags): New variable,
64529         gets @libc_extra_cflags@.
64530         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64532         [BZ #10375]
64533         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64534         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64535         * configure: Regenerated.
64536         * config.make.in (CPPUNDEFS): New substituted variable.
64537         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64538         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64539         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64541 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64543         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64544         (mq_attr): Use __syscall_slong_t.
64546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64548         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64549         Check __x86_64__ instead of __WORDSIZE.
64550         (_STAT_VER_LINUX): Likewise.
64551         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64552         __syscall_ulong_t and __syscall_slong_t.
64553         (stat64): Likewise.
64555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64557         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64561         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64565         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64566         __syscall_ulong_t.
64568         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64569         include <bits/wordsize.h>.  Check __x86_64__ instead of
64570         __WORDSIZE.
64571         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64572         defined.
64573         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64575         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64576         include <bits/wordsize.h>.  Check __x86_64__ instead of
64577         __WORDSIZE.
64578         (user_regs_struct): Use "__extension__ unsigned long long"
64579         instead of "unsigned long" if __x86_64__ is defined.
64580         (user): Likewise.  Pad after pointer field if __ILP32__ is
64581         defined.
64583 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64585         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64586         versions 5 to 9.
64587         * configure: Regenerated.
64588         * manual/install.texi (texinfo): Increase version requirement to
64589         4.5 or later.
64590         * INSTALL: Regenerated.
64592         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64596         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64598         * sysdeps/x86_64/x32/ffs.c: New file.
64600         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64601         __syscall_ulong_t.
64602         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64603         defined.  Use __syscall_ulong_t.
64604         (shminfo): Use __syscall_ulong_t.
64605         (shm_info): Likewise.
64607         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64608         __syscall_ulong_t.
64610         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64611         <bits/wordsize.h>.
64612         (msgqnum_t): Use __syscall_ulong_t.
64613         (msglen_t): Likewise.
64614         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64615         __syscall_ulong_t.
64617         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64618         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64620         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64622         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64623         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64625         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64626         __syscall_slong_t.
64628         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64629         include <bits/wordsize.h>.  Check __x86_64__ instead of
64630         __WORDSIZE.
64632         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64633         "unsigned long long int" if __x86_64__ is defined.
64634         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64636         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64637         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64638         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64640         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64641         <stdint.h>.
64642         (GET_PC): Cast to uintptr_t first.
64643         (GET_FRAME): Likewise.
64644         (GET_STACK): Likewise.
64646         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64648         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64649         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64650         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64651         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64652         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64653         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64654         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64655         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64656         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64657         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64658         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64659         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64660         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64661         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64662         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64663         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64664         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64665         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64666         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64667         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64668         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64669         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64670         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64671         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64672         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64676 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64678         * Makerules (+depfiles): Also collect depfiles from .oS in
64679         $(extra-objs).
64680         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64681         .oS, $(libnldbl-routines)).
64683         * Makerules (native-compile-mkdep-flags): Define.
64684         * sunrpc/Makefile (extra-objs): Add $(addprefix
64685         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64686         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64687         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64688         calling $(make-target-directory).
64690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64692         * bits/types.h (__snseconds_t): Removed.
64693         * time/time.h (struct timespec): Replace __snseconds_t with
64694         __syscall_slong_t.
64695         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64696         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64697         Likewise.
64698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64699         (__SNSECONDS_T_TYPE): Likewise.
64700         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64701         (__SNSECONDS_T_TYPE): Likewise.
64702         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64703         (__SNSECONDS_T_TYPE): Likewise.
64705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64707         * sysdeps/mach/hurd/bits/typesizes.h
64708         (__SYSCALL_SLONG_TYPE): New macro.
64709         (__SYSCALL_ULONG_TYPE): Likewise.
64711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64713         * bits/types.h (__syscall_slong_t): New type.
64714         (__syscall_ulong_t): Likewise.
64716         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64717         (__SYSCALL_ULONG_TYPE): Likewise.
64718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64719         (__SYSCALL_SLONG_TYPE): Likewise.
64720         (__SYSCALL_ULONG_TYPE): Likewise.
64721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64722         (__SYSCALL_SLONG_TYPE): Likewise.
64723         (__SYSCALL_ULONG_TYPE): Likewise.
64724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64725         (__SYSCALL_SLONG_TYPE): Likewise.
64726         (__SYSCALL_ULONG_TYPE): Likewise.
64728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64730         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64731         Add sigaltstack-offsets.sym.
64732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64733         <sigaltstack-offsets.h>.
64734         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64735         longjmp_msg pointer.
64736         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64737         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64738         signal stack.
64739         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64741 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64743         * elf/stackguard-macros.h: Remove file.
64744         * sysdeps/generic/stackguard-macros.h: New file.
64745         * sysdeps/i386/stackguard-macros.h: Likewise.
64746         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64747         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64748         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64749         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64750         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64751         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64752         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64753         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64754         <elf/stackguard-macros.h>.
64756         [BZ #14109]
64757         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64758         __aligned__ in attribute.
64759         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64760         (gregset_t): Likewise.
64762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64764         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64765         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64766         * sysdeps/x86_64/x32/Implies-after: New file.
64768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64770         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64771         and access return value for _dl_profile_fixup.  Use R10_LP to
64772         load frame size.
64774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64776         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64780         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64781         * sysdeps/x86_64/x32/sysdep.h: New file.
64783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64785         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64786         * sysdeps/x86_64/setjmp.S: Likewise.
64788 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64790         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64791         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64792         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64793         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64794         remove unused global constant.
64796 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64798         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64799         include of <not-cancel.h>.
64801 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64803         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64805 2012-05-15  Jeff Law  <law@redhat.com>
64806             Andreas Jaeger  <aj@suse.de>
64808         [BZ #13594]
64809         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64810         out from...
64811         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64812         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64813         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64814         code changing __hst_map_handle.map.
64816 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64818         * configure.in (sysnames): Look for Implies-before and Implies-after
64819         files.
64820         * configure: Regenerated.
64822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64824         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64825         8-byte data alignment with LP_SIZE alignment.
64827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64829         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64830         into R10_LP.
64832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64834         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64838         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64839         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64840         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64841         Likewise.
64842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64846         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64847         (stackinfo_sub_sp): Likewise.
64849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64852         RAX_LP.
64854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64857         into R*_LP.
64859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64861         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64862         sizes into R*_LP.
64864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64866         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64870         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64871         into R11_LP and load __x86_64_shared_cache_size_half into
64872         R8_LP.
64874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64876         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64877         R8_LP.
64879 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64882         logb for POWER7.
64883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64884         logbf for POWER7.
64885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64886         logbl for POWER7.
64887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64888         powerpc32/power7/fpu/s_logb.c via #include.
64889         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64890         powerpc32/power7/fpu/s_logbf.c via #include.
64891         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64892         powerpc32/power7/fpu/s_logbl.c via #include.
64894 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64896         * README.libm: Remove file.
64898 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64900         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64901         count for x32.  Use R*_LP and omit operand-size suffix.
64903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64905         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64906         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64907         * sysdeps/x86_64/x32/shlib-versions: New file.
64909 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64911         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64912         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64913         Use _dl_fatal_printf instead.
64915 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64917         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64918         set if not set by the user.  Do not allow for being unset.
64919         * sysdeps/unix/sysv/linux/configure: Regenerated.
64921 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64923         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64924         the `q' suffix from lea and replace .quad with ASM_ADDR.
64926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64929         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64930         instead of $17.
64931         (PTR_DEMANGLE): Likewise.
64933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64935         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64936         (LP_OP): Likewise.
64937         (ASM_ADDR): Likewise.
64938         (RAX_LP): Likewise.
64939         (RBP_LP): Likewise.
64940         (RBX_LP): Likewise.
64941         (RCX_LP): Likewise.
64942         (RDI_LP): Likewise.
64943         (RSI_LP): Likewise.
64944         (RSP_LP): Likewise.
64945         (R8_LP): Likewise.
64946         (R9_LP): Likewise.
64947         (R10_LP): Likewise.
64948         (R10_LP): Likewise.
64949         (R11_LP): Likewise.
64950         (R12_LP): Likewise.
64951         (R13_LP): Likewise.
64952         (R14_LP): Likewise.
64953         (R15_LP): Likewise.
64955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64957         * sysdeps/x86_64/x32/dl-machine.h: New file.
64959 2012-05-14  Andreas Jaeger  <aj@suse.de>
64961         * manual/Makefile (subdir): Remove export of subdir.
64962         (all): Remove target.
64963         (.PHONY): Remove all from list.
64964         (mkinstalldirs): Remove.
64965         (.PHONY): Remove installdirs from list.
64966         ($(inst_infodir)/libc.info): Use make-target-directory.
64967         (installdirs): Remove.
64968         (subdir_%): Remove.
64969         (glibc-targets): Remove.
64970         (lib): Remove.
64971         (stubs): Remove.
64972         ($(objpfx)stubs ../po/manual.pot): Remove.
64973         ($(objpfx)stamp%): Remove.
64974         (make-target-directory): Remove.
64975         (subdir_install): Remove.
64976         (routines): Remove.
64977         (aux): Remove.
64978         (sources): Remove.
64979         (objects): Remove.
64980         (headers): Remove.
64982         [BZ #13750]
64983         * manual/.gitignore: Remove, it's not needed anymore.
64984         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64985         all files in it.
64986         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64987         directory.
64988         (texis): Renamed to $(objpfx)texis.
64989         (texis-path): New, contains path to generated files.
64990         (chapters.%): Use texis-path for complete path, add extra argument
64991         libc-texinfo.sh.
64992         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64993         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64994         (summary,texi, stamp-summary): Use complete path of
64995         files. Generate files in build dir.
64996         (dir-add.texi): Build in build dir.
64997         (libm-err.texi,stamp-libm-err): Likewise.
64998         (version.texi, stamp-version): Likewise.
64999         (.%c.texi): Likewise.
65000         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65001         (mostlyclean): Remove target.
65002         (realclean): Remove target.
65003         (generated): Add new variable with contents from mostlyclean and
65004         realclean, remove entries duplicated in common-mostlyclean, add
65005         stamp-libm-err and stamp-version.
65006         (generated-dirs): Add libc directory.
65007         ($(inst_infodir)/libc.info): Install files from build dir.
65009         * manual/install.texi (Configuring and compiling): Adjust since
65010         the info files are not part of the tar ball anymore.
65012 2012-05-14  Andreas Jaeger  <aj@suse.de>
65014         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65015         variable.
65017 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65019         [BZ #13717]
65020         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65021         to 2.2.0 where earlier.
65022         * sysdeps/unix/sysv/linux/configure: Regenerated.
65023         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65024         Remove conditional code.
65025         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65026         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65027         Remove conditional code.
65028         [!__NR_lchown]: Likewise.
65029         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65030         [__NR_lchown]: Likewise.
65031         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65032         comment referencing __ASSUME_LCHOWN_SYSCALL.
65033         * sysdeps/unix/sysv/linux/i386/sigaction.c
65034         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65035         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65036         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65037         Remove conditional code.
65038         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65039         (__protocol_available): Remove #if 0 code.
65040         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65041         conditional code.
65042         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65043         * sysdeps/unix/sysv/linux/kernel-features.h
65044         (__ASSUME_GETCWD_SYSCALL): Don't define.
65045         (__ASSUME_REALTIME_SIGNALS): Likewise.
65046         (__ASSUME_PREAD_SYSCALL): Likewise.
65047         (__ASSUME_PWRITE_SYSCALL): Likewise.
65048         (__ASSUME_POLL_SYSCALL): Likewise.
65049         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65050         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65051         non-SPARC.
65052         (__ASSUME_SIOCGIFNAME): Don't define.
65053         (__ASSUME_MSG_NOSIGNAL): Likewise.
65054         (__ASSUME_SENDFILE): Define unconditionally.
65055         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65056         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65057         conditional code.
65058         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65059         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65060         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65061         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65062         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65063         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65064         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65066         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65069         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65072         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65078         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65081         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65084         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65087         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65088         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65089         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65090         Remove conditional code.
65091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65092         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65093         Remove conditional code.
65094         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65095         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65096         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65097         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65098         Remove conditional code.
65099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65100         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65101         Remove conditional code.
65102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65103         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65104         Remove conditional code.
65105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65106         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65107         Remove conditional code.
65108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65109         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65110         Remove conditional code.
65111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65112         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65113         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65114         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65115         * sysdeps/unix/sysv/linux/sigaction.c
65116         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65117         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65118         * sysdeps/unix/sysv/linux/sigpending.c
65119         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65120         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65121         * sysdeps/unix/sysv/linux/sigprocmask.c
65122         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65123         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65124         * sysdeps/unix/sysv/linux/sigsuspend.c
65125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65127         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65128         (__libc_missing_rt_sigs): Remove.
65129         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65130         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65131         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65132         Remove conditional code.
65133         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65134         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65135         return 1.
65136         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65137         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65138         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65139         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65141 2012-05-14  Andreas Jaeger  <aj@suse.de>
65143         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65144         it's not used in glibc.
65145         (__coshm1): Likewise.
65146         (__acosh1p): Likewise.
65147         (__sgn): Likewise.
65149         * manual/string.texi (Copying and Concatenation): Add missing
65150         variable in concat example.
65151         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65155         [BZ #14103]
65156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65157         __builtin_clzl with __builtin_clzll.
65159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65161         [BZ #14104]
65162         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65163         libc_freeres_ptr.
65165 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65167         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65168         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65169         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65170         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65172 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65174         * NEWS: Update ia64 info.
65176 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65178         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65179         used as bcopy.
65181 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65183         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65184         * sysdeps/unix/syscalls.list (dup3): Likewise.
65185         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65186         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65188 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65190         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65191         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65193 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65195         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65196         thread pointer.
65197         (TLS_IE): Use mov/add instead of movq/addq to load thread
65198         pointer.
65199         (TLS_GD_PREFIX): New.
65200         (TLS_GD): Use it.
65202 2012-05-11  David S. Miller  <davem@davemloft.net>
65204         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65205         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65206         (_FPU_SETCW): Likewise.
65208 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65210         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65211         is 32-byte aligned.
65213 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65215         [BZ #11837]
65216         * iconvdata/gb18030.c: Update tables.
65217         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65218         characters specially.
65219         (BODY for TO_LOOP): Add encoding of missing ranges.
65221 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65223         [BZ #13673]
65224         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65225         * sysdeps/mach/hurd/dup3.c: Likewise.
65226         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65227         * sysdeps/powerpc/memmove.c:: Likewise.
65229 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65232         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65234 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65236         * elf/elf.h (R_X86_64_RELATIVE64): New.
65237         (R_X86_64_NUM): Updated.
65238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65239         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65240         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65241         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65242         tst-quad1pie tst-quad2pie
65243         (modules-names): Add tst-quadmod1 tst-quadmod2.
65244         ($(objpfx)tst-quad1): New dependency.
65245         ($(objpfx)tst-quad2): Likewise.
65246         ($(objpfx)tst-quad1pie): Likewise.
65247         ($(objpfx)tst-quad2pie): Likewise.
65248         * sysdeps/x86_64/tst-quad1.c: New file.
65249         * sysdeps/x86_64/tst-quad1pie.c: New file.
65250         * sysdeps/x86_64/tst-quad2.c: Likewise.
65251         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65252         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65253         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65254         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65255         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65259         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65260         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65261         * streams/stropts.h (t_scalar_t): Define type.
65263         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65264         (_PATH_PRESERVE): Set to "/var/lib".
65265         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65267         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65268         instead of int.
65270         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65271         if __dir_mkfile succeeded.
65273         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65274         checking for _hurd_dtablesize.  Unlock it right after having
65275         finished _hurd_dtable allocation.
65277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65279         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65280         * sysdeps/mach/hurd/configure: Regenerated.
65281         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65282         special-casing to...
65283         * sysdeps/gnu/configure.in: ... this new file.
65284         * sysdeps/unix/sysv/linux/configure: Regenerated.
65285         * sysdeps/gnu/configure: New generated file.
65287         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65288         for Linux: use nsec instead of usec, as well as:
65289         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65290         members of type struct timespec.
65291         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65292         New macros.
65293         (struct stat64): Likewise.
65294         (_STATBUF_ST_NSEC): New macro.
65295         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65297         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65298         __strtoul_internal rather than strtoul.
65300 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65302         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65303         and reject them.
65305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65307         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65308         which preserves existing values.
65309         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65311 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65313         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65314         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65315         greater than FD_SETSIZE.
65317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65319         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65320         allocated, call __vm_protect to finish enabling the existing space, and
65321         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65322         allocate the remainder.
65324 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65326         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65327         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65331         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65332         sysdeps/mach/hurd/readlink.c.
65334         * posix/tst-sysconf.c (posix_options): Only use
65335         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65336         _POSIX_SYNCHRONIZED_IO when they are defined
65337         * sysdeps/mach/hurd/bits/posix_opt.h:
65338         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65339         (_XOPEN_REALTIME): Undefine macro.
65340         (_XOPEN_REALTIME_THREADS): Undefine macro.
65341         (_XOPEN_SHM): Undefine macro.
65342         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65343         macro to -1.
65344         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65345         macro to -1.
65346         (_POSIX_ASYNC_IO): Undefine macro.
65347         (_POSIX_PRIORITIZED_IO): Undefine macro.
65348         (_POSIX_SPIN_LOCKS): Define macro to -1.
65350         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65351         SA_NODEFER, SA_RESETHAND.
65352         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65353         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65354         F_DUPFD_CLOEXEC.
65356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65358         * elf/Makefile (pldd-modules): Define unconditionally.
65360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65362         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65366         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65367         Return ENOENT when name is empty.
65368         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65372         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65374         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65378         Fix mlock in all cases except non-readable pages.
65379         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65380         instead of VM_PROT_ALL as parameter to __vm_wire function.
65382         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65383         (__mkdir): When path is `/', just fail with EEXIST.
65384         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65388         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65389         <sys/uio.h> (for writev).
65390         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65391         and <sys/param.h> (for MIN).
65393 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65395         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65396         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65397         if interrupted.
65399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65401         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65402         Depend on against $(link-rpcuserlibs).
65404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65406         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65407         (__libc_stack_end): Do not use attribute_relro.
65408         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65409         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65410         to libthread-provided value.
65411         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65412         attribute_relro.
65414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65416         [BZ #3748]
65417         * bits/libc-lock.h (__libc_once_get): New macro.
65418         * sysdeps/mach/bits/libc-lock.h: Likewise.
65419         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65421         instead of using implementation details.
65423         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65424         * libio/freopen.c: Likewise.
65425         * libio/freopen64.c: Likewise.
65426         * misc/syslog.c: Likewise.
65427         * nscd/connections.c: Likewise.
65428         * nscd/netgroupcache.c: Likewise.
65429         * sysdeps/posix/getcwd.c: Likewise.
65431 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65433         * math/w_ilogbf.c: Add #include <limits.h>.
65435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65437         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65438         path instead of returning without unlocking.
65440         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65441         immediate-write ioctls.
65442         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65446         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65447         __builtin_frame_address instead of making assumptions about the
65448         location of the return address relative to DATA.  Force early load of
65449         the return address.
65450         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65451         __builtin_frame_address.
65453         dup3 for GNU Hurd.
65454         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65455         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65456         implement dup3 and do some further code clean-ups.
65457         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65458         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65462         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65464         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65465         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65466         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65467         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65468         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65469         d->port.lock.
65471         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65472         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65473         when handler == SIG_ERR, not when handler != SIG_ERR.
65475 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65477         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65478         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65479         definitions.
65481         accept4 for GNU Hurd.
65482         * include/sys/socket.h (__libc_accept4): New prototype.
65483         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65484         to implement __libc_accept4.
65485         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65486         __libc_accept4.
65487         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65489         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65490         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65491         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65492         signal-defines.sym.
65494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65496         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65500         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65501         assertion on O_CLOEXEC flag.
65502         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65503         * hurd/intern-fd.c: Likewise.
65504         * hurd/port2fd.c: Likewise.
65506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65508         [BZ #3906]
65509         * bits/in.h (IPV6_PKTINFO): Define new macro.
65510         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65512 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65514         [BZ #13954]
65515         [BZ #13955]
65516         [BZ #13956]
65517         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65518         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65519         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65520         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65522         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65523         * math/libm-test.inc (logb_test) : Additional logb tests.
65525 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65526             Andreas Jaeger  <aj@suse.de>
65528         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65529         * configure: Regenerated.
65530         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65531         * config.make.in (link-obsolete-rpc): New substituted variable.
65532         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65533         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65534         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65535         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65536         so that libc.a contains the symbols.
65537         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65538         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65539         * sunrpc/auth_none.c: Likewise.
65540         * sunrpc/auth_unix.c: Likewise.
65541         * sunrpc/authdes_prot.c: Likewise.
65542         * sunrpc/authuxprot.c: Likewise.
65543         * sunrpc/clnt_gen.c: Likewise.
65544         * sunrpc/clnt_perr.c: Likewise.
65545         * sunrpc/clnt_raw.c: Likewise.
65546         * sunrpc/clnt_simp.c: Likewise.
65547         * sunrpc/clnt_tcp.c: Likewise.
65548         * sunrpc/clnt_udp.c: Likewise.
65549         * sunrpc/clnt_unix.c: Likewise.
65550         * sunrpc/des_crypt.c: Likewise.
65551         * sunrpc/des_soft.c: Likewise.
65552         * sunrpc/get_myaddr.c: Likewise.
65553         * sunrpc/key_call.c: Likewise.
65554         * sunrpc/key_prot.c: Likewise.
65555         * sunrpc/netname.c: Likewise.
65556         * sunrpc/pm_getmaps.c: Likewise.
65557         * sunrpc/pm_getport.c: Likewise.
65558         * sunrpc/pmap_clnt.c: Likewise.
65559         * sunrpc/pmap_prot.c: Likewise.
65560         * sunrpc/pmap_prot2.c: Likewise.
65561         * sunrpc/pmap_rmt.c: Likewise.
65562         * sunrpc/publickey.c: Likewise.
65563         * sunrpc/rpc_cmsg.c: Likewise.
65564         * sunrpc/rpc_common.c: Likewise.
65565         * sunrpc/rpc_dtable.c: Likewise.
65566         * sunrpc/rpc_prot.c: Likewise.
65567         * sunrpc/rpc_thread.c: Likewise.
65568         * sunrpc/rtime.c: Likewise.
65569         * sunrpc/svc.c: Likewise.
65570         * sunrpc/svc_auth.c: Likewise.
65571         * sunrpc/svc_raw.c: Likewise.
65572         * sunrpc/svc_run.c: Likewise.
65573         * sunrpc/svc_tcp.c: Likewise.
65574         * sunrpc/svc_udp.c: Likewise.
65575         * sunrpc/svc_unix.c: Likewise.
65576         * sunrpc/svcauth_des.c: Likewise.
65577         * sunrpc/xcrypt.c: Likewise.
65578         * sunrpc/xdr.c: Likewise.
65579         * sunrpc/xdr_array.c: Likewise.
65580         * sunrpc/xdr_float.c: Likewise.
65581         * sunrpc/xdr_intXX_t.c: Likewise.
65582         * sunrpc/xdr_mem.c: Likewise.
65583         * sunrpc/xdr_rec.c: Likewise.
65584         * sunrpc/xdr_ref.c: Likewise.
65585         * sunrpc/xdr_sizeof.c: Likewise.
65586         * sunrpc/xdr_stdio.c: Likewise.
65588 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65591         change.  Update copyright years.
65593 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65595         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65597 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65598             Joseph Myers  <joseph@codesourcery.com>
65599             Paul Pluzhnikov  <ppluzhnikov@google.com>
65601         [BZ #14012]
65602         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65603         requiring rpcgen.
65604         [cross-compiling] (extra-libs): Likewise.
65605         [cross-compiling] (extra-libs-others): Likewise.
65606         [cross-compiling] (librpcsvc-routines): Likewise.
65607         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65608         [cross-compiling] (omit-deps): Likewise.
65609         (sunrpc-CPPFLAGS): New variable.
65610         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65611         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65612         (cross-rpcgen-objs): New variable.
65613         (extra-objs): Append $(cross-rpcgen-objs).
65614         ($(cross-rpcgen-objs)): New rule.
65615         ($(objpfx)cross-rpcgen): Likewise.
65616         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65617         comment.
65618         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65619         ($(objpfx)x%.stmp): Likewise.
65620         * sunrpc/proto.h [IS_IN_build] (_): Define.
65621         [IS_IN_build] (_libc_intl_domainname): Likewise.
65623 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65626         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65627         and R_X86_64_TPOFF64.
65629 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65631         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65632         sysdeps/unix/sysv/syscalls.list.
65633         (stime): Likewise.
65634         (utime): Likewise.
65635         * sysdeps/unix/sysv/syscalls.list: Remove file.
65637 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65639         [BZ #3440]
65640         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65641         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65642         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65643         (__LC_IDENTIFICATION): Make these macros useful in #if
65644         expressions, as required by C99.
65646 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65648         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65649         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65650         after this.
65652 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65654         * stdlib/longlong.h: Updated from GCC.
65656 2012-05-09  Andreas Jaeger  <aj@suse.de>
65658         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65659         default is first entry.
65660         (run_mode): Set type.
65661         (main): Remove informal message about syslog.
65662         (options): Fix typo.
65664         [BZ #14053]
65665         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65666         to asm.
65667         (lrint): Likewise.
65668         (llrintf): Likewise.
65669         (llrint): Likewise.
65670         (rint): Likewise.
65671         (rintf): Likewise.
65672         (nearbyint): Likewise.
65673         (nearbyintf): Likewise.
65675 2012-05-09  Andreas Jaeger  <aj@suse.de>
65676             Pedro Alves  <palves@redhat.com>
65678         * nscd/nscd.c (run_mode): Use enum.
65679         (main): Cleanup coding style issue.
65681 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65682             Andreas Jaeger  <aj@suse.de>
65684         * nscd/nscd.c (go_background): Replaced with...
65685         (run_mode): ... this.
65686         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65687         (options): Add -F --foreground.
65688         (main): Implement it.
65689         (parse_opt): Parse it.
65691 2012-05-09  Andreas Jaeger  <aj@suse.de>
65693         [BZ #14083]
65694         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65695         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65696         -Wconversion warning.
65697         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65698         Likewise.
65700 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65702         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65703         == 0.
65704         (LC_ALL): Use macro-int-constant.
65705         (LC_COLLATE): Likewise.
65706         (LC_CTYPE): Likewise.
65707         (LC_MESSAGES): Likewise.
65708         (LC_MONETARY): Likewise.
65709         (LC_NUMERIC): Likewise.
65710         (LC_TIME): Likewise.
65711         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65712         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65714         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65715         Specify type.
65716         [C99-based standards] (float_t): Expect type.
65717         [C99-based standards] (double_t): Expect type.
65718         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65719         type.
65720         [C99-based standards] (HUGE_VALL): Likewise.
65721         [C99-based standards] (INFINITY): Likewise.
65722         [C99-based standards] (NAN): Likewise.
65723         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65724         [C99-based standards] (FP_NAN): Likewise.
65725         [C99-based standards] (FP_NORMAL): Likewise.
65726         [C99-based standards] (FP_SUBNORMAL): Likewise.
65727         [C99-based standards] (FP_ZERO): Likewise.
65728         [C99-based standards] (FP_FAST_FMA): Use
65729         optional-macro-int-constant.  Specify type.  Require == 1.
65730         [C99-based standards] (FP_FAST_FMAF): Likewise.
65731         [C99-based standards] (FP_FAST_FMAL): Likewise.
65732         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65733         [C99-based standards] (FP_ILOGBNAN): Likewise.
65734         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65735         Specify type.
65736         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65737         [C99-based standards] (math_errhandling): Specify type.
65738         [ISO99 || ISO11] (signgam): Do not allow.
65739         [non-C99-based standards] (copysignf): Do not allow.
65740         [non-C99-based standards] (exp2f): Likewise.
65741         [non-C99-based standards] (log2f): Likewise.
65742         [non-C99-based standards] (modff): Allow.
65743         [non-C99-based standards] (erff): Do not allow.
65744         [non-C99-based standards] (erfcf): Likewise.
65745         [non-C99-based standards] (gammaf): Likewise.
65746         [non-C99-based standards] (hypotf): Likewise.
65747         [non-C99-based standards] (j0f): Likewise.
65748         [non-C99-based standards] (j1f): Likewise.
65749         [non-C99-based standards] (jnf): Likewise.
65750         [non-C99-based standards] (lgammaf): Likewise.
65751         [non-C99-based standards] (tgammaf): Likewise.
65752         [non-C99-based standards] (y0f): Likewise.
65753         [non-C99-based standards] (y1f): Likewise.
65754         [non-C99-based standards] (ynf): Likewise.
65755         [non-C99-based standards] (isnanf): Likewise.
65756         [non-C99-based standards] (acoshf): Likewise.
65757         [non-C99-based standards] (asinhf): Likewise.
65758         [non-C99-based standards] (atanhf): Likewise.
65759         [non-C99-based standards] (cbrtf): Likewise.
65760         [non-C99-based standards] (expm1f): Likewise.
65761         [non-C99-based standards] (ilogbf): Likewise.
65762         [non-C99-based standards] (log1pf): Likewise.
65763         [non-C99-based standards] (logbf): Likewise.
65764         [non-C99-based standards] (nextafterf): Likewise.
65765         [non-C99-based standards] (remainderf): Likewise.
65766         [non-C99-based standards] (rintf): Likewise.
65767         [non-C99-based standards] (scalbf): Likewise.
65768         [non-C99-based standards] (copysignl): Likewise.
65769         [non-C99-based standards] (exp2l): Likewise.
65770         [non-C99-based standards] (log2l): Likewise.
65771         [non-C99-based standards] (modfl): Allow.
65772         [non-C99-based standards] (erfl): Do not allow.
65773         [non-C99-based standards] (erfcl): Likewise.
65774         [non-C99-based standards] (gammal): Likewise.
65775         [non-C99-based standards] (hypotl): Likewise.
65776         [non-C99-based standards] (j0l): Likewise.
65777         [non-C99-based standards] (j1l): Likewise.
65778         [non-C99-based standards] (jnl): Likewise.
65779         [non-C99-based standards] (lgammal): Likewise.
65780         [non-C99-based standards] (tgammal): Likewise.
65781         [non-C99-based standards] (y0l): Likewise.
65782         [non-C99-based standards] (y1l): Likewise.
65783         [non-C99-based standards] (ynl): Likewise.
65784         [non-C99-based standards] (isnanl): Likewise.
65785         [non-C99-based standards] (acoshl): Likewise.
65786         [non-C99-based standards] (asinhl): Likewise.
65787         [non-C99-based standards] (atanhl): Likewise.
65788         [non-C99-based standards] (cbrtl): Likewise.
65789         [non-C99-based standards] (expm1l): Likewise.
65790         [non-C99-based standards] (ilogbl): Likewise.
65791         [non-C99-based standards] (log1pl): Likewise.
65792         [non-C99-based standards] (logbl): Likewise.
65793         [non-C99-based standards] (nextafterl): Likewise.
65794         [non-C99-based standards] (remainderl): Likewise.
65795         [non-C99-based standards] (rintl): Likewise.
65796         [non-C99-based standards] (scalbl): Likewise.
65797         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65798         [non-C99-based standards] (FP_*): Do not allow.
65799         [C99-based standards] (FP_*): Change to
65800         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65801         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65802         allow.
65803         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65804         (SIG_ERR): Likewise.
65805         [X/Open-based standards] (SIG_HOLD): Likewise.
65806         (SIG_IGN): Likewise.
65807         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65808         positive value.
65809         (SIGFPE): Likewise.
65810         (SIGILL): Likewise.
65811         (SIGINT): Likewise.
65812         (SIGSEGV): Likewise.
65813         (SIGTER): Likewise.
65814         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65815         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65816         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65817         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65818         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65819         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65820         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65821         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65822         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65823         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65824         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65825         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65826         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65827         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65828         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65829         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65830         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65831         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65832         [X/Open-based standards] (SIGTRAP): Likewise.
65833         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65834         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65835         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65836         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65837         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65838         allow.
65840 2012-05-08  Ian Wienand  <ianw@vmware.com>
65842         [BZ #14080]
65843         * time/tzset.c (__tzset_parse_tz): Update default rules for
65844         daylight time changes in the Energy Policy Act of 2005.
65846 2012-05-09  Andreas Jaeger  <aj@suse.de>
65848         [BZ #13983]
65849         * elf/ldconfig.c (parse_conf): Change string to make clear that
65850         ldconfig only issued a warning if ld.so.conf does not exist.
65852 2012-05-08  David S. Miller  <davem@davemloft.net>
65854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65855         movxtod instead of popping the value on the stack.
65857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65859 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65861         * config.h.in: Add HAVE_ARM_PCS_VFP.
65863 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65865         [BZ #13979]
65866         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65867         checking but the checks are disabled for any reason.
65869 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65871         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65872         and ELF64_R_TYPE with ELFW(R_TYPE).
65874 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65876         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65877         (ulimit): Likewise.
65879         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65880         (settimeofday): Likewise.
65882 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65884         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65885         a struct th_u2 inside the union, and move tu_block/tu_code into
65886         a new th_u3 union of tu_block/tu_code inside of that.  Move
65887         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65888         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65889         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65890         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65891         (th_stuff): Change to th_u1.tu_stuff.
65892         (th_data): Define.
65893         (th_msg): Change to th_u1.th_u2.tu_data.
65895 2012-05-07  David S. Miller  <davem@davemloft.net>
65897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65899         [BZ #14074]
65900         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65901         (SETUP_PIC_REG): Use it.
65902         (SETUP_PIC_REG_LEAF): Use it.
65904 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65906         [BZ #13885]
65907         [BZ #13923]
65908         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65909         USE_AS_EXPM1L.
65910         (EXPL_FINITE): Likewise.
65911         (FLDLOG): Likewise.
65912         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65913         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65914         e_expl.S.
65915         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65916         USE_AS_EXPM1L.
65917         (EXPL_FINITE): Likewise.
65918         (FLDLOG): Likewise.
65919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65920         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65921         e_expl.S.
65922         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65923         test of -max_value argument for long double.
65924         * sysdeps/i386/fpu/libm-test-ulps: Update.
65925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65927 2012-05-06  David S. Miller  <davem@davemloft.net>
65929         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65930         quad soft-float symbols whose references which are compiler
65931         generated.
65932         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65934 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65936         [BZ #13884]
65937         [BZ #13914]
65938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65939         USE_AS_EXP10L.
65940         (EXPL_FINITE): Likewise.
65941         (FLDLOG): Likewise.
65942         (c0): Likewise.
65943         (c1): Likewise.
65944         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65945         Adjust comments for base varying.
65946         (__expl_finite): Change alias to EXPL_FINITE.
65947         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65948         e_expl.S.
65949         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65950         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65951         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65952         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65954         USE_AS_EXP10L.
65955         (EXPL_FINITE): Likewise.
65956         (FLDLOG): Likewise.
65957         (c0): Likewise.
65958         (c1): Likewise.
65959         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65960         Adjust comments for base varying.
65961         (__expl_finite): Change alias to EXPL_FINITE.
65962         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65963         tests for bugs.
65964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65966         [BZ #14064]
65967         * math/libm-test.inc (check_float_internal): Correct ulp
65968         calculation for subnormal expected results.
65970 2012-05-06  Andreas Jaeger  <aj@suse.de>
65972         * Makeconfig (+math-flags): New, set to -frounding-math.
65973         (+cflags): Add +math-flags so that all of glibc gets compiled with
65974         it.
65976         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65978 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65980         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65981         Disable one test.
65983         [BZ #13787]
65984         [BZ #13922]
65985         [BZ #14036]
65986         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65987         (__ieee754_expl): Allow for and saturate large arguments.
65988         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65989         (u_threshold): Likewise.
65990         (__exp): Call __ieee754_exp before checking for overflow and
65991         underflow.
65992         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65993         (u_threshold): Likewise.
65994         (__expf): Call __ieee754_expf before checking for overflow and
65995         underflow.
65996         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65997         (u_threshold): Likewise.
65998         (__expl): Call __ieee754_expl before checking for overflow and
65999         underflow.
66000         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66001         (__ieee754_expl): Allow for and saturate large arguments.
66002         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66003         missing overflow exception on overflow.
66004         (expm1_test): Do not allow missing overflow exception on overflow.
66006         * sysdeps/i386/fpu/e_expl.c: Move to ...
66007         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66008         rather than using inline asm.
66009         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66010         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66011         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66013         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66014         (nice): Likewise.
66015         (poll): Likewise.
66016         (signal): Likewise.
66017         (time): Likewise.
66018         (times): Likewise.
66020 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66022         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66023         sysdeps/unix/common/syscalls.list.
66024         (fchmod): Likewise.
66025         (fchown): Likewise.
66026         (ftruncate): Likewise.
66027         (getrusage): Likewise.
66028         (gettimeofday): Likewise.
66029         (setpgid): Likewise.
66030         (setregid): Likewise.
66031         (setreuid): Likewise.
66032         (sigaction): Likewise.
66033         (truncate): Likewise.
66034         (vhangup): Likewise.
66035         * sysdeps/unix/common/syscalls.list: Remove file.
66036         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66037         * sysdeps/unix/sysv/linux/Implies: Likewise.
66039 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66041         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66043         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66044         Moved to ...
66045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66046         Here.
66047         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66048         to ...
66049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66050         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66051         to ...
66052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66053         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66054         to ...
66055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66056         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66057         to ...
66058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66059         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66060         to ...
66061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66062         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66063         to ...
66064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66065         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66066         to ...
66067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66068         Here.
66069         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66070         to ...
66071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66072         Here.
66073         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66074         to ...
66075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66076         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66077         Moved to ...
66078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66079         Here.
66080         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66081         to ...
66082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66084 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66086         * sysdeps/unix/common/bits/dirent.h: Remove file.
66087         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66089         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66090         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66091         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66092         * sysdeps/unix/bsd/isatty.c: Likewise.
66093         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66094         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66095         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66097 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66099         [BZ #13563]
66100         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66101         long double comparison inaccuracies.
66102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66105 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66107         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66108         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66110 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66112         [BZ #14049]
66113         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66114         nonzero digits before rounding a hex value.
66115         * stdlib/tst-strtod.c (tests): Add another test.
66117 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66119         * sysdeps/s390/fpu/libm-test-ulps: Update.
66121 2012-05-03  Andreas Jaeger  <aj@suse.de>
66123         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66124         does not get optimized out.
66125         (malloc_opt_barrier): New.
66127 2012-05-03  Andreas Jaeger  <aj@suse.de>
66128             Roland McGrath  <roland@hack.frob.com>
66130         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66131         intermediate file deletion.
66132         (generated): Add .symlist files.
66134 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66136         [BZ #13775]
66137         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66138         Redirect under this condition.
66139         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66140         [__USE_GNU] (__dprintf_chk): Not under this condition.
66141         [__USE_GNU] (__vdprintf_chk): Likewise.
66142         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66143         under this condition.
66144         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66145         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66146         [__USE_XOPEN2K8] (vdprintf): Likewise.
66147         [__USE_GNU] (__dprintf_chk): Not under this condition.
66148         [__USE_GNU] (__vdprintf_chk): Likewise.
66149         [__USE_GNU] (dprintf): Likewise.
66150         [__USE_GNU] (vdprintf): Likewise.
66152 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66154         * elf/Makefile (common-generated): Set this instead of generated for
66155         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66156         $(all-built-dso)-derived lists.
66158 2012-05-03  Andreas Jaeger  <aj@suse.de>
66160         * sysdeps/i386/fpu/libm-test-ulps: Update.
66162         * FAQ: Removed.
66163         * FAQ.in: Likewise.
66164         * scripts/gen-FAQ.pl: Likewise.
66165         * manual/install.texi (Installation): Point to online location of
66166         FAQ.
66167         * Makefile (files-for-dist): Remove FAQ.
66168         (FAQ): Remove.
66170 2012-05-02  Allan McRae  <allan@archlinux.org>
66172         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66173         (LDFLAGS-reldepmod5.so): Likewise.
66174         (LDFLAGS-reldep6mod1.so): Likewise.
66175         (LDFLAGS-reldep6mod4.so): Likewise.
66176         (LDFLAGS-reldep8mod3.so): Likewise.
66177         (LDFLAGS-unload4mod1.so): Likewise.
66178         (LDFLAGS-unload4mod2.so): Likewise.
66179         (LDFLAGS-tst-initorder): Likewise.
66180         (LDFLAGS-tst-initordera2.so): Likewise.
66181         (LDFLAGS-tst-initordera3.so): Likewise.
66182         (LDFLAGS-tst-initordera4.so): Likewise.
66183         (LDFLAGS-tst-initorderb2.so): Likewise.
66184         (LDFLAGS-noload): Likewise.
66185         (LDFLAGS-next): Likewise.
66186         (LDFLAGS-order2mod1.so): Likewise.
66187         (LDFLAGS-order2mod2.so): Likewise.
66188         (LDFLAGS-tst-initorder2): Likewise.
66189         (LDFLAGS-tst-initorder2a.so): Likewise.
66190         (LDFLAGS-tst-initorder2b.so): Likewise.
66191         (LDFLAGS-tst-initorder2c.so): Likewise.
66192         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66194 2012-05-02  David S. Miller  <davem@davemloft.net>
66196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66198 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66200         [BZ #14055]
66201         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66203 2012-05-02  Andreas Jaeger  <aj@suse.de>
66205         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66206         since we manipulate rounding mode.
66207         (CPPFLAGS-test-idouble.c): Likewise.
66208         (CPPFLAGS-test-ifloat.c): Likewise.
66209         (CFLAGS-test-ldouble.c): Likewise.
66210         (CFLAGS-test-double.c): Likewise.
66211         (CFLAGS-test-float.c): Likewise.
66212         (CFLAGS-test-misc.c): Likewise.
66213         (CFLAGS-test-test-fenv.c): Likewise.
66215 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66217         [BZ #2550]
66218         [BZ #2570]
66219         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66220         comparisons to determine direction to adjust input.
66222 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66224         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66225         output to the target.
66227         * scripts/localplt.awk: New file.
66228         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66229         (check-localplt-CFLAGS): Variable removed.
66230         ($(all-built-dso:=.jmprel)): New static pattern rule.
66231         (generated): Add those targets.
66232         (localplt-built-dso): New variable.
66233         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66235         * elf/check-localplt.c: File removed.
66237         * scripts/check-execstack.awk: New file.
66238         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66239         (check-execstack-CFLAGS): Variable removed.
66240         ($(objpfx)check-execstack.h): Target removed.
66241         ($(objpfx)execstack-default): New target.
66242         (generated): Add that instead of check-execstack.h.
66243         ($(all-built-dso:=.phdr)): New static pattern rule.
66244         (generated): Add those targets.
66245         * elf/check-execstack.c: File removed.
66247         * scripts/check-textrel.awk: New file.
66248         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66249         (check-textrel-CFLAGS): Variable removed.
66250         (all-built-dso): Use := to define.o
66251         ($(all-built-dso:=.dyn)): New static pattern rule.
66252         (generated): Add those targets.
66253         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66254         * config.make.in (READELF): New substituted variable.
66255         * elf/check-textrel.c: File removed.
66257 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66259         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66260         allow.
66261         * conform/data/ctype.h-data [C99-based standards] (isblank):
66262         Expect function.
66263         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66264         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66266         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66267         Specify type.  Require positive value.
66268         (EILSEQ): Likewise.
66269         (ERANGE): Likewise.
66270         [ISO || POSIX] (EILSEQ): Do not expect.
66271         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66272         Specify type.  Require positive value.
66273         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66274         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66275         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66276         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66277         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66278         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66279         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66280         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66281         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66282         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66283         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66284         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66285         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66286         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66287         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66288         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66289         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66290         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66291         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66292         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66293         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66294         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66295         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66296         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66297         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66298         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66299         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66300         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66301         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66302         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66303         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66304         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66305         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66306         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66307         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66308         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66309         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66310         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66311         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66312         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66313         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66314         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66315         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66316         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66317         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66318         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66319         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66320         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66321         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66322         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66323         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66324         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66325         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66326         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66327         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66328         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66329         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66330         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66331         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66332         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66333         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66334         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66335         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66336         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66337         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66338         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66339         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66340         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66341         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66342         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66343         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66344         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66345         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66346         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66347         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66348         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66349         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66350         Require >= 2.
66351         (FLT_ROUNDS): Expect as macro, not constant.
66352         (FLT_MANT_DIG): Use macro-int-constant.
66353         (DBL_MANT_DIG): Likewise.
66354         (LDBL_MANT_DIG): Likewise.
66355         (FLT_DIG): Likewise.
66356         (DBL_DIG): Likewise.
66357         (LDBL_DIG): Likewise.
66358         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66359         (DBL_MIN_EXP): Likewise.
66360         (LDBL_MIN_EXP): Likewise.
66361         (FLT_MAX_EXP): Use macro-int-constant.
66362         (DBL_MAX_EXP): Likewise.
66363         (LDBL_MAX_EXP): Likewise.
66364         (FLT_MAX_10_EXP): Likewise.
66365         (DBL_MAX_10_EXP): Likewise.
66366         (LDBL_MAX_10_EXP): Likewise.
66367         (FLT_MAX): Use macro-constant.
66368         (DBL_MAX): Likewise.
66369         (LDBL_MAX): Likewise.
66370         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66371         (DBL_EPSILON): Likewise.
66372         (LDBL_EPSILON): Likewise.
66373         (FLT_MIN): Likewise.
66374         (DBL_MIN): Likewise.
66375         (LDBL_MIN): Likewise.
66376         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66377         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66378         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66379         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66380         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66381         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66382         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66383         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66384         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66385         [ISO11] (FLT_TRUE_MIN): Likewise.
66386         [ISO11] (LDBL_TRUE_MIN): Likewise.
66387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66388         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66389         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66390         (SCHAR_MAX): Likewise.
66391         (UCHAR_MAX): Likewise.
66392         (CHAR_MIN): Likewise.
66393         (CHAR_MAX): Likewise.
66394         (MB_LEN_MAX): Use macro-int-constant.
66395         (SHRT_MIN): Use macro-int-constant.  Specify type.
66396         (SHRT_MAX): Likewise.
66397         (USHRT_MAX): Likewise.
66398         (INT_MAX): Likewise.
66399         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66400         bound negative.
66401         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66402         bound with "U".
66403         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66404         bound with "L".
66405         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66406         bound negative.  Suffix upper bound with "L".
66407         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66408         bound with "UL".
66409         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66410         Specify type.
66411         [C99-based standards] (LLONG_MAX): Likewise.
66412         [C99-based standards] (ULLONG_MAX): Likewise.
66413         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66414         == 0.
66415         [ISO11] (max_align_t): Require type.
66416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66418         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66419         from $CFLAGS, without defining away __attribute__ calls.
66420         (checknamespace): Use $CFLAGS_namespace.
66422         * conform/conformtest.pl (@keywords): Only include C99 keywords
66423         for standards based on C99 or C11.
66425         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66426         Disable tests.
66427         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66428         UNIX98]: Likewise.
66430         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66431         usability of symbols in #if.
66433         * conform/conformtest.pl: If macro or constant types start
66434         "promoted:", expect the symbol to be of the following type
66435         promoted by the integer promotions.
66437         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66438         in one place.  Also handle "macro-constant".
66440         * conform/conformtest.pl: Only accept expected macro values with
66441         "==".  Parse all "macro" lines in one place.
66442         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66444         * conform/conformtest.pl: Handle braced types on "constant" lines
66445         instead of handling "typed-constant".
66446         * conform/data/signal.h-data: Use "constant" instead of
66447         "typed-constant".
66449         * conform/conformtest.pl: Handle "optional-" at start of lines in
66450         one place rather than duplicating several cases.  Handle each
66451         format of "macro" line with initial "optional-".
66453         * conform/conformtest.pl: Only accept expected constant or
66454         optional-constant values with "==".  Parse all "constant" lines in
66455         one place.  Parse all "optional-constant" lines in one place.
66456         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66457         * conform/data/fmtmsg.h-data: Likewise.
66458         * conform/data/netinet/in.h-data: Likewise.
66459         * conform/data/tar.h-data: Likewise.
66460         * conform/data/limits.h-data: Use "==" form on "constant" and
66461         "optional-constant" lines.
66463         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66464         Use -std=c99 for XOPEN2K.
66465         (@knownproblems): Remove.
66466         (newtoken): Don't check %isknown.
66468         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66469         Do not expect macro.
66470         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66471         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66472         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66473         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66474         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66475         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66476         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66477         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66478         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66479         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66480         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66481         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66482         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66483         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66484         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66485         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66486         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66487         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66488         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66489         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66490         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66491         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66492         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66493         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66494         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66495         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66496         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66497         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66498         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66499         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66500         [XPG3] (acosh): Likewise.
66501         [XPG3] (asinh): Likewise.
66502         [XPG3] (atanh): Likewise.
66503         [XPG3] (cbrt): Likewise.
66504         [XPG3] (expm1): Likewise.
66505         [XPG3] (ilogb): Likewise.
66506         [XPG3] (log1p): Likewise.
66507         [XPG3] (logb): Likewise.
66508         [XPG3] (nextafter): Likewise.
66509         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66510         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66511         [XPG3] (remainder): Likewise.
66512         [XPG3] (rint): Likewise.
66513         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66514         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66515         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66516         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66517         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66518         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66519         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66520         [UNIX98 || XOPEN2K] (scalb): Expect.
66521         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66522         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66523         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66524         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66525         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66526         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66527         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66528         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66529         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66530         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66531         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66532         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66533         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66534         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66535         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66536         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66537         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66538         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66539         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66540         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66541         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66542         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66543         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66544         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66545         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66546         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66547         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66548         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66549         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66550         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66551         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66552         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66553         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66554         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66555         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66556         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66557         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66558         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66559         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66560         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66561         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66562         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66563         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66564         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66565         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66566         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66567         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66568         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66569         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66570         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66571         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66572         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66573         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66574         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66575         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66576         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66577         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66578         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66579         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66580         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66581         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66582         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66583         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66584         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66585         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66586         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66587         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66588         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66589         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66590         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66591         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66592         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66593         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66594         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66595         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66596         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66597         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66598         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66599         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66600         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66601         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66602         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66603         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66604         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66605         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66606         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66607         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66608         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66609         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66610         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66611         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66612         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66613         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66614         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66615         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66616         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66617         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66618         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66619         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66620         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66621         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66622         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66623         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66624         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66625         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66626         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66627         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66628         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66629         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66630         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66631         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66632         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66633         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66634         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66635         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66636         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66637         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66638         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66639         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66640         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66641         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66642         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66643         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66644         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66645         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66646         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66647         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66648         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66649         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66650         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66651         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66652         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66653         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66654         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66655         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66656         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66657         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66659         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66660         _XOPEN_SOURCE_EXTENDED for XPG4.
66662         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66664         * Makeconfig (localtime): Remove variable.
66665         (inst_localtime-file): Likewise.
66667 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66670         Update.
66671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66672         Update.
66673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66674         Update.
66675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66676         Update.
66677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66678         Update.
66679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66680         Update.
66681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66682         Update.
66683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66684         Update.
66685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66686         Update.
66688 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66690         [BZ #2550]
66691         [BZ #2570]
66692         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66693         comparisons to determine direction to adjust input.
66694         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66695         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66696         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66697         Likewise.
66698         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66699         Likewise.
66700         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66701         Likewise.
66702         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66703         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66704         Likewise.
66705         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66706         Likewise.
66707         * math/libm-test.inc (nexttoward_test): Add more tests.
66709 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66711         [BZ #14040]
66712         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66713         in version GLIBC_2.1, not GLIBC_2.0.
66714         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66715         Likewise.
66717 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66719         [BZ #13942]
66720         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66721         (1 - x) * (1 + x).
66722         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66723         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66724         * math/libm-test.inc (acos_test): Add more tests.
66725         (asin_test): Likewise.
66726         * sysdeps/i386/fpu/libm-test-ulps: Update.
66727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66729         [BZ #14034]
66730         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66731         of square root.
66732         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66733         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66734         * math/libm-test.inc (acos_test_tonearest): New function.
66735         (acos_test_towardzero): Likewise.
66736         (acos_test_downward): Likewise.
66737         (acos_test_upward): Likewise.
66738         (asin_test_tonearest): Likewise.
66739         (asin_test_towardzero): Likewise.
66740         (asin_test_downward): Likewise.
66741         (asin_test_upward): Likewise.
66742         (main): Call the new functions.
66743         * sysdeps/i386/fpu/libm-test-ulps: Update.
66744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66746         [BZ #13884]
66747         [BZ #13924]
66748         * math/e_exp10.c: Include <float.h>.
66749         (__ieee754_exp10): Handle underflow here rather than multiplying
66750         large negative argument by M_LN10.
66751         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66752         of __ieee754_expf.
66753         * math/e_exp10l.c: Include <float.h>.
66754         (__ieee754_exp10l): Handle underflow here rather than multiplying
66755         large negative argument by M_LN10l.
66756         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66757         spurious overflow exception on underflow.
66759 2012-04-29  Marek Polacek  <polacek@redhat.com>
66761         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66762         (__fortify_function): New macro.
66763         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66764         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66765         __extern_always_inline.
66766         * libio/bits/stdio2.h: Likewise.
66767         * libio/bits/stdio.h: Likewise.
66768         * string/string.h: Likewise.
66769         * string/bits/string3.h: Likewise.
66770         * include/stdio.h: Likewise.
66771         * stdlib/bits/stdlib.h: Likewise.
66772         * stdlib/stdlib.h: Likewise.
66773         * rt/bits/mqueue2.h: Likewise.
66774         * rt/mqueue.h: Likewise.
66775         * posix/bits/unistd.h: Likewise.
66776         * posix/unistd.h: Likewise.
66777         * io/bits/poll2.h: Likewise.
66778         * io/bits/fcntl2.h: Likewise.
66779         * io/fcntl.h: Likewise.
66780         * io/sys/poll.h: Likewise.
66781         * misc/bits/syslog.h: Likewise.
66782         * misc/bits/syslog-ldbl.h: Likewise.
66783         * misc/sys/syslog.h: Likewise.
66784         * socket/bits/socket2.h: Likewise.
66785         * socket/sys/socket.h: Likewise.
66786         * debug/tst-chk1.c: Likewise.
66787         * wcsmbs/bits/wchar2.h: Likewise.
66788         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66789         * wcsmbs/wchar.h: Likewise.
66791 2012-04-29  Andreas Jaeger  <aj@suse.de>
66793         * Makerules (tests): Remove enable-check-abi protection.
66794         (check-abi-warn): Remove.
66795         (check-abi-%): Remove check-abi-warn usage.
66797         * configure.in: Remove check-abi configure option.
66798         * configure: Regenerated.
66799         * config.make.in (enable-check-abi): Remove.
66801 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66803         [BZ #14033]
66804         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66805         double functions to double *_finite functions.
66807         [BZ #13941]
66808         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66809         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66810         LDBL_MIN_EXP.
66811         * stdio-common/Makefile (tests): Add tst-sprintf3.
66812         * stdio-common/tst-sprintf3.c: New file.
66814         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66815         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66817 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66819         * conform/conformtest.pl: Remove duplicate typed-constant
66820         handling.
66822 2012-04-28  David S. Miller  <davem@davemloft.net>
66824         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66825         (check-abi-%): Remove AWK script prerequisite and explicit
66826         abilist directory.
66827         (check-abi): Rewrite to just diff the symlist with the abilist.
66828         (config-tls, config-abi-config): Delete, no longer used.
66829         (update-abi-%): Remove AWK script and explicit abilist directory.
66830         (update-abi): Rewrite to simply compare and conditionally copy the
66831         symlist and the sysdep abilist file.  Remove update-abi-config
66832         checks.
66833         * abilist/ld.abilist: Remove.
66834         * abilist/libBrokenLocale.abilist: Remove.
66835         * abilist/libanl.abilist: Remove.
66836         * abilist/libcrypt.abilist: Remove.
66837         * abilist/libdl.abilist: Remove.
66838         * abilist/librt.abilist: Remove.
66839         * abilist/libthread_db.abilist: Remove.
66840         * abilist/libutil.abilist: Remove.
66841         * scripts/extract-abilist.awk: Remove.
66842         * scripts/merge-abilist.awk: Remove.
66843         * sysdeps/generic/libcidn.abilist: New file.
66844         * sysdeps/generic/libnss_compat.abilist: New file.
66845         * sysdeps/generic/libnss_db.abilist: New file.
66846         * sysdeps/generic/libnss_dns.abilist: New file.
66847         * sysdeps/generic/libnss_files.abilist: New file.
66848         * sysdeps/generic/libnss_hesiod.abilist: New file.
66849         * sysdeps/generic/libnss_nis.abilist: New file.
66850         * sysdeps/generic/libnss_nisplus.abilist: New file.
66851         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66852         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66853         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66854         file.
66855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66856         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66857         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66858         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66859         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66860         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66861         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66862         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66863         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66864         file.
66865         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66866         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66867         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66868         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66869         file.
66870         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66871         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66872         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66873         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66874         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66875         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66876         file.
66877         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66878         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66879         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66880         file.
66881         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66883         New file.
66884         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66885         New file.
66886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66887         New file.
66888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66889         New file.
66890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66891         New file.
66892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66893         New file.
66894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66895         New file.
66896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66897         New file.
66898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66899         New file.
66900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66901         New file.
66902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66903         New file.
66904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66905         New file.
66906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66907         New file.
66908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66909         file.
66910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66911         New file.
66912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66913         New file.
66914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66915         file.
66916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66917         New file.
66918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66919         New file.
66920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66921         file.
66922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66923         New file.
66924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66925         New file.
66926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66927         New file.
66928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66929         New file.
66930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66931         New file.
66932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66933         New file.
66934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66936         file.
66937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66938         New file.
66939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66940         file.
66941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66942         file.
66943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66944         file.
66945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66946         file.
66947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66948         file.
66949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66950         New file.
66951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66952         file.
66953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66954         file.
66955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66956         New file.
66957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66958         file.
66959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66961         file.
66962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66963         New file.
66964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66965         file.
66966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66967         file.
66968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66969         file.
66970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66971         file.
66972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66973         file.
66974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66975         New file.
66976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66977         file.
66978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66979         file.
66980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66981         New file.
66982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66983         file.
66984         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66985         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66986         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66987         file.
66988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66989         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66990         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66991         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66992         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66993         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66994         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66995         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66996         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66997         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67000         file.
67001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67002         New file.
67003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67004         file.
67005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67006         file.
67007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67008         file.
67009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67010         file.
67011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67012         file.
67013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67014         New file.
67015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67016         New file.
67017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67018         file.
67019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67020         New file.
67021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67022         file.
67023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67025         file.
67026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67027         New file.
67028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67029         file.
67030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67031         file.
67032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67033         file.
67034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67035         file.
67036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67037         file.
67038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67039         New file.
67040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67041         New file.
67042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67043         file.
67044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67045         New file.
67046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67047         file.
67049 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67051         * conform/conformtest.pl: Fix typo in handling typed-constant from
67052         allow-header.
67054 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67056         * README: Cut down references to pre-2.6 Linux kernels and
67057         Linuxthreads.  Update lists of configurations in libc and ports
67058         and sort alphabetically.  Say "or newer" with Linux kernel version
67059         requirements.
67061         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67063 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67065         [BZ #887]
67066         * math/libm-test.inc (logb_test_downward): New test to expose
67067         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67068         rounding mode.
67070 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67072         [BZ #14027]
67073         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67074         to be done.
67075         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67076         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67078 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67080         * sysdeps/unix/i386/brk.S: Remove file.
67081         * sysdeps/unix/i386/dl-brk.S: Likewise.
67082         * sysdeps/unix/i386/pipe.S: Likewise.
67083         * sysdeps/unix/i386/sigreturn.S: Likewise.
67084         * sysdeps/unix/i386/syscall.S: Likewise.
67085         * sysdeps/unix/i386/vfork.S: Likewise.
67086         * sysdeps/unix/i386/wait.S: Likewise.
67088         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67089         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67091         * configure.in (arm*-none*): Do not allow without
67092         --enable-hacker-mode.
67093         (netbsd*): Remove case setting base_os.
67094         (386bsd*): Likewise.
67095         (freebsd*): Likewise.
67096         (bsdi*): Likewise.
67097         (osf*): Likewise.
67098         (sunos*): Likewise.
67099         (ultrix*): Likewise.
67100         (newsos*): Likewise.
67101         (dynix*): Likewise.
67102         (*bsd*): Likewise.
67103         (sysv*): Likewise.
67104         (isc*): Likewise.
67105         (esix*): Likewise.
67106         (sco*): Likewise.
67107         (minix*): Likewise.
67108         (irix4*): Likewise.
67109         (irix6*): Likewise.
67110         (solaris[2-9]*): Likewise.
67111         (none): Likewise.
67112         * configure: Regenerated.
67114 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67116         [BZ #11521]
67117         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67118         overflow or cancellation in calculating denominator.
67119         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67120         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67121         down expression to avoid unexpected rounding in newer GCCs.
67122         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67124 2012-04-26  David S. Miller  <davem@davemloft.net>
67126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67127         long-double compat symbols.
67128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67142 2012-04-25  David S. Miller  <davem@davemloft.net>
67144         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67145         HWCAP_* values only after the memory barriers have been defined.
67146         (atomic_full_barrier): Define.
67147         (atomic_read_barrier): Define.
67148         (atomic_write_barrier): Define.
67150 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67152         * shlib-versions: Add libgcc_s version information.
67153         * sysdeps/generic/libgcc_s.h: Remove.
67154         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67155         libgcc_s.h.
67156         * sysdeps/gnu/unwind-resume.c: Likewise.
67157         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67159 2012-04-25  David S. Miller  <davem@davemloft.net>
67161         * sysdeps/unix/sparc/brk.S: Delete.
67162         * sysdeps/unix/sparc/dl-brk.S: Delete.
67163         * sysdeps/unix/sparc/pipe.S: Delete.
67164         * sysdeps/unix/sparc/sysdep.S: Delete.
67165         * sysdeps/unix/sparc/sysdep.h: Delete.
67166         * sysdeps/unix/sparc/vfork.S: Delete.
67167         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67168         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67169         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67170         (ret_ERRVAL, r0, r1, MOVE): Define.
67171         (JUMPTARGET): Remove.
67172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67173         sysdeps/unix/sparc/sysdep.h
67174         (ENTRY, END): Remove.
67175         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67177 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67179         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67180         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67181         -DIS_IN_build.
67183         * timezone/README: Update upstream location and email address for
67184         tzcode and tzdata.
67185         * timezone/zdump.c: Update from tzcode 2012b.
67186         * timezone/zic.c: Likewise.
67188         * configure.in (libc_cv_as_needed): Remove test.
67189         * configure: Regenerated.
67190         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67191         conditional definition.
67192         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67193         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67194         * config.make.in (have-as-needed): Remove variable.
67196 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67197             Paul Pluzhnikov  <ppluzhnikov@google.com>
67199         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67200         strings correctly.
67202 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67204         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67205         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67206         * sysdeps/sh/strlen.S: Likewise.
67208 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67210         * sysdeps/unix/fork.S: Remove file.
67211         * sysdeps/unix/i386/fork.S: Likewise.
67212         * sysdeps/unix/sparc/fork.S: Likewise.
67214         * sysdeps/unix/system.c: Remove file.
67215         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67217         * sysdeps/unix/getegid.S: Remove file.
67218         * sysdeps/unix/geteuid.S: Likewise.
67220 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67222         * scripts/check-localplt.awk: New file.
67223         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67224         of diff.
67225         * scripts/data/localplt-generic.data: Add a comment.
67227         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67228         NODE when __dir_mkfile failed.
67229         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67230         Reported by Ludovic Courtès <ludo@gnu.org>.
67232 2012-04-24  Andreas Jaeger  <aj@suse.de>
67234         * Makerules (common-clean): Also remove gen-as-const-headers
67235         files.
67237 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67239         * Makerules (native-compile): Do not change working directory for
67240         build.  Use $(OUTPUT_OPTION) in command.
67241         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67243 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67245         [BZ #13886]
67246         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67247         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67248         * math/libm-test.inc (floor_test): Add more tests.
67249         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67251 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67253         * sysdeps/unix/getdents.c: Remove file.
67254         * sysdeps/unix/sysv/getdents.c: Likewise.
67255         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67257         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67258         sysdeps/unix/mman/syscalls.list.
67259         (mmap): Likewise.
67260         (mprotect): Likewise.
67261         (msync): Likewise.
67262         (munmap): Likewise.
67263         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67264         * sysdeps/unix/mman/syscalls.list: Remove.
67265         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67267         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67268         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67269         * configure: Regenerated.
67270         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67271         $(libgcc_s_suffix).
67272         * config.make.in (libgcc_s_suffix): Remove variable.
67274 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67276         * sysdeps/unix/sysv/gethostname.c: Move to ...
67277         * sysdeps/posix/gethostname.c: ... here.
67279         * sysdeps/unix/execve.S: Remove file.
67281         * sysdeps/unix/_exit.S: Remove file.
67283 2012-04-23  Andreas Jaeger  <aj@suse.de>
67285         [BZ #13739]
67286         * manual/Makefile: Remove make dist support, there's no
67287         need for a stand-alone documentation tar ball.
67288         (TEXI2DVI): Define always, it's not in Makeconfig.
67289         (dist): Removed.
67290         (tar-it): Removed.
67291         (edition): Removed.
67292         (glibc-doc-$(edition).tar): Removed
67293         (%.Z): Removed.
67294         (%.gz): Removed.
67295         (%.uu): Removed.
67296         (ETAGS): Remove, it's in Makeconfig.
67297         (move-if-change): Remove, it's in Makeconfig.
67299 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67301         [BZ #13970]
67302         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67303         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67304         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67305         (strtod_l, strtof_l, strtold_l): Remove __wur.
67306         It is not necessarily an error to ignore strtol's return value.
67307         One can reliably look at the stored endptr to decide whether
67308         the number had valid syntax.
67310 2012-04-21  Andreas Jaeger  <aj@suse.de>
67312         [BZ #13739]
67313         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67315 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67317         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67318         * sysdeps/unix/sysv/Versions: Remove file.
67320 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67322         [BZ #13927]
67323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67325 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67327         [BZ #7064]
67328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67329         version from __vm86.
67331 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67333         * sysdeps/unix/common/lxstat.c: Remove file.
67334         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67336         * sysdeps/unix/sysv/Makefile: Remove file.
67338         * sysdeps/unix/sysv/direct.h: Remove file.
67340         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67341         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67342         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67343         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67344         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67345         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67346         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67348         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67350         * sysdeps/unix/xmknod.c: Remove file.
67351         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67353         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67355         * sysdeps/unix/sysv/i386/time.S: Remove file.
67357         * sysdeps/unix/fxstat.c: Remove file.
67358         * sysdeps/unix/xstat.c: Likewise.
67359         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67361         * sysdeps/unix/sysv/sigaction.c: Remove file.
67363         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67364         (sysdep_headers): Remove variable.
67365         [termio.h not in sysdep_headers] (generated): Likewise.
67366         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67367         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67368         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67369         * sysdeps/unix/sysv/tcflow.c: Likewise.
67370         * sysdeps/unix/sysv/tcflush.c: Likewise.
67371         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67372         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67373         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67374         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67375         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67377         * sysdeps/unix/siglist.c: Remove file.
67379         * sysdeps/unix/getppid.S: Remove file.
67381         * sysdeps/unix/mkdir.c: Remove file.
67382         * sysdeps/unix/rmdir.c: Likewise.
67384 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67386         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67387         ERR_MAX value.
67388         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67389         errlist-compat value.
67391 2012-04-18  David S. Miller  <davem@davemloft.net>
67393         * sysdeps/generic/memcopy.h (reg_char): Delete.
67394         * debug/strcat_chk.c: Use char, not reg_char.
67395         * debug/strcpy_chk.c: Likewise.
67396         * debug/strncat_chk.c: Likewise.
67397         * debug/strncpy_chk.c: Likewise.
67398         * string/memchr.c: Likewise.
67399         * string/memrchr.c: Likewise.
67400         * string/rawmemchr.c: Likewise.
67401         * string/strcat.c: Likewise.
67402         * string/strchr.c: Likewise.
67403         * string/strchrnul.c: Likewise.
67404         * string/strcmp.c: Likewise.
67405         * string/strcpy.c: Likewise.
67406         * string/strncat.c: Likewise.
67407         * string/strncmp.c: Likewise.
67408         * string/strncpy.c: Likewise.
67410 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67412         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67413         __builtin_memcopy is called when src and dest ranges are known to not
67414         overlap.
67416 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67418         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67419         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67420         fwd_align_merge macro call.
67421         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67422         bwd_align_merge macro call.
67423         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67425 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67427         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67428         bwd_align_merge macros.
67429         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67430         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67431         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67433 2012-04-18  David S. Miller  <davem@davemloft.net>
67435         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67437 2012-04-18  Andreas Jaeger  <aj@suse.de>
67439         [BZ# 6794]
67440         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67441         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67442         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67444         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67445         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67446         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67448         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67449         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67450         Adjust for changed ldbl-128 files.
67452         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67453         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67454         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67456 2012-04-17  David S. Miller  <davem@davemloft.net>
67458         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67460 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67462         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67463         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67464         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67465         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67466         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67467         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67469 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67471         [BZ #6794]
67472         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67473         * math/libm-test.inc: Add ilogb errno and exception tests.
67474         * math/w_ilogb.c: New file: ilogb wrapper.
67475         * math/w_ilogbf.c: New file: ilogbf wrapper.
67476         * math/w_ilogbl.c: New file: ilogbl wrapper.
67477         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67478         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67479         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67480         exception being thrown with 0.0 as argument.
67481         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67482         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67483         exception being thrown with 0.0 as argument.
67484         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67485         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67486         exception being thrown with 0.0 as argument.
67487         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67488         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67489         exception being thrown with 0.0 as argument.
67490         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67491         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67492         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67493         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67494         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67496         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67497         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67498         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67500 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67502         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67503         with altivec.
67505 2012-04-16  Marek Polacek  <polacek@redhat.com>
67507         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67509 2012-04-16  Marek Polacek  <polacek@redhat.com>
67511         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67512         operands of fdivp instruction.
67514 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67516         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67517         * elf/tst-auditmod3b.c: Likewise.
67518         * elf/tst-auditmod4b.c: Likewise.
67519         * elf/tst-auditmod5b.c: Likewise.
67520         * elf/tst-auditmod6b.c: Likewise.
67521         * elf/tst-auditmod6c.c: Likewise.
67522         * elf/tst-auditmod7b.c: Likewise.
67523         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67524         * sysdeps/x86_64/preconfigure.in: Likewise.
67525         * sysdeps/x86_64/preconfigure: Regenerated.
67527 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67529         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67530         __ILP32__.
67532 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67535         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67537 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67539         [BZ #13973]
67540         * locale/iso-639.def: Fix gl language name. Spotted by
67541         Yaron Shahrabani.
67543 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67545         [BZ #2074]
67546         * libio/libio.h (__io_write_fn): Update comment.
67548 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67550         [BZ #2074]
67551         * stdio.texi (Hook Functions): The user provided writer function
67552         is not allowed to return -1.
67554 2012-04-11  David S. Miller  <davem@davemloft.net>
67556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67558 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67560         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67561         Add a leading slash to rtkaio.
67563 2012-04-11  Jim Meyering  <meyering@redhat.com>
67565         [BZ #11959]
67566         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67567         It is not necessarily an error to ignore fwrite's return
67568         value.  One can reliably use ferror to test for errors after
67569         the fact.
67571 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67573         * bits/types.h (__snseconds_t): New type.
67574         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67576         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67577         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67578         (__SNSECONDS_T_TYPE): Likewise.
67579         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67580         (__SNSECONDS_T_TYPE): Likewise.
67581         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67582         (__SNSECONDS_T_TYPE): Likewise.
67584 2012-04-10  Andreas Jaeger  <aj@suse.de>
67586         [BZ #2636]
67587         * manual/time.texi (Processor Time): Return type of times is
67588         elapsed real time since an arbitrary point in the past.
67589         (CPU Time): Move CLK_TCK from here...
67590         (Processor Time): ...to here.  Correct description.
67591         * manual/conf.texi (Constants for Sysconf): Correct description of
67592         _SC_CLK_TCK.
67594 2012-04-10  David S. Miller  <davem@davemloft.net>
67596         [BZ #13967]
67597         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67598         where the is a gap between DT_REL(A) and DT_JMPREL.
67600 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67602         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67603         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67604         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67606 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67608         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67609         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67610         (dl_main): Handle --inhibit-cache.
67611         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67612         _dl_inhibit_cache.
67613         * elf/dl-load.c (_dl_map_object): Use it.
67614         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67616 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67618         [BZ #13872]
67619         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67620         (__ieee754_powl): Saturate large exponents rather than testing for
67621         overflow of y*log2(x).
67622         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67623         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67624         exceptions.
67626         [BZ #11521]
67627         * math/s_ctan.c: Include <float.h>.
67628         (__ctan): Avoid internal overflow or cancellation in calculating
67629         denominator.
67630         * math/s_ctanf.c: Likewise.
67631         * math/s_ctanl.c: Likewise.
67632         * math/s_ctanh.c: Likewise.
67633         * math/s_ctanhf.c: Likewise.
67634         * math/s_ctanhl.c: Likewise.
67635         * math/libm-test.inc (ctan_test): Add more tests.
67636         (ctanh_test): Likewise.
67637         * sysdeps/i386/fpu/libm-test-ulps: Update.
67638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67640 2012-04-09  Andreas Jaeger  <aj@suse.de>
67642         [BZ #6894]
67643         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67644         is an optional BSD extension.
67646         [BZ #10254]
67647         * manual/stdio.texi (Opening Streams): Document additional fopen
67648         parameters.
67650 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67652         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67653         %eax without telling the compiler.
67655 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67657         [BZ # 13963]
67658         * manual/install.texi: Use sourceware.org.
67660 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67662         [BZ #13873]
67663         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67664         (__ieee754_pow): Generate overflow and underflow using huge*huge
67665         and tiny*tiny rather than just returning constant infinity or zero
67666         for large exponents.
67667         * math/libm-test.inc (pow_test): Require overflow exceptions for
67668         applicable cases of large exponents.
67670         [BZ #706]
67671         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67672         (__ieee754_pow): Use iterative multiplication algorithm only for
67673         integer exponents with absolute value below 1024.  Check for odd
67674         integer exponents when using algorithm for real exponents.
67675         * math/libm-test.inc (pow_test): Add more tests.
67676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67678 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67680         [BZ #13705]
67681         * math/libm-test.inc (exp_test): Do not allow overflow exception
67682         on underflow test.
67684 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67686         [BZ #13705]
67687         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67688         instead of __kernel_standard_f.
67690 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67692         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67693         * sysdeps/x86_64/memset_chk.S: Likewise.
67695 2012-04-08  Andreas Jaeger  <aj@suse.de>
67697         [BZ #10153]
67698         * manual/startup.texi (Environment Access): Describe return value
67699         for putenv and setenv.
67701         [BZ #6895]
67702         * manual/filesys.texi (Directory Entries): Add description for
67703         DT_LNK.
67705         [BZ #6890]
67706         * manual/filesys.texi (Directory Entries): Clarify that it's file
67707         system not operating system in the description of DT_UNKNOWN.
67709         [BZ #6578]
67710         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67712 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67714         [BZ #6649]
67715         * manual/llio.texi (Opening and Closing Files): Add cross
67716         reference to explain mode argument.
67718 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67720         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67721         * sysdeps/x86_64/memset_chk.S: Likewise.
67723 2012-04-07  David S. Miller  <davem@davemloft.net>
67725         * elf/elf.h (R_SPARC_WDISP10): Define.
67726         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67727         R_SPARC_SIZE32.
67728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67729         R_SPARC_SIZE64 and R_SPARC_H34.
67731 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67734         conditions and remove no longer applicable assertion.
67736 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67738         * bits/byteswap.h: Include <features.h>.
67739         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67740         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67742 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67744         * bits/byteswap.h (__bswap_16): Removed.
67745         Include <bits/byteswap-16.h> to get __bswap_16.
67746         * sysdeps/i386/bits/byteswap.h: Likewise.
67747         * sysdeps/s390/bits/byteswap.h: Likewise.
67748         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67749         * bits/byteswap-16.h: New file.
67750         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67751         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67752         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67753         * string/Makefile (headers): Add bits/byteswap-16.h.
67755 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67757         [BZ #13895]
67758         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67759         extra indirection.
67760         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67761         * nss/tst-nss-static.c: New.
67763 2012-04-06  Robert Millan  <rmh@gnu.org>
67765         [BZ #6486]
67766         * manual/llio.texi (File Position Primitive): lseek
67767         refers to WHENCE when it really means OFFSET.
67769 2012-04-06  Andreas Jaeger  <aj@suse.de>
67771         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67772         strncmp declarations.
67774         * abilist/libc.abilist: Add __poll and __ppoll.
67776 2012-04-05  David S. Miller  <davem@davemloft.net>
67778         * scripts/check-local-headers.sh: Accept a host triplet in the
67779         path matched by the exclude regexp.
67781         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67782         definition.
67783         * sysdeps/powerpc/powerpc32/dl-machine.h
67784         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67785         * sysdeps/s390/s390-32/dl-machine.h
67786         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67787         * sysdeps/sparc/sparc32/dl-machine.h
67788         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67789         * sysdeps/sparc/sparc64/dl-machine.h
67790         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67792         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67793         lazy binding.
67794         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67795         undefined symbol errors.
67797         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67798         DT_NEEDED entries.
67800 2012-04-05  Michael Matz  <matz@suse.de>
67802         [BZ #13592]
67803         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67805 2012-04-05  Andreas Jaeger  <aj@suse.de>
67807         [BZ #13908]
67808         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67809         comment.
67811 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67813         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67814         which ROUND is no valid rounding mode.
67816 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67818         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67819         read again.
67820         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67822 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67824         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67825         an exception using FPU order intentionally.
67827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67829         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67830         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67831         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67832         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67834 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67836         [BZ #12340]
67837         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67838         EINVAL when BUFLEN is too smal.
67840 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67842         [BZ #13553]
67843         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67844         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67846 2012-04-03  Andreas Jaeger  <aj@suse.de>
67848         [BZ #13938]
67849         * manual/setjmp.texi (System V contexts): Fix sentence.
67851         [BZ #13926]
67852         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67853         New macro for this case.
67854         [!__GNUC__] (__bswap_64): New inline function for this case.
67855         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67856         * bits/byteswap.h: Likewise.
67857         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67858         ull, guard with __GLIBC_HAVE_LONG_LONG.
67860         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67861         __GLIBC_HAVE_LONG_LONG.
67863         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67864         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67866 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67868         [BZ #13691]
67869         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67870         inptr and inend, rather than using last_ch.
67872 2012-04-02  David S. Miller  <davem@davemloft.net>
67874         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67875         * stdio-common/printf-parse.h (read_int): Change return type to
67876         'int', return -1 on INT_MAX overflow.
67877         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67878         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67879         overflows INT_MAX.  Check for overflow of in-format-string precision
67880         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67881         SIZE_MAX not INT_MAX for integer overflow test.
67882         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67883         skip the construct in the format string but do not record anything.
67884         * stdio-common/bug22.c: Adjust to test both width/prevision
67885         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67886         explicitly for proper errno values.
67888 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67890         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67891         CHAR_MAX.
67892         * string/test-strcmp.c [! WIDE]: Likewise.
67893         * time/tst-mktime2.c: Likewise for INT_MAX.
67894         * string/test-string.h: #include <sys/param.h> for MIN.
67896         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67897         * sysdeps/i386/init-first.c (init): Likewise.
67898         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67899         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67900         * sysdeps/sh/init-first.c (init): Likewise.
67902 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67904         * po/ru.po: Update from translation team.
67905         * po/vi.po: Likewise.
67907 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67909         * resolv/nss_dns/dns-host.c: Merge copyright years.
67911 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67913         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67914         Optimize memcpy with prefetch if
67915         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67916         src, dst pointers have unequal 16 byte alignments.
67918 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67920         [BZ #13928]
67921         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67922         from a CNAME entry and return the minimum ttl for the query.
67923         (gaih_getanswer_slice): Likewise.
67925 2012-03-30  Jeff Law  <law@redhat.com>
67927         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67928         due to long keys.
67929         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67930         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67932         * resolv/nss_dns/dns-host.c: Update copyright year.
67934 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67936         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67937         requests to save a system call.  Fix check that all bytes are sent.
67939         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67940         comments for sendmmsg.
67942 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67944         [BZ #13691]
67945         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67946         with only 1 character between 0x0041 and 0x01b0.
67947         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67948         * wcsmbs/tst-mbsnrtowcs.c: New file.
67950 2012-03-29  David S. Miller  <davem@davemloft.net>
67952         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67953         small copies by hand.
67955 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67957         [BZ #13761]
67958         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67959         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67960         group memberships.
67962 2012-03-28  David S. Miller  <davem@davemloft.net>
67964         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67965         that branches into memcpy.
67966         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67969         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67970         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67971         bits.
67972         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67973         implementation too.
67974         * sysdeps/sparc/mempcpy.S: New file.
67976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67977         the IFUNC routine in the libc case.
67978         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67980         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67981         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67982         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67983         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67984         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67985         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67986         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67987         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67989         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67990         loop to 256 bytes instead of 64 bytes and fix test signedness.
67992         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67993         * sysdeps/sparc/sparc32/Makefile: rather than here...
67994         * sysdeps/sparc/sparc64/Makefile: and here.
67996 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67998         * malloc/mallocbug.c: Avoid warnings about unused variables.
68000 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68002         [BZ #13760]
68003         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68004         in the right place. Discard and retry query if response is
68005         larger than input buffer size.
68007 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68009         [BZ #369]
68010         [BZ #2678]
68011         [BZ #3866]
68012         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68013         x for large integer exponent.
68014         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68015         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68016         sign of result as needed afterwards.
68017         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68018         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68019         result for underflowing pow the same as for overflow.
68020         (__kernel_standard_l): Handle powl overflow and underflow here
68021         rather than calling __kernel_standard.
68022         * math/libm-test.inc (pow_test): Add more tests.
68024         [BZ #3868]
68025         [BZ #13879]
68026         [BZ #13910]
68027         [BZ #13911]
68028         [BZ #13912]
68029         [BZ #13913]
68030         [BZ #13915]
68031         [BZ #13916]
68032         [BZ #13917]
68033         [BZ #13918]
68034         [BZ #13919]
68035         [BZ #13920]
68036         [BZ #13921]
68037         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68038         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68039         (__kernel_standard_l): New function.
68040         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68041         __kernel_standard.
68042         * math/w_acosl.c (__acosl): Likewise.
68043         * math/w_asinl.c (__asinl): Likewise.
68044         * math/w_atan2l.c (__atan2l): Likewise.
68045         * math/w_atanhl.c (__atanhl): Likewise.
68046         * math/w_coshl.c (__coshl): Likewise.
68047         * math/w_exp10l.c (__exp10l): Likewise.
68048         * math/w_exp2l.c (__exp2l): Likewise.
68049         * math/w_fmodl.c (__fmodl): Likewise.
68050         * math/w_hypotl.c (__hypotl): Likewise.
68051         * math/w_j0l.c (__j0l, __y0l): Likewise.
68052         * math/w_j1l.c (__j1l, __y1l): Likewise.
68053         * math/w_jnl.c (__jnl, __ynl): Likewise.
68054         * math/w_lgammal.c (__lgammal): Likewise.
68055         * math/w_log10l.c (__log10l): Likewise.
68056         * math/w_log2l.c (__log2l): Likewise.
68057         * math/w_logl.c (__logl): Likewise.
68058         * math/w_powl.c (__powl): Likewise.
68059         * math/w_remainderl.c (__remainderl): Likewise.
68060         * math/w_scalbl.c (sysv_scalbl): Likewise.
68061         * math/w_sinhl.c (__sinhl): Likewise.
68062         * math/w_sqrtl.c (__sqrtl): Likewise.
68063         * math/w_tgammal.c (__tgammal): Likewise.
68064         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68065         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68066         * math/libm-test.inc (acos_test): Add more tests.
68067         (acosh_test): Likewise.
68068         (asin_test): Likewise.
68069         (atanh_test): Likewise.
68070         (exp_test): Likewise.
68071         (exp10_test): Likewise.
68072         (exp2_test): Likewise.
68073         (expm1_test): Likewise.
68074         (lgamma_test): Likewise.
68075         (log_test): Likewise.
68076         (log10_test): Likewise.
68077         (log1p_test): Likewise.
68078         (log2_test): Likewise.
68079         (pow_test): Do not allow some spurious overflow exceptions.
68080         (sqrt_test): Add more tests.
68081         (tgamma_test): Likewise.
68082         (y0_test): Likewise.
68083         (y1_test): Likewise.
68084         (yn_test): Likewise.
68086 2012-03-27  Anton Blanchard  <anton@samba.org>
68088         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68089         MAP_HUGETLB.
68090         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68091         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68092         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68094 2012-03-27  David S. Miller  <davem@davemloft.net>
68096         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68098         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68099         have-as-vis3 check.
68101 2012-03-27  Andreas Jaeger  <aj@suse.de>
68103         * sysdeps/x86_64/elf/configure.in: Moved to ...
68104         * sysdeps/x86_64/configure.in: ... here.
68105         * sysdeps/x86_64/elf/start.S: Moved to ...
68106         * sysdeps/x86_64/start.S: ... here.
68107         * sysdeps/x86_64/elf/configure: Delete.
68109         * sysdeps/x86_64/configure.in: Merge contents from
68110         sysdeps/i386/configure.in (without i686 check).
68112         * sysdeps/i386/elf/Versions: Merge into ...
68113         * sysdeps/i386/Versions: ... this.
68114         * sysdeps/i386/elf/Versions: Delete file.
68115         * sysdeps/i386/elf/start.S: Moved to ...
68116         * sysdeps/i386/start.S: ...here.
68117         * sysdeps/i386/elf/configure.in: Merge into...
68118         * sysdeps/i386/configure.in: ...here.
68119         * sysdeps/i386/elf/configure.in: Delete file.
68120         * sysdeps/i386/elf/configure: Delete file.
68122         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68123         * debug/backtracesyms.c: ... here.
68124         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68125         * debug/backtracesymsfd.c: ... here.
68126         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68127         * sysdeps/generic/ifunc-sel.h: ... here.
68129         * sysdeps/unix/i386/start.c: Delete file.
68130         * sysdeps/unix/sparc/start.c: Delete file.
68131         * sysdeps/unix/start.c: Delete file.
68133         * sysdeps/sh/elf/configure.in: Moved to ...
68134         * sysdeps/sh/configure.in: ... here.
68135         * sysdeps/sh/elf/start.S: Moved to ...
68136         * sysdeps/sh/start.S: ... here.
68137         * sysdeps/sh/elf/configure: Delete file.
68139         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68140         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68141         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68142         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68143         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68144         * sysdeps/powerpc/powerpc64/start.S: here.
68145         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68146         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68147         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68148         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68149         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68151         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68152         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68153         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68154         * sysdeps/powerpc/powerpc32/start.S: ... here.
68155         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68156         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68157         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68159         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68160         * sysdeps/powerpc/ifunc-sel.h: ... here.
68161         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68162         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68164         * sysdeps/sparc/elf/configure.in: Moved to ...
68165         * sysdeps/sparc/configure.in: ... here.
68166         * sysdeps/sparc/elf/configure: Delete file.
68167         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68168         * sysdeps/sparc/sparc32/start.S: ... here.
68169         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68170         * sysdeps/sparc/sparc64/start.S: ... here.
68171         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68172         * sysdeps/sparc/sparc32/Makefile: ... this.
68173         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68174         * sysdeps/sparc/sparc64/Makefile: ... this.
68176         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68177         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68178         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68179         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68180         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68181         * sysdeps/s390/s390-32/setjmp.S: ... here.
68182         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68183         * sysdeps/s390/s390-32/configure.in: ... here.
68184         * sysdeps/s390/s390-32/elf/configure: Delete file.
68185         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68186         * sysdeps/s390/s390-32/start.S: ... here.
68188         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68189         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68190         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68191         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68192         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68193         * sysdeps/s390/s390-64/setjmp.S: ... here.
68194         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68195         * sysdeps/s390/s390-64/configure.in: ... here
68196         * sysdeps/s390/s390-64/elf/configure: Delete file.
68197         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68198         * sysdeps/s390/s390-64/start.S: ... here.
68199         * sysdeps/s390/s390-64/elf/configure: Delete.
68201         * configure.in: Remove support for elf directories in sysdeps.
68203         * configure: Regenerated.
68204         * sysdeps/i386/configure: Regenerated.
68205         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68206         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68207         * sysdeps/s390/s390-32/configure: Regenerated.
68208         * sysdeps/s390/s390-64/configure: Regenerated.
68209         * sysdeps/sh/configure: Regenerated.
68210         * sysdeps/sparc/configure: Regenerated.
68211         * sysdeps/x86_64/configure: Regenerated.
68213 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68217         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68218         denormal result into account.
68220 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68222         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68223         Reported by Allan McRae <allan@archlinux.org>.
68225 2012-03-23  Jeff Law  <law@redhat.com>
68227         * nss/getnssent.c (__nss_getent): Fix typo.
68229 2012-03-23  David S. Miller  <davem@davemloft.net>
68231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68233 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68235         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68236         to pad to uint64_t for each field.
68237         (dl_tls_index): Replace unsigned long with uint64_t.
68239 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68240         Paul Pluzhnikov  <ppluzhnikov@google.com>
68242         [BZ #6528]
68243         * grp/Makefile (otherlibs): Don't set it.
68244         * inet/Makefile (otherlibs): Likewise.
68245         * login/Makefile (otherlibs): Likewise.
68246         * nscd/Makefile (otherlibs): Likewise.
68247         * posix/Makefile (otherlibs): Likewise.
68248         * pwd/Makefile (otherlibs): Likewise.
68249         * rt/Makefile (otherlibs): Likewise.
68250         * sunrpc/Makefile (otherlibs): Likewise.
68251         * nss/Makefile (otherlibs): Likewise.
68252         Add libnss_files to routines and static-only-routines.
68253         ($(objpfx)getent): Remove rule.
68254         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68255         static-only-routines.
68257 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68259         [BZ #13892]
68260         * math/s_cexp.c: Include <float.h>.
68261         (__cexp): Handle exp result overflowing not necessarily
68262         overflowing both real and imaginary parts of result.
68263         * math/s_cexpf.c: Likewise.
68264         * math/s_cexpl.c: Likewise.
68265         * math/libm-test.inc (cexp_test): Add more tests.
68266         * sysdeps/i386/fpu/libm-test-ulps: Update.
68267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68269 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68271         * include/link.h (ELFW): New macro.
68272         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68273         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68275 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68277         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68278         with uint64_t.
68280 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68282         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68283         declaration.
68284         (struct La_x32_retval): Likewise.
68286 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68288         * sysdeps/x86_64/preconfigure.in: New file.
68289         * sysdeps/x86_64/preconfigure: New generated file.
68291 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68293         [BZ #13824]
68294         * math/e_exp2l.c: Include <float.h>.
68295         (__ieee754_exp2l): Handle overflow and underflow cases
68296         separately.  Only pass fractional part of argument to
68297         __ieee754_expl.
68298         * math/libm-test.inc (exp2_test): Add more tests.
68300         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68301         negating x to take absolute value.
68302         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68303         Likewise.
68304         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68305         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68306         Likewise.
68307         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68308         computing low part if x was negated.
68309         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68311 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68313         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68314         la_x32_gnu_pltexit.
68315         (pltexit): Cast int_retval to ptrdiff_t.
68316         * elf/tst-auditmod3b.c: Likewise.
68317         * elf/tst-auditmod4b.c: Likewise.
68318         * elf/tst-auditmod5b.c: Likewise.
68319         * elf/tst-auditmod6b.c: Likewise.
68320         * elf/tst-auditmod6c.c: Likewise.
68321         * elf/tst-auditmod7b.c: Likewise.
68323         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68324         and x32_gnu_pltexit.
68326         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68327         __ELF_NATIVE_CLASS.
68328         (La_x32_regs): New macro.
68329         (La_x32_retval): Likewise.
68330         (la_x32_gnu_pltenter): New function prototype.
68331         (la_x32_gnu_pltexit): Likewise.
68333 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68335         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68336         exponent.
68338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68340         * configure.in (libc_cv_cc_nofma): Check for option to disable
68341         generation of FMA instructions.
68342         * configure: Regenerate.
68343         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68344         * sysdeps/ieee754/dbl-64/Makefile: New file.
68345         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68346         Remove brandred-fma4.
68347         (CFLAGS-brandred-fma4.c): Remove.
68348         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68349         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68350         define.
68351         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68352         define.
68354 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68356         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68357         LLONG_MAX != LONG_MAX.
68358         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68359         (_fitoa_word): Likewise.
68360         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68361         LLONG_MAX != LONG_MAX.
68362         * stdio-common/_itowa.h: Include <_itoa.h>.
68363         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68364         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68365         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68366         only if not defined.
68367         (_ITOA_WORD_TYPE): Likewise.
68368         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68369         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68371 2012-03-21  David S. Miller  <davem@davemloft.net>
68373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68375 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68377         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68378         of x86_64 when setting libc_cv_slibdir, libdir and
68379         libc_cv_localedir.
68380         * sysdeps/unix/sysv/linux/configure: Regenerated.
68382 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68384         * manual/lang.texi (Old Varargs): Remove section.
68385         (How Variadic): Update menu.
68386         (va_start): Do not mention varargs.h.
68388 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68389             Joseph Myers  <joseph@codesourcery.com>
68391         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68392         link test.
68393         * configure: Regenerated.
68395 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68397         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68398         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68399         conformtest.pl
68401 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68403         * NOTES: Remove.
68404         * Makefile (files-for-dist): Remove NOTES.
68405         (NOTES): Remove rule.
68406         * README: Don't refer to NOTES.
68407         * manual/creature.texi: Don't include macros.texi.
68408         * manual/intro.texi (creature.texi): Remove comment referring to
68409         NOTES.
68411         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68412         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68413         * configure: Regenerated.
68414         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68415         LIBC_TRY_CC_OPTION.
68416         (libc_cv_as_i686): Likewise.
68417         (libc_cv_cc_avx): Likewise.
68418         (libc_cv_cc_sse2avx): Likewise.
68419         (libc_cv_cc_fma4): Likewise.
68420         (libc_cv_cc_novzeroupper): Likewise.
68421         * sysdeps/i386/configure: Regenerated.
68423         [BZ #13883]
68424         * sysdeps/i386/fpu/s_cexp.S: Remove.
68425         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68426         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68427         * math/libm-test.inc (cexp_test): Add more tests.
68428         * sysdeps/i386/fpu/libm-test-ulps: Update.
68429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68431 2012-03-21  Allan McRae  <allan@archlinux.org>
68433         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68435 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68437         [BZ #13871]
68438         * math/w_exp2.c: Do not include <float.h>.
68439         (o_threshold, u_threshold): Remove.
68440         (__exp2): Calculate result before checking finiteness and calling
68441         __kernel_standard.
68442         * math/w_exp2f.c: Likewise.
68443         * math/w_exp2l.c: Likewise.
68444         * math/libm-test.inc (exp2_test): Require overflow exception for
68445         1e6 input.
68447         [BZ #3866]
68448         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68449         range of signed 64-bit integers before using fistpll.  Remove
68450         checks for whether integers fit in mantissa bits.
68451         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68452         the range of signed 32-bit integers before using fistpl.  Remove
68453         checks for whether integers fit in mantissa bits.
68454         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68455         (__ieee754_powl): Test for y outside the range of signed 64-bit
68456         integers before using fistpll.  Reduce 64-bit values to 63-bit
68457         ones as needed.
68458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68459         divide-by-zero is raised for zero to large negative powers.
68460         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68461         (__ieee754_powl): Test for y outside the range of signed 64-bit
68462         integers before using fistpll.  Reduce 64-bit values to 63-bit
68463         ones as needed.
68464         * math/libm-test.inc (pow_test): Add more tests.
68466 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68468         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68469         <stdio-common/_itoa.h>.
68470         * debug/segfault.c: Likewise.
68471         * elf/dl-cache.c: Likewise.
68472         * elf/dl-minimal.c: Likewise.
68473         * elf/dl-misc.c: Likewise.
68474         * elf/dl-sysdep.c: Likewise.
68475         * elf/dl-version.c: Likewise.
68476         * elf/rtld.c: Likewise.
68477         * hurd/hurdsock.c: Likewise.
68478         * hurd/lookup-retry.c: Likewise.
68479         * malloc/malloc.c: Likewise.
68480         * malloc/mtrace.c: Likewise.
68481         * nscd/nscd_getgr_r.c: Likewise.
68482         * nscd/nscd_getpw_r.c: Likewise.
68483         * nscd/nscd_getserv_r.c: Likewise.
68484         * posix/getopt_init.c: Likewise.
68485         * posix/wordexp.c: Likewise.
68486         * stdio-common/_itoa.c: Likewise.
68487         * stdio-common/printf_fphex.c: Likewise.
68488         * stdio-common/vfprintf.c: Likewise.
68489         * string/_strerror.c: Likewise.
68490         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68491         * sysdeps/i386/i686/hp-timing.h: Likewise.
68492         * sysdeps/mach/_strerror.c: Likewise.
68493         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68494         * sysdeps/mach/hurd/sethostid.c: Likewise.
68495         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68496         * sysdeps/mach/xpg-strerror.c: Likewise.
68497         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68498         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68499         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68500         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68501         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68502         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68503         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68504         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68505         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68506         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68507         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68508         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68509         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68510         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68511         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68512         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68513         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68514         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68515         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68516         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68517         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68519         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68521         * stdio-common/_itoa.h: Moved to ...
68522         * sysdeps/generic/_itoa.h: Here.
68524         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68526         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68527         instead of "_itoa.h" and "_itowa.h".
68528         * stdio-common/vfprintf.: Likewise.
68530 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68532         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68533         <bits/wordsize.h>.
68534         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68535         (__signbit): Likwise.
68536         (llrintf): Likwise.
68537         (llrint): Likwise.
68539 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68541         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68542         __WORDSIZE != 64.
68544 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68546         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68547         OVERFLOW_EXCEPTION_OK.
68548         * math/libm-test.inc ("Philosophy"): Update comment about
68549         exception testing.
68550         (OVERFLOW_EXCEPTION): Define.
68551         (OVERFLOW_EXCEPTION_OK): Likewise.
68552         (INVALID_EXCEPTION_OK): Renumber.
68553         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68554         (IGNORE_ZERO_INF_SIGN): Likewise.
68555         (test_exceptions): Handle FE_OVERFLOW.
68556         (exp10_test): Expect overflow exceptions.
68557         (exp2_test): Likewise.
68558         (expm1_test): Likewise.
68559         (nextafter_test): Likewise.
68560         (pow_test): Likewise.
68561         (scalbn_test): Likewise.
68562         (scalbln_test): Likewise.
68564 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68566         * sysdeps/x86_64/bits/atomic.h
68567         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68568         64bit integer.
68569         (atomic_exchange_acq): Likewise.
68570         (__arch_exchange_and_add_body): Likewise.
68571         (__arch_add_body): Likewise.
68572         (atomic_add_negative): Likewise.
68573         (atomic_add_zero): Likewise.
68575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68577         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68578         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68582         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68583         Check __x86_64__ instead of __WORDSIZE.
68585 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68587         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68589 2012-03-19  David S. Miller  <davem@davemloft.net>
68591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68593         * sysdeps/sparc/fpu/fenv_private.h: New file.
68594         * sysdeps/sparc/fpu/math_private.h: Use it.
68595         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68596         Remove.
68597         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68598         (libc_feholdexcept_setroundl): Remove.
68599         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68600         Remove.
68601         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68602         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68604 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68606         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68607         int64_t instead of long int.
68608         (INSERT_WORDS64): Likwise.
68610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68612         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68613         _Unwind_GetCFA return to _Unwind_Ptr first.
68615 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68617         [BZ #13629]
68618         * math/s_clog.c: Include <float.h>.
68619         (__clog): Scale large or subnormal inputs.
68620         * math/s_clogf.c: Likewise.
68621         * math/s_clogl.c: Likewise.
68622         * math/s_clog10.c: Include <float.h>.
68623         (M_LOG10_2): Define.
68624         (__clog10): Scale large or subnormal inputs.
68625         * math/s_clog10f.c: Likewise.
68626         * math/s_clog10l.c: Likewise.
68627         * math/libm-test.inc (clog_test): Add more tests.
68628         (clog10_test): Likewise.
68629         * sysdeps/i386/fpu/libm-test-ulps: Update.
68630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68632         [BZ #11451]
68633         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68634         x and y.
68635         * math/libm-test.inc (atan2_test): Add another test.
68637         * Makerules (common-objdir-compile): Remove.
68638         * sysdeps/unix/Makefile (config-generated): Do not add
68639         $(unix-generated) to variable.
68640         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68641         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68642         Remove rule.
68643         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68644         Likewise.
68645         [generic bits/local_lim.h] (before-compile): Do not append to
68646         variable.
68647         [generic bits/local_lim.h] (common-generated): Likewise.
68648         [generic sys/param.h] (before-compile): Do not append to variable.
68649         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68650         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68651         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68652         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68653         include.
68654         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68655         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68656         [generic sys/param.h] ($(addprefix
68657         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68658         [generic sys/param.h] (common-generated): Do not append to
68659         variable.
68660         [generic sys/param.h] (sysdep_headers): Likewise.
68661         [generic bits/errno.h] (before-compile): Do not append to
68662         variable.
68663         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68664         rule.
68665         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68666         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68667         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68668         [generic bits/errno.h] (common-generated): Do not append to
68669         variable.
68670         [generic bits/ioctls.h] (before-compile): Do not append to
68671         variable.
68672         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68673         rule.
68674         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68675         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68676         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68677         rule.
68678         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68679         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68680         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68681         [generic bits/ioctls.h] (common-generated): Do not append to
68682         variable.
68683         [generic sys/syscall.h] (syscall.h): Remove variable.
68684         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68685         rule.
68686         [generic sys/syscall.h] (before-compile): Do not append to
68687         variable.
68688         [generic sys/syscall.h] (common-generated): Likewise.
68689         * sysdeps/unix/errnos-tmpl.c: Remove file.
68690         * sysdeps/unix/errnos.awk: Likewise.
68691         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68692         * sysdeps/unix/ioctls.awk: Likewise.
68693         * sysdeps/unix/mk-local_lim.c: Likewise.
68694         * sysdeps/unix/snarf-ioctls: Likewise.
68696 2012-03-19  Richard Henderson  <rth@twiddle.net>
68698         * sysdeps/i386/fpu/fenv_private.h: New file.
68699         * sysdeps/i386/fpu/math_private.h: Use it.
68700         (math_opt_barrier, math_force_eval): Remove.
68701         (libc_feholdexcept_setround_53bit): Remove.
68702         (libc_feupdateenv_53bit): Remove.
68703         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68704         (math_opt_barrier, math_force_eval): Remove.
68705         (libc_feholdexcept): Remove.
68706         (libc_feholdexcept_setround): Remove.
68707         (libc_fetestexcept, libc_fesetenv): Remove.
68708         (libc_feupdateenv_test): Remove.
68709         (libc_feupdateenv, libc_feholdsetround): Remove.
68710         (libc_feresetround): Remove.
68712         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68713         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68715         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68716         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68717         (libc_feupdateenv_testl): New.
68718         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68719         (libc_feupdateenv_testf): New.
68720         (libc_feupdateenv): Use libc_feupdateenv_test.
68721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68722         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68724         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68725         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68726         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68727         (libc_feresetround_noex): New.
68728         (libc_feresetround_noexf): New.
68729         (libc_feresetround_noexl): New.
68730         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68731         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68732         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68733         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68734         SET_RESTORE_ROUND.
68735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68737         (__cos): Likewise.
68738         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68739         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68740         SET_RESTORE_ROUND_NOEX.
68741         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68742         SET_RESTORE_ROUND_NOEXF.
68743         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68744         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68745         (libc_feholdsetroundf): New.
68746         (libc_feresetround, libc_feresetroundf): New.
68748         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68749         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68750         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68752         * sysdeps/generic/math_private.h: Include <fenv.h>.
68753         (default_libc_feholdexcept): New.
68754         (default_libc_feholdexcept_setround): New.
68755         (default_libc_fesetenv, default_libc_feupdateenv): New.
68756         (libc_feholdexcept): Only define if undefined.
68757         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68758         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68759         (libc_feholdexcept_setroundl): Likewise.
68760         (libc_feholdexcept_setround_53bit): Likewise.
68761         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68762         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68763         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68764         (libc_feupdateenv_53bit): Likewise.
68765         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68766         (libc_feholdexcept): Convert from macro to inline function.
68767         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68768         (libc_fesetenv, libc_feupdateenv): Likewise.
68770         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68771         not previously defined.
68772         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68773         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68774         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68775         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68776         * sysdeps/ieee754/flt-32/math_private.h: New file.
68777         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68778         math_private.h below SET_FLOAT_WORD.
68779         (__isnan, __isinf_ns, __finite): Remove.
68780         (__isnanf, __isinf_nsf, __finitef): Remove.
68782 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68786 2012-03-17  David S. Miller  <davem@davemloft.net>
68788         [BZ #6471]
68789         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68790         for 2.16.
68792 2012-03-16  David S. Miller  <davem@davemloft.net>
68794         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68795         warnings.
68797         [BZ #6471]
68798         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68799         properly.
68800         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68801         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68802         sysdep_routines when subdir is sysvipc.
68803         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68804         __getshmlba helper.
68806         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68808 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68810         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68811         [__LP64__].
68813 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68815         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68816         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68817         (__lround): Renamed to ...
68818         (__llround): This.  Replace long int with long long int.
68819         Define lround functions as aliases of llround functions.
68820         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68822 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68824         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68825         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68826         adresses to uintptr_t.  Replace "long int" and "unsigned long
68827         int" with "greg_t" on va_arg.
68829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68831         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68832         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68834         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68835         Move e_machine check before EI_CLASS check.  Handle x32
68836         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68837         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68838         SKIP_EM_IA_64 and include
68839         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68841         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68842         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68843         (add_system_dir): New macro.
68845         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68846         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68848 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68850         [BZ #2551]
68851         [BZ #2552]
68852         [BZ #2553]
68853         [BZ #2554]
68854         [BZ #2562]
68855         [BZ #2563]
68856         [BZ #2565]
68857         [BZ #2566]
68858         [BZ #2576]
68859         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68860         (y0): Likewise.
68861         * math/w_j0f.c (j0f): Likewise.
68862         (y0f): Likewise.
68863         * math/w_j0l.c (__j0l): Likewise.
68864         (__y0l): Likewise.
68865         * math/w_j1.c (j1): Likewise.
68866         (y1): Likewise.
68867         * math/w_j1f.c (j1f): Likewise.
68868         (y1f): Likewise.
68869         * math/w_j1l.c (__j1l): Likewise.
68870         (__y1l): Likewise.
68871         * math/w_jn.c (jn): Likewise.
68872         (yn): Likewise.
68873         * math/w_jnf.c (jnf): Likewise.
68874         (ynf): Likewise.
68875         * math/w_jnl.c (__jnl): Likewise.
68876         (__ynl): Likewise.
68877         * math/libm-test.inc (j0_test): Add more tests.
68878         (j1_test): Likewise.
68879         (jn_test): Likewise.  Add trailing semicolon to existing test.
68880         (y0_test): Likewise.
68881         (y1_test): Likewise.
68882         * sysdeps/i386/fpu/libm-test-ulps: Update.
68883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68885         [BZ #13851]
68886         [BZ #13854]
68887         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68888         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68889         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68890         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68891         (__tanl): Set errno for infinite argument.
68892         * sysdeps/i386/fpu/mptan.c: Remove.
68893         * sysdeps/i386/fpu/s_tan.S: Likewise.
68894         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68895         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68896         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68897         * math/libm-test.inc (tan_test): Add more tests and enable more
68898         tests for double and long double.
68899         * sysdeps/i386/fpu/libm-test-ulps: Update.
68900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68902 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68904         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68905         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68907 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68909         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68910         * configure.in: Use it for both main tree and add-ons.
68911         * configure: Regenerated.
68913 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68915         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68917 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68919         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68920         in comment.
68922         [BZ #13851]
68923         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68924         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68925         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68927         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68928         infinite argument.
68929         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68930         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68931         != 0 for prec == 2.
68932         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68933         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68934         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68935         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68936         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68937         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68938         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68939         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68940         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68941         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68942         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68943         * math/libm-test.inc (cos_test): Add more tests and enable more
68944         tests for long double.
68945         (sin_test): Likewise.
68946         (sincos_test): Likewise.
68947         * sysdeps/i386/fpu/libm-test-ulps: Update.
68948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68950 2012-03-16  David S. Miller  <davem@davemloft.net>
68952         * sysdeps/sparc/fpu/math_private.h: New file.
68954 2012-03-15  David S. Miller  <davem@davemloft.net>
68956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68957         file.
68958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68960         file.
68961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68967         sysdep routines.
68968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68970         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68971         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68973         * sysdeps/sparc/sparc-ifunc.h: New file.
68974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68975         sparc-ifunc.h
68976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68978         Likewise.
68979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68980         Likewise.
68981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68985         Likewise.
68986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68991         Likewise.
68992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68993         Likewise.
68994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69000         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69014         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69015         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69016         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69017         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69019 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69021         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69022         scaling.
69023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69025 2012-03-15  Andreas Jaeger  <aj@suse.de>
69027         [BZ #13852]
69028         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69029         ieee754/flt-32 implementation for sin, cos and sincos.
69030         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69031         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69032         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69033         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69034         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69035         ieee754/flt-32 implementation for tan.
69037         * math/libm-test.inc (cos_test): Enable some large input tests for
69038         float as well
69039         (sin_test): Likewise.
69040         (sincos_test): Likewise.
69041         (tan_test): Add tests for large input.
69043         * sysdeps/i386/fpu/libm-test-ulps: Update.
69045 2012-03-15  Andreas Jaeger  <aj@suse.de>
69047         [BZ #13658]
69048         * math/libm-test.inc (cos_test): Add more test cases.
69049         (sin_test): Likewise.
69050         (sincos_test): Likewise.
69052 2012-03-15  Andreas Jaeger  <aj@suse.de>
69054         [BZ #13837]
69055         * math/libm-test.inc (cos_test): Add a test case for large input
69056         value.
69057         (sin_test): Likewise.
69058         (sincos_test): Likewise.
69060 2012-03-15  Andreas Jaeger  <aj@suse.de>
69061             Joseph Myers  <joseph@codesourcery.com>
69063         [BZ #13658]
69064         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69065         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69066         * sysdeps/i386/fpu/branred.c: Likewise.
69067         * sysdeps/i386/fpu/dosincos.c: Likewise.
69068         * sysdeps/i386/fpu/mpa.c: Likewise.
69069         * sysdeps/i386/fpu/s_cos.S: Likewise.
69070         * sysdeps/i386/fpu/s_sin.S: Likewise.
69071         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69072         * sysdeps/i386/fpu/sincos32.c: Likewise.
69074         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69075         Define.
69076         (libc_feupdateenv_53bit): Define.
69077         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69078         Define.
69079         (libc_feupdateenv_53bit): Define.
69081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69082         53 bit (without extend i386 double precision).
69084         * math/libm-test.inc (sincos_test): Add tests for large input.
69085         (sin): Likewise.
69086         (cos): Likewise.
69088         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69090 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69094 2012-03-15  David S. Miller  <davem@davemloft.net>
69096         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69097         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69098         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69099         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69112         file.
69113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69115         file.
69116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69118         file.
69119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69121         file.
69122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69123         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69124         fmin/fmax sysdep routines.
69125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69127 2012-03-14  David S. Miller  <davem@davemloft.net>
69129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69133         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69134         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69135         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69141         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69142         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69143         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69150         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69151         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69152         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69153         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69154         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69155         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69158         routines.
69159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69160         file.
69161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69163         file.
69164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69166         file.
69167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69169         file.
69170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69172         file.
69173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69175         file.
69176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69177         file.
69178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69179         file.
69180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69181         file.
69182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69183         New file.
69184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69185         file.
69186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69187         file.
69188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69190         file.
69191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69193         file.
69194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69196         file.
69197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69199         VIS3 routines.
69201         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69202         New file.
69204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69206         * sysdeps/sparc/configure.in: New file.
69207         * sysdeps/sparc/configure: Generate.
69208         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69209         * configure: Regenerate.
69210         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69211         * config.make.in (have-as-vis3): New.
69212         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69213         available use -Av9d instead of -Av9a.
69214         * sysdeps/sparc/sparc64/Makefile: Likewise.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69217         New file.
69218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69219         file.
69220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69221         New file.
69222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69223         file.
69224         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69225         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69226         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69227         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69230         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69231         fzeros/fnegs to load 0x80000000 into a float register instead of
69232         using the stack.
69233         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69235 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69238         bits/syscall.h.
69239         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69240         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69241         ($(inst_includedir)/bits/syscall.h): Remove rule.
69242         ($(objpfx)bits/syscall.d): Include instead of
69243         $(objpfx)syscall-list.d.
69244         (generated): Change syscall-list.h and syscall-list.d to
69245         bits/syscall.h and bits/syscall.d.
69247 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69249         [BZ #13846]
69250         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69252 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69254         [BZ #13841]
69255         * math/s_csqrt.c: Include <float.h>.
69256         (__csqrt): Scale large or subnormal inputs.
69257         * math/s_csqrtf.c: Likewise.
69258         * math/s_csqrtl.c: Likewise.
69259         * math/libm-test.inc (csqrt_test): Add more tests.
69260         * sysdeps/i386/fpu/libm-test-ulps: Update.
69261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69263         [BZ #13840]
69264         * math/libm-test.inc (hypot_test): Add more tests.
69266 2012-03-13  David S. Miller  <davem@davemloft.net>
69268         [BZ #13840]
69269         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69270         double-precision for the calculation instead of scaling.
69272 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69274         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69275         manipulate bits before adding and subtracting TWO52[sx].
69276         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69277         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69278         Likewise.
69279         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69281 2012-03-13  David S. Miller  <davem@davemloft.net>
69283         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69284         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69285         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69286         rtld-global-offsets.h
69287         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69289         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69290         large parameters.
69292         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69294         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69295         'err' in the ifdef scope in which it is actually used.
69297         * nss/nss_db/db-init.c: Include string.h
69299 2012-03-12  David S. Miller  <davem@davemloft.net>
69301         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69302         masking out of the most significant byte of random value used.
69303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69304         Fix coding style in previous change.
69306         * sysdeps/unix/sysv/linux/kernel-features.h
69307         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69308         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69309         expression.
69310         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69311         later.
69313 2012-03-11  David S. Miller  <davem@davemloft.net>
69315         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69316         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69317         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69318         for 'resultvar' otherwise things get truncated on 64-bit.
69320         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69321         Fix masking out of the most significant byte of random value used.
69323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69325 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69329 2012-03-09  David S. Miller  <davem@davemloft.net>
69331         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69332         variables with appropriate CPP guards.
69333         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69334         from the frame pointer, not the stack pointer.  Correct layout
69335         comments.  Fix test on resulting framesize and the management of
69336         the outregs buffer for pltexit.  Preserve floating point return
69337         values across _dl_call_pltexit call.
69338         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69339         framesize and the management of the outregs buffer for pltexit.
69340         Preserve floating point return values across _dl_call_pltexit
69341         call.
69342         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69343         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69344         (la_sparc64_gnu_pltexit): New functions.
69345         (print_exit): Fix format string for return register value.
69347 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69349         * sunrpc/Makefile (others): Add rpcgen.
69350         ($(objpfx)rpcgen): Remove special build rule and dependency on
69351         libc.
69352         * sunrpc/rpcgen.c: New file.
69354 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69356         [BZ #13673]
69357         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69358         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69359         * sysdeps/i386/crti.S: Likewise.
69360         * sysdeps/i386/crtn.S: Likewise.
69361         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69362         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69363         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69364         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69365         * sysdeps/sh/crti.S: Likewise.
69366         * sysdeps/sh/crtn.S: Likewise.
69367         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69369         [BZ #13673]
69370         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69371         with URL.
69372         * locale/programs/locfile-kw.gperf: Likewise.
69373         * locale/programs/charmap-kw.h: Regenerated.
69374         * locale/programs/locfile-kw.h: Likewise.
69376         [BZ #13673]
69377         * intl/plural.y: Replace FSF snail mail address with URL.
69378         * intl/plural.c: Regenerated.
69380 2012-03-09  Richard Henderson  <rth@twiddle.net>
69382         * include/math_private.h: Remove file.
69383         * math/math_private.h: Move file ...
69384         * sysdeps/generic/math_private.h: ... here.
69386         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69387         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69388         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69390         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69391         and <math_private.h>.
69392         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69393         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69394         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69395         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69396         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69397         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69398         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69399         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69400         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69401         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69403         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69404         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69405         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69406         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69407         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69408         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69410         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69411         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69413         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69414         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69416         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69417         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69418         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69419         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69420         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69421         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69422         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69423         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69424         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69425         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69426         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69429         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69430         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69431         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69432         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69433         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69434         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69435         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69436         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69437         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69438         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69439         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69440         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69441         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69442         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69443         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69444         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69445         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69446         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69447         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69448         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69449         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69450         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69451         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69452         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69453         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69455         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69456         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69457         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69458         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69459         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69460         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69461         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69462         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69463         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69464         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69465         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69466         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69467         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69469         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69470         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69471         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69472         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69473         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69474         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69475         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69476         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69477         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69479         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69480         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69483         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69484         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69485         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69486         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69487         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69488         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69489         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69490         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69491         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69492         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69493         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69494         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69495         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69496         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69497         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69498         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69499         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69500         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69502         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69503         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69504         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69505         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69506         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69507         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69508         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69509         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69510         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69511         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69512         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69513         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69514         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69515         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69516         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69517         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69518         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69519         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69520         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69521         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69522         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69523         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69524         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69525         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69526         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69527         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69528         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69529         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69530         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69531         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69532         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69533         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69534         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69535         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69536         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69537         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69538         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69539         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69540         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69541         * sysdeps/ieee754/k_standard.c: Likewise.
69542         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69543         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69544         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69545         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69546         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69547         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69548         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69549         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69550         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69552         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69554         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69555         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69556         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69557         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69558         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69559         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69560         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69561         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69562         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69563         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69564         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69565         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69566         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69567         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69568         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69569         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69570         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69571         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69572         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69573         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69574         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69575         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69576         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69577         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69578         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69579         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69580         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69581         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69582         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69583         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69584         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69585         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69586         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69587         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69588         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69589         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69590         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69591         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69592         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69593         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69594         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69595         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69596         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69597         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69598         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69599         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69600         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69601         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69602         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69603         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69604         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69605         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69606         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69607         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69608         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69609         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69610         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69611         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69612         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69615         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69616         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69617         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69618         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69619         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69620         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69621         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69622         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69623         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69624         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69625         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69626         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69627         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69628         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69629         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69630         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69631         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69632         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69633         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69634         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69635         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69636         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69637         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69638         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69639         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69640         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69641         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69642         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69643         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69644         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69645         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69646         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69647         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69648         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69649         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69650         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69651         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69652         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69653         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69654         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69655         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69656         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69657         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69658         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69659         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69660         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69661         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69662         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69663         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69664         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69665         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69666         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69667         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69668         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69669         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69670         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69672         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69673         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69674         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69675         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69676         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69677         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69678         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69679         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69680         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69681         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69682         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69683         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69684         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69685         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69686         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69687         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69688         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69689         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69690         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69691         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69692         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69693         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69694         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69695         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69696         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69697         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69698         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69699         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69700         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69701         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69702         * sysdeps/ieee754/s_lib_version.c: Likewise.
69703         * sysdeps/ieee754/s_matherr.c: Likewise.
69704         * sysdeps/ieee754/s_signgam.c: Likewise.
69705         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69706         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69707         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69708         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69709         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69710         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69711         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69712         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69713         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69714         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69715         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69716         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69717         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69718         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69719         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69720         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69721         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69722         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69723         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69727 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69729         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69730         * sunrpc/rpc_main.c: Likewise.
69731         * sunrpc/rpc_svcout.c: Likewise.
69733 2012-03-09  David S. Miller  <davem@davemloft.net>
69735         * include/math_private.h: New file.
69737 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69739         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69740         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69741         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69742         from <bits/socket_type.h>.
69743         (enum __socket_type): Don't define here.
69744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69746         bits/socket_type.h.
69748         [BZ #13566]
69749         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69750         checking __USE_GNU.
69752         * Makerules ($(inst_includedir)/%.h): New rule.
69753         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69754         (install-others): Remove variable setting.
69755         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69757 2012-03-08  Richard Henderson  <rth@twiddle.net>
69759         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69760         from macro to inline function; merge with the
69761         !__LIBC_INTERNAL_MATH_INLINES version.
69762         (__ieee754_sqrtf): Likewise.
69764         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69765         to inline function.
69766         (__rintf, __floor, __floorf): Likewise.
69768         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69769         macro to inline function.
69770         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69772         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69773         not <math/math_private.h>.
69775 2012-03-08  David S. Miller  <davem@davemloft.net>
69777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69778         copyright year.
69779         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69781 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69783         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69784         normalization.
69785         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69786         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69788 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69790         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69791         be defined individually, they must be defined as a block.  Define
69792         S for printing a string instead of hidint the different by using a
69793         macro for adding the 'l'.
69794         * stdio-common/tst-fphex-wide.c: Adjust.
69796 2012-03-07  Marek Polacek  <polacek@redhat.com>
69798         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69800 2012-03-08  Marek Polacek  <polacek@redhat.com>
69802         [BZ #13806]
69803         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69804         * stdio-common/tst-fphex.c: Define a few macros to make the
69805         test reusable.  Use them.
69806         * stdio-common/tst-fphex-wide.c: New file.
69808 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69810         [BZ #6911]
69811         * manual/macros.texi (gnusystems): New macro.
69812         (nongnusystems): Likewise.
69813         (gnulinuxhurdsystems): Likewise.
69814         (gnuhurdsystems): Likewise..
69815         (gnulinuxsystems): Likewise.
69816         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69817         variants of the GNU system, not "GNU system".
69818         * manual/conf.texi: Likewise.
69819         * manual/errno.texi: Likewise.  Update example of errno macro
69820         expansion.
69821         * manual/filesys.texi: Likewise.
69822         (getumask): Document as specific to GNU/Hurd.
69823         * manual/install.texi: Likewise.  Reword some references to
69824         GNU/Linux.
69825         * manual/intro.texi: Likewise.
69826         * manual/io.texi: Likewise.
69827         (File Name Portability): Detail which constraints are inapplicable
69828         to all GNU systems and which are only inapplicable to GNU/Hurd.
69829         * manual/job.texi: Likewise.
69830         * manual/llio.texi: Likewise.
69831         (O_NOCTTY): Document as present on GNU/Linux.
69832         * manual/maint.texi: Likewise.
69833         * manual/memory.texi: Likewise.
69834         * manual/pattern.texi: Likewise.
69835         * manual/pipe.texi: Likewise.
69836         * manual/process.texi: Likewise.
69837         * manual/resource.texi: Likewise.
69838         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69839         child on GNU/Hurd.
69840         * manual/setjmp.texi: Likewise.
69841         * manual/signal.texi: Likewise.
69842         * manual/startup.texi: Likewise.
69843         * manual/stdio.texi: Likewise.
69844         * manual/terminal.texi: Likewise.
69845         (ONLCR): Document as POSIX.
69846         (OXTABS): Document availability on GNU/Linux as XTABS.
69847         (ONOEOT): Document availability separately from other bits.
69848         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69849         * manual/time.texi: Likewise.
69850         * manual/users.texi: Likewise.
69851         * INSTALL: Regenerated.
69852         * sysdeps/gnu/errlist.c: Regenerated.
69854         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69855         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69856         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69857         puts.
69858         * configure: Regenerated.
69860 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69862         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69863         default includes instead of AC_HEADER_CHECK.
69864         * sysdeps/i386/configure: Regenerated.
69866         [BZ #10716]
69867         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69868         * math/s_cacoshf.c (__cacoshf): Likewise.
69869         * math/s_cacoshl.c (__cacoshl): Likewise.
69870         * math/s_casinh.c (__casinh): Set signs of result from argument.
69871         * math/s_casinhf.c (__casinhf): Likewise.
69872         * math/s_casinhl.c (__casinhl): Likewise.
69873         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69874         (casinh_test): Add more tests.
69875         * sysdeps/i386/fpu/libm-test-ulps: Update.
69876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69878 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69880         * po/zh_TW.po: Update from translation team.
69882         * login/Makefile (distribute): Remove variable.
69883         * catgets/Makefile: Likewise.
69884         * mach/Makefile: Likewise.
69885         * malloc/Makefile: Likewise.
69886         * misc/Makefile: Likewise.
69887         * iconv/Makefile: Likewise.
69888         * nscd/Makefile: Likewise.
69889         * hurd/Makefile: Likewise.
69890         * manual/Makefile: Likewise.
69891         * locale/Makefile: Likewise.
69892         * intl/Makefile: Likewise.
69893         * conform/Makefile: Likewise.
69894         * nss/Makefile: Likewise.
69895         * time/Makefile: Likewise.
69896         * soft-fp/Makefile: Likewise.
69897         * dirent/Makefile: Likewise.
69898         * gmon/Makefile: Likewise.
69899         * po/Makefile: Likewise.
69900         * rt/Makefile: Likewise.
69901         * socket/Makefile: Likewise.
69902         * math/Makefile: Likewise.
69903         * signal/Makefile: Likewise.
69904         * debug/Makefile: Likewise.
69905         * elf/Makefile: Likewise.
69906         * timezone/Makefile: Likewise.
69907         * stdlib/Makefile: Likewise.
69908         * iconvdata/Makefile: Likewise.
69909         * sunrpc/Makefile: Likewise.
69910         * io/Makefile: Likewise.
69911         * argp/Makefile: Likewise.
69912         * inet/Makefile: Likewise.
69913         * hesiod/Makefile: Likewise.
69914         * grp/Makefile: Likewise.
69915         * csu/Makefile: Likewise.
69916         * wctype/Makefile: Likewise.
69917         * crypt/Makefile: Likewise.
69918         * libio/Makefile: Likewise.
69919         * string/Makefile: Likewise.
69920         * nis/Makefile: Likewise.
69921         * resolv/Makefile: Likewise.
69922         * stdio-common/Makefile: Likewise.
69923         * wcsmbs/Makefile: Likewise.
69924         * dlfcn/Makefile: Likewise.
69925         * posix/Makefile: Likewise.
69927         [BZ #6959]
69928         * timezone/Makefile: Don't install timezone files, just the programs
69929         and scripts.
69931 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69933         * nss/databases.def: Add missing gshadow entry.
69935         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69937 2012-03-06  Marek Polacek  <polacek@redhat.com>
69939         [BZ #13726]
69940         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69941         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69942         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69943         * stdio-common/tst-long-dbl-fphex.c: New file.
69945 2012-03-06  David S. Miller  <davem@davemloft.net>
69947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69948         (set_obp_int): New function.
69949         (get_obp_int): New function.
69950         (__get_clockfreq_via_dev_openprom): Likewise.
69951         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69952         Avoid unused variable warnings on 'val' and use builtin_expect.
69953         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69954         __builtin_expect.
69955         (INLINE_CLONE_SYSCALL): Likewise.
69957 2012-03-05  David S. Miller  <davem@davemloft.net>
69959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69961 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69965         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69966         only for |x| >= 40.
69967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69969 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69971         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69972         Replace gettimeofday with __vdso_gettimeofday.
69974         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69975         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69976         __vdso_clock_gettime and __vdso_getcpu.
69978         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69979         time with __vdso_time.
69981 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69983         * manual/lang.texi (size_t): Note types to which size_t may be
69984         equivalent with the GNU C Library, but do not describe when
69985         differences between them are significant.
69987 2012-03-05  Andreas Jaeger  <aj@suse.de>
69989         * sysdeps/i386/fpu/libm-test-ulps: Update.
69991 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69993         [BZ #3976]
69994         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69995         (__ieee754_pow): Save and restore rounding mode and use
69996         round-to-nearest for main computations.
69997         * math/libm-test.inc (pow_test_tonearest): New function.
69998         (pow_test_towardzero): Likewise.
69999         (pow_test_downward): Likewise.
70000         (pow_test_upward): Likewise.
70001         (main): Call the new functions.
70002         * sysdeps/i386/fpu/libm-test-ulps: Update.
70003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70005         [BZ #3976]
70006         * math/libm-test.inc (cosh_test_tonearest): New function.
70007         (cosh_test_towardzero): Likewise.
70008         (cosh_test_downward): Likewise.
70009         (cosh_test_upward): Likewise.
70010         (sinh_test_tonearest): Likewise.
70011         (sinh_test_towardzero): Likewise.
70012         (sinh_test_downward): Likewise.
70013         (sinh_test_upward): Likewise.
70014         (main): Call the new functions.
70015         * sysdeps/i386/fpu/libm-test-ulps: Update.
70016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70018 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70020         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70021         default stack guard is set in last bytes.
70022         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70024 2012-03-05  Kees Cook  <keescook@chromium.org>
70026         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70028         [BZ #13656]
70029         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70030         possibly allocate from heap instead of stack.
70031         * stdio-common/bug-vfprintf-nargs.c: New file.
70032         * stdio-common/Makefile (tests): Add nargs overflow test.
70034 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70038 2012-03-03  Marek Polacek  <polacek@redhat.com>
70040         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70041         * math/math_private.h: Likewise.
70042         * stdlib/tst-strtod.c: Likewise.
70043         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70044         * sysdeps/x86_64/bits/atomic.h: Likewise.
70046 2012-03-02  David S. Miller  <davem@davemloft.net>
70048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70052         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70053         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70054         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70055         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70057 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70059         [BZ #13792]
70060         * manual/examples/README: New file, says the example source files
70061         can be used under GPL>=2.
70062         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70063         line containing just "*/".
70064         * manual/examples/add.c: Add copyright header (GPL>=2).
70065         * manual/examples/argp-ex1.c: Likewise.
70066         * manual/examples/argp-ex2.c: Likewise.
70067         * manual/examples/argp-ex3.c: Likewise.
70068         * manual/examples/argp-ex4.c: Likewise.
70069         * manual/examples/atexit.c: Likewise.
70070         * manual/examples/db.c: Likewise.
70071         * manual/examples/dir.c: Likewise.
70072         * manual/examples/dir2.c: Likewise.
70073         * manual/examples/execinfo.c: Likewise.
70074         * manual/examples/filecli.c: Likewise.
70075         * manual/examples/filesrv.c: Likewise.
70076         * manual/examples/fmtmsgexpl.c: Likewise.
70077         * manual/examples/genpass.c: Likewise.
70078         * manual/examples/inetcli.c: Likewise.
70079         * manual/examples/inetsrv.c: Likewise.
70080         * manual/examples/isockad.c: Likewise.
70081         * manual/examples/longopt.c: Likewise.
70082         * manual/examples/memopen.c: Likewise.
70083         * manual/examples/memstrm.c: Likewise.
70084         * manual/examples/mkfsock.c: Likewise.
70085         * manual/examples/mkisock.c: Likewise.
70086         * manual/examples/mygetpass.c: Likewise.
70087         * manual/examples/pipe.c: Likewise.
70088         * manual/examples/popen.c: Likewise.
70089         * manual/examples/rprintf.c: Likewise.
70090         * manual/examples/search.c: Likewise.
70091         * manual/examples/select.c: Likewise.
70092         * manual/examples/setjmp.c: Likewise.
70093         * manual/examples/sigh1.c: Likewise.
70094         * manual/examples/sigusr.c: Likewise.
70095         * manual/examples/stpcpy.c: Likewise.
70096         * manual/examples/strdupa.c: Likewise.
70097         * manual/examples/strftim.c: Likewise.
70098         * manual/examples/strncat.c: Likewise.
70099         * manual/examples/subopt.c: Likewise.
70100         * manual/examples/swapcontext.c: Likewise.
70101         * manual/examples/termios.c: Likewise.
70102         * manual/examples/testopt.c: Likewise.
70103         * manual/examples/testpass.c: Likewise.
70104         * manual/examples/timeval_subtract.c: Likewise.
70106         [BZ #13792]
70107         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70108         function to ...
70109         * manual/timeval_subtract.c.texi: ... here, new file.
70111 2012-03-02  David S. Miller  <davem@davemloft.net>
70113         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70115 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70117         [BZ #3976]
70118         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70119         (__sin): Save and restore rounding mode and use round-to-nearest
70120         for all computations.
70121         (__cos): Save and restore rounding mode and use round-to-nearest
70122         for all computations.
70123         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70124         <fenv.h>.
70125         (tan): Save and restore rounding mode and use round-to-nearest for
70126         all computations.
70127         * math/libm-test.inc (cos_test_tonearest): New function.
70128         (cos_test_towardzero): Likewise.
70129         (cos_test_downward): Likewise.
70130         (cos_test_upward): Likewise.
70131         (sin_test_tonearest): Likewise.
70132         (sin_test_towardzero): Likewise.
70133         (sin_test_downward): Likewise.
70134         (sin_test_upward): Likewise.
70135         (tan_test_tonearest): Likewise.
70136         (tan_test_towardzero): Likewise.
70137         (tan_test_downward): Likewise.
70138         (tan_test_upward): Likewise.
70139         (main): Call the new functions.
70140         * sysdeps/i386/fpu/libm-test-ulps: Update.
70141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70143         [BZ #10135]
70144         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70145         small n, then large n, before computing and testing k+n.
70146         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70148         Likewise.
70149         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70150         Likewise.
70151         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70152         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70153         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70154         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70155         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70156         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70157         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70158         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70159         * math/libm-test.inc (scalbn_test): Add more tests.
70160         (scalbln_test): Likewise.
70162         * manual/filesys.texi (mode_t): Describe constraints on size and
70163         signedness, not exact equivalence to a particular type.
70164         (ino_t): Likewise.
70165         (ino64_t): Likewise.
70166         (dev_t): Likewise.
70167         (nlink_t): Likewise.
70168         (blkcnt_t): Likewise.
70169         (blkcnt64_t): Likewise.
70170         * manual/llio.texi (off_t): Likewise.
70172         [BZ #3976]
70173         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70174         (__ieee754_exp): Save and restore rounding mode and use
70175         round-to-nearest for all computations.
70176         * math/libm-test.inc (exp_test_tonearest): New function.
70177         (exp_test_towardzero): Likewise.
70178         (exp_test_downward): Likewise.
70179         (exp_test_upward): Likewise.
70180         (main): Call the new functions.
70181         * sysdeps/i386/fpu/libm-test-ulps: Update.
70182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70184 2012-03-01  Chris Demetriou  <cgd@google.com>
70186         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70187         have predictable order.
70189 2012-03-01  David S. Miller  <davem@davemloft.net>
70191         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70193         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70194         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70195         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70196         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70198         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70199         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70200         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70202         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70203         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70204         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70205         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70206         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70210         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70211         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70212         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70214         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70215         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70216         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70217         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70218         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70219         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70220         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70221         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70222         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70223         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70224         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70225         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70227         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70228         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70230         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70231         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70232         * sysdeps/sparc/elf/configure: Regenerated.
70234 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70236         * configure.in (AS, LD): Require binutils 2.20 or later.
70237         * configure: Regenerated.
70238         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70239         as required minimum version.
70240         * INSTALL: Regenerated.
70242         [BZ #2541]
70243         [BZ #4108]
70244         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70245         before squaring exponent.
70246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70247         bottom long double and 27 bits of top long double before squaring
70248         exponent.
70249         * math/libm-test.inc (erfc_test): Add more tests.
70250         * sysdeps/i386/fpu/libm-test-ulps: Update.
70251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70254 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70256         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70257         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70258         containing bit-fields.
70259         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70260         * soft-fp/single.h (_FP_UNION_S): Likewise.
70261         * soft-fp/double.h (_FP_UNION_D): Likewise.
70263 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70265         [BZ #13786]
70266         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70267         not include ../strcmp.S.
70268         [USE_AS_STRNCASECMP_L]: Likewise.
70269         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70270         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70271         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70272         (__strncasecmp_l_ia32): Define as alias to
70273         __strncasecmp_l_nonascii.
70275         [BZ #5794]
70276         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70277         * sysdeps/i386/fpu/libm-test-ulps: Update.
70278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70280         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70283 2012-02-29  Jeff Law  <law@redhat.com>
70285         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70286         out of bounds read.
70288 2012-02-29  Marek Polacek  <polacek@redhat.com>
70290         [BZ #13706]
70291         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70292         * elf/Makefile: Add rules to run tst-unused-dep.out.
70294 2012-02-28  David S. Miller  <davem@davemloft.net>
70296         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70297         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70298         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70299         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70300         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70301         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70303 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70305         * math/libm-test.inc (llround_test): Move one test from
70306         lround_test.  Use TEST_f_L in moved test.
70307         (lround_test): Move misplaced test to llround_test.  Add testcase
70308         from bug 2561.
70310 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70312         * sysdeps/x86_64/fpu/e_expf.S: New file.
70313         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70315 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70317         [BZ #13637]
70318         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70319         of remain_len that may cause incomplete multi-byte character and
70320         false match.
70321         * posix/bug-regex33.c: New file.
70322         * posix/Makefile (tests): Add bug-regex33.
70324 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70326         * manual/macros.texi: New file.
70327         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70328         * manual/libc.texinfo: Include macros.texi.
70329         * manual/creatute.texi: Likewise.
70330         * manual/install.texi: Likewise.
70331         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70332         @glibcadj{} in references to the GNU C Library.
70333         * manual/charset.texi: Likewise.
70334         * manual/conf.texi: Likewise.
70335         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70336         when not using those macros.
70337         * manual/creature.texi: Likewise.
70338         * manual/crypt.texi: Likewise.
70339         * manual/errno.texi: Likewise.
70340         * manual/filesys.texi: Likewise.
70341         * manual/header.texi: Likewise.
70342         * manual/install.texi: Likewise.
70343         * manual/intro.texi: Likewise.
70344         * manual/io.texi: Likewise.
70345         * manual/job.texi: Likewise.
70346         * manual/lang.texi: Likewise.
70347         * manual/libc.texiinfo: Likewise.
70348         * manual/llio.texi: Likewise.
70349         * manual/locale.texi: Likewise.
70350         * manual/maint.texi: Likewise.
70351         * manual/math.texi: Likewise.
70352         * manual/memory.texi: Likewise.
70353         * manual/message.texi: Likewise.
70354         * manual/nss.texi: Likewise.
70355         * manual/pattern.texi: Likewise.
70356         * manual/process.texi: Likewise.
70357         * manual/resource.texi: Likewise.
70358         * manual/search.texi: Likewise.
70359         * manual/setjmp.texi: Likewise.
70360         * manual/signal.texi: Likewise.
70361         * manual/socket.texi: Likewise.
70362         * manual/startup.texi: Likewise.
70363         * manual/stdio.texi: Likewise.
70364         * manual/string.texi: Likewise.
70365         * manual/sysinfo.texi: Likewise.
70366         * manual/syslog.texi: Likewise.
70367         * manual/terminal.texi: Likewise.
70368         * manual/time.texi: Likewise.
70369         * manual/users.texi: Likewise.
70370         * INSTALL: Regenerated.
70371         * NOTES: Regenerated.
70372         * sysdeps/gnu/errlist.c: Regenerated.
70374 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70376         * include/dirent.h: Include <dirstream.h> before
70377         <dirent/dirent.h>.
70379 2012-02-28  David S. Miller  <davem@davemloft.net>
70381         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70382         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70383         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70384         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70386 2012-02-27  David S. Miller  <davem@davemloft.net>
70388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70390         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70391         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70394         frame pointer instead of stack pointer relative arg slot.
70395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70396         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70397         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70399 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70401         [BZ #3992]
70402         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70404 2012-02-27  David S. Miller  <davem@davemloft.net>
70406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70410         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70411         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70412         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70413         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70415 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70417         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70418         later.  Allow versions 5-9.
70419         * configure: Regenerated.
70420         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70421         required minimum version and 4.6 as recommended version.  Do not
70422         mention bugs in GCC 2.7 and 2.8.
70423         * INSTALL: Regenerated.
70425 2012-02-27  David S. Miller  <davem@davemloft.net>
70427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70432         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70433         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70434         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70436         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70437         manipulate bits before adding and subtracting TWO112[sx].
70438         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70440 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70442         [BZ #13775]
70443         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70444         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70445         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70446         being in POSIX, because they are in 1003.1-2008.
70448         * rt/tst-aio.c: Include <fcntl.h>.
70449         * rt/tst-aio7.c: Likewise.
70450         * rt/tst-aio64.c: Likewise.
70452         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70454 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70456         * manual/install.texi (--with-headers): Describe headers as
70457         interface headers, not private headers.
70458         (Specific advice for GNU/Linux systems): Describe use of headers
70459         from "make headers_install", not private headers from older
70460         kernels.
70461         * INSTALL: Regenerated.
70462         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70463         Change to 2.6.19.
70464         * sysdeps/unix/sysv/linux/configure: Regenerated.
70466         * manual/llio.texi (fclean): Remove documentation.
70468         * manual/Makefile (libc-texi-generated): New variable.  Include
70469         version.texi.
70470         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70471         $(libc-texi-generated), not duplicated list of files.
70472         (version.texi, stamp-version): New rules.
70473         (realclean): Remove $(libc-texi-generated), not individual files
70474         from that list.  Do not remove dir-add.texinfo.
70475         * manual/libc.texinfo: Comment out uses of edition numbers and
70476         references to printed manual.  Remove last-updated dates.
70477         (EDITION): Comment out.
70478         (ISBN): Likewise.
70479         (VERSION, UPDATED): Remove.
70480         (version.texi): Include.
70482 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70484         * sysdeps/posix/spawni.c: Include <signal.h>.
70485         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70486         * sysdeps/pthread/aio_fsync.c: Likewise.
70488 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70490         * conform/Makefile (tests): Run only when not cross-compiling and
70491         when fast-check is not defined.
70493         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70494         * conform/data/limits.h-data: Fixes for POSIX2008.
70495         * conform/run-conformtest.sh: Run all tests.
70496         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70497         headers.
70498         * include/bits/dlfcn.h: Likewise.
70499         * include/langinfo.h: Likewise.
70500         * include/monetary.h: Likewise.
70501         * include/sys/poll.h: Likewise.
70503         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70504         for __USE_GNU.
70505         * posix/spawn.h: Define __need_sigset_t.
70506         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70507         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70508         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70509         to get sigevent_t only.
70510         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70511         only for __USE_GNU.
70512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70513         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70514         process_vm_writev only for __USE_GNU.
70515         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70517         * conform/Makefile: For now ignore errors from run-conformtest.
70518         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70519         POSIX to avoid namespace pollution.  Don't prepend headers.
70520         * conform/data/aio.h-data: Fixes for POSIX testing.
70521         * conform/data/fcntl.h-data: Likewise.
70522         * conform/data/glob.h-data: Likewise.
70523         * conform/data/grp.h-data: Likewise.
70524         * conform/data/pthread.h-data: Likewise.
70525         * conform/data/pwd.h-data: Likewise.
70526         * conform/data/signal.h-data: Likewise.
70527         * conform/data/spawn.h-data: Likewise.
70528         * conform/data/stdio.h-data: Likewise.
70529         * conform/data/stdlib.h-data: Likewise.
70530         * conform/data/stropts.h-data: Likewise.
70531         * conform/data/sys/mman.h-data: Likewise.
70532         * conform/data/sys/stat.h-data: Likewise.
70533         * conform/data/sys/types.h-data: Likewise.
70534         * conform/data/sys/wait.h-data: Likewise.
70535         * conform/data/time.h-data: Likewise.
70536         * conform/data/unistd.h-data: Likewise.
70537         * conform/data/utime.h-data: Likewise.
70539         * io/sys/stat.h: fchmod was always in POSIX.
70540         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70541         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70542         * rt/aio.h: Define __need_timespec before including <time.h>.
70543         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70544         struct.  Add forward declaration of pthread_attr_t and use it in
70545         sigevent.
70546         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70547         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70548         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70549         always remove CLK_TCK definition.
70551 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70553         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70555 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70557         * conform/run-conformtest.sh: New file.
70558         * conform/Makefile: Run run-conformtest for tests.
70559         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70560         support.
70562         * conform/data/uchar.h-data: New file.
70563         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70564         * conform/data/arpa/inet.h-data: Likewise.
70565         * conform/data/assert.h-data: Likewise.
70566         * conform/data/complex.h-data: Likewise.
70567         * conform/data/cpio.h-data: Likewise.
70568         * conform/data/ctype.h-data: Likewise.
70569         * conform/data/dirent.h-data: Likewise.
70570         * conform/data/dlfcn.h-data: Likewise.
70571         * conform/data/errno.h-data: Likewise.
70572         * conform/data/fcntl.h-data: Likewise.
70573         * conform/data/float.h-data: Likewise.
70574         * conform/data/fmtmsg.h-data: Likewise.
70575         * conform/data/fnmatch.h-data: Likewise.
70576         * conform/data/ftw.h-data: Likewise.
70577         * conform/data/glob.h-data: Likewise.
70578         * conform/data/grp.h-data: Likewise.
70579         * conform/data/iconv.h-data: Likewise.
70580         * conform/data/inttypes.h-data: Likewise.
70581         * conform/data/langinfo.h-data: Likewise.
70582         * conform/data/libgen.h-data: Likewise.
70583         * conform/data/limits.h-data: Likewise.
70584         * conform/data/locale.h-data: Likewise.
70585         * conform/data/math.h-data: Likewise.
70586         * conform/data/monetary.h-data: Likewise.
70587         * conform/data/mqueue.h-data: Likewise.
70588         * conform/data/ndbm.h-data: Likewise.
70589         * conform/data/net/if.h-data: Likewise.
70590         * conform/data/netdb.h-data: Likewise.
70591         * conform/data/netinet/in.h-data: Likewise.
70592         * conform/data/nl_types.h-data: Likewise.
70593         * conform/data/poll.h-data: Likewise.
70594         * conform/data/pthread.h-data: Likewise.
70595         * conform/data/pwd.h-data: Likewise.
70596         * conform/data/regex.h-data: Likewise.
70597         * conform/data/sched.h-data: Likewise.
70598         * conform/data/search.h-data: Likewise.
70599         * conform/data/semaphore.h-data: Likewise.
70600         * conform/data/setjmp.h-data: Likewise.
70601         * conform/data/signal.h-data: Likewise.
70602         * conform/data/spawn.h-data: Likewise.
70603         * conform/data/stdarg.h-data: Likewise.
70604         * conform/data/stdio.h-data: Likewise.
70605         * conform/data/stdlib.h-data: Likewise.
70606         * conform/data/string.h-data: Likewise.
70607         * conform/data/strings.h-data: Likewise.
70608         * conform/data/stropts.h-data: Likewise.
70609         * conform/data/sys/ipc.h-data: Likewise.
70610         * conform/data/sys/mman.h-data: Likewise.
70611         * conform/data/sys/msg.h-data: Likewise.
70612         * conform/data/sys/resource.h-data: Likewise.
70613         * conform/data/sys/select.h-data: Likewise.
70614         * conform/data/sys/sem.h-data: Likewise.
70615         * conform/data/sys/shm.h-data: Likewise.
70616         * conform/data/sys/socket.h-data: Likewise.
70617         * conform/data/sys/stat.h-data: Likewise.
70618         * conform/data/sys/statvfs.h-data: Likewise.
70619         * conform/data/sys/time.h-data: Likewise.
70620         * conform/data/sys/timeb.h-data: Likewise.
70621         * conform/data/sys/times.h-data: Likewise.
70622         * conform/data/sys/types.h-data: Likewise.
70623         * conform/data/sys/uio.h-data: Likewise.
70624         * conform/data/sys/un.h-data: Likewise.
70625         * conform/data/sys/utsname.h-data: Likewise.
70626         * conform/data/sys/wait.h-data: Likewise.
70627         * conform/data/syslog.h-data: Likewise.
70628         * conform/data/tar.h-data: Likewise.
70629         * conform/data/termios.h-data: Likewise.
70630         * conform/data/utime.h-data: Likewise.
70631         * conform/data/utmpx.h-data: Likewise.
70632         * conform/data/varargs.h-data: Likewise.
70633         * conform/data/wchar.h-data: Likewise.
70634         * conform/data/wctype.h-data: Likewise.
70635         * conform/data/wordexp.h-data: Likewise.
70637         * include/stropts.h: New file.
70638         * include/uchar.h: New file.
70639         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70640         * include/assert.h: Likewise.
70641         * include/ctype.h: Likewise.
70642         * include/dirent.h: Likewise.
70643         * include/dlfcn.h: Likewise.
70644         * include/fcntl.h: Likewise.
70645         * include/fnmatch.h: Likewise.
70646         * include/glob.h: Likewise.
70647         * include/grp.h: Likewise.
70648         * include/libio.h: Likewise.
70649         * include/locale.h: Likewise.
70650         * include/math.h: Likewise.
70651         * include/net/if.h: Likewise.
70652         * include/netdb.h: Likewise.
70653         * include/netinet/in.h: Likewise.
70654         * include/pthread.h: Likewise.
70655         * include/pwd.h: Likewise.
70656         * include/regex.h: Likewise.
70657         * include/sched.h: Likewise.
70658         * include/search.h: Likewise.
70659         * include/setjmp.h: Likewise.
70660         * include/signal.h: Likewise.
70661         * include/stdio.h: Likewise.
70662         * include/stdlib.h: Likewise.
70663         * include/string.h: Likewise.
70664         * include/sys/cdefs.h: Likewise.
70665         * include/sys/mman.h: Likewise.
70666         * include/sys/msg.h: Likewise.
70667         * include/sys/resource.h: Likewise.
70668         * include/sys/select.h: Likewise.
70669         * include/sys/socket.h: Likewise.
70670         * include/sys/stat.h: Likewise.
70671         * include/sys/statvfs.h: Likewise.
70672         * include/sys/time.h: Likewise.
70673         * include/sys/times.h: Likewise.
70674         * include/sys/uio.h: Likewise.
70675         * include/sys/utsname.h: Likewise.
70676         * include/sys/wait.h: Likewise.
70677         * include/termios.h: Likewise.
70678         * include/time.h: Likewise.
70679         * include/ulimit.h: Likewise.
70680         * include/unistd.h: Likewise.
70681         * include/utime.h: Likewise.
70682         * include/wchar.h: Likewise.
70683         * include/wctype.h: Likewise.
70684         * include/wordexp.h: Likewise.
70686         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70688         * time/time.h: TIME_UTC must be a macro.
70689         Make timespec_get available for ISO C11 only as well.
70691 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70693         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70694         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70696 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70698         * configure.in: Use -o not -a in test for unsupported multi-arch.
70700 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70702         * manual/texinfo.tex: Update to version 2012-01-19.16.
70704 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70706         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70708 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70710         [BZ #13738]
70711         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70712         * manual/fdl-1.3.texi: New file.
70713         * manual/fdl-1.1.texi: File removed.
70715         [BZ #13738]
70716         * manual/libc.texinfo (FDL_VERSION): New @set.
70717         Use it for mention of FDL in cover text.
70718         (Documentation License): Use it in @include file name.
70720 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70721             Roland McGrath  <roland@hack.frob.com>
70723         [BZ #5461]
70724         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70725         (not LONG_LONG_MAX and LONG_LONG_MIN.
70726         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70727         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70728         name.
70729         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70731 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70733         [BZ #2547]
70734         [BZ #11365]
70735         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70736         manipulate bits before adding and subtracting TWO23[sx].
70737         * math/libm-test.inc (nearbyint_test): Add more tests.
70739 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70741         [BZ #2548]
70742         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70743         bits before adding and subtracting TWO23[sx].
70744         * math/libm-test.inc (rint_test): Add more tests.
70745         (rint_test_tonearest): Likewise.
70746         (rint_test_towardzero): Likewise.
70747         (rint_test_downward): Likewise.
70748         (rint_test_upward: Likewise.
70750 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70752         [BZ #10110]
70753         * include/stdc-predef.h: New file.  Extracted from features.h.
70754         * include/features.h: Include stdc-predef.h.
70755         * Makefile (headers): Add stdc-predef.h.
70756         * CONFORMANCE (Compiler limitations): Update.
70758 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70760         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70762 2012-02-21  David S. Miller  <davem@davemloft.net>
70764         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70765         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70767 2012-02-20  David S. Miller  <davem@davemloft.net>
70769         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70770         using a normal save/restore sequence, rather than allocating a
70771         dummy stack frame just to store a frame pointer and restore.
70772         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70774 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70776         * manual/install.texi: Fix stray word in line-wrapped comment.
70778 2012-02-20  David S. Miller  <davem@davemloft.net>
70780         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70781         both binutils and gcc support GOTDATA.
70783         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70784         "rd %pc" in the PIC register setup sequences.
70786         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70787         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70788         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70789         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70790         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70791         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70792         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70793         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70795         (SYSCALL_ERROR_HANDLER): Likewise.
70796         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70799         (SYSCALL_ERROR_HANDLER): Likewise.
70801         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70802         (HAVE_GCC_GOTDATA): New.
70803         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70804         relocation support in both binutils and gcc.
70805         * sysdeps/sparc/elf/configure: Regenerate.
70807         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70808         * sysdeps/sparc/sparc32/elf/configure: Delete.
70809         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70810         * sysdeps/sparc/sparc64/elf/configure: Delete.
70811         * sysdeps/sparc/elf/configure.in: New file.
70812         * sysdeps/sparc/elf/configure: Generate.
70814         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70815         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70816         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70817         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70818         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70820 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70822         * manual/install.texi: Do not mention specific glibc version
70823         numbers.
70824         * manual/libc.texinfo (VERSION, UPDATED): Update.
70825         (@copying): Use @copyright{} and range of years.
70827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70829         [BZ #13695]
70830         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70831         [crti.S not in sysdirs] (generated): Do not append.
70832         [crti.S not in sysdirs] (omit-deps): Likewise.
70833         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70834         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70835         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70836         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70837         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70838         Likewise.
70839         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70840         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70841         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70842         * csu/defs.awk: Remove file.
70843         * sysdeps/generic/initfini.c: Likewise.
70844         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70845         variable.
70846         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70847         Likewise.
70849 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70851         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70852         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70853         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70854         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70855         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70856         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70857         <bits/epoll.h>.
70858         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70859         (__EPOLL_PACKED): Define to empty if not defined by
70860         <bits/epoll.h>.
70861         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70863         bits/epoll.h.
70865 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70867         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70868         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70869         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70870         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70871         <bits/timerfd.h>.
70872         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70874         bits/timerfd.h.
70876 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70878         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70879         in C locale.
70880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70881         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70885 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70887         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70888         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70890 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70892         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70893         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70894         defined.
70895         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70896         Likewise.
70897         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70898         entry for 2.16.
70900 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70902         * math/w_acos.c: Use non-signaling floating-point comparisons.
70903         * math/w_acosf.c: Likewise.
70904         * math/w_acosh.c: Likewise.
70905         * math/w_acoshf.c: Likewise.
70906         * math/w_acoshl.c: Likewise.
70907         * math/w_acosl.c: Likewise.
70908         * math/w_asin.c: Likewise.
70909         * math/w_asinf.c: Likewise.
70910         * math/w_asinl.c: Likewise.
70911         * math/w_atanh.c: Likewise.
70912         * math/w_atanhf.c: Likewise.
70913         * math/w_atanhl.c: Likewise.
70914         * math/w_exp2.c: Likewise.
70915         * math/w_exp2f.c: Likewise.
70916         * math/w_exp2l.c: Likewise.
70917         * math/w_j0.c: Likewise.
70918         * math/w_j0f.c: Likewise.
70919         * math/w_j0l.c: Likewise.
70920         * math/w_j1.c: Likewise.
70921         * math/w_j1f.c: Likewise.
70922         * math/w_j1l.c: Likewise.
70923         * math/w_jn.c: Likewise.
70924         * math/w_jnf.c: Likewise.
70925         * math/w_log.c: Likewise.
70926         * math/w_log10.c: Likewise.
70927         * math/w_log10f.c: Likewise.
70928         * math/w_log10l.c: Likewise.
70929         * math/w_log2.c: Likewise.
70930         * math/w_log2f.c: Likewise.
70931         * math/w_log2l.c: Likewise.
70932         * math/w_logf.c: Likewise.
70933         * math/w_logl.c: Likewise.
70934         * math/w_sqrt.c: Likewise.
70935         * math/w_sqrtf.c: Likewise.
70936         * math/w_sqrtl.c: Likewise.
70937         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70938         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70940         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70941         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70943 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70945         [BZ #9739]
70946         * manual/string.texi (strnlen): Use correct parameter name in
70947         equivalent expression.
70949 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70951         [BZ #11174]
70952         * manual/users.texi (seteuid): Consistently use neweuid for
70953         argument name.
70955 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70957         [BZ #13704]
70958         * manual/nss.texi (Services in the NSS configuration): Correct
70959         list of services in example configuration file.
70961 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70963         [BZ #11322]
70964         * manual/arith.texi: Remove statements about negative zero
70965         behaving identically to zero.
70967 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70969         [BZ #5993]
70970         * manual/install.texi: Do not document upgrading from libc5.
70972 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70974         [BZ #4596]
70975         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70977 2012-02-18  David S. Miller  <davem@davemloft.net>
70979         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70980         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70981         %o7 across the call.
70982         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70983         instead.
70984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70985         SETUP_PIC_REG_LEAF.
70986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70987         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70988         * sysdeps/sparc/crtn.S: Likewise.
70990 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70992         * aout/Makefile: Remove.
70994 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70996         [BZ #13058]
70997         * manual/examples/argp-ex1.c (main): Format definition in GNU
70998         style.
70999         * manual/examples/argp-ex2.c (main): Likewise.
71000         * manual/examples/argp-ex3.c (main): Likewise.
71001         * manual/examples/argp-ex4.c (main): Likewise.
71002         * manual/examples/longopt.c (main): Use new-style prototype
71003         definition.
71004         * manual/examples/strncat.c (main): Specify return type and use
71005         (void) for arguments.
71006         * manual/examples/subopt.c (main): Use char **argv argument.
71008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71010         [BZ #5077]
71011         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71012         rounding modes.
71014 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71016         [BZ #6907]
71017         * manual/string.texi (strchr): Change when strchrnul is
71018         recommended.
71020 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71022         [BZ #174]
71023         * manual/locale.texi (setlocale): Document LOCPATH.
71025 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71027         [BZ #10210]
71028         * manual/process.texi (execle): Move @dots{} before last argument.
71030 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71032         [BZ #12047]
71033         * manual/charset.texi (Generic Charset Conversion): Fix typo
71034         (LC_TYPE -> LC_CTYPE).
71036 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71038         [BZ #5805]
71039         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71040         (scalbnf): Likewise.
71041         (scalbnl): Likewise.
71042         (scalbln): Likewise.
71043         (scalblnf): Likewise.
71044         (scalblnl): Likewise.
71045         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71046         (vwarnx): Likewise.
71047         (verr): Likewise.
71048         (verrx): Likewise.
71049         * manual/filesys.texi (telldir): Use braces around return type.
71050         * manual/llio.texi (mmap): Add space after comma.
71051         (mmap64): Likewise.
71052         * manual/math.texi (jn): Use @var{} on parameter names.
71053         (jnf): Likewise.
71054         (jnl): Likewise.
71055         (yn): Likewise.
71056         (ynf): Likewise.
71057         (ynl): Likewise.
71058         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71059         line.
71060         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71061         "...".
71062         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71063         (sched_get_priority_max): Likewise.
71064         * manual/signal.texi (sigvec): Add space after comma.
71065         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71066         names.
71067         (if_indextoname): Likewise.
71068         (if_freenameindex): Likewise.
71069         (sendto): Use ',' instead of '.' in prototype.
71070         * manual/startup.texi (syscall): Use @dots{} instead of literal
71071         "...".
71072         * manual/stdio.texi (__fpending): Separate initial words of
71073         paragraph from @deftypefun line.
71074         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71075         "...".
71076         (vsyslog): Use @var{} on parameter names.
71077         * manual/terminal.texi (stty): Use @var{} on parameter names.
71078         * manual/users.texi (getutmp): Use @var{} on parameter names.
71079         (getutmpx): Likewise.
71081 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71083         [BZ #6884]
71084         * manual/stdio.texi (fopen): Fix typos in description of
71085         ",ccs=STRING".
71087 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71089         [BZ #4026]
71090         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71091         get clock_id definition.
71093 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71095         [BZ #4822]
71096         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71097         (madvise): Cast every argument to void on its own.
71099 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71101         [BZ #9902]
71102         * manual/startup.texi (Exit Status): Fix typo.
71104 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71106         [BZ #10140]
71107         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71108         * manual/examples/argp-ex2.c: Likewise.
71109         * manual/examples/argp-ex3.c: Likewise.
71111 2012-02-16  Richard Henderson  <rth@redhat.com>
71113         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71114         * sysdeps/s390/s390-32/initfini.c: Remove.
71115         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71116         * sysdeps/s390/s390-64/initfini.c: Remove.
71118 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71120         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71121         compiler output for sysdeps/generic/initfini.c.
71122         * sysdeps/sh/elf/initfini.c: Remove file.
71124 2012-02-16  David S. Miller  <davem@davemloft.net>
71126         [BZ #11494]
71127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71129         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71130         * sysdeps/sparc/crti.S: New file.
71131         * sysdeps/sparc/crtn.S: New file.
71132         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71133         * sysdeps/sparc/sparc64/Makefile: Likewise.
71135 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71137         [BZ #3335]
71138         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71140 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71142         [BZ #4822]
71143         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71145         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71146         (write, read, close): Likewise.
71147         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71149 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71151         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71152         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71153         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71154         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71155         <bits/signalfd.h>.
71156         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71158         bits/signalfd.h.
71160 2012-02-14  Marek Polacek  <polacek@redhat.com>
71162         * sysdeps/x86_64/crti.S: New file.
71163         * sysdeps/x86_64/crtn.S: New file.
71164         * sysdeps/x86_64/elf/initfini.c: Remove file.
71166 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71168         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71169         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71171         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71172         <bits/inotify.h>.
71173         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71175         bits/inotify.h.
71177 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71179         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71180         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71181         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71182         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71183         <bits/eventfd.h>.
71184         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71186         bits/eventfd.h.
71188 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71190         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71191         __feraiseexcept instead of feraiseexcept.
71193         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71194         nanosleep invocations.
71195         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71196         strings, and add error checking for a nanosleep invocations.
71198 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71200         Replace FSF snail mail address with URLs, as per GNU coding standards.
71201         Most of the snail mail addresses were wrong anyway, and omitting
71202         them makes the source code easier to maintain.  Almost all of the
71203         changes are to license notices and to locale LC_IDENTIFICATION
71204         addresses, except for this one:
71205         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71206         not its snail mail address.
71208 2012-02-09  Richard Henderson  <rth@twiddle.net>
71210         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71211         of kernel-features.h.
71213         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71215 2012-02-08  Marek Polacek  <polacek@redhat.com>
71217         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71218         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71219         * sysdeps/gnu/_G_config.h: Likewise.
71220         * sysdeps/generic/_G_config.h: Likewise.
71222 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71224         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71225         tests.
71226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71228         * sysdeps/powerpc/powerpc32/crti.S: New file.
71229         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71230         * sysdeps/powerpc/powerpc64/crti.S: New file.
71231         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71233         * Makeconfig (have-initfini): Don't set.
71234         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71235         * configure.in (nopic_initfini): Don't substitute.
71236         * config.h.in (HAVE_INITFINI): Don't #undef.
71237         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71238         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71240 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71242         Support crti.S and crtn.S provided directly by architectures.
71243         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71244         [crti.S in sysdirs] (omit-deps): Likewise.
71245         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71246         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71247         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71248         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71249         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71250         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71251         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71252         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71253         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71254         compiler output for sysdeps/generic/initfini.c.
71255         * sysdeps/i386/elf/Makefile: Remove file.
71256         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71258 2012-02-07  Marek Polacek  <polacek@redhat.com>
71260         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71261         * sysdeps/gnu/_G_config.h: Likewise.
71262         * sysdeps/mach/hurd/_G_config.h: Likewise.
71264 2012-02-07  Marek Polacek  <polacek@redhat.com>
71266         * math/Makefile (tests): Add tst-CMPLX2.
71267         * math/tst-CMPLX2.c: New file.
71269 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71271         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71273         * math/libm-test.inc (jn_test): Add missing L suffix.
71275 2012-02-06  Marek Polacek  <polacek@redhat.com>
71277         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71278         * sysdeps/i386/fpu/e_powf.S: Likewise.
71279         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71280         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71281         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71282         * sysdeps/i386/fpu/e_pow.S: Likewise.
71283         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71284         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71285         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71286         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71287         * sysdeps/i386/fpu/e_log2.S: Likewise.
71288         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71290         * sysdeps/i386/fpu/e_powl.S: Likewise.
71291         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71292         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71293         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71294         * sysdeps/i386/fpu/e_logl.S: Likewise.
71295         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71296         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71297         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71298         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71299         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71300         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71301         * sysdeps/i386/fpu/e_log.S: Likewise.
71302         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71303         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71304         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71305         * sysdeps/i386/fpu/e_logf.S: Likewise.
71306         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71307         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71308         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71309         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71310         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71311         * sysdeps/i386/fpu/e_log10.S: Likewise.
71312         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71313         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71314         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71315         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71316         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71317         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71318         * sysdeps/i386/asm-syntax.h: Likewise.
71319         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71320         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71321         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71322         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71323         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71324         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71325         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71326         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71327         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71328         * sysdeps/powerpc/sysdep.h: Likewise.
71329         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71330         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71332 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71334         [BZ #411]
71335         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71337 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71339         * sysdeps/i386/sysdep.h: Include <features.h>.
71340         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71341         version.
71343 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71345         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71346         Define.
71347         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71348         LOAD_PIC_REG_STR.
71350 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71352         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71353         (SETUP_PIC_REG): Use GET_PC_THUNK.
71354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71355         macro.
71357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71359         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71360         for non-PIC compilation.
71361         (SETUP_PIC_REG): Add .p2align directive.
71362         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71363         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71364         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71365         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71366         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71367         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71368         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71369         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71370         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71371         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71372         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71373         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71374         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71375         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71376         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71377         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71378         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71383         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71384         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71385         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71386         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71388         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71389         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71390         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71391         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71392         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71394         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71395         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71396         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71397         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71398         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71399         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71400         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71401         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71402         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71404 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71406         * math/tst-CMPLX.c: Include <stdio.h>.
71408 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71410         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71411         float.
71412         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71413         * sysdeps/sparc/bits/mathdef.h: Likewise.
71415 2012-01-31  Marek Polacek  <polacek@redhat.com>
71417         * libio/libio.h: Don't define _PARAMS.
71418         * locale/programs/config.h: Don't define PARAMS.
71419         * stdlib/strtol_l.c: Likewise.
71420         (__strtol_l): Remove PARAMS from the prototype.
71422 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71424         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71425         names.  Just use the correct names.  Remove unnecessary wrapper
71426         functions.
71427         * malloc/arena.c: Likewise.
71428         * malloc/hooks.c: Likewise.
71430         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71431         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71432         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71434 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71436         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71437         into tail calls.
71438         (update_get_addr): New function.
71439         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71440         GET_ADDR_MODULE parameter.
71442 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71444         * crypt/cert.c: Remove __STDC__ conditionals.
71445         * crypt/crypt-entry.c: Likewise.
71446         * crypt/crypt_util.c: Likewise.
71447         * libio/filedoalloc.c: Likewise.
71448         * libio/fileops.c: Likewise.
71449         * libio/genops.c: Likewise.
71450         * libio/iofclose.c: Likewise.
71451         * libio/iofdopen.c: Likewise.
71452         * libio/iofopen.c: Likewise.
71453         * libio/iofopen64.c: Likewise.
71454         * libio/iogetdelim.c: Likewise.
71455         * libio/iopopen.c: Likewise.
71456         * libio/obprintf.c: Likewise.
71457         * libio/oldfileops.c: Likewise.
71458         * libio/oldiofclose.c: Likewise.
71459         * libio/oldiofdopen.c: Likewise.
71460         * libio/oldiofopen.c: Likewise.
71461         * libio/oldiopopen.c: Likewise.
71462         * libio/wfiledoalloc.c: Likewise.
71463         * libio/wgenops.c: Likewise.
71464         * locale/programs/xmalloc.c: Likewise.
71465         * misc/syslog.c: Likewise.
71466         * stdio-common/xbug.c: Likewise.
71467         * string/memchr.c: Likewise.
71468         * string/memcmp.c: Likewise.
71469         * string/memrchr.c: Likewise.
71470         * string/rawmemchr.c: Likewise.
71471         * sysdeps/posix/getcwd.c: Likewise.
71472         * time/strftime_l.c: Likewise.
71474 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71476         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71477         * config.make.in (config-cflags-sse2avx): Define.
71478         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71479         Fix typo.
71481 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71483         * scripts/config.guess: Update from upstream config git repository.
71484         * scripts/config.sub: Likewise.
71486 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71488         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71489         (EM_NUM): Update.
71490         (R_TILEPRO_*, R_TILEGX_*): New macros.
71492         * scripts/firstversions.awk: Fix bug in version range handling.
71494         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71496         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71498         * include/sys/epoll.h: New file.
71499         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71500         libc_hidden_def.
71502 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71504         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71505         Avoid unnecessary __WORDSIZE == 64 test.
71506         (fmaxf): Use VEX format if possible.
71507         (fmax): Likewise.
71508         (fminf): Likewise.
71509         (fmin): Likewise.
71511         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71512         * math/math_private.h: Remove libc_fegetround* and
71513         libc_fesetround*.
71514         * sysdeps/i386/configure.in: Check for -msse2avx.
71515         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71516         also if SSE2AVX is defined.
71517         Remove libc_fegetround* and libc_fesetround*.
71518         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71519         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71521         of HAS_YMM_USABLE.
71522         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71523         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71524         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71525         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71526         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71528         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71530 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71532         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71533         size is not set.
71534         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71536 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71538         [BZ #13618]
71539         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71540         relocation.
71541         * Makeconfig (libm): Define.
71542         * elf/Makefile: Add rules to build and run tst-relsort1.
71543         * elf/tst-relsort1.c: New file.
71544         * elf/tst-relsort1mod1.c: New file.
71545         * elf/tst-relsort1mod2.c: New file.
71547 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71549         * math/s_ldexp.c: Remove __STDC__ conditionals.
71550         * math/s_ldexpf.c: Likewise.
71551         * math/s_ldexpl.c: Likewise.
71552         * math/s_nextafter.c: Likewise.
71553         * math/s_nexttowardf.c: Likewise.
71554         * math/s_significand.c: Likewise.
71555         * math/s_significandf.c: Likewise.
71556         * math/s_significandl.c: Likewise.
71557         * math/w_jnl.c: Likewise.
71558         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71559         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71560         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71561         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71562         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71563         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71564         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71565         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71566         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71568         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71573         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71574         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71575         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71576         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71577         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71578         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71579         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71580         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71582         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71583         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71584         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71585         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71586         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71587         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71588         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71589         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71590         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71591         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71592         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71593         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71594         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71595         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71596         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71597         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71598         * sysdeps/ieee754/k_standard.c: Likewise.
71599         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71600         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71601         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71602         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71603         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71604         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71605         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71606         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71607         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71608         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71609         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71610         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71611         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71612         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71613         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71616         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71617         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71618         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71619         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71620         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71621         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71622         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71623         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71624         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71625         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71626         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71627         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71629         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71630         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71632         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71633         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71634         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71635         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71636         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71637         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71639         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71641         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71642         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71643         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71644         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71645         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71646         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71647         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71648         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71649         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71652         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71653         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71654         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71655         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71656         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71657         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71658         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71659         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71660         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71661         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71662         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71663         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71664         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71665         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71666         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71667         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71668         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71669         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71671         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71674         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71675         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71676         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71677         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71678         * sysdeps/ieee754/s_matherr.c: Likewise.
71679         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71680         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71681         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71684 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71686         * crypt/md5.h: Remove __STDC__ conditionals.
71687         * libio/libioP.h: Likewise.
71688         * locale/programs/config.h: Likewise.
71689         * sysdeps/generic/sysdep.h: Likewise.
71690         * sysdeps/i386/asm-syntax.h: Likewise.
71691         * sysdeps/s390/asm-syntax.h: Likewise.
71692         * sysdeps/unix/sysdep.h: Likewise.
71693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71696 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71698         * libio/libio.h: Remove __STDC__ conditionals.
71699         * malloc/obstack.h: Likewise.
71700         * math/complex.h: Likewise.
71701         * math/math.h: Likewise.
71702         * sysdeps/generic/_G_config.h: Likewise.
71703         * sysdeps/gnu/_G_config.h: Likewise.
71704         * sysdeps/mach/hurd/_G_config.h: Likewise.
71705         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71706         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71707         * sysdeps/sparc/bits/mathdef.h: Likewise.
71709 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71711         [BZ #13583]
71712         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71713         Clean up HAS_* macros.
71714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71715         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71716         possible.
71717         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71718         HAS_AVX.
71719         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71720         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71721         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71723         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71725 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71727         * elf/tst-unique3.cc (gets): Remove declaration.
71728         * elf/tst-unique3lib.cc (gets): Likewise.
71729         * elf/tst-unique3lib2.cc (gets): Likewise.
71730         * elf/tst-unique4.cc (gets): Likewise.
71732 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71734         * include/stdio.h: Add C++ protection.  Add gets declarations and
71735         definitions.
71736         * debug/tst-chk1.c: Don't declare gets here.
71737         * stdio-common/tst-gets.c: Likewise.
71739 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71741         * posix/glob: Remove directory.
71743 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71745         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71747 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71749         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71750         of the non-standard EPFNOSUPPORT.
71752 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71754         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71755         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71756         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71758 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71760         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71762 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71764         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71765         transient errors.
71766         * nscd/grpcache.c (cache_addgr): Likewise.
71767         * nscd/hstcache.c (cache_addhst): Likewise.
71768         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71769         * nscd/pwdcache.c (cache_addpw): Likewise.
71770         * nscd/servicescache.c (cache_addserv): Likewise.
71772 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71774         * malloc/malloc.c: Various cleanups.
71775         * malloc/hooks.c: Likewise.
71777         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71778         * stdlib/bug-fmtmsg1.c: New file.
71780         * stdlib/fmtmsg.c (init): Add missing unlock.
71781         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71783 2012-01-12  Marek Polacek  <polacek@redhat.com>
71785         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71786         and _GNU_SOURCE.
71788 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71790         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71791         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71792         macro to ensure uniqueness of label name.
71793         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71794         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71796 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71800         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71801         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71802         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71803         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71805 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71807         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71809         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71810         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71811         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71813         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71815         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71816         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71817         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71820         * math/bits/math-finite.h: Add ldexp support.
71822 2012-01-10  Marek Polacek  <polacek@redhat.com>
71824         * locale/programs/localedef.h (show_archive_content): Add noreturn
71825         attribute.
71827 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71829         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71831 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71833         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71835         * io/Makefile (headers): Add bits/poll2.h.
71837 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71840         typo #include statement.
71842 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71844         * include/sys/cdefs.h: Define __attribute_alloc_size.
71845         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71846         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71847         * elf/pldd.c: Likewise.
71848         * iconv/iconv_charmap.c: Likewise.
71849         * iconv/iconvconfig.c: Likewise.
71850         * iconv/strtab.c: Likewise.
71851         * locale/programs/locale.c: Likewise.
71852         * locale/programs/localedef.h: Likewise.
71853         * locale/programs/simple-hash.c: Likewise.
71854         * nscd/nscd.h: Likewise.
71855         * nss/makedb.c: Likewise.
71856         * sysdeps/generic/ldconfig.h: Likewise.
71857         * locale/programs/localedef.c: Remove xmalloc prototype.
71858         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71860 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71862         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71863         appropriate.
71865 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71867         * math/Makefile (tests): Add tst-CMPLX.
71868         * math/tst-CMPLX.c: New file.
71870         * math/complex.h (CMPLXL): Fix typo.
71872         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71873         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71874         GLIBC_2.16.
71875         * debug/tst-chk1.c: Add poll and ppoll tests.
71876         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71877         * include/sys/poll.h: Add hidden proto for ppoll.
71878         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71879         * sysdeps/mach/hurd/ppoll.c: Likewise.
71880         * io/ppoll.c: Likewise.
71881         * debug/poll_chk.c: New file.
71882         * debug/ppoll_chk.c: New file.
71883         * include/bits/poll2.h: New file.
71884         * io/bits/poll2.h: New file.
71886         [BZ #1350]
71887         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71889         * configure.in: static is always set to yes.  Remove.
71890         * config.make.in: Don't set build-static.
71891         * Makeconfig: Remove use of build-static.
71892         * dlfcn/Makefile: Likewise.
71893         * elf/Makefile: Likewise.
71894         * math/Makefile: Likewise.
71895         * misc/Makefile: Likewise.
71896         * nptl/Makefile: Likewise.
71897         * sysdeps/mach/hurd/Makefile: Likewise.
71899         * configure.in: PWD_P is not used anymore.
71900         * config.make.in: Remove PWD_P entry.
71902         * configure.in: Remove last remnants of RANLIB.
71903         No need to check for signed size_t anymore.
71904         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71905         and IA-64.
71906         Remove __builtin_expect test because we require at least gcc 3.4.
71907         * aclocal.m4: Likewise.
71909         * wcsmbs/mbrtoc16.c: Implement using towc function.
71910         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71911         * wcsmbs/wcsmbsload.c: Likewise.
71912         * iconv/gconv_simple.c: Likewise.
71913         * iconv/gconv_int.h: Likewise.
71914         * iconv/gconv_builtin.h: Likewise.
71915         * iconv/iconv_prog.c: Remove CHAR16 handling.
71917         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71919         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71921         * configure.in: Remove --with-elf and --enable-bounded options.
71922         Dont set base_machine for ia64.  More non-ELF conditions removed.
71923         Remove testing and setting of leading underscore information.
71924         * config.make.in (build-bounded): Set to no.
71925         * config.h.in: Remove NO_UNDERSCORES entry.
71926         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71927         them.
71928         * csu/start.c: Remove !NO_UNDERSCORE code.
71929         * locale/localeinfo.h: Likewise.
71930         * sysdeps/generic/machine-gmon.h: Likewise.
71931         * sysdeps/generic/sysdep.h: Likewise.
71932         * sysdeps/i386/sysdep.h: Likewise.
71933         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71934         * sysdeps/mach/sysdep.h: Likewise.
71935         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71936         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71937         * sysdeps/sh/sysdep.h: Likewise.
71938         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71939         * sysdeps/unix/i386/sysdep.S: Likewise.
71940         * sysdeps/unix/sparc/start.c: Likewise.
71941         * sysdeps/unix/sparc/sysdep.S: Likewise.
71942         * sysdeps/unix/sparc/sysdep.h: Likewise.
71943         * sysdeps/unix/start.c: Likewise.
71944         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71945         * sysdeps/x86_64/sysdep.h: Likewise.
71947 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71949         [BZ #13553]
71950         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71951         for non-gcc.
71952         * argp/argp-fmtstream.h: Use const instead __const.
71953         * argp/argp.h: Likewise.
71954         * assert/assert.h: Likewise.
71955         * bits/fenv.h: Likewise.
71956         * bits/sched.h: Likewise.
71957         * bits/sigset.h: Likewise.
71958         * bits/sigthread.h: Likewise.
71959         * catgets/nl_types.h: Likewise.
71960         * conform/data/pthread.h-data: Likewise.
71961         * crypt/crypt-private.h: Likewise.
71962         * crypt/crypt.h: Likewise.
71963         * crypt/crypt_util.c: Likewise.
71964         * ctype/ctype.h: Likewise.
71965         * debug/execinfo.h: Likewise.
71966         * debug/mbsnrtowcs_chk.c: Likewise.
71967         * debug/mbsrtowcs_chk.c: Likewise.
71968         * debug/wcsnrtombs_chk.c: Likewise.
71969         * debug/wcsrtombs_chk.c: Likewise.
71970         * debug/wcstombs_chk.c: Likewise.
71971         * dirent/dirent.h: Likewise.
71972         * dlfcn/dlfcn.h: Likewise.
71973         * elf/neededtest4.c: Likewise.
71974         * grp/grp.h: Likewise.
71975         * gshadow/gshadow.h: Likewise.
71976         * iconv/gconv.h: Likewise.
71977         * iconv/gconv_int.h: Likewise.
71978         * iconv/gconv_simple.c: Likewise.
71979         * iconv/iconv.h: Likewise.
71980         * iconv/loop.c: Likewise.
71981         * iconv/skeleton.c: Likewise.
71982         * include/aio.h: Likewise.
71983         * include/aliases.h: Likewise.
71984         * include/argz.h: Likewise.
71985         * include/arpa/inet.h: Likewise.
71986         * include/assert.h: Likewise.
71987         * include/dirent.h: Likewise.
71988         * include/dlfcn.h: Likewise.
71989         * include/execinfo.h: Likewise.
71990         * include/fcntl.h: Likewise.
71991         * include/fenv.h: Likewise.
71992         * include/glob.h: Likewise.
71993         * include/grp.h: Likewise.
71994         * include/libintl.h: Likewise.
71995         * include/mntent.h: Likewise.
71996         * include/netdb.h: Likewise.
71997         * include/pwd.h: Likewise.
71998         * include/rpc/netdb.h: Likewise.
71999         * include/sched.h: Likewise.
72000         * include/search.h: Likewise.
72001         * include/shadow.h: Likewise.
72002         * include/signal.h: Likewise.
72003         * include/stdio.h: Likewise.
72004         * include/stdlib.h: Likewise.
72005         * include/string.h: Likewise.
72006         * include/sys/socket.h: Likewise.
72007         * include/sys/stat.h: Likewise.
72008         * include/sys/statfs.h: Likewise.
72009         * include/sys/statvfs.h: Likewise.
72010         * include/sys/syslog.h: Likewise.
72011         * include/sys/time.h: Likewise.
72012         * include/sys/uio.h: Likewise.
72013         * include/time.h: Likewise.
72014         * include/unistd.h: Likewise.
72015         * include/utmp.h: Likewise.
72016         * include/wchar.h: Likewise.
72017         * include/wctype.h: Likewise.
72018         * inet/aliases.h: Likewise.
72019         * inet/arpa/inet.h: Likewise.
72020         * inet/netinet/ether.h: Likewise.
72021         * inet/netinet/in.h: Likewise.
72022         * intl/libintl.h: Likewise.
72023         * io/bits/fcntl2.h: Likewise.
72024         * io/fcntl.h: Likewise.
72025         * io/ftw.h: Likewise.
72026         * io/sys/poll.h: Likewise.
72027         * io/sys/stat.h: Likewise.
72028         * io/sys/statfs.h: Likewise.
72029         * io/sys/statvfs.h: Likewise.
72030         * io/utime.h: Likewise.
72031         * libio/bits/stdio.h: Likewise.
72032         * libio/bits/stdio2.h: Likewise.
72033         * libio/libio.h: Likewise.
72034         * libio/libioP.h: Likewise.
72035         * libio/stdio.h: Likewise.
72036         * locale/lc-ctype.c: Likewise.
72037         * locale/locale.h: Likewise.
72038         * login/utmp.h: Likewise.
72039         * malloc/arena.c: Likewise.
72040         * malloc/malloc.c: Likewise.
72041         * malloc/malloc.h: Likewise.
72042         * malloc/mcheck.c: Likewise.
72043         * malloc/mtrace.c: Likewise.
72044         * math/bits/mathcalls.h: Likewise.
72045         * math/fenv.h: Likewise.
72046         * math/math_private.h: Likewise.
72047         * misc/bits/error.h: Likewise.
72048         * misc/bits/syslog.h: Likewise.
72049         * misc/err.h: Likewise.
72050         * misc/error.h: Likewise.
72051         * misc/fstab.h: Likewise.
72052         * misc/mntent.h: Likewise.
72053         * misc/regexp.h: Likewise.
72054         * misc/search.h: Likewise.
72055         * misc/sgtty.h: Likewise.
72056         * misc/sys/mman.h: Likewise.
72057         * misc/sys/syslog.h: Likewise.
72058         * misc/sys/uio.h: Likewise.
72059         * misc/sys/xattr.h: Likewise.
72060         * misc/ttyent.h: Likewise.
72061         * nis/rpcsvc/ypclnt.h: Likewise.
72062         * nss/nss.h: Likewise.
72063         * posix/bits/unistd.h: Likewise.
72064         * posix/fnmatch.h: Likewise.
72065         * posix/glob.h: Likewise.
72066         * posix/sched.h: Likewise.
72067         * posix/spawn.h: Likewise.
72068         * posix/sys/wait.h: Likewise.
72069         * posix/unistd.h: Likewise.
72070         * posix/wordexp.h: Likewise.
72071         * pwd/pwd.h: Likewise.
72072         * resolv/netdb.h: Likewise.
72073         * resource/sys/resource.h: Likewise.
72074         * rt/aio.h: Likewise.
72075         * rt/bits/mqueue2.h: Likewise.
72076         * rt/mqueue.h: Likewise.
72077         * shadow/shadow.h: Likewise.
72078         * signal/signal.h: Likewise.
72079         * socket/send.c: Likewise.
72080         * socket/sendto.c: Likewise.
72081         * socket/sys/socket.h: Likewise.
72082         * stdio-common/printf.h: Likewise.
72083         * stdlib/bits/stdlib.h: Likewise.
72084         * stdlib/fmtmsg.h: Likewise.
72085         * stdlib/monetary.h: Likewise.
72086         * stdlib/stdlib.h: Likewise.
72087         * stdlib/ucontext.h: Likewise.
72088         * streams/stropts.h: Likewise.
72089         * string/argz.h: Likewise.
72090         * string/bits/string2.h: Likewise.
72091         * string/string.h: Likewise.
72092         * string/strings.h: Likewise.
72093         * sunrpc/rpc/auth.h: Likewise.
72094         * sunrpc/rpc/auth_des.h: Likewise.
72095         * sunrpc/rpc/clnt.h: Likewise.
72096         * sunrpc/rpc/netdb.h: Likewise.
72097         * sunrpc/rpc/pmap_clnt.h: Likewise.
72098         * sunrpc/rpc/xdr.h: Likewise.
72099         * sysdeps/generic/inttypes.h: Likewise.
72100         * sysdeps/generic/net/if.h: Likewise.
72101         * sysdeps/generic/sys/swap.h: Likewise.
72102         * sysdeps/gnu/net/if.h: Likewise.
72103         * sysdeps/gnu/utmpx.h: Likewise.
72104         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72105         * sysdeps/i386/i486/bits/string.h: Likewise.
72106         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72107         * sysdeps/s390/bits/string.h: Likewise.
72108         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72109         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72110         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72111         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72112         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72113         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72114         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72115         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72116         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72117         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72118         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72119         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72120         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72121         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72122         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72123         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72124         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72126         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72127         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72128         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72129         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72130         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72131         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72132         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72133         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72134         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72135         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72136         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72137         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72138         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72139         * sysvipc/sys/ipc.h: Likewise.
72140         * sysvipc/sys/msg.h: Likewise.
72141         * sysvipc/sys/sem.h: Likewise.
72142         * sysvipc/sys/shm.h: Likewise.
72143         * termios/termios.h: Likewise.
72144         * time/sys/time.h: Likewise.
72145         * time/time.h: Likewise.
72146         * wcsmbs/bits/wchar2.h: Likewise.
72147         * wcsmbs/uchar.h: Likewise.
72148         * wcsmbs/wchar.h: Likewise.
72149         * wctype/wctype.h: Likewise.
72151         [BZ #13551]
72152         * Makeconfig: Remove all but ELF support including AIX support.
72153         * Makerules: Likewise.
72154         * config.h.in: Likewise.
72155         * config.make.in: Likewise.
72156         * configure: Likewise.
72157         * configure.in: Likewise.
72158         * csu/Makefile: Likewise.
72159         * csu/version.c: Likewise.
72160         * debug/Makefile: Likewise.
72161         * dlfcn/Makefile: Likewise.
72162         * elf/Makefile: Likewise.
72163         * extra-lib.mk: Likewise.
72164         * iconv/Makefile: Likewise.
72165         * include/libc-symbols.h: Likewise.
72166         * include/shlib-compat.h: Likewise.
72167         * resolv/Makefile: Likewise.
72168         * resolv/res_libc.c: Likewise.
72169         * rt/Makefile: Likewise.
72170         * sysdeps/i386/asm-syntax.h: Likewise.
72171         * sysdeps/i386/sysdep.h: Likewise.
72172         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72173         * sysdeps/mach/sysdep.h: Likewise.
72174         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72175         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72176         * sysdeps/s390/asm-syntax.h: Likewise.
72177         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72179         * sysdeps/sh/sysdep.h: Likewise.
72180         * sysdeps/unix/sparc/sysdep.h: Likewise.
72181         * sysdeps/wordsize-32/divdi3.c: Likewise.
72182         * sysdeps/x86_64/sysdep.h: Likewise.
72184         * argp/Versions: Remove _argp_unlock_xxx.
72186         [BZ #13559]
72187         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72188         * abilist/libBrokenLocale.abilist: Likewise.
72189         * abilist/libanl.abilist: Likewise.
72190         * abilist/libc.abilist: Likewise.
72191         * abilist/libcrypt.abilist: Likewise.
72192         * abilist/libdl.abilist: Likewise.
72193         * abilist/libm.abilist: Likewise.
72194         * abilist/libnsl.abilist: Likewise.
72195         * abilist/libpthread.abilist: Likewise.
72196         * abilist/libresolv.abilist: Likewise.
72197         * abilist/librt.abilist: Likewise.
72198         * abilist/libthread_db.abilist: Likewise.
72199         * abilist/libutil.abilist: Likewise.
72200         * abilist/libnss_db.abilist: New file.
72202         * scripts/abilist.awk: Add support for indirect functions.
72204         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72206         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72208         * shlib-versions: Remove entries for ports architectures.
72210         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72211         files in ports.
72212         * elf/stackguard-macros.h: Remove support for IA-64.
72213         * elf/tst-auditmod1.c: Likewise.
72214         * sysdeps/generic/ldsodefs.h: Likewise.
72216         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72217         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72218         configure files.
72220         [BZ #13552]
72221         * configure.in: Remove --enable-omitfp support.
72222         * FAQ.in: Adjust.
72223         * config.make.in: Likewise.
72224         * Makeconfig: Likewise.
72225         * manual/install.texi: Likewise.
72227         In case anyone cares, the IA-64 architecture could move to ports.
72228         * sysdeps/ia64/*: Removed.
72229         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72230         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72232         [BZ #13555]
72233         * configure.in: Remove entries for unsupported architectures.
72235         [BZ #13533]
72236         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72237         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72238         routines.
72239         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72240         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72241         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72242         fall back to using wcrtomb.
72243         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72244         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72245         renaming.
72246         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72247         * wcsmbs/tst-c16c32-1.c: New file.
72249         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72250         local variable.
72252         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72254         * elf/tst-unique3.cc: Add explicit declaration of gets.
72255         * elf/tst-unique3lib.cc: Likewise.
72256         * elf/tst-unique3lib2.cc: Likewise.
72257         * elf/tst-unique4.cc: Likewise.
72259         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72261 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72263         [BZ #13566]
72264         * assert/assert.h (static_assert): Don't define for C++.
72265         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72266         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72268 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72270         * iconv/loop.c (single loop): Fix assertion in storing of
72271         remaining bytes.
72273         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72275 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72277         * posix/getconf.c: Update copyright year.
72278         * nss/getent.c: Likewise.
72279         * nss/makedb.c: Likewise.
72280         * iconv/iconvconfig.c: Likewise.
72281         * iconv/iconv_prog.c: Likewise.
72282         * elf/ldconfig.c: Likewise.
72283         * elf/pldd.c: Likewise.
72284         * elf/sotruss.ksh: Likewise.
72285         * catgets/gencat.c: Likewise.
72286         * csu/version.c: Likewise.
72287         * elf/ldd.bash.in: Likewise.
72288         * elf/sprof.c (print_version): Likewise.
72289         * locale/programs/locale.c: Likewise.
72290         * locale/programs/localedef.c: Likewise.
72291         * login/programs/pt_chown.c: Likewise.
72292         * nscd/nscd.c (print_version): Likewise.
72293         * debug/xtrace.sh: Likewise.
72294         * malloc/memusage.sh: Likewise.
72295         * malloc/mtrace.pl: Likewise.
72296         * debug/catchsegv.sh: Likewise.
72298 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72300         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72301         pure attribute.
72303 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72305         [BZ #13533]
72306         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72307         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72308         transformations.
72309         * iconv/gconv_int.h: Likewise.
72310         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72311         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72312         from libc for GLIBC_2.16.
72313         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72314         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72315         * wcsmbs/uchar.h: Really define mbstate_t.
72316         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72317         * wcsmbs/c16rtomb.c: New file.
72318         * wcsmbs/mbrtoc16.c: New file.
72319         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72320         for C/POSIX locale.
72321         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72322         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72324         * wcsmbs/wchar.h: Add missing __restrict.
72326 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72328         [BZ #13532]
72329         * time/Makefile (routines): Add timespec_get.
72330         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72331         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72332         timespec for ISO C11.
72333         * time/timespec_get.c: New file.
72334         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72335         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72337         [BZ #13531]
72338         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72339         * stdlib/stdlib.h: Declare aligned_alloc.
72340         * Versions.def: Add GLIBC_2.16 for libc.
72341         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72343         [BZ 13527]
72344         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72345         ISO C11.
72347         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72348         code.
72350         [BZ #13528]
72351         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72353         [BZ #13529]
72354         * assert/assert.h (static_assert): Define.
72356         * version.h: Update for 2.16 development version.
72358         [BZ #13526]
72359         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72360         _ISOC11_SOURCE.
72362         * version.h (RELEASE): Bump for 2.15 release.
72363         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72365         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72366         Patch by Marek Polacek <mpolacek@redhat.com>.
72368         * bits/byteswap.h: Protect long long constants with __extension__.
72369         * sysdeps/i386/bits/byteswap.h: Likewise.
72370         * sysdeps/ia64/bits/byteswap.h: Likewise.
72371         * sysdeps/s390/bits/byteswap.h: Likewise.
72372         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72374 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72376         [BZ #13540]
72377         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72378         destination buffer.
72379         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72381 2011-12-23  Marek Polacek  <polacek@redhat.com>
72383         * elf/dl-addr.c (determine_info): Add inline keyword.
72384         * elf/tst-auditmod4b.c (check_avx): Likewise.
72385         * elf/tst-auditmod6b.c (check_avx): Likewise.
72386         * elf/tst-auditmod6c.c (check_avx): Likewise.
72387         * elf/tst-auditmod7b.c (check_avx): Likewise.
72389 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72391         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72392         !__SSE_MATH__.
72394 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72396         [BZ #13540]
72397         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72398         processing for last bytes.
72400 2011-08-06  Bruno Haible  <bruno@clisp.org>
72402         [BZ #13061]
72403         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72404         U+0385, not to U+1FEE.
72406         [BZ #13062]
72407         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72408         entry for U+00A5 U+0301.
72410 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72412         [BZ #13166]
72413         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72414         buffer for the output is too small.
72416         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72417         optimization.
72419         [BZ #13185]
72420         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72421         SSE flags if possible.
72423 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72425         [BZ #13540]
72426         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72427         processing for last bytes.
72429 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72431         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72432         (syscall-list-default-options, syscall-list-default-condition)
72433         (syscall-list-includes): Define.
72434         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72435         list of ABIs and options and #if conditions for each ABI.  Do not
72436         handle common syscalls between ABIs specially.
72437         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72438         Remove.
72439         (syscall-list-variants, syscall-list-32bit-options)
72440         (syscall-list-32bit-condition, syscall-list-64bit-options)
72441         (syscall-list-64bit-condition): Define.
72442         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72443         (syscall-list-variants, syscall-list-32bit-options)
72444         (syscall-list-32bit-condition, syscall-list-64bit-options)
72445         (syscall-list-64bit-condition): Define.
72446         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72447         Remove.
72448         (syscall-list-variants, syscall-list-32bit-options)
72449         (syscall-list-32bit-condition, syscall-list-64bit-options)
72450         (syscall-list-64bit-condition): Define.
72451         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72452         Remove.
72453         (syscall-list-variants, syscall-list-32bit-options)
72454         (syscall-list-32bit-condition, syscall-list-64bit-options)
72455         (syscall-list-64bit-condition): Define.
72457 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72459         * locale/iso-639.def: Add brx entry.
72461         [BZ #13328]
72462         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72463         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72465         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72466         __feraiseexcept_renamed.
72468 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72470         [BZ #13538]
72471         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72472         EPOLLET with unsigned values.
72473         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72474         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72476         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72477         to large cancellation.
72478         * math/s_cacoshf.c: Likewise.
72479         * math/s_cacoshl.c: Likewise.
72481 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72483         [BZ #13305]
72484         [BZ #12786]
72485         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72486         * math/s_cacoshf.c: Likewise.
72487         * math/s_cacoshl.c: Likewise.
72489 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72491         [BZ #13439]
72492         * iconv/gconv.h: Define __GCONV_SWAP.
72493         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72494         * iconvdata/utf-16.c: Likewise.
72495         * iconvdata/utf-32.c: Likewise.
72497 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72499         [BZ #13524]
72500         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72501         numerator after shifting it by one limb.
72503 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72505         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72506         under [__USE_EXTERN_INLINES].
72508 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72510         [BZ #13446]
72511         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72513 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72515         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72516         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72517         optimized code.
72518         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72519         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72520         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72521         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72522         for strncasecmp/strncasecmp_l compilation.
72523         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72524         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72526 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72528         [BZ #13484]
72529         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72530         of __asm__.
72532 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72534         [BZ #13506]
72535         * time/tzfile.c (__tzfile_read): Check values from file header.
72537 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72539         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72540         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72541         * powerpc/powerpc32/dl-start.S: Likewise.
72542         * powerpc/powerpc32/elf/start.S: Likewise.
72543         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72544         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72545         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72546         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72547         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72548         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72549         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72550         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72551         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72552         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72553         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72554         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72555         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72556         * powerpc/powerpc32/memset.S: Likewise.
72557         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72558         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72559         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72560         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72561         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72562         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72563         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72564         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72565         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72566         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72567         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72568         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72569         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72571 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72573         * math/libm-test.inc: Added more nearbyint tests.
72574         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72579 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72581         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72582         FD_CLOEXEC.
72584 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72586         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72587         Add wcscpy-ssse3 wcscpy-c.
72588         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72589         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72590         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72591         * sysdeps/x86_64/wcschr.S: New file.
72592         * sysdeps/x86_64/wcsrchr.S: New file.
72593         * string/test-strcmp.c: Remove checking of wcscmp function for
72594         wrong alignments.
72595         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72596         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72597         wcsrchr-sse2 wcsrchr-c.
72598         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72599         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72600         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72601         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72602         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72603         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72604         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72605         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72606         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72607         * wcsmbc/wcschr.c (WCSCHR): New macro.
72609 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72611         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72612         * wcsmbs/test-wcsrchr.c: New file.
72613         * string/test-strrchr.c: Add wcsrchr support.
72614         (WIDE): New macro.
72615         * wcsmbs/test-wcscpy.c: New file.
72616         * string/test-strcpy.c: Add wcscpy support.
72617         (WIDE): New macro.
72619 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72621         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72622         the inner loop.
72624 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72626         [BZ #13472]
72627         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72629 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72631         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72632         Minor optimizations.
72634         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72635         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72636         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72638 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72640         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72641         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72642         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72643         for gcc to avoid warnings.
72644         * inet/Makefile (tests): Add tst-checks.
72645         * inet/tst-checks.c: New file.
72647         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72648         warning.
72650         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72651         __wmemcmp_sse2.
72653         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72654         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72656         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72658 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72660         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72661         problem.
72663         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72665 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72667         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72668         conditional on GCC version.
72669         (__arch_compare_and_exchange_val_8_acq)
72670         (__arch_compare_and_exchange_val_16_acq)
72671         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72672         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72673         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72675 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72677         * sysdeps/sh/backtrace.c: New file.
72679 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72681         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72682         parenthesis.
72684 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72686         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72687         falling back to utime.
72689 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72691         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72692         expectations for float.
72694 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72696         * locale/weight.h (findidx): Add parameter len.
72697         * locale/weightwc.h (findidx): Likewise.
72698         * posix/fnmatch_loop.c (FCT): Adjust caller.
72699         * posix/regcomp.c (build_equiv_class): Likewise.
72700         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72701         * posix/regexec.c (check_node_accept_bytes): Likewise.
72702         * string/strcoll_l.c (STRCOLL): Likewise.
72703         * string/strxfrm_l.c (STRXFRM): Likewise.
72705 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72707         * Makefile.in: Remove CVSOPT handling.
72708         * configure.in: Remove use of AC_REVISION.
72709         * iconvdata/Makefile (distribute): No need to filter out CVS.
72710         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72711         handling.
72713 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72716         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72717         [USE_AS_STRNCASECMP_L]: Likewise.
72718         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72719         NO_TLS_DIRECT_SEG_REFS.
72720         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72721         Fix argument offsets for non-PIC.
72722         [USE_AS_STRNCASECMP_L]: Likewise.
72723         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72724         NO_TLS_DIRECT_SEG_REFS.
72726 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72728         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72729         O_CLOEXEC.
72730         * locale/loadlocale.c (_nl_load_locale): Likewise.
72732 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72734         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72735         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72736         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72737         (SYSCALL_GETTIME): Set errno on error.
72739         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72740         count references to noai6ai_cached.
72742 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72744         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72746         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72747         FD_CLOEXEC for /proc/self/maps.
72749         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72750         FD_CLOEXEC for /proc/meminfo.
72752         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72753         gai.conf.
72755         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72756         FD_CLOEXEC for given file.
72758         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72760         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72761         FD_CLOEXEC for /etc/hosts.
72762         (_gethtent): Likewise.
72764         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72766         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72767         cancellation and set FD_CLOEXEC for /etc/netgroup.
72769         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72770         reading /etc/publickey.
72772         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72773         allow cancellation when reading /etc/group.
72775         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72776         cancellation.
72777         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72779         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72780         when using data file.
72782         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72784         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72785         (write_nis_obj): Use "c" and "e" in fopen.
72787         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72789         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72791         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72793         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72795         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72796         locale.alias.
72798         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72800         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72802         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72804         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72805         file parsing and set FD_CLOEXEC.
72807 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72809         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72811 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72813         * malloc/arena.c (arena_get2): Don't call reused_arena when
72814         _int_new_arena failed.
72816 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72818         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72819         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72820         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72821         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72822         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72823         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72824         to compile strcasecmp and strncasecmp.
72825         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72826         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72830 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72832         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72833         locale-defines.sym to gen-as-const-headers.
72834         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72835         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72837         to compile strcasecmp and strncasecmp.
72838         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72839         strcasecmp_l and strncasecmp_l.
72840         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72841         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72842         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72843         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72844         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72845         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72846         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72847         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72848         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72849         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72850         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72852 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72854         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72855         result of SYSDEP_GETTIME_CPU to retval.
72856         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72857         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72859         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72860         variable.
72862         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72863         mantissa words.
72864         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72866         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72867         from unused variable.
72869         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72870         DWARF definitions.
72871         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72872         for assembling.
72874         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72875         over namespaces.
72877         * sunrpc/rpc_prot.c (rejected): Fix case value.
72879         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72880         unsigned long long int to avoid warnings in shift.
72882         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72883         of use of trans.
72884         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72885         variable tmp.
72887         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72888         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72889         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72891         * nis/nis_table.c (nis_list): Use variable of correct type for
72892         result of __follow_path call.
72894 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72896         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72897         of math functions ceil, trunc, floor, round, and sqrt, when
72898         avaliable on the platform.
72899         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72900         name clash.
72901         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72902         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72903         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72905 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72907         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72908         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72910 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72912         * include/unistd.h: Fix __readlink return type.
72913         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72915 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72917         * stdlib/ucontext.h: Undo last change for makecontext.
72919 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72921         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72923         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72924         * setjmp/setjmp.h: Mark functions as non-leaf.
72925         * setjmp/bits/setjmp2.h: Likewise.
72926         * stdlib/ucontext.h: Likewise.
72928 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72930         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72931         (reused_arena): Don't check arena limit.
72932         (arena_get2): Atomically check arena limit.
72934 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72936         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72937         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72940         instructions.
72942 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72944         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72945         handler when locking.
72947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72948         Fix size of allocated buffer.
72950 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72952         [BZ #10103]
72953         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72954         declarations for long double functions.
72955         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72957         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72959 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72961         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72962         installed.
72964         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72965         is disabled.
72967 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72969         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72971 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72973         * include/alloca.h (stackinfo_alloca_round): Define.
72974         (extend_alloca): Use it.
72975         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72976         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72977         here.
72979         * scripts/check-local-headers.sh: Ignore libaudit.h.
72981         * nscd/Makefile (extra-objs): Make recursively expanded.
72983 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72985         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72986         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72988         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72989         * posix/tst-rfc3484-2.c: Likewise.
72990         * posix/tst-rfc3484-3.c: Likewise.
72992         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72993         process_vm_writev.
72994         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72995         process_vm_writev.
72996         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72997         process_vm_writev from libc using GLIBC_2.15 version.
72999         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73001 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73003         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73004         stack usage.
73006 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73008         [BZ #13367]
73009         * nss/getent.c (initgroups_keys): Show error message in case no group
73010         names are given.
73012         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73013         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73014         __bump_nl_timestamp.
73015         * nscd/connections (nscd_init): When host database is served open
73016         netlink socket and request notification about configuration changes.
73017         (main_loop_poll): Track netlink file descriptor and bump timestamp
73018         in case data becomes available.
73019         (main_loop_epoll): Likewise.
73020         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73021         (database_pers_head): Add extra_data fileds.
73022         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73023         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73024         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73025         Adjust caller.
73026         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73027         in6ai data, call __free_in6ai.
73028         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73029         Add -DHAVE_NETLINK.
73030         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73031         interface information.  Reuse previous data if netlink timestamp
73032         is not changed.
73033         (__bump_nl_timestamp): New function.
73034         (__free_in6ai): New function.
73036 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73038         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73039         close_not_cancel_no_status here.
73040         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73042 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73044         [BZ #13276]
73045         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73046         return value.
73048         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73049         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73050         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73052 2011-07-03  Andreas Jaeger  <aj@suse.de>
73054         [BZ #10709]
73055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73056         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73057         * math/libm-test.inc (sin_test): Add test case.
73059 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73061         [BZ #13337]
73062         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73063         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73065         * elf/chroot_canon.c (chroot_canon): Cleanups.
73067         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73069         [BZ #13335]
73070         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73071         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73073         * string/test-strchr.c: Make usable for strchrnul testing.
73074         * string/test-strchrnul.c: New file.
73075         * string/Makefile (strop-tests): Add strchrnul.
73077         * po/it.po: Update from translation team.
73078         * po/es.po: Likewise.
73080 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73082         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73083         the three constants needed as parameters.  Drop the others.
73084         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73085         __m128i_strloadu_tolower.
73086         Create and initialize variable zero and use it in all the places
73087         where _mm_setzero_si128 was used.
73089         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73090         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73091         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73092         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73093         anymore.
73094         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73095         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73096         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73097         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73098         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73099         __mpranred, __mptan.
73100         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73101         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73102         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73103         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73104         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73105         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73106         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73107         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73108         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73110 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73112         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73113         redefine if SHARED.
73114         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73117         wide char related routines to wcsmbs subdir.
73119 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73121         [BZ #13344]
73122         * misc/sys/cdefs.h (__THROWNL): Define.
73123         * posix/unistd.h: Use __THREADNL instead of __THREAD
73124         for memory synchronization functions.
73126 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73128         [BZ #13349]
73129         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73130         doesn't exist.
73131         * manual/stdio.texi (Obstack Streams): Node removed.
73133 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73135         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73136         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73137         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73139         * math/math_private.h (math_force_eval): Allow non-addressable
73140         arguments.
73141         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73143 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73145         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73146         file is not needed.
73148         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73149         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73150         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73151         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73152         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73153         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73154         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73155         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73156         Add AVX variants.
73157         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73158         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73159         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73160         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73161         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73162         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73163         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73164         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73165         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73166         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73167         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73168         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73169         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73170         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73171         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73172         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73173         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73174         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73175         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73177         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73178         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73180         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73181         place.  Use VEX encoding when compiling for AVX.
73183 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73185         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73186         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73188         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73190 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73192         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73193         useless if() expression.
73194         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73196         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73198         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73199         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73200         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73201         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73202         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73203         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73204         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73205         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73206         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73207         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73208         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73209         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73210         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73211         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73212         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73214         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73216 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73218         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73219         condition.
73220         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73222 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73224         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73225         .text section.  Avoid duplicate constants.
73226         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73228         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73229         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73230         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73234         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73235         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73236         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73237         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73238         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73239         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73240         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73241         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73242         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73243         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73244         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73245         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73246         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73247         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73248         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73249         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73250         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73251         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73252         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73253         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73254         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73255         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73256         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73257         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73258         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73259         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73260         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73261         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73262         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73263         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73264         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73265         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73266         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73267         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73268         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73269         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73270         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73272 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73274         * sysdeps/x86_64/dla.h: Move to ...
73275         * sysdeps/x86_64/fpu/dla.h: ...here.
73276         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73277         situations.  Use __builtin_fma only for gcc 4.6 and up.
73279         * config.make.in: Add have-mfma4 entry.
73280         * configure.in: Substitute libc_cv_cc_fma4.
73281         * math/Makefile (dbl-only-routines): Add sincostab.
73282         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73283         Use __sincostab not sincos.
73284         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73285         name is a macro.
73286         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73289         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73290         using __copysign.
73291         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73292         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73293         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73294         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73295         and __inv.
73296         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73297         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73298         __copysign.
73299         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73300         define aliases when function name is a macro.
73301         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73302         sysdeps/ieee754/dbl-64/sincos.tbl.
73303         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73304         fma4-enabled routines.
73305         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73306         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73307         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73308         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73309         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73310         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73311         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73312         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73313         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73314         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73315         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73316         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73317         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73318         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73319         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73320         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73321         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73322         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73323         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73324         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73325         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73326         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73327         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73328         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73329         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73330         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73331         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73332         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73333         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73334         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73336         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73337         rename.
73338         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73342         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73343         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73344         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73347 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73349         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73351 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73355         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73356         prediction.
73357         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73359         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73360         Remove unused variable magic_bits.
73361         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73363         * string/strnlen.c: Define and use STRNLEN macro.
73364         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73365         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73366         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73367         * wcsmbs/wcslen.c: Define and use WCSLEN.
73368         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73369         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73370         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73371         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73372         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73373         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73374         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73376 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73379         strnlen-sse2-no-bsf.
73380         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73382         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73383         Add strnlen support.
73384         (USE_AS_STRNLEN): New macro.
73385         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73386         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73387         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73388         * sysdeps/x86_64/wcslen.S: New file.
73390 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73393         XMM-moves are used for copying on small sizes.
73395 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73397         * wcsmbs/Makefile (strop-tests): Add wcschr.
73398         * wcsmbs/test-wcschr.c: New file.
73399         * string/test-strchr.c: Update.
73400         Add wcschr support.
73401         (WIDE): New macro.
73403 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73405         * wcsmbs/Makefile (strop-tests): Add wcslen.
73406         * wcsmbs/test-wcslen.c: New file.
73407         * string/test-strlen.c: Update.
73408         Add wcslen support.
73409         (WIDE): New macro.
73411 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73413         * po/it.po: Update from translation team.
73415 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73417         * sysdeps/x86_64/wcscmp.S: Update.
73418         Fix wrong comparison semantics.
73419         wcscmp shall use signed comparison not unsigned.
73420         Don't use substraction to avoid overflow bug.
73421         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73422         * wcsmbc/wcscmp.c: Likewise.
73423         * string/test-strcmp.c: Likewise.
73424         Add new tests to check cases with negative values.
73426 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73428         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73429         * sysdeps/x86_64/dla.h: ...here.  New file.
73430         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73431         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73437         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73438         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73440 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73443         __ynl_finite aliases.
73445 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73449         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73450         define DLA_FMA.
73451         [DLA_FMA] (EMULV): Use DLA_FMA.
73452         [DLA_FMA] (MUL12): Use EMULV.
73453         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73454         that are not needed.
73455         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73456         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73459         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73460         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73461         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73463 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73465         * math/s_nan.c: Undef __nan.
73466         * math/s_nanf.c: Undef __nanf.
73467         * math/s_nanl.c: Undef __nanl.
73468         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73469         "math_private.h".
73471 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73473         * math/s_catan.c: Add branch predictions.
73474         * math/s_catanf.c: Likewise.
73475         * math/s_catanh.c: Likewise.
73476         * math/s_catanhf.c: Likewise.
73477         * math/s_catanhl.c: Likewise.
73478         * math/s_catanl.c: Likewise.
73479         * math/s_cexp.c: Likewise.
73480         * math/s_cexpf.c: Likewise.
73481         * math/s_cexpl.c: Likewise.
73482         * math/s_clog.c: Likewise.
73483         * math/s_clog10.c: Likewise.
73484         * math/s_clog10f.c: Likewise.
73485         * math/s_clog10l.c: Likewise.
73486         * math/s_clogf.c: Likewise.
73487         * math/s_clogl.c: Likewise.
73488         * math/s_csqrt.c: Likewise.
73489         * math/s_csqrtf.c: Likewise.
73490         * math/s_csqrtl.c: Likewise.
73491         * math/s_ctanf.c: Likewise.
73492         * math/s_ctanh.c: Likewise.
73493         * math/s_ctanhf.c: Likewise.
73494         * math/s_ctanhl.c: Likewise.
73495         * math/s_ctanl.c: Likewise.
73497         * math/math_private.h: Define __nan, __nanf, __nanl.
73498         * math/s_cacosh.c: Include <math_private.h>.
73499         * math/s_cacoshl.c: Likewise.
73500         * math/s_casinh.c: Likewise.
73501         * math/s_casinhf.c: Likewise.
73502         * math/s_casinhl.c: Likewise.
73503         * math/s_ccos.c: Rely entire on ccosh.
73504         * math/s_ccosf.c: Rely entire on ccoshf.
73505         * math/s_ccosl.c: Rely entirely on ccoshl.
73506         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73507         Remove tests for FE_INVALID.
73508         * math/s_ccoshf.c: Likewise.
73509         * math/s_ccoshl.c: Likewise.
73510         * math/s_csin.c: Likewise.
73511         * math/s_csinf.c: Likewise.
73512         * math/s_csinh.c Likewise.
73513         * math/s_csinhf.c: Likewise.
73514         * math/s_csinhl.c: Likewise.
73515         * math/s_csinl.c: Likewise.
73516         * math/s_ctan.c: Likewise.
73517         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73518         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73519         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73521 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73524         compilation problems.
73526         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73527         __builtin_expect.
73529 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73531         * sysdeps/i386/configure.in: Test for -mfma4 option.
73532         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73533         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73534         COMMON_CPUID_INDEX_80000001.
73535         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73536         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73537         use it if FMA3 is not supported.
73538         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73540         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73541         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73543 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73545         [BZ #12892]
73546         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73547         it would create a cycle with a link time dependency.
73549 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73551         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73552         instruction.
73553         * string/Makefile (strop-tests): Add rawmemchr.
73554         * string/test-rawmemchr.c: New file.
73556         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73557         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73558         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73559         when compiling str{,n}casecmp and when AVX is available.  Hook up
73560         new optimized code in initializers.
73562 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73564         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73565         __feraiseexcept instead of feraiseexcept.
73567 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73569         * math/math_private.h: Define defaults for libc_fetestexcept and
73570         libc_feupdateenv.
73571         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73572         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73573         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73574         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73575         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73576         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73577         libc_fetestexcept and libc_feupdateenv.
73579         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73580         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73581         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73582         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73583         libc_feholdexcept_setround.
73585         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73586         Add s_nearbyint-c and s_nearbyintf-c.
73587         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73588         nearbyintf inlines.
73589         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73590         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73591         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73592         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73594         * math/math_private.h: Define defaults for libc_fegetround,
73595         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73596         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73597         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73599         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73600         standard functions.
73601         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73602         Remove comments and hacks for old compiler versions.
73603         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73604         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73605         libc_feholdexceptl.
73607 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73609         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73610         (__feraiseexcept_renamed): Add __NTH.
73611         (feraiseexcept): Add __NTH.  Rename local variables to fix
73612         namespace violations.
73614 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73616         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73618         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73620         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73621         recently added interfaces.
73622         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73624         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73625         about macro parameter expansion.
73627         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73628         __NO_MATH_INLINES is defined.  Cleanups.
73630         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73631         and __floorf is target has SSE4.1.
73632         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73633         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73634         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73635         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73637         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73638         name.
73639         (floorf): Likewise.
73641         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73643 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73645         * misc/sys/cdefs.h: Fix last change.
73647         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73648         database lookup.
73650 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73652         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73654         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73655         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73656         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73657         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73659         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73660         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73661         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73662         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73663         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73664         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73665         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73666         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73667         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73668         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73669         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73670         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73671         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73672         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73673         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73674         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73675         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73677         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73678         ceil, ceilf, floor, floorf.
73680         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73681         Perform IRELATIVE relocations last.
73683         * elf/do-rel.h: Add another parameter nrelative, replacing the
73684         local variable with the same name.  Change name of the function
73685         to end in Rel or Rela (uppercase).
73686         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73687         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73688         elf_dynamic_do_##reloc function.
73690 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73692         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73693         is sufficient, at least on modern CPUs.
73695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73697         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73698         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73700         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73701         __expl_finite.
73702         * math/bits/math-finite.h: Add entries for exp.
73703         * math/e_expl.c: Add __*_finite alias.
73704         * sysdeps/i386/fpu/e_exp.S: Likewise.
73705         * sysdeps/i386/fpu/e_expf.S: Likewise.
73706         * sysdeps/i386/fpu/e_expl.c: Likewise.
73707         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73708         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73709         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73710         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73711         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73712         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73713         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73715         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73716         is sufficient, at least on modern CPUs.
73718         * ctype/ctype-info.c (__ctype_init): Define.
73719         * include/ctype.h (__ctype_init): Declare.
73720         (__ctype_b_loc): The variable is always initialized.
73721         (__ctype_toupper_loc): Likewise.
73722         (__ctype_tolower_loc): Likewise.
73723         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73724         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73726 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73728         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73730         * configure.in: Also look in $cxxmachine/include for C++ system
73731         headers.
73733 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73735         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73736         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73737         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73738         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73740         (USE_AS_WMEMCMP): New macro.
73741         Fixing indents.
73742         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73743         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73744         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73745         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73746         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73747         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73748         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73749         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73750         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73751         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73752         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73753         (USE_AS_WMEMCMP): New macro.
73754         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73755         * sysdeps/string/test-memcmp.c: Update.
73756         Fix simple_wmemcmp.
73757         Add new tests.
73758         * wcsmbs/wmemcmp.c: Update.
73759         (WMEMCMP): New macro.
73760         Fix overflow bug.
73762 2011-10-12  Andreas Jaeger  <aj@suse.de>
73764         [BZ #13268]
73765         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73767 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73769         * libio/iofwide.c (do_length): Avoid warning.
73771         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73773 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73775         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73777         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73778         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73779         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73780         * sysdeps/i386/i686/fpu/e_log.S: New file.
73781         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73782         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73784         * ctype/ctype.h: Add support for inlined isXXX functions when
73785         compiling C++ code.
73787 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73789         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73791         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73793 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73795         [BZ #13291]
73796         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73798 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73800         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73801         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73802         feraiseexcept.
73804         * sysdeps/x86_64/memrchr.S: Check for zero size.
73806         * string/stratcliff.c: Add memrchr tests.
73808 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73811         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73812         rawmemchr-sse2 rawmemchr-sse2-bsf.
73813         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73814         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73815         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73816         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73817         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73818         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73819         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73820         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73821         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73822         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73823         * string/memrchr.c (MEMRCHR): New macro.
73825 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73827         Add integration with gcc's -ffinite-math-only and optimize wrapper
73828         functions in libm.
73829         * Versions.def: Define GLIBC_2.15 version for libm.
73830         * math/Makefile (headers): Add bits/math-finite.h.
73831         * math/bits/math-finite.h: New file.
73832         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73833         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73834         * math/e_acoshl.c: Add __*_finite alias.
73835         * math/e_acosl.c: Likewise.
73836         * math/e_asinl.c: Likewise.
73837         * math/e_atan2l.c: Likewise.
73838         * math/e_atanhl.c: Likewise.
73839         * math/e_coshl.c: Likewise.
73840         * math/e_exp10.c: Likewise.
73841         * math/e_exp10f.c: Likewise.
73842         * math/e_exp10l.c: Likewise.
73843         * math/e_exp2l.c: Likewise.
73844         * math/e_fmodl.c: Likewise.
73845         * math/e_gammal_r.c: Likewise.
73846         * math/e_hypotl.c: Likewise.
73847         * math/e_j0l.c: Likewise.
73848         * math/e_j1l.c: Likewise.
73849         * math/e_jnl.c: Likewise.
73850         * math/e_lgammal_r.c: Likewise.
73851         * math/e_log10l.c: Likewise.
73852         * math/e_log2l.c: Likewise.
73853         * math/e_logl.c: Likewise.
73854         * math/e_powl.c: Likewise.
73855         * math/e_sinhl.c: Likewise.
73856         * math/e_sqrtl.c: Likewise.
73857         * math/e_scalb.c: Completely rewritten and optimized.
73858         * math/e_scalbf.c: Likewise.
73859         * math/e_scalbl.c: Likewise.
73860         * math/w_acos.c: Likewise.
73861         * math/w_acosf.c: Likewise.
73862         * math/w_acosl.c: Likewise.
73863         * math/w_acosh.c: Likewise.
73864         * math/w_acoshf.c: Likewise.
73865         * math/w_acoshl.c: Likewise.
73866         * math/w_asin.c: Likewise.
73867         * math/w_asinf.c: Likewise.
73868         * math/w_asinl.c: Likewise.
73869         * math/w_atan2.c: Likewise.
73870         * math/w_atan2f.c: Likewise.
73871         * math/w_atan2l.c: Likewise.
73872         * math/w_atanh.c: Likewise.
73873         * math/w_atanhf.c: Likewise.
73874         * math/w_atanhl.c: Likewise.
73875         * math/w_exp10.c: Likewise.
73876         * math/w_exp10f.c: Likewise.
73877         * math/w_exp10l.c: Likewise.
73878         * math/w_fmod.c: Likewise.
73879         * math/w_fmodf.c: Likewise.
73880         * math/w_fmodl.c: Likewise.
73881         * math/w_j0.c: Likewise.
73882         * math/w_j0f.c: Likewise.
73883         * math/w_j0l.c: Likewise.
73884         * math/w_j1.c: Likewise.
73885         * math/w_j1f.c: Likewise.
73886         * math/w_j1l.c: Likewise.
73887         * math/w_jn.c: Likewise.
73888         * math/w_jnf.c: Likewise.
73889         * math/w_log.c: Likewise.
73890         * math/w_logf.c: Likewise.
73891         * math/w_logl.c: Likewise.
73892         * math/w_log10.c: Likewise.
73893         * math/w_log10f.c: Likewise.
73894         * math/w_log10l.c: Likewise.
73895         * math/w_log2.c: Likewise.
73896         * math/w_log2f.c: Likewise.
73897         * math/w_log2l.c: Likewise.
73898         * math/w_pow.c: Likewise.
73899         * math/w_powf.c: Likewise.
73900         * math/w_powl.c: Likewise.
73901         * math/w_remainder.c: Likewise.
73902         * math/w_remainderf.c: Likewise.
73903         * math/w_remainderl.c: Likewise.
73904         * math/w_scalb.c: Likewise.
73905         * math/w_scalbf.c: Likewise.
73906         * math/w_scalbl.c: Likewise.
73907         * math/w_sqrt.c: Likewise.
73908         * math/w_sqrtf.c: Likewise.
73909         * math/w_sqrtl.c: Likewise.
73910         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73911         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73912         used.
73913         * math/math_private.h: Declare __kernel_standard_f.
73914         * math/w_cosh.c: Remove cruft and optimize a bit.
73915         * math/w_coshf.c: Likewise.
73916         * math/w_coshl.c: Likewise.
73917         * math/w_exp2.c: Likewise.
73918         * math/w_exp2f.c: Likewise.
73919         * math/w_exp2l.c: Likewise.
73920         * math/w_hypot.c: Likewise.
73921         * math/w_hypotf.c: Likewise.
73922         * math/w_hypotl.c: Likewise.
73923         * math/w_lgamma.c: Likewise.
73924         * math/w_lgamma_r.c: Likewise.
73925         * math/w_lgammaf.c: Likewise.
73926         * math/w_lgammaf_r.c: Likewise.
73927         * math/w_lgammal.c: Likewise.
73928         * math/w_lgammal_r.c: Likewise.
73929         * math/w_sinh.c: Likewise.
73930         * math/w_sinhf.c: Likewise.
73931         * math/w_sinhl.c: Likewise.
73932         * math/w_tgamma.c: Likewise.
73933         * math/w_tgammaf.c: Likewise.
73934         * math/w_tgammal.c: Likewise.
73935         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73936         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73937         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73938         Minor optimizations.  Pretty printing.  Remove cruft.
73939         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73940         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73941         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73942         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73943         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73944         * sysdeps/i386/fpu/e_asin.S: Likewise.
73945         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73946         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73947         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73948         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73949         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73950         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73951         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73952         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73953         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73954         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73955         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73956         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73957         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73958         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73959         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73960         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73961         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73962         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73963         * sysdeps/i386/fpu/e_log.S: Likewise.
73964         * sysdeps/i386/fpu/e_log10.S: Likewise.
73965         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73966         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73967         * sysdeps/i386/fpu/e_log2.S: Likewise.
73968         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73969         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73970         * sysdeps/i386/fpu/e_logf.S: Likewise.
73971         * sysdeps/i386/fpu/e_logl.S: Likewise.
73972         * sysdeps/i386/fpu/e_pow.S: Likewise.
73973         * sysdeps/i386/fpu/e_powf.S: Likewise.
73974         * sysdeps/i386/fpu/e_powl.S: Likewise.
73975         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73976         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73977         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73978         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73979         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73980         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73981         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73982         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73983         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73984         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73985         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73987         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73988         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73989         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73990         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73991         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73992         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73993         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73994         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73995         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73997         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73998         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74000         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74001         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74002         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74004         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74005         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74006         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74007         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74008         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74009         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74010         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74011         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74012         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74013         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74014         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74015         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74016         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74018         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74019         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74020         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74021         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74022         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74023         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74024         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74025         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74026         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74028         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74030         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74031         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74034         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74035         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74036         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74037         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74039         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74040         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74041         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74050         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74051         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74052         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74053         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74054         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74055         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74056         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74057         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74058         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74059         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74060         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74061         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74062         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74063         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74064         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74065         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74066         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74067         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74068         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74069         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74070         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74071         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74072         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74073         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74074         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74075         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74076         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74077         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74078         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74079         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74080         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74081         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74082         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74083         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74084         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74085         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74086         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74087         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74088         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74089         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74090         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74091         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74092         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74094         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74095         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74096         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74097         (__isnanf): Likewise.
74098         (__isinf_ns): Likewise.
74099         (__isinf_nsf): Likewise.
74100         (__finite): Likewise.
74101         (__finitef): Likewise.
74102         (__ieee754_sqrt): Define as macro.
74103         (__ieee754_sqrtf): Define as macro.
74104         (__ieee754_sqrtl): Define as macro.
74105         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74106         inlined copy.
74107         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74108         __FINITE_MATH_ONLY__ consistent.
74109         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74111 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74113         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74114         of rawmemchr.
74116         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74118 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74120         * po/ja.po: Update from translation team.
74122 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74124         * locale/programs/locarchive.c (prepare_address_space): New function.
74125         (create_archive, enlarge_archive, open_archive): Use it.
74127         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74128         inside [SHARED], where it is used.
74130         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74132         * nss/getent.c (netgroup_keys): Remove unused variable.
74133         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74135 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74137         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74138         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74140         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74141         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74142         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74143         * math/Makefile (libm-calls): Add s_isinf_ns.
74144         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74145         * math/multc3.c: Likewise.
74146         * math/s_casin.c: Likewise.
74147         * math/s_casinf.c: Likewise.
74148         * math/s_casinl.c: Likewise.
74149         * math/s_ccos.c: Likewise.
74150         * math/s_ccosf.c: Likewise.
74151         * math/s_ccosl.c: Likewise.
74152         * math/s_ctan.c: Likewise.
74153         * math/s_ctanf.c: Likewise.
74154         * math/s_ctanh.c: Likewise.
74155         * math/s_ctanhf.c: Likewise.
74156         * math/s_ctanhl.c: Likewise.
74157         * math/s_ctanl.c: Likewise.
74158         * math/w_fmod.c: Likewise.
74159         * math/w_fmodf.c: Likewise.
74160         * math/w_fmodl.c: Likewise.
74161         * math/w_remainder.c: Likewise.
74162         * math/w_remainderf.c: Likewise.
74163         * math/w_remainderl.c: Likewise.
74164         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74165         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74166         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74168         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74169         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74170         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74171         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74173         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74174         of the number.
74175         * stdio-common/printf_fphex.c: Likewise.
74176         * stdio-common/printf_size.c: Likewise.
74178         * math/e_exp10.c: Include math_private.h using <...> not "...".
74179         * math/e_exp10f.c: Likewise.
74180         * math/e_exp10l.c: Likewise.
74181         * math/e_exp2l.c: Likewise.
74182         * math/e_j0l.c: Likewise.
74183         * math/e_j1l.c: Likewise.
74184         * math/e_jnl.c: Likewise.
74185         * math/e_lgammal_r.c: Likewise.
74186         * math/e_rem_pio2l.c: Likewise.
74187         * math/e_scalb.c: Likewise.
74188         * math/e_scalbf.c: Likewise.
74189         * math/e_scalbl.c: Likewise.
74190         * math/k_cosl.c: Likewise.
74191         * math/k_sinl.c: Likewise.
74192         * math/k_tanl.c: Likewise.
74193         * math/s_cacoshf.c: Likewise.
74194         * math/s_catan.c: Likewise.
74195         * math/s_catanf.c: Likewise.
74196         * math/s_catanh.c: Likewise.
74197         * math/s_catanhf.c: Likewise.
74198         * math/s_catanhl.c: Likewise.
74199         * math/s_catanl.c: Likewise.
74200         * math/s_ccosh.c: Likewise.
74201         * math/s_ccoshf.c: Likewise.
74202         * math/s_ccoshl.c: Likewise.
74203         * math/s_cexp.c: Likewise.
74204         * math/s_cexpf.c: Likewise.
74205         * math/s_cexpl.c: Likewise.
74206         * math/s_clog.c: Likewise.
74207         * math/s_clog10.c: Likewise.
74208         * math/s_clog10f.c: Likewise.
74209         * math/s_clog10l.c: Likewise.
74210         * math/s_clogf.c: Likewise.
74211         * math/s_clogl.c: Likewise.
74212         * math/s_csin.c: Likewise.
74213         * math/s_csinf.c: Likewise.
74214         * math/s_csinh.c: Likewise.
74215         * math/s_csinhf.c: Likewise.
74216         * math/s_csinhl.c: Likewise.
74217         * math/s_csinl.c: Likewise.
74218         * math/s_csqrt.c: Likewise.
74219         * math/s_csqrtf.c: Likewise.
74220         * math/s_csqrtl.c: Likewise.
74221         * math/s_ctan.c: Likewise.
74222         * math/s_ctanf.c: Likewise.
74223         * math/s_ctanh.c: Likewise.
74224         * math/s_ctanhf.c: Likewise.
74225         * math/s_ctanhl.c: Likewise.
74226         * math/s_ctanl.c: Likewise.
74227         * math/s_ldexp.c: Likewise.
74228         * math/s_ldexpf.c: Likewise.
74229         * math/s_ldexpl.c: Likewise.
74230         * math/s_significand.c: Likewise.
74231         * math/s_significandf.c: Likewise.
74232         * math/s_significandl.c: Likewise.
74233         * math/w_acos.c: Likewise.
74234         * math/w_acosf.c: Likewise.
74235         * math/w_acosh.c: Likewise.
74236         * math/w_acoshf.c: Likewise.
74237         * math/w_acoshl.c: Likewise.
74238         * math/w_acosl.c: Likewise.
74239         * math/w_asin.c: Likewise.
74240         * math/w_asinf.c: Likewise.
74241         * math/w_asinl.c: Likewise.
74242         * math/w_atan2.c: Likewise.
74243         * math/w_atan2f.c: Likewise.
74244         * math/w_atan2l.c: Likewise.
74245         * math/w_atanh.c: Likewise.
74246         * math/w_atanhf.c: Likewise.
74247         * math/w_atanhl.c: Likewise.
74248         * math/w_cosh.c: Likewise.
74249         * math/w_coshf.c: Likewise.
74250         * math/w_coshl.c: Likewise.
74251         * math/w_dremf.c: Likewise.
74252         * math/w_exp10.c: Likewise.
74253         * math/w_exp10f.c: Likewise.
74254         * math/w_exp10l.c: Likewise.
74255         * math/w_exp2.c: Likewise.
74256         * math/w_exp2f.c: Likewise.
74257         * math/w_fmod.c: Likewise.
74258         * math/w_fmodf.c: Likewise.
74259         * math/w_fmodl.c: Likewise.
74260         * math/w_hypot.c: Likewise.
74261         * math/w_hypotf.c: Likewise.
74262         * math/w_hypotl.c: Likewise.
74263         * math/w_j0.c: Likewise.
74264         * math/w_j0f.c: Likewise.
74265         * math/w_j0l.c: Likewise.
74266         * math/w_j1.c: Likewise.
74267         * math/w_j1f.c: Likewise.
74268         * math/w_j1l.c: Likewise.
74269         * math/w_jn.c: Likewise.
74270         * math/w_jnf.c: Likewise.
74271         * math/w_jnl.c: Likewise.
74272         * math/w_lgamma.c: Likewise.
74273         * math/w_lgamma_r.c: Likewise.
74274         * math/w_lgammaf.c: Likewise.
74275         * math/w_lgammaf_r.c: Likewise.
74276         * math/w_lgammal.c: Likewise.
74277         * math/w_lgammal_r.c: Likewise.
74278         * math/w_log.c: Likewise.
74279         * math/w_log10.c: Likewise.
74280         * math/w_log10f.c: Likewise.
74281         * math/w_log10l.c: Likewise.
74282         * math/w_log2.c: Likewise.
74283         * math/w_log2f.c: Likewise.
74284         * math/w_log2l.c: Likewise.
74285         * math/w_logf.c: Likewise.
74286         * math/w_logl.c: Likewise.
74287         * math/w_pow.c: Likewise.
74288         * math/w_powf.c: Likewise.
74289         * math/w_powl.c: Likewise.
74290         * math/w_remainder.c: Likewise.
74291         * math/w_remainderf.c: Likewise.
74292         * math/w_remainderl.c: Likewise.
74293         * math/w_scalb.c: Likewise.
74294         * math/w_scalbf.c: Likewise.
74295         * math/w_scalbl.c: Likewise.
74296         * math/w_sinh.c: Likewise.
74297         * math/w_sinhf.c: Likewise.
74298         * math/w_sinhl.c: Likewise.
74299         * math/w_sqrt.c: Likewise.
74300         * math/w_sqrtf.c: Likewise.
74301         * math/w_sqrtl.c: Likewise.
74302         * math/w_tgamma.c: Likewise.
74303         * math/w_tgammaf.c: Likewise.
74304         * math/w_tgammal.c: Likewise.
74306         * po/ja.po: Update from translation team.
74308 2011-09-29  Andreas Jaeger  <aj@suse.de>
74310         [BZ #13179]
74311         * sunrpc/netname.c (netname2host): Fix logic.
74313         [BZ #6779]
74314         [BZ #6783]
74315         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74316         correctly.
74317         * math/w_remainder.c (__remainder): Likewise.
74318         * math/w_remainderf.c (__remainderf): Likewise.
74319         * math/libm-test.inc (remainder_test): Add test cases.
74321 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74323         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74324         sdiv_qrnnd.
74326 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74328         * string/test-memcmp.c: Avoid unncessary #defines.
74329         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74331 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74333         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74334         Use new sse2 version for core i3 - i7 as it's faster
74335         than sse42 version.
74336         (bit_Prefer_PMINUB_for_stringop): New.
74337         * sysdeps/x86_64/rawmemchr.S: Update.
74338         Replace with faster SSE2 version.
74339         * sysdeps/x86_64/memrchr.S: New file.
74340         * sysdeps/x86_64/memchr.S: Update.
74341         Replace with faster SSE2 version.
74343 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74345         * elf/dl-load.c (lose): Add cast to avoid warning.
74347 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74349         * po/ca.po: Update from translation team.
74351         * inet/getnetgrent_r.c: Hook up nscd.
74352         * nscd/Makefile (routines): Add nscd_netgroup.
74353         (nscd-modules): Add netgroupcache.
74354         (CFLAGS-netgroupcache.c): Define.
74355         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74356         (cache_search): Add const to second parameter.
74357         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74358         INNETGR.
74359         (dbs): Add netgrdb entry.
74360         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74361         (verify_persistent_db): Handle netgrdb.
74362         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74363         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74364         GETFDNETGR.
74365         (netgroup_response_header): Define.
74366         (innetgroup_response_header): Define.
74367         (datahead): Add netgroup_response_header and innetgroup_response_header
74368         elements.
74369         * nscd/nscd.conf: Add entries for netgroup cache.
74370         * nscd/nscd.h (dbtype): Add netgrdb.
74371         (_PATH_NSCD_NETGROUP_DB): Define.
74372         (netgroup_iov_disabled): Declare.
74373         (xmalloc, xcalloc, xrealloc): Move declarations here.
74374         (cache_search): Adjust prototype.
74375         Add netgroup-related prototypes.
74376         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74377         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74378         (__nscd_innetgr): Declare.
74379         * nscd/selinux.c (perms): Use access_vector_t as element type and
74380         add netgroup-related initializers.
74381         * nscd/netgroupcache.c: New file.
74382         * nscd/nscd_netgroup.c: New file.
74383         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74384         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74385         For four parameters use innetgr.
74386         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74387         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74388         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74389         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74391         * nscd/connections.c (register_traced_file): Don't register file
74392         for disabled databases.
74394 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74396         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74398         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74399         from tree and freeing node.
74401 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74403         * nss/nsswitch.c (__nss_database_lookup): Handle
74404         nss_parse_service_list out of memory case.
74406 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74408         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74409         out of memory case.
74411 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74413         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74414         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74415         pass it down.
74416         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74417         elf_machine_rela, elf_machine_lazy_rel.
74418         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74419         (ELF_DYNAMIC_DO_REL): Likewise.
74420         (ELF_DYNAMIC_DO_RELA): Likewise.
74421         (ELF_DYNAMIC_RELOCATE): Likewise.
74422         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74423         to ELF_DYNAMIC_DO_REL.
74424         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74425         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74426         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74427         elf_machine_rela.
74428         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74429         skip_ifunc, don't call ifunc function if non-zero.
74430         (elf_machine_rela): Likewise.
74431         (elf_machine_lazy_rel): Likewise.
74432         (elf_machine_lazy_rela): Likewise.
74433         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74434         (elf_machine_lazy_rel): Likewise.
74435         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74436         Likewise.
74437         (elf_machine_lazy_rel): Likewise.
74438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74439         Likewise.
74440         (elf_machine_lazy_rel): Likewise.
74441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74442         (elf_machine_lazy_rel): Likewise.
74443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74444         (elf_machine_lazy_rel): Likewise.
74445         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74446         (elf_machine_lazy_rel): Likewise.
74447         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74448         (elf_machine_lazy_rel): Likewise.
74449         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74450         (elf_machine_lazy_rel): Likewise.
74451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74452         (elf_machine_lazy_rel): Likewise.
74454 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74456         * nss/nss_files/files-init.c (_nss_files_init): Use static
74457         initialization for all the *_traced_file variables.
74459 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74461         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74463 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74465         [BZ #13226]
74466         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74468 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74470         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74471         Reread the line before reparsing it.
74473 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74475         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74477 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74478             Maxim Kuvyrkov  <maxim@codesourcery.com>
74479             Joseph Myers  <joseph@codesourcery.com>
74481         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74482         if needed for __stack_chk_guard.
74484 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74486         * sysdeps/posix/spawni.c (script_execute): Always define it.
74487         It will be optimized away if unused.
74488         (maybe_script_execute): New function.
74489         (__spawni): Call it.
74491         * Makerules: Don't include tls.make.
74492         (config-tls): Always set to thread.
74493         * tls.make.c: File removed.
74495 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74497         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74498         * config.make.in (CPPFLAGS-config): New substituted variable.
74500 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74502         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74504         [BZ #13192]
74505         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74506         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74508 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74510         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74511         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74513         (CALL_FAIL): Likewise.
74514         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74515         (CALL_FAIL): Macro removed.
74516         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74518 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74520         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74521         for __FINITE_MATH_ONLY__ == 1.
74523 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74525         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74526         __ieee754_sqrt instead of sqrt.
74527         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74528         __ieee754_sqrtf instead of sqrtf.
74529         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74530         __floorf instead of floorf.
74531         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74532         __floorf, __truncf instead of floorf, truncf.
74534 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74536         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74538         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74539         __extern_always_inline.
74540         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74541         32-bit.
74543 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74545         * elf/rtld.c (dl_main): Also relocate in dependency order when
74546         doing symbol dependency testing.
74548 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74550         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74551         Always define `refsym'.
74553 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74555         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74556         (__FD_ELT): Renamed from __FDELT.
74557         * misc/bits/select2.h (__FD_ELT): Likewise.
74558         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74559         __FD_MASK instead of __FDELT, __FDMASK.
74560         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74561         Likewise.
74562         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74563         Likewise.
74565         * elf/Makefile (gen-ldd): Fix pattern.
74567         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74568         (init_tls): Likewise.
74570 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74572         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74574 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74576         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74577         `struct cmsghdr *' instead of `void *'.
74578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74579         Likewise.
74581 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74583         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74584         if non-absolute.
74585         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74586         ldd_rewrite_script.
74588 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74590         * configure.in: Remove --with-tls option.
74591         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74592         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74593         out in case it is missing.
74594         * sysdeps/ia64/elf/configure.in: Likewise.
74595         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74596         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74597         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74598         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74599         * sysdeps/sh/elf/configure.in: Likewise.
74600         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74601         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74602         * sysdeps/x86_64/elf/configure.in: Likewise.
74603         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74604         * sysdeps/mach/hurd/tls.h: Likewise.
74606         [BZ #13067]
74607         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74609         [BZ #13090]
74610         * configure.in: Fix use of AC_INIT.
74612         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74614 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74616         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74617         __set_errno.
74618         * malloc/hooks.c: Likewise.
74620         [BZ #11929]
74621         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74622         variables statically.
74623         (narenas): Initialize.
74624         (list_lock): Initialize.
74625         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74626         initializtion of main_arena and list_lock.  Small cleanups.
74627         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74628         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74629         Add initializers to main_arena and mp_.
74630         (malloc_state): Remove pagesize member.  Change all users to use
74631         GLRO(dl_pagesize).
74633         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74634         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74635         is always initialized.
74637         * malloc/malloc.c: Removed unused configurations and dead code.
74638         * malloc/arena.c: Likewise.
74639         * malloc/hooks.c: Likewise.
74640         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74642         * include/tls.h: Removed.  USE___THREAD must always be defined.
74643         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74644         * elf/dl-libc.c: Likewise.
74645         * elf/dl-tsd.c: Likewise.
74646         * include/errno.h: Likewise.
74647         * include/netdb.h: Likewise.
74648         * include/resolv.h: Likewise.
74649         * inet/herrno-loc.c: Likewise.
74650         * inet/herrno.c: Likewise.
74651         * malloc/arena.c: Likewise.
74652         * malloc/hooks.c: Likewise.
74653         * malloc/malloc.c: Likewise.
74654         * resolv/res-state.c: Likewise.
74655         * resolv/res_libc.c: Likewise.
74656         * sysdeps/i386/dl-machine.h: Likewise.
74657         * sysdeps/ia64/dl-machine.h: Likewise.
74658         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74659         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74660         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74661         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74662         * sysdeps/sh/dl-machine.h: Likewise.
74663         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74664         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74665         * sysdeps/unix/i386/sysdep.S: Likewise.
74666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74667         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74672         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74676         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74677         * sysdeps/x86_64/dl-machine.h: Likewise.
74678         * tls.make.c: Likewise.
74680         * configure.in: Remove --with-__thread option.  Make tests for
74681         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74682         tls_model attribute fail if no support is available.  Remove
74683         USE_IN_LIBIO.
74684         * Makeconfig: Adjust for dropped configure option.  All features are
74685         now mandatory.
74686         * Makerules: Likewise.
74687         * Versions.def: Likewise.
74688         * argp/argp-fmtstream.c: Likewise.
74689         * argp/argp-fmtstream.h: Likewise.
74690         * argp/argp-help.c: Likewise.
74691         * assert/assert.c: Likewise.
74692         * config.h.in: Likewise.
74693         * config.make.in: Likewise.
74694         * configure: Likewise.
74695         * configure.in: Likewise.
74696         * csu/Versions: Likewise.
74697         * csu/init.c: Likewise.
74698         * elf/tst-audit2.c: Likewise.
74699         * elf/tst-tls10.c: Likewise.
74700         * elf/tst-tls10.h: Likewise.
74701         * elf/tst-tls11.c: Likewise.
74702         * elf/tst-tls12.c: Likewise.
74703         * elf/tst-tls14.c: Likewise.
74704         * elf/tst-tlsmod11.c: Likewise.
74705         * elf/tst-tlsmod12.c: Likewise.
74706         * elf/tst-tlsmod13.c: Likewise.
74707         * elf/tst-tlsmod13a.c: Likewise.
74708         * elf/tst-tlsmod14a.c: Likewise.
74709         * elf/tst-tlsmod15b.c: Likewise.
74710         * elf/tst-tlsmod16a.c: Likewise.
74711         * elf/tst-tlsmod16b.c: Likewise.
74712         * elf/tst-tlsmod7.c: Likewise.
74713         * elf/tst-tlsmod8.c: Likewise.
74714         * elf/tst-tlsmod9.c: Likewise.
74715         * gmon/gmon.c: Likewise.
74716         * grp/fgetgrent_r.c: Likewise.
74717         * grp/putgrent.c: Likewise.
74718         * hurd/fopenport.c: Likewise.
74719         * include/libc-symbols.h: Likewise.
74720         * include/tls.h: Likewise.
74721         * intl/gettextP.h: Likewise.
74722         * intl/loadinfo.h: Likewise.
74723         * locale/global-locale.c: Likewise.
74724         * locale/localeinfo.h: Likewise.
74725         * mach/devstream.c: Likewise.
74726         * malloc/arena.c: Likewise.
74727         * malloc/set-freeres.c: Likewise.
74728         * misc/err.c: Likewise.
74729         * misc/getttyent.c: Likewise.
74730         * misc/mntent_r.c: Likewise.
74731         * posix/getopt.c: Likewise.
74732         * posix/wordexp.c: Likewise.
74733         * pwd/fgetpwent_r.c: Likewise.
74734         * resolv/Versions: Likewise.
74735         * resolv/res_hconf.c: Likewise.
74736         * shadow/fgetspent_r.c: Likewise.
74737         * shadow/putspent.c: Likewise.
74738         * stdio-common/printf_fphex.c: Likewise.
74739         * stdio-common/tmpfile.c: Likewise.
74740         * stdlib/abort.c: Likewise.
74741         * stdlib/fmtmsg.c: Likewise.
74742         * sunrpc/auth_unix.c: Likewise.
74743         * sunrpc/clnt_perr.c: Likewise.
74744         * sunrpc/clnt_tcp.c: Likewise.
74745         * sunrpc/clnt_udp.c: Likewise.
74746         * sunrpc/clnt_unix.c: Likewise.
74747         * sunrpc/openchild.c: Likewise.
74748         * sunrpc/svc_simple.c: Likewise.
74749         * sunrpc/svc_tcp.c: Likewise.
74750         * sunrpc/svc_udp.c: Likewise.
74751         * sunrpc/svc_unix.c: Likewise.
74752         * sunrpc/xdr.c: Likewise.
74753         * sunrpc/xdr_array.c: Likewise.
74754         * sunrpc/xdr_rec.c: Likewise.
74755         * sunrpc/xdr_ref.c: Likewise.
74756         * sunrpc/xdr_stdio.c: Likewise.
74758 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74760         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74762 2011-07-03  Andreas Jaeger  <aj@suse.de>
74764         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74765         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74766         regenerate with gen-libm-tests.pl.
74768 2010-05-12  Petr Baudis  <pasky@suse.cz>
74770         [BZ #11589]
74771         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74772         around j0() zero points by switching to j1().
74773         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74774         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74776         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74778 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74780         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74781         instead of 0.
74782         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74783         instead of 0.
74784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74785         Patch in part by Pavel Roskin <proski@gnu.org>.
74787         [BZ #13138]
74788         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74789         realloc.
74790         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74791         Free memory block if necessary.
74793         [BZ #12847]
74794         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74795         be NULL.  Don't lock in this case.
74797 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74799         * elf/elf.h (ELFOSABI_GNU): New macro.
74800         (ELFOSABI_LINUX): Define to that.
74802 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74804         * string/strncat.c (strncat): Undef the symbol in case it has been
74805         defined in bits/string.h.
74807 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74809         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74811         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74812         link map.
74814 2011-08-17  Andreas Jaeger  <aj@suse.de>
74816         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74818 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74819             Ian Lance Taylor  <iant@google.com>
74821         * math/libm-test.inc (lround_test): New testcase.
74822         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74824 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74826         * Makefile: Remove support for automatic cvs check-ins.
74827         * Makerules: Likewise.
74828         * config.make.in: Likewise.
74829         * configure.in: Likewise.
74830         * intl/Makefile: Likewise.
74831         * locale/Makefile: Likewise.
74832         * po/Makefile: Likewise.
74833         * posix/Makefile: Likewise.
74834         * sysdeps/gnu/Makefile: Likewise.
74835         * sysdeps/mach/hurd/Makefile: Likewise.
74836         * sysdeps/sparc/sparc32/Makefile: Likewise.
74838         [BZ #13118]
74839         * posix/Makefile (bug-regex32-ENV): Define.
74840         Patch by John Stanley <jpsinthemix@verizon.net>.
74842         * misc/Makefile (headers): Add bits/select2.h.
74843         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74844         * misc/bits/select2.h: New file.
74845         * include/bits/select2.h: New file.
74846         * debug/Makefile (routines): Add fdelt_chk.
74847         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74848         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74849         FD_ISSET.
74850         * debug/fdelt_chk.c: New file.
74852         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74853         * wcsmbs/test-wmemcmp.c: Likewise.
74854         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74855         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74857 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74859         * string/Makefile (strop-tests): Add memcmp.
74860         * string/test-wmemcmp.c: New file.
74861         * string/test-memcmp.c: Add wmemcmp support.
74863 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74865         [BZ #13153]
74866         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74867         2011-07-19 change.
74869         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74870         garbage value in a __mach_port_mod_refs call in the cases of the
74871         task-self and thread-self ports.
74873 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74875         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74877 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74879         * elf/dl-load.c (lose): Check for non-null L.
74881 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74883         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74885         * elf/dl-libc.c (dlerror_run): Pass back error code from
74886         dl_catch_error.
74888         [BZ #13123]
74889         * elf/dl-load.c (lose): Free l_origin if it is valid.
74891         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74892         names.
74893         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74894         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74895         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74896         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74897         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74898         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74900 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74902         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74903         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74904         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74905         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74906         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74907         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74908         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74909         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74910         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74911         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74913 2011-08-15  Alan Modra  <amodra@gmail.com>
74915         [BZ #13092]
74916         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74917         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74918         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74919         ppc_mcount to static-only-routines.
74920         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74921         __mcount_internal.
74922         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74923         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74925 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74927         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74928         for finite and infinity parameters.
74930 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74932         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74933         and add nop instructions for throughput optimization.
74934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74936 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74938         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74939         aligned copy for power7 with vector-scalar instructions.
74940         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74942 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74945         AVX check.
74947 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74949         [BZ #13144]
74950         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74951         last change.
74953 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74955         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74956         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74957         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74958         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74959         clock_gettime.
74961 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74963         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74964         Forgot to demangle the pointer.
74966         * sysdeps/i386/sysdep.h: Define atom_text_section.
74967         * sysdeps/x86_64/sysdep.h: Likewise.
74968         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74969         section with atom_text_section.
74970         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74971         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74972         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74973         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74974         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74976         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74977         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74978         already be defined.  Change to take two parameters and don't assign
74979         result to variable.  Adjust all users.
74980         Define INTERNAL_GETTIME if not already defined.
74981         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74982         call.
74983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74984         HAVE_CLOCK_GETTIME_VSYSCALL.
74985         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74987         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74988         gettimeofday vsyscall, just use time.
74990 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74993         <errno.h>.
74995 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74997         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74998         syscall on x86-64.
74999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75000         syscall.
75001         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75002         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75003         syscall if possible.
75005 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75007         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75008         e_ident.  Don't pass to find_mapsXX.
75009         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75011 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75014         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75015         * sysdeps/x86_64/multiarch/strchr.S: Update.
75016         Check bit_slow_BSF bit.
75017         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75018         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75019         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75021 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75023         [BZ #13134]
75024         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75025         before glibc 2.15.
75026         (tryshell): Define.
75027         (__spawni): Change last parameter to be flag.  Test
75028         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75029         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75030         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75031         * posix/spawni.c: Likewise.
75032         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75033         * posix/spawnp.c: Likewise.  Change normal version to use
75034         SPAWN_XFLAGS_USE_PATH.
75035         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75036         SPAWN_XFLAGS_TRY_SHELL.
75038         [BZ #13150]
75039         * posix/glob.h: Remove gcc 1.x support.
75041         [BZ #13068]
75042         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75044 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75047         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75048         strrchr-sse2-bsf
75049         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75050         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75051         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75052         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75053         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75054         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75056 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75058         * sysdeps/x86_64/wcscmp.S: New file.
75060         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75061         wcscmp-c wcscmp-sse2
75062         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75063         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75064         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75065         * wcsmbs/wcscmp.c: Allow renaming.
75067 2011-09-05  David S. Miller  <davem@davemloft.net>
75069         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75070         stack slot, rather than the struct return pointer slot.
75071         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75072         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75074         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75076 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75078         * po/ja.po: Update from translation team.
75080         [BZ #13144]
75081         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75082         kernel in 64-bit binaries.
75084 2011-09-01  David S. Miller  <davem@davemloft.net>
75086         * elf/elf.h (HWCAP_SPARC_*): Move to..
75087         * sysdeps/sparc/sysdep.h: this new file and add new values.
75088         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75089         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75090         _DL_HWCAP_COUNT to 24.
75091         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75092         entries.
75093         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75094         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75095         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75097         instead of magic constants.
75098         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75100 2011-08-31  David S. Miller  <davem@davemloft.net>
75102         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75103         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75104         Reimplement to do errno handling inline.
75105         (SYSCALL_ERROR_HANDLER): New macro.
75106         (__SYSCALL_STRING): Do not do errno handling in asm.
75107         (__CLONE_SYSCALL_STRING): Delete.
75108         (__INTERNAL_SYSCALL_STRING): Delete.
75109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75110         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75111         (PSEUDO): Reimplement to do errno handling inline.
75112         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75113         (SYSCALL_ERROR_HANDLER): New macro.
75114         (__SYSCALL_STRING): Do not do errno handling in asm.
75115         (__CLONE_SYSCALL_STRING): Delete.
75116         (__INTERNAL_SYSCALL_STRING): Delete.
75117         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75118         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75119         i386.
75120         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75121         (inline_syscall*): Add 'err' argument.
75122         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75123         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75124         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75125         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75127         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75128         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75130 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75132         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75134 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75136         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75137         directive.
75139 2011-08-24  David S. Miller  <davem@davemloft.net>
75141         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75143 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75145         * elf/Makefile: Add rules to build and run unload8 test.
75146         * elf/unload8.c: New file.
75147         * elf/unload8mod1.c: New file.
75148         * elf/unload8mod1x.c: New file.
75149         * elf/unload8mod2.c: New file.
75150         * elf/unload8mod3.c: New file.
75152         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75153         it wasn't used.
75155 2011-08-23  David S. Miller  <davem@davemloft.net>
75157         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75158         subtract stack bias.
75159         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75160         %sp not %fp in calculations.
75161         (_JMPBUF_UNWINDS_ADJ): Likewise.
75163         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75164         (aio_suspend): Call it to force an exception region around the
75165         AIO_MISC_WAIT() invocation.
75167 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75169         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75170         backslash.
75172 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75174         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75175         protection macro.
75176         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75177         and <dl-machine.h>.
75178         (Elf64_FuncDesc): Remove.
75180 2011-08-22  David S. Miller  <davem@davemloft.net>
75182         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75183         sigaltstack check, add missing cfi directives.
75184         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75185         missing cfi directives, and sigaltstack handling.
75187 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75189         [BZ #11724]
75190         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75191         object is seen twice.
75192         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75194         * elf/Makefile (distribute): Add tst-initorder2.c.
75195         (tests): Add tst-initorder2.
75196         (modules-names): Add tst-initorder2a tst-initorder2b
75197         tst-initorder2c tst-initorder2d.  Add rules to build them.
75198         ($(objpfx)tst-initorder2.out): New rule.
75199         * elf/tst-initorder2.c: New file.
75200         * elf/tst-initorder2.exp: New file.
75202 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75204         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75206         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75207         dependencies back to end of function.
75209         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75210         $(elfobjdir)/ld.so.
75212 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75214         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75215         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75216         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75217         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75218         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75219         of __vdso_gettimeofday.
75220         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75221         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75222         attribute_hidden.
75223         (_libc_vdso_platform_setup): Remove initialization of
75224         __vdso_gettimeofday and __vdso_time.
75226 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75228         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75229         and fgetc_unlocked.
75230         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75231         getc_unlocked.
75233         * elf/dl-open.c (add_to_global): Report additions to the global scope
75234         for LD_DEBUG=scopes.
75235         (dl_open_worker): Also print scope of newly loaded dependencies.
75236         (_dl_show_scope): Indicate if there is no scope.
75238         [BZ #13114]
75239         * stdio-common/Makefile (tests): Add bug24.
75240         * stdio-common/bug24.c: New file.
75242 2011-08-19  Andreas Jaeger  <aj@suse.de>
75244         [BZ #13114]
75245         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75246         non-existant file when using close-on-exec mode.
75248 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75251         the very first instruction.
75253         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75254         the CFI state in the end.
75255         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75256         inclusion of dl-trampoline.h.
75257         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75259 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75261         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75262         expectations for long double.
75264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75265         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75267 2011-08-14  David S. Miller  <davem@davemloft.net>
75269         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75270         artificual limit depends upon the system page size.
75272 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75274         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75275         * resolv/Makefile: Define CFLAGS-libresolv.
75277 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75279         * nss/makedb.c (compute_tables): Make variables used in nested
75280         function static.
75282 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75284         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75285         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75286         if buffer was too small.
75288         * elf/pldd.c (main): Attach to all threads in the process.
75289         Rewrite /proc handling to use *at functions.
75291 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75293         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75294         specifies first scope to show.
75295         (dl_open_worker): Update callers.  Move printing scope of new
75296         object to before the relocation.
75297         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75298         * sysdeps/generic/ldsodefs.h: Update declaration.
75300         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75301         string for the scope number.
75303 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75305         * nscd/servicescache.c (cache_addserv): Make sure written is always
75306         initialized.
75308 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75310         * sysdeps/i386/i486/bits/atomic.h
75311         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75312         statement expression, so as to suppress "set but not used" warning.
75313         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75315         * string/strncat.c (STRNCAT): Use prototype definition.
75317         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75318         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75319         -Iprograms here.
75320         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75321         (localedef-modules): Add localedef.
75322         (locale-modules): Add locale.
75324         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75325         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75326         to avoid a warning.
75328 2011-08-14  David S. Miller  <davem@davemloft.net>
75330         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75331         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75333 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75335         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75336         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75337         * elf/rtld.c (dl_main): Set l_name of vDSO.
75338         Call _dl_show_scope when DL_DEBUG_SCOPES.
75339         (process_dl_debug): Recognize scopes flag and also set it for all.
75340         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75341         Declare _dl_show_scope.
75343         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75344         (do_dlopen): Pass caller_dlopen to dl_open.
75345         (__libc_dlopen_mode): Initialize caller_dlopen.
75347         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75348         of libc.  Make tolower call locale-independent.  Optimize a bit by
75349         using isdigit instead of isalnum.
75350         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75352 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75354         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75355         was a dependency or dynamically loaded.
75357 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75359         * intl/l10nflist.c: Allow architecture-specific pop function.
75360         * sysdeps/x86_64/l10nflist.c: New file.
75362         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75363         classification.
75365 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75367         * include/dirent.h: Add libc_hidden_proto for scandirat and
75368         scandirat64.  Don't declare __scandirat64.
75369         * dirent/scandirat.c: Add libc_hidden_def.
75370         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75371         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75373 2011-08-10  David S. Miller  <davem@davemloft.net>
75375         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75376         enum.
75377         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75379         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75381 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75383         * Versions.def [libc]: Add GLIBC_2.15.
75384         * dirent/Makefile (routines): Add scandirat and scandirat64.
75385         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75386         GLIBC_2.15.
75387         * dirent/dirent.h: Declare scandirat and scandirat64.
75388         * dirent/scandirat.c: New file.
75389         * dirent/scandirat64.c: New file.
75390         * sysdeps/wordsize-64/scandirat.c: New file.
75391         * sysdeps/wordsize-64/scandirat64.c: New file.
75392         * dirent/opendir.c: Define opendirat.
75393         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75394         using scandirat.
75395         * dirent/scandir64.c: Adjust for scandir.c change.
75396         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75397         __scandirat64, and __scandir_cancel_handler.
75398         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75399         additional parameter and use openat instead of open (outside of ld.so).
75400         Add new __opendir as wrapper around __opendirat.
75401         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75402         here without requiring old scandirat implementation.
75404 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75406         * dirent/scandir.c (cancel_handler): Renamed to
75407         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75408         defined.  Adjust users.
75409         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75410         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75412 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75414         * string/test-string.h (IMPL): Use __STRING to expand name and then
75415         stringify it.
75417         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75418         of cleanups.
75420 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75422         * string/Makefile: Update.
75423         (strop-tests): Append strncat.
75424         * string/test-wcscmp.c: New file.
75425         New comprehensive test for wcscmp.
75426         * string/test-strcmp.c: Update.
75427         (WIDE): New define.
75429 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75431         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75432         line.
75434 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75437         encoding to ACE if AI_IDN.
75439 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75441         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75442         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75444 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75446         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75447         Fix overflow bug in strncat.
75448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75450         * string/test-strncat.c: Update.
75451         Add new tests for checking overflow bugs.
75453 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75456         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75457         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75458         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75459         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75460         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75461         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75462         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75463         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75465         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75466         (USE_AS_STRCAT): Define.
75467         Add strcat and strncat support.
75468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75470 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75472         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75473         __n bigger than INT_MAX+1.
75474         (__strncmp_g): Likewise.
75476 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75478         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75479         * libio/stido.h: Likewise.
75481         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75482         (AF_NFC): Define.
75483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75484         (AF_NFC): Define.
75486         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75487         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75489         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75490         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75492         [BZ #13021]
75493         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75494         installed.
75496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75497         typo.
75498         (_dl_x86_64_save_sse): Likewise.
75500 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75502         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75503         OSXSAVE.
75504         (_dl_x86_64_save_sse): Likewise.
75506         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75508         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75510 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75513         change.
75514         (_dl_x86_64_save_sse): Use correct AVX check.
75516 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75518         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75519         bug in strncpy/strncat.
75520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75522 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75524         * string/tester.c (test_strcat): Add tests for different alignments
75525         of source and destination.
75526         (test_strncat): Likewise.
75528 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75530         [BZ #12852]
75531         * posix/glob.c (glob): Check passed in values before using them in
75532         expressions to avoid some overflows.
75533         (glob_in_dir): Likewise.
75535         [BZ #13007]
75536         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75537         check for AVX enablement so that we don't crash with old kernels and
75538         new hardware.
75539         * elf/tst-audit4.c: Add same checks here.
75540         * elf/tst-audit6.c: Likewise.
75542         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75544 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75546         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75548 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75550         * po/cs.po: Update from translation team.
75551         * po/bg.po: Likewise.
75553 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75555         * misc/sys/cdefs.h: Add support for const attribute.
75556         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75557         to gnu_dev_{major,minor,makedev} functions.
75559 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75561         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75563 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75565         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75566         strlen results.
75568 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75571         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75572         register in order to avoid conflicts with the soft frame pointer
75573         being held in r11 when necessary.
75574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75575         (INTERNAL_VSYSCALL_NCS): Likewise.
75577 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75579         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75580         * elf/dl-fini.c (_dl_fini): Adjust caller.
75581         * elf/dl-close.c (_dl_close_worker): Likewise.
75582         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75584 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75586         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75587         "aux_cache->nlibs < 0".
75589         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75590         in the reload-count case.
75592 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75595         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75596         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75597         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75598         * sysdeps/x86_64/multiarch/strcat.S: New file.
75599         * sysdeps/x86_64/multiarch/strncat.S: New file.
75600         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75601         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75602         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75603         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75604         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75605         (USE_AS_STRCAT): Define.
75606         Add strcat and strncat support.
75607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75608         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75609         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75610         * string/strncat.c: Update.
75611         (USE_AS_STRNCAT): Define.
75612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75613         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75614         and i7.
75615         * sysdeps/x86_64/multiarch/init-arch.h
75616         (bit_Prefer_PMINUB_for_stringop): New.
75617         (index_Prefer_PMINUB_for_stringop): Likewise.
75618         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75619         bit_Prefer_PMINUB_for_stringop.
75621 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75623         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75624         buffer64.
75625         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75626         of casting of buffer.
75627         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75628         buffer32 and buffer64.
75629         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75630         writes instead of casting of buffer.
75631         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75632         buffer32.
75633         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75634         casting of buffer.
75636 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75638         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75640 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75642         * nscd/nscd.c (termination_handler): Don't do anything for a database
75643         if it has not yet been initialized.
75645 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75647         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75649 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75651         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75653 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75655         * po/nl.po: Update from translation team.
75656         * po/sv.po: Likewise.
75658 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75660         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75661         now disallowed by GCC.
75663         * configure.in (use-default-link): Default to yes if a test -shared
75664         link meets our qualifications.
75665         * configure: Regenerated.
75667         * config.make.in (output-format): New variable.
75668         * configure.in: Check for ld --print-output-format support.
75669         * configure: Regenerated.
75670         * Makerules ($(common-objpfx)format.lds)
75671         [$(output-format) != unknown]: Just use $(output-format),
75672         instead of the linker-script munging.
75674 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75676         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75677         of $(common-objpfx)shlib.lds.
75678         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75680         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75681         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75683         * configure.in (-z relro check): Adjust test code to add a large
75684         writable data section after it.
75685         * configure: Regenerated.
75687 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75689         * configure.in (-z relro check): Fix test code to make the variable
75690         truly const.
75691         * configure: Regenerated.
75693 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75695         * nscd/nscd.h (struct traced_file): Define.
75696         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75697         elements.  Add traced_files.
75698         (inotify_fd): Declare.
75699         (register_traced_file): Declare.
75700         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75701         (inotify_fd): Export.
75702         (resolv_conf_descr): Remove.
75703         (nscd_init): Move inotify descriptor creation to main.
75704         Don't register files for notification here.
75705         (register_traced_file): New function.
75706         (invalidate_cache): Don't use reset_res to determine whether to call
75707         res_init, go through the list of registered files.
75708         (main_loop_poll): The inotify descriptors are now stored in the
75709         structures for the traced files.
75710         (main_loop_epoll): Likewise.
75711         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75712         to __nss_disable_nscd.
75713         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75714         for a database anymore.  Check the records for all the registered
75715         files instead.
75716         * nss/Makefile (libnss_files-routines): Add files-init.
75717         (libnss_db-routines): Add db-init.
75718         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75719         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75720         * nss/nss_db/db-init.c: New file.
75721         * nss/nss_files/files-init.c: New file.
75722         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75723         __nss_lookup_function.
75724         (__nss_lookup_function): Call nss_load_library.
75725         (nss_load_all_libraries): New function.
75726         (__nss_disable_nscd): Take parameter with callback function for files
75727         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75728         used for the cached services.
75729         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75730         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75731         options for features to all the files in nscd.
75733         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75735 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75737         * csu/elf-init.c (__libc_csu_init): Comment typo.
75739 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75741         * po/pl.po: Update from translation team.
75742         * po/ja.po: Likewise.
75743         * po/ru.po: Likewise.
75744         * po/ko.po: Likewise.
75745         * po/fr.po: Likewise.
75747 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75749         * configure.in (.ctors/.dtors header and trailer check):
75750         Use an empirical test on a built program.
75751         * configure: Regenerated.
75753         * configure.in (-z relro check): Use an empirical test on a built DSO.
75754         Detect, but do not require, on ia64.
75755         * configure: Regenerated.
75757         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75758         Update tests that use readelf to use $READELF instead.
75759         * configure: Regenerated.
75761 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75763         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75764         if the result is not used.
75766 2011-07-05  Andreas Jaeger  <aj@suse.de>
75768         [BZ#9696]
75769         * stdlib/tst-strtod.c: Add testcase.
75771 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75773         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75774         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75775         The latter has a higher limit.  Take additional parameter to pass to
75776         the new function.
75777         (__pathconf): Pass file to __statfs_link_max.
75778         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75779         __statfs_link_max.
75780         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75781         __statfs_link_max.
75783         [BZ #12868]
75784         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75785         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75786         Handle Lustre.
75787         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75788         (__statfs_filesize_max): Likewise.
75789         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75791 2011-07-05  Andreas Jaeger  <aj@suse.de>
75793         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75795 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75797         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75798         `status' variable.
75799         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75800         Likewise.
75802 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75804         * Makefile (strop-tests): Add strncat.
75805         * string/test-strncat.c: New file.
75807 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75809         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75811 2011-06-21  Andreas Jaeger  <aj@suse.de>
75813         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75814         Copy rule from iconvdata/Makefile.
75816 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75818         [BZ #12922]
75819         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75820         but no long options are defined, just return 'W'.
75822 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75824         [BZ #9696]
75825         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75827 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75829         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75830         netgroups to read.
75831         (innetgr): Likewise.
75833 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75835         * config.make.in (install_root): Default to $(DESTDIR).
75837 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75839         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75841 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75843         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75845         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75846         containing directory rather than embedding absolute directory names.
75848         * scripts/check-local-headers.sh: Rewritten using awk.
75849         Match by word, not by line.  Print error messages for matches.
75850         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75852         * Makerules [shlib-lds-flags empty]:
75853         ($(common-objpfx)libc_pic.opts): New target.
75854         ($(common-objpfx)libc_pic.os.clean): New target.
75855         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75857         * config.make.in (OBJCOPY): New variable.
75858         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75859         * configure: Regenerated.
75861         * config.make.in (use-default-link): New variable.
75862         * configure.in (use_default_link): Grok --with-default-link to set it.
75863         * configure: Regenerated.
75864         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75865         (shlib-lds, shlib-lds-flags): Define to empty.
75867         * Makerules (shlib-lds): New variable.
75868         (shlib-lds-flags): New variable.
75869         (build-shlib, build-moduile, build-module-asneeded): Use it.
75870         ($(common-objpfx)libc.so): Use $(shlib-lds).
75871         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75872         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75874         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75875         DT_FLAGS/DT_FLAGS_1 with zero flags.
75877         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75878         linker script munging.
75880 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75882         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75883         as 128-bit value.
75884         * crypt/sha512.c (sha512_process_block): Perform total addition using
75885         128-bit if possible.
75886         (__sha512_finish_ctx): Likewise.
75887         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75888         as 64-bit value.
75889         * crypt/sha256.c (SWAP64): Define.
75890         (sha256_process_block): Perform total addition using 64-bit if
75891         possible.
75892         (__sha256_finish_ctx): Likewise.
75894 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75896         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75898         * nscd/hstcache.c (cache_addhst): Likewise.
75899         * nscd/grpcache.c (cache_addgr): Likewise.
75900         * nscd/aicache.c (addhstaiX): Likewise.
75901         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75903 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75905         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75907         * nscd/hstcache.c (cache_addhst): Likewise.
75908         * nscd/grpcache.c (cache_addgr): Likewise.
75909         * nscd/aicache.c (addhstaiX): Likewise.
75911 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75913         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75914         domain only when needed.
75916 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75919         is always restored.
75921 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75923         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75924         are re-adding the entry.
75925         * nscd/servicescache.c (cache_addserv): Likewise.
75927 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75929         * sysdeps/generic/dl-irel.h: fix protection against multiple
75930         inclusions.
75931         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75933 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75935         [BZ #12935]
75936         * malloc/memusage.sh: Fix quoting in message.
75937         * debug/xtrace.sh: Likewise.
75939         * configure.in: Remove support for --experimental-malloc option, make
75940         it the default.
75941         * config.make.in: Likewise.
75942         * malloc/Makefile: Likewise.
75944 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75946         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75947         two-byte characters.
75949 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75951         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75952         AC_CACHE_CHECK invocation.
75953         * configure: Regenerated.
75955         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75957 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75959         [BZ #12350]
75960         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75961         bit from old_res_options.
75963         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75965         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75966         value type for setfct.
75968 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75971         __gettimeofday instead of gettimeofday.
75973 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75975         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75977 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75979         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75981         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75982         info.
75984 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75987         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75988         strcpy-sse2-unaligned strncpy-sse2-unaligned
75989         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75990         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75991         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75992         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75993         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75994         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75995         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75996         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75997         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75998         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75999         (STRCPY): Support SSE2 and SSSE3 versions.
76001 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76003         [BZ #12874]
76004         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76005         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76006         kernels which artificially limit size of requests.
76008 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76010         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76011         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76012         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76013         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76014         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76015         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76016         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76017         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76018         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76019         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76020         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76021         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76022         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76023         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76024         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76026         Enable unaligned load optimization for Intel Core i3, i5 and i7
76027         processors.
76028         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76029         Define.
76030         (index_Fast_Unaligned_Load): Define.
76031         (HAS_FAST_UNALIGNED_LOAD): Define.
76033 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76035         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76037 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76039         [BZ #12907]
76040         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76041         until it is clear that the information is realy needed.
76042         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76044 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76048 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76050         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76051         /sys/devices/system/cpu/online if it is usable.
76053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76054         reading the information from the /proc filesystem to once a second.
76056 2011-06-21  Andreas Jaeger  <aj@suse.de>
76058         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76059         NULL after inclusion of kernel headers.
76061 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76063         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76064         calls to internal_setent.
76066         [BZ #12885]
76067         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76068         addresses using gethostbyname4_r ignore IPv4 addresses.
76070         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76071         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76073         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76075 2011-06-20  David S. Miller  <davem@davemloft.net>
76077         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76078         inclusions.
76079         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76081         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76082         (elf_irel): Use it.
76083         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76084         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76085         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76086         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76087         * sysdeps/x86_64/dl-irel.h: Likewise.
76089         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76090         * elf/dl-sym.c: Likewise.
76092 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76094         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76095         need to dereference resplen2.
76097 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76099         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76101 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76103         * Makeconfig: Define vardbdir and inst_vardbdir.
76104         * nss/Makefile: Add rules to install db-Makefile.
76106         * nss/nss_db/db-XXX.c: Cleanup.
76108         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76109         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76110         GLIBC_PRIVATE.
76111         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76112         * nss/makedb.c: Implement -g option to specify that value strings
76113         are generated and should not be added to table iterated over for
76114         get*ent calls.
76115         * nss/nss_db/db-initgroups.c: New file.
76117         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76118         interface.
76120         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76121         (internal_getgrouplist): Adjust to name change.
76122         Update use_initgroups_entry if this is not the first call.
76123         * nss/databases.def: Add initgroups entry.
76125         * nss/makedb.c (compute_tables): Check result of multiple hash table
76126         sizes to minimize maximum chain length.
76128 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76130         * Versions.def: Add entry for libnss_db.
76131         * shlib-versions: Likewise.
76132         * nss/Makefile: Add rules to build libnss_db.
76133         * nss/Versions: Add libnss_db information.  Organize libnss_files
76134         entries better.
76135         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76136         makedb progra.  Some minor improvements to generate smaller files.
76137         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76138         here from...
76139         * nss/makedb.c: ...here.
76140         Improve database format to be smaller and require less memory at
76141         runtime.
76142         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76143         db anymore.
76144         * nss/nss_db/db-netgrp.c: Likewise.
76145         * nss/nss_db/db-open.c: Likewise.
76146         * nss/nss_files/flies-XXX.x: Adjust comments.
76147         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76148         * nss/nss_files/files-grp.c: Likewise.
76149         * nss/nss_files/files-hosts.c: Likewise.
76150         * nss/nss_files/files-network.c: Likewise.
76151         * nss/nss_files/files-proto.c: Likewise.
76152         * nss/nss_files/files-pwd.c: Likewise.
76153         * nss/nss_files/files-rpc.c: Likewise.
76154         * nss/nss_files/files-service.c: Likewise.
76155         * nss/nss_files/files-sgrp.c: Likewise.
76156         * nss/nss_files/files-spwd.c: Likewise.
76157         * nss/nss_db/db-alias.c: Removed.
76158         * nss/nss_db/dummy-db.h: Removed.
76160 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76162         * nss/makedb.c: Rewritten to not use database library.
76163         * nss/Makefile: Update to build new makedb program.
76165 2011-06-14  Andreas Jaeger  <aj@suse.de>
76167         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76168         memset declaration.
76170 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76173         tmpbuf.
76175 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76177         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76178         * elf/Makefile ($(objpfx)ld.so): Likewise.
76180         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76181         Don't list ld.so twice in dependencies.
76183         * posix/bug-regex31.c: Include <stdlib.h>.
76185         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76187         * nis/nss_compat/compat-spwd.c
76188         (getspent_next_nss_netgr): Remove unused variable.
76189         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76191         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76192         nonmembers" output to use the right array.
76194         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76196         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76198         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76199         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76200         * catgets/gencat.c (read_input_file): Likewise.
76201         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76203         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76204         variable definition inside #if's controlling its use.
76206         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76208         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76210         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76212         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76213         unreachable code.
76215         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76217         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76218         * configure: Regenerated.
76220         * Makerules: Revert last change.
76221         * elf/Makefile: Likewise.
76223 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76225         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76226         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76227         (reloc-link): Likewise.
76229 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76231         * elf/Makefile: Add rules to build pldd.
76232         * elf/pldd.c: New file.
76233         * elf/pldd-xx.c: New file.
76235 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76237         * version.h: Update for 2.15 development version.
76239 2011-06-07  David S. Miller  <davem@davemloft.net>
76241         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76242         ifuncs.
76243         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76244         elf_machine_lazy_rel): Likewise.
76245         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76246         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76247         elf_machine_lazy_rel): Likewise.
76248         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76249         dl_hwcap via passed in argument.
76250         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76251         Likewise.
76253 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76255         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76257 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76259         [BZ #12849]
76260         * manual/fdl-1.1.texi: New file, verbatim from:
76261         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76262         * manual/lgpl-2.1.texi: New file, verbatim from:
76263         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76264         * manual/Makefile (licenses): New variable, list those new file names.
76265         (texis): Use it.
76266         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76268         * manual/fdl.texi: File removed.
76269         * manual/lesser.texi: File removed.
76270         * manual/libc.texinfo (Copying, Documentation License):
76271         Use new @include file names, put @appendix directive before @include.
76273 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76275         [BZ #12841]
76276         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76277         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76278         (mq_open): Add __NTH.
76280 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76283         Assume Intel Core i3/i5/i7 processor if AVX is available.
76285 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76288         typo.
76290 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76292         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76293         memory.  Use alloca_account.  Fix memory leak when retrying.
76295 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76297         * version.h (RELEASE): Bump for 2.14 release.
76298         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76300         * config.make.in (RANLIB): Remove entry.
76302 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76304         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76305         (libc.pot): Work around missing support for .ksh extension in xgettext.
76307         [BZ #12684]
76308         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76309         if both request failed.
76310         (send_dg): In case of server errors clear resplen or *resplen2.
76312         [BZ #12454]
76313         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76314         when there are multiple maps.
76315         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76316         (_dl_fini): Remove test here.
76318         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76320 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76322         [BZ #12350]
76323         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76324         bit from old_res_options.
76325         (gaih_inet): Likewise.
76327         [BZ #11099]
76328         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76329         as signed.
76331         * resolv/res_init.c (res_setoptions): Make the code more compact.
76333         [BZ #11558]
76334         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76335         set RES_USEVC.
76337         [BZ #11634]
76338         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76340         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76342         [BZ #11781]
76343         * malloc/malloc.h: Declare malloc hook variables as volatile.
76345         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76346         in last patch.
76348         [BZ #11799]
76349         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76350         raise in the comment.
76351         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76352         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76353         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76355 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76357         [BZ #12811]
76358         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76359         grow the buffers more if it already has to be sufficient.
76360         (build_wcs_upper_buffer): Likewise.
76361         * posix/regexec.c (check_matching): Likewise.
76362         (clean_state_log_if_needed): Likewise.
76363         (extend_buffers): Don't enlarge buffers beyond size of the input
76364         buffer.
76365         Patches mostly by Emil Wojak <emil@wojak.eu>.
76366         * posix/bug-regex32.c: New file.
76367         * posix/Makefile (tests): Add bug-regex32.
76369         * locale/findlocale.c (_nl_find_locale): Return right away if
76370         _nl_explode_name failed.
76371         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76373         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76375         * debug/xtrace.sh: Unify messages.
76376         * malloc/memusage.sh: Likewise.
76378         [BZ #12813]
76379         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76380         time symbol from vDSO.  Substitute with vsyscall if not available.
76381         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76382         __vdso_time.
76384         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76385         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76386         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76387         Add sendmmsg and internal_sendmmsg.
76388         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76389         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76390         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76392         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76393         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76394         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76396 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76398         [BZ #12813]
76399         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76400         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76401         available.
76402         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76403         __vdso_getcpu.
76405         [BZ #12814]
76406         * iconvdata/Makefile (tests): Add bug-iconv9.
76407         * iconvdata/bug-iconv9.c: New file.
76409 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76411         [BZ #12814]
76412         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76414 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76417         (struct user_regs_struct): Change intcs field back to cs.
76419 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76421         * po/ja.po: Update from translation team.
76423 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76425         [BZ #12795]
76426         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76427         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76429 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76431         * stdlib/longlong.h: Update from GCC.
76433 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76435         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76436         parameter name.
76437         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76438         Add parameter name.
76439         (__sysconf): Pass it down.
76441 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76443         [BZ #12671]
76444         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76445         some situations.
76446         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76447         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76448         add in in __libc_use_alloca calls.  Adjust callers.
76449         (glob): Use malloc in some situations.
76451         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76452         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76453         pltexit.
76455 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76457         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76458         and CLOCK_BOOTTIME_ALARM.
76460         [BZ #12782]
76461         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76462         is returned.
76464         * string/_strerror.c (__strerror_r): Print negative errors as signed
76465         numbers.
76467         [BZ #12777]
76468         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76469         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76470         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76472         * configure.in: Fix typo in redirection and correct removal of test
76473         files in two cases.
76475         [BZ #12788]
76476         * locale/setlocale.c (new_composite_name): Fix test to check for
76477         identical name of all categories.
76479         [BZ #12792]
76480         * libio/filedoalloc.c (local_isatty): New function.
76481         (_IO_file_doallocate): Use local_isatty.
76482         * stdio-common/perror.c (perror): In case a new stream is used
76483         forward the stream error.
76484         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76485         error flag.
76487 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76489         [BZ #11884]
76490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76491         alloca.
76492         * include/alloca.h (extend_alloca_account): Define.
76494         [BZ #11857]
76495         * posix/regex.h: Fix comments with documentation of user-accessible
76496         fields after compilation and describe correct free'ing of pattern
76497         after re_compile_pattern.
76498         Patch by Reuben Thomas <rrt@sc3d.org>.
76500 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76502         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76503         and -mno-altivec to prevent the compiler from using Altivec and/or
76504         VSX instructions when the corresponding registers are not available.
76506 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76508         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76510 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76512         * libio/freopen.c (freopen): Use __dup2, not dup2.
76513         * libio/freopen64.c (freopen64): Likewise.
76515 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76517         [BZ #12775]
76518         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76519         * math/Makefile (tests): Add test-powl.
76520         (CFLAGS-test-powl.c): Define.
76521         * math/test-powl.c: New file.
76523 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76525         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76527 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76529         [BZ #11837]
76530         * iconvdata/gb18030.c: Update to GB18020-2005.
76532 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76534         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76535         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76536         Patch by Aharon Robbins <arnold@skeeve.com>.
76538         [BZ #11892]
76539         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76540         on the stack.
76542         [BZ #11895]
76543         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76544         through underflows.
76546         [BZ #12766]
76547         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76548         point to strings before performing equality test for error_one_per_line
76549         mode.
76551         [BZ #11697]
76552         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76554         [BZ #11820]
76555         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76556         (struct user_fpregs_struct): Avoid __uint*_t types.
76558         [BZ #6420]
76559         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76560         symbol info.  Use it instead of calling _dl_addr locally.
76561         (lock_and_info): New function.
76562         (tr_freehook): Call lock_and_info and pass symbol info as additional
76563         parameter to tr_where.
76564         (tr_mallochook): Likewise.
76565         (tr_reallochook): Likewise.
76566         (tr_memalignhook): Likewise.
76568         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76569         used and couldn't be at all thread-safe.
76571 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76573         * libio/freopen.c (freopen): Don't close old file descriptor
76574         before the new one is opened.  Instead dup the new file descriptor
76575         to the old one after the new stream is created.
76576         * libio/freopen64.c (freopen64): Likewise.
76577         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76578         * libio/fileops.c (_IO_new_file_close_it): Handle new
76579         _IO_FLAGS2_NOCLOSE flag.
76580         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76581         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76582         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76583         _IO_FLAGS2_NOCLOSE flag.
76584         * include/unistd.h: Add hidden_proto for dup3.
76585         Define __have_dup3.
76586         * io/dup3.c: Define hidden symbol.
76587         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76589         [BZ #7101]
76590         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76591         when an incomplete long option is used.
76592         * posix/tst-getopt_long1.c: New file.
76593         * posix/Makefile (tests): Add tst-getopt_long1.
76595         [BZ #10138]
76596         * scripts/config.guess: Update from autoconf-2.68.
76597         * scripts/config.sub: Likewise.
76599         [BZ #10157]
76600         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76601         tests into ...
76602         (has_cpuclock): ...this.  New function.
76603         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76604         macro here based on has_cpuclock code.
76606         [BZ #10149]
76607         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76608         First byte (not low byte) is now always NUL.
76609         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76612         Use non-cancelable interfaces.
76614         [BZ #9809]
76615         * locale/iso-639.def: Add entry for Sorani.
76617         [BZ #11901]
76618         * include/stdlib.h: Move include protection to the right place.
76619         Define abort_msg_s.  Declare __abort_msg with it.
76620         * stdlib/abort.c (__abort_msg): Adjust type.
76621         * assert/assert.c (__assert_fail_base): New function.  Majority
76622         of code from __assert_fail.  Allocate memory for __abort_msg with
76623         mmap.
76624         (__assert_fail): Now call __assert_fail_base.
76625         * assert/assert-perr.c: Remove bulk of implementation.  Use
76626         __assert_fail_base.
76627         * include/assert.hL Declare __assert_fail_base.
76628         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76629         mmap.
76630         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76632 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76634         [BZ #11952]
76635         [BZ #12453]
76636         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76637         until all modules are registered in the DTV.
76638         * elf/Makefile: Add rules to build and run tst-tls19.
76639         * elf/tst-tls19.c: New file.
76640         * elf/tst-tls19mod1.c: New file.
76641         * elf/tst-tls19mod2.c: New file.
76642         * elf/tst-tls19mod3.c: New file.
76643         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76645         [BZ #12083]
76646         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76647         correctly.
76649         [BZ #12601]
76650         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76651         two-byte sequence errors.
76652         * iconvdata/Makefile (tests): Add bug-iconv8.
76653         * iconvdata/bug-iconv8.c: New file.
76655         [BZ #12626]
76656         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76657         buf2 definition.
76659         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76661         [BZ #12432]
76662         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76663         (dummy_getcfa): New function.
76664         (init): Get _Unwind_GetCFA address, use dummy if not found.
76665         (backtrace_helper): In recursion check, also check whether CFA changes.
76666         (__backtrace): Completely initialize arg.
76668         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76669         storing incomplete byte sequence in state object.  Avoid testing for
76670         guaranteed too small input if we know there is enough data available.
76672 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76674         * Makeconfig (+link-pie): Indent.
76675         * Rules (binaries-pie): Define if $(have-fpie) and
76676         $(build-shared).
76677         (binaries-shared): Also filter out $(binaries-pie).
76678         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76679         * nscd/Makefile (others-pie): Add nscd.
76680         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76681         ($(objpfx)nscd): Remove command override.
76682         * login/Makefile (others-pie): Add pt_chown.
76683         ($(objpfx)pt_chown): Remove command override.
76684         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76685         remove command overrides.
76687 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76689         * libio/tst_putwc.c: Fix error messages.
76691         [BZ #12724]
76692         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76693         currently writing and seek to current position when not.
76694         * libio/Makefile (tests): Add bug-fclose1.
76695         * libio/bug-fclose1.c: New file.
76697 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76699         [BZ #12511]
76700         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76701         don't set DF_1_NODELETE here.
76702         (do_lookup_x): When entering new entry test for copy relocation
76703         and if necessary set DF_1_NODELETE flag.
76704         * elf/tst-unique4.cc: New file.
76705         * elf/tst-unique4.h: New file.
76706         * elf/tst-unique4lib.cc: New file.
76707         * elf/Makefile: Add rules to build and run tst-unique4.
76708         Patch by Piotr Bury <pbury@goahead.com>.
76710 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76712         [BZ #12052]
76713         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76715         [BZ #12625]
76716         * misc/mntent_r.c (addmntent): Flush the stream after the output
76718         [BZ #12393]
76719         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76720         (is_trusted_path_normalize): Skip initial colon.  Append slash
76721         to empty buffer.  Duplicate is_trusted_path code but allow
76722         constructed patch to be prefix.
76723         (is_dst): Allow $ORIGIN followed by /.
76724         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76725         Correct testing of result of is_trusted_path_normalize
76726         (decompose_rpath): Fix warning.
76728 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76730         [BZ #11257]
76731         * grp/initgroups.c (internal_getgrouplist): When we found the service
76732         list through the initgroups entry in nsswitch.conf do not always
76733         continue on a successful lookup.  Don't always use the
76734         __nss_group_database value if it is set.
76735         * nss/nsswitch.conf (initgroups): Change action for successful db
76736         lookup to continue for compatibility.
76738 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76740         [BZ #11532]
76741         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76742         and CP774 modules.
76743         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76744         and CP774 modules.
76745         * iconvdata/tst-tables.sh: Likewise.
76746         * iconvdata/cp770.c: New file.
76747         * iconvdata/cp771.c: New file.
76748         * iconvdata/cp772.c: New file.
76749         * iconvdata/cp773.c: New file.
76750         * iconvdata/cp774.c: New file.
76751         * iconvdata/testdata/CP770: New file.
76752         * iconvdata/testdata/CP770..UTF8: New file.
76753         * iconvdata/testdata/CP771: New file.
76754         * iconvdata/testdata/CP771..UTF8: New file.
76755         * iconvdata/testdata/CP772: New file.
76756         * iconvdata/testdata/CP772..UTF8: New file.
76757         * iconvdata/testdata/CP773: New file.
76758         * iconvdata/testdata/CP773..UTF8: New file.
76759         * iconvdata/testdata/CP774: New file.
76760         * iconvdata/testdata/CP774..UTF8: New file.
76762         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76763         END CHARMAP line.
76764         * iconvdata/gen-8bit-gap.sh: Likewise.
76765         * iconvdata/gen-8bit.sh: Likewise.
76767         * locale/iso-639.def: Add ary entry.
76769         [BZ #11258]
76770         * locale/C-translit.h.in: Add U20A1 transliteration.
76772         [BZ #12178]
76773         * locale/iso-639.def: Add wae entry.
76774         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76776         [BZ #12545]
76777         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76778         for n.
76780         [BZ #12711]
76781         * locale/C-translit.h.in: Add entry for U20B9.
76782         Patch by pravin.d.s@gmail.com.
76784 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76786         [BZ #12713]
76787         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76788         ENAMETOOLONG use generic getcwd.
76789         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76790         in rtld.  Use *stat64.
76791         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76792         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76793         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76794         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76795         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76796         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76797         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76798         __fstatat64 macros.
76799         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76800         * dirent/rewinddir.c: Add libc_hidden_def.
76801         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76802         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76804         * include/dirent.h (__alloc_dir): Add flags parameter.
76805         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76806         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76807         __alloc_dir.
76808         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76809         from fdopendir if O_CLOEXEC is already set.
76811 2011-03-15  Alan Modra  <amodra@gmail.com>
76813         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76814         l_tls_firstbyte_offset non-zero.  Save padding offset in
76815         l_tls_firstbyte_offset for later use.
76816         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76817         freeing static tls block.
76819 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76821         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76822         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76823         being defined by the kernel headers.
76825 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76827         [BZ #12734]
76828         * resolv/resolv.h: Define RES_NOTLDQUERY.
76829         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76830         no-tld-query and set RES_NOTLDQUERY.
76831         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76832         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76833         modern BIND to search name as TLD unless forbidden.
76835 2011-05-07  Petr Baudis  <pasky@suse.cz>
76836             Ulrich Drepper  <drepper@gmail.com>
76838         [BZ #12393]
76839         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76840         (is_trusted_path): ...to here.
76841         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76842         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76843         using is_trusted_path_normalize() in setuid scripts.
76845 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76847         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76848         __BEGIN/__END_DECLS.
76850 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76852         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76853         NSS_STATUS_NOTFOUND if no record was found.
76855 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76857         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76858         (headers-not-in-tirpc): Remove rpc/netdb.h
76859         * resolv/netdb.h: Revert last change.
76861 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76863         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76864         circular dependency between libgcc.a and libc.a.
76866 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76868         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76869         * nis/Makefile: Don't install rpcsvc/*.
76870         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76871         instead of <rpc/types.h>.
76872         (MAXHOSTNAMELEN): Define.
76874 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76876         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76878 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76880         [BZ #12714]
76881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76882         gethostbyname4_r when IPv6 results are possible.
76884 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76886         [BZ #12723]
76887         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76888         _PC_PIPE_BUF handling.
76890 2011-04-30  Bruno Haible  <bruno@clisp.org>
76892         [BZ #12717]
76893         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76894         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76895         to 'int'.
76896         * inet/getnameinfo.c (getnameinfo): Likewise.
76898 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76900         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76901         to groups setting in database lookup.
76902         * nss/nsswitch.conf: Add initgroups entry.
76904 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76906         [BZ #12685]
76907         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76908         mode string.
76909         Patch by Eric Blake <eblake@redhat.com>.
76911 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76913         * sunrpc/Makefile (need-export-routines): Add svc_run.
76914         (routines): Remove svc_run.
76915         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76916         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76917         * sunrpc/svc_run.c (svc_run): Likewise.
76918         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76920 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76922         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76923         problem in reallocation in last patch.
76925 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76927         * sunrpc/Makefile: Move inclusion of Rules.
76929 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76931         * nss/nss_files/files-initgroups.c: New file.
76932         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76933         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76934         _nss_files_initgroups_dyn.
76936 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76938         * elf/elf.h (R_ARM_IRELATIVE): Define.
76940 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76942         * po/ru.po: Update from translation team.
76944 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76946         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76947         dependencies.
76949 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76951         [BZ #12653]
76952         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76953         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76954         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76955         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76956         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76958 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76960         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76961         differing bytes.
76962         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76963         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76964         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76966 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76968         [BZ #12420]
76969         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76970         storing it.
76971         * stdlib/bug-getcontext.c: New file.
76972         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76974 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76976         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76977         instructions into .machine "z9-109".
76978         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76979         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76981 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76983         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76984         between environment variables and auxiliary vector.
76986 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76988         * Makefile: Add rules to build linkobj/libc.so.
76989         * include/libc-symbols.h: Define libc_hidden_nolink.
76990         * include/rpc/auth.h: Mark functions which are to be hidden.
76991         * include/rpc/auth_des.h: Likewise.
76992         * include/rpc/auth_unix.h: Likewise.
76993         * include/rpc/clnt.h: Likewise.
76994         * include/rpc/des_crypt.h: Likewise.
76995         * include/rpc/key_prot.h: Likewise.
76996         * include/rpc/pmap_clnt.h: Likewise.
76997         * include/rpc/pmap_prot.h: Likewise.
76998         * include/rpc/pmap_rmt.h: Likewise.
76999         * include/rpc/rpc_msg.h: Likewise.
77000         * include/rpc/svc.h: Likewise.
77001         * include/rpc/svc_auth.h: Likewise.
77002         * include/rpc/xdr.h: Likewise.
77003         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77004         * nss/Makefile: Likewise.
77005         * sunrpc/Makefile: Don't install headers.  Build library with normal
77006         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77007         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77008         for the compat linking library.  Remove use of INTDEF/INTUSE.
77009         * sunrpc/auth_none.c: Likewise.
77010         * sunrpc/auth_unix.c: Likewise.
77011         * sunrpc/authdes_prot.c: Likewise.
77012         * sunrpc/authuxprot.c: Likewise.
77013         * sunrpc/clnt_gen.c: Likewise.
77014         * sunrpc/clnt_perr.c: Likewise.
77015         * sunrpc/clnt_raw.c: Likewise.
77016         * sunrpc/clnt_simp.c: Likewise.
77017         * sunrpc/clnt_tcp.c: Likewise.
77018         * sunrpc/clnt_udp.c: Likewise.
77019         * sunrpc/clnt_unix.c: Likewise.
77020         * sunrpc/des_crypt.c: Likewise.
77021         * sunrpc/des_soft.c: Likewise.
77022         * sunrpc/get_myaddr.c: Likewise.
77023         * sunrpc/key_call.c: Likewise.
77024         * sunrpc/key_prot.c: Likewise.
77025         * sunrpc/netname.c: Likewise.
77026         * sunrpc/pm_getmaps.c: Likewise.
77027         * sunrpc/pm_getport.c: Likewise.
77028         * sunrpc/pmap_clnt.c: Likewise.
77029         * sunrpc/pmap_prot.c: Likewise.
77030         * sunrpc/pmap_prot2.c: Likewise.
77031         * sunrpc/pmap_rmt.c: Likewise.
77032         * sunrpc/publickey.c: Likewise.
77033         * sunrpc/rpc_cmsg.c: Likewise.
77034         * sunrpc/rpc_common.c: Likewise.
77035         * sunrpc/rpc_dtable.c: Likewise.
77036         * sunrpc/rpc_prot.c: Likewise.
77037         * sunrpc/rpc_thread.c: Likewise.
77038         * sunrpc/rtime.c: Likewise.
77039         * sunrpc/svc.c: Likewise.
77040         * sunrpc/svc_auth.c: Likewise.
77041         * sunrpc/svc_authux.c: Likewise.
77042         * sunrpc/svc_raw.c: Likewise.
77043         * sunrpc/svc_run.c: Likewise.
77044         * sunrpc/svc_simple.c: Likewise.
77045         * sunrpc/svc_tcp.c: Likewise.
77046         * sunrpc/svc_udp.c: Likewise.
77047         * sunrpc/svc_unix.c: Likewise.
77048         * sunrpc/svcauth_des.c: Likewise.
77049         * sunrpc/xcrypt.c: Likewise.
77050         * sunrpc/xdr.c: Likewise.
77051         * sunrpc/xdr_array.c: Likewise.
77052         * sunrpc/xdr_float.c: Likewise.
77053         * sunrpc/xdr_intXX_t.c: Likewise.
77054         * sunrpc/xdr_mem.c: Likewise.
77055         * sunrpc/xdr_rec.c: Likewise.
77056         * sunrpc/xdr_ref.c: Likewise.
77057         * sunrpc/xdr_sizeof.c: Likewise.
77058         * sunrpc/xdr_stdio.c: Likewise.
77060 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77062         [BZ #12650]
77063         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77064         * sysdeps/ia64/dl-tls.h: Likewise.
77065         * sysdeps/powerpc/dl-tls.h: Likewise.
77066         * sysdeps/s390/dl-tls.h: Likewise.
77067         * sysdeps/sh/dl-tls.h: Likewise.
77068         * sysdeps/sparc/dl-tls.h: Likewise.
77069         * sysdeps/x86_64/dl-tls.h: Likewise.
77070         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77072 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77074         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77075         rpath element also skip the following colon.
77076         (expand_dynamic_string_token): Add is_path parameter and pass
77077         down to DL_DST_REQUIRED and _dl_dst_substitute.
77078         (decompose_rpath): Call expand_dynamic_string_token with
77079         non-zero is_path.  Ignore empty rpaths.
77080         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77081         with zero is_path.
77083 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77086         Make cancelable.
77088 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77090         [BZ #12655]
77091         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77092         Patch by Filipe David Manana <fdmanana@apache.org>.
77094 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77096         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77097         Maintain aligned stack.
77098         (CHECK_RSP): Remove unused macro.
77100 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77102         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77103         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77105 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77107         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77109         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77111 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77113         [BZ #12518]
77114         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77115         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77116         * sysdeps/x86_64/memmove.c: New file.
77117         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77118         (memcpy): Renamed to ...
77119         (__new_memcpy): This.
77120         (memcpy): Provide GLIBC_2_14 memcpy.
77121         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77122         (memcpy): Provide GLIBC_2_2_5 memcpy.
77124 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77126         [BZ #12631]
77127         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77129 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77131         * misc/syncfs.c: New file.
77132         * misc/Makefile (routines): Add syncfs.
77133         * posix/unistd.h: Declare syncfs.
77134         * sysdeps/unix/syscalls.list: Add syncfs.
77136 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77138         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77139         open_by_handle_at.
77140         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77141         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77142         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77143         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77145         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77146         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77148 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77150         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77151         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77152         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77153         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77155         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77158         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77159         sync_file_range.c with -fexceptions.
77160         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77161         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77162         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77163         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77165         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77166         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77167         sync_file_range as cancellation point
77168         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77169         now a wrapper around __call_sync_file_range with cancellation handling.
77170         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77171         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77172         function name to __call_sync_file_range.
77173         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77174         Add call_sync_file_range.
77176 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77179         bits/timex.h.
77181 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77183         * iconv/iconv.h: Fix typo in comment.
77184         * io/fcntl.h: Likewise.
77185         * libio/stdio.h: Likewise.
77186         * posix/spawn.h: Likewise.
77187         * posix/unistd.h: Likewise.
77188         * stdlib/stdlib.h: Likewise.
77189         * time/time.h: Likewise.
77190         * wcsmbs/wchar.h: Likewise.
77192         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77193         open_by_handle): Add.
77194         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77195         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77196         Augment a few comments.
77197         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77198         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77199         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77202         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77203         open_by_handle.
77205         * io/fcntl.h (AT_EMPTY_PATH): Define.
77207 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77209         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77210         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77211         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77212         to...
77213         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77214         * Versions.def: Add GLIBC_2.14.
77215         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77216         Export.
77218 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77220         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77221         round counter.
77222         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77224 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77226         [BZ #12597]
77227         * string/test-strncmp.c (do_page_test): New function.
77228         (check2): Likewise.
77229         (test_main): Call check2.
77230         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77232 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77234         [BZ #12587]
77235         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77236         Handle cache information in CPU leaf 4.
77237         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77239 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77241         [BZ #12583]
77242         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77243         character representation.
77244         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77246 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77248         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77249         END(__isnan) to END(__isnanf) to match function entry point/label
77250         EALIGN(__isnanf,...).
77252 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77254         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77256 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77258         [BZ #12510]
77259         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77260         copy from the symbol referenced in the relocation to initialize the
77261         used variable.
77262         Patch by Piotr Bury <pbury@goahead.com>.
77263         * elf/Makefile: Add rules to build and tst-unique3.
77264         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77265         * elf/tst-unique3.cc: New file.
77266         * elf/tst-unique3.h: New file.
77267         * elf/tst-unique3lib.cc: New file.
77268         * elf/tst-unique3lib2.cc: New file.
77270         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77272 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77274         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77275         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77276         to _start.
77278 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77280         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77281         to-be-loaded object along a path to loader is ld.so.
77283 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77284             Ulrich Drepper  <drepper@gmail.com>
77286         * sysdeps/x86_64/memset.S: After aligning destination, code
77287         branches to different locations depending on the value of
77288         misalignment, when multiarch is enabled. Fix this.
77290 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77292         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77293         Set _x86_64_preferred_memory_instruction for AMD processsors.
77294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77295         Set bit_Prefer_SSE_for_memop for AMD processors.
77297 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77299         * libio/fmemopen.c (fmemopen): Optimize a bit.
77301 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77303         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77305 2011-03-03  Roland McGrath  <roland@redhat.com>
77307         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77309 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77311         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77312         __bzero_ultra1 instead of __memset_ultra1.
77314 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77315             Ulrich Drepper  <drepper@gmail.com>
77317         [BZ #12509]
77318         * include/link.h (struct link_map): Add l_orig_initfini.
77319         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77320         returning unsuccessfully.
77321         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77322         close of a file loaded at startup, restore the original l_initfini
77323         list.
77324         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77325         list, store the pointer.
77326         * elf/Makefile ($(objpfx)noload-mem): New rule.
77327         (noload-ENV): Define.
77328         (tests): Add $(objpfx)noload-mem.
77329         * elf/noload.c: Include <memcheck.h>.
77330         (main): Call mtrace.  Close all opened handles.
77332 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77334         [BZ #12454]
77335         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77336         dependencies are missing.
77338 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77340         Fix __if_freereq crash: Unlike the generic version which uses free,
77341         Hurd needs munmap.
77342         * sysdeps/mach/hurd/ifreq.h: New file.
77344 2011-01-27  Petr Baudis  <pasky@suse.cz>
77345             Ulrich Drepper  <drepper@gmail.com>
77347         [BZ 12445]#
77348         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77349         to extend_alloca().
77350         * stdio-common/bug23.c: New file.
77351         * stdio-common/Makefile (tests): Add bug23.
77353 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77354             Ulrich Drepper  <drepper@gmail.com>
77356         [BZ #12489]
77357         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77358         before performing relro protection.  At old place add assertion
77359         to make sure nothing changed.
77361 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77362             Glauber de Oliveira Costa  <glommer@gmail.com>
77364         * elf/elf.h: Add new ARM TLS relocs.
77366 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77369         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77370         cast from r3.
77371         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77372         'tests' variable.
77373         * sysdeps/wordsize-64/tst-writev.c: New file.
77375 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77377         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77378         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77379         insns in _dl_start to prevent a TOC reference before relocs are
77380         resolved.
77382 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77384         [BZ #12469]
77385         * Makeconfig: Remove RANLIB definition.
77386         * Makerules: Don't use RANLIB.
77387         * aclocal.m4: Remove ranlib test.
77388         * configure.in: No need to check for ranlib.
77389         * elf/rtld-Rules: Don't use RANLIB.
77391 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77393         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77394         protection macro.
77395         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77396         inclusion protection macro.
77398         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77399         SIGRTMIN and SIGRTMAX and print information in that case only when
77400         SIGRTMIN is defined.
77402 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77404         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77405         arginfo fn returning -1.
77407         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77408         and thousands string is zero terminated.
77410 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77413         sysdeps/unix/sysv/linux/bits/socket.h.
77415 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77417         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77418         (__CPU_COUNT): Remove old macros.
77419         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77420         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77421         (__CPU_ALLOC, __CPU_FREE): Add macros.
77422         (__sched_cpualloc, __sched_cpufree): Add declarations.
77424 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77426         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77427         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77428         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77429         (readdhstai): Return value of addhstaiX call.
77430         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77431         (addgrbyX): Return value returned by cache_addgr.
77432         (readdgrbyname): Return value returned by addgrbyX.
77433         (readdgrbygid): Likewise.
77434         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77435         (addpwbyX): Return value returned by cache_addpw.
77436         (readdpwbyname): Return value returned by addhstbyX.
77437         (readdpwbyuid): Likewise.
77438         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77439         (addservbyX): Return value returned by cache_addserv.
77440         (readdservbyname): Return value returned by addservbyX:
77441         (readdservbyport): Likewise.
77442         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77443         (addhstbyX): Return value returned by cache_addhst.
77444         (readdhstbyname): Return value returned by addhstbyX.
77445         (readdhstbyaddr): Likewise.
77446         (readdhstbynamev6): Likewise.
77447         (readdhstbyaddrv6): Likewise.
77448         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77449         (readdinitgroups): Return value returned by addinitgroupsX.
77450         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77451         (prune_cache): Keep track of timeout value of re-added entries.
77452         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77453         * nscd/nscd.h: Adjust prototypes of readd* functions.
77455 2011-02-04  Roland McGrath  <roland@redhat.com>
77457         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77458         (nis_stats): Likewise.
77459         * nis/nis_modify.c (nis_modify): Likewise.
77460         * nis/nis_remove.c (nis_remove): Likewise.
77461         * nis/nis_add.c (nis_add): Likewise.
77463         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77465         * posix/fnmatch_loop.c: Add some consts.
77467         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77469 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77471         [BZ #12460]
77472         * config.make.in (config-cflags-novzeroupper): Define.
77473         * configure.in: Substitute libc_cv_cc_novzeroupper.
77474         * elf/Makefile (AVX-CFLAGS): Define.
77475         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77476         (CFLAGS-tst-auditmod4a.c): Likewise.
77477         (CFLAGS-tst-auditmod4b.c): Likewise.
77478         (CFLAGS-tst-auditmod6b.c): Likewise.
77479         (CFLAGS-tst-auditmod6c.c): Likewise.
77480         (CFLAGS-tst-auditmod7b.c): Likewise.
77481         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77483 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77485         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77486         function to the callback.
77487         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77489 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77491         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77492         of errno.
77494 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77496         [BZ #11724]
77497         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77498         of constructors.
77499         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77500         of destructors.
77501         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77503         [BZ #11724]
77504         * elf/Makefile: Add rules to build and run new test.
77505         * elf/tst-initorder.c: New file.
77506         * elf/tst-initorder.exp: New file.
77507         * elf/tst-initordera1.c: New file.
77508         * elf/tst-initordera2.c: New file.
77509         * elf/tst-initordera3.c: New file.
77510         * elf/tst-initordera4.c: New file.
77511         * elf/tst-initorderb1.c: New file.
77512         * elf/tst-initorderb2.c: New file.
77513         * elf/tst-order-a1.c: New file.
77514         * elf/tst-order-a2.c: New file.
77515         * elf/tst-order-a3.c: New file.
77516         * elf/tst-order-a4.c: New file.
77517         * elf/tst-order-b1.c: New file.
77518         * elf/tst-order-b2.c: New file.
77519         * elf/tst-order-main.c: New file.
77520         New test case by George Gensure <werkt0@gmail.com>.
77522 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77525         decoding ACE if AI_CANONIDN.
77527 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77529         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77531 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77533         * version.h (RELEASE): Bump for 2.13 release.
77534         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77536         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77538         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77539         MADV_NOHUGEPAGE.
77540         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77541         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77542         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77543         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77544         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77545         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77547         * posix/getconf.c: Update copyright year.
77548         * catgets/gencat.c: Likewise.
77549         * csu/version.c: Likewise.
77550         * debug/catchsegv.sh: Likewise.
77551         * debug/xtrace.sh: Likewise.
77552         * elf/ldconfig.c: Likewise.
77553         * elf/ldd.bash.in: Likewise.
77554         * elf/sprof.c (print_version): Likewise.
77555         * iconv/iconv_prog.c: Likewise.
77556         * iconv/iconvconfig.c: Likewise.
77557         * locale/programs/locale.c: Likewise.
77558         * locale/programs/localedef.c: Likewise.
77559         * malloc/memusage.sh: Likewise.
77560         * malloc/mtrace.pl: Likewise.
77561         * nscd/nscd.c (print_version): Likewise.
77562         * nss/getent.c: Likewise.
77564         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77565         PF_CAIF, and PF_ALG.
77566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77568 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77570         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77571         (modules-names): Use them.
77572         (ifunc-test-modules, ifunc-pie-tests): Define.
77573         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77574         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77575         (test-extras): Likewise.
77576         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77577         $(compile-command.c).
77578         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77579         (all-built-dso): Define.
77580         (check-textrel.out, check-execstack.out): Depend on it.
77582         * configure.in: Don't override --enable-multi-arch.
77584 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77586         [BZ #6812]
77587         * nscd/hstcache.c (tryagain): Define.
77588         (cache_addhst): Return tryagain not notfound for temporary errors.
77589         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77590         failed.
77592 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77594         [BZ #10563]
77595         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77596         to make the syscall.
77597         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77599         [BZ #12378]
77600         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77601         and fall back to matching as normal character if the string ends before
77602         the matching ']' is found.  This is what POSIX requires.
77603         * posix/testfnm.c: Adjust test result.
77604         * posix/globtest.sh: Adjust test result.  Add new test.
77605         * posix/tst-fnmatch.input: Likewise.
77606         * posix/tst-fnmatch2.c: Add new test.
77608 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77610         * elf/Makefile (check-execstack): Revert last change.  Depend on
77611         check-execstack.h.
77612         (check-execstack.h): New target.
77613         (generated): Add check-execstack.h.
77614         * elf/check-execstack.c: Include "check-execstack.h".
77615         (main): Revert last change.
77616         (handle_file): Return zero if GNU_STACK is absent and
77617         DEFAULT_STACK_PERMS doesn't include PF_X.
77619 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77621         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77622         in child fails because the descriptor is already closed.
77623         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77624         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77625         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77627         [BZ #12397]
77628         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77629         syscall.
77631         [BZ #10484]
77632         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77633         temporary buffer used to handle multi lookups locally.
77634         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77636 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77638         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77639         loader is ld.so.
77641 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77643         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77644         alignment for SSE2.
77646 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77648         [BZ #12394]
77649         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77650         characters.  When rounding increased number of integer digits recompute
77651         number of groups.
77652         * stdio-common/tst-grouping.c: New file.
77653         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77655 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77657         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77658         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77660         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77661         void.
77662         * bits/select.h: Likewise.
77664 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77666         * po/ja.po: Update from translation team.
77668 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77670         [BZ #11155]
77671         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77672         implementation just like for lxstat, fxstatat, et al.
77674 2010-12-27  Jim Meyering  <meyering@redhat.com>
77676         [BZ #12348]
77677         * posix/regexec.c (build_trtable): Return failure indication upon
77678         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77680 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77682         [BZ #12201]
77683         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77684         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77685         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77686         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77688         [BZ #12207]
77689         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77691         [BZ #12204]
77692         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77693         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77695 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77697         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77698         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77699         script has SORT_BY_INIT_PRIORITY.
77700         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77701         NO_CTORS_DTORS_SECTIONS is defined.
77702         * elf/soinit.c: Likewise.
77703         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77704         NO_CTORS_DTORS_SECTIONS is defined.
77705         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77706         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77707         * sysdeps/sh/init-first.c: Likewise.
77708         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77710 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77712         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77713         always use the slow path.
77715 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77717         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77718         similar rule which adds the sysdep directories to the header search in
77719         order to pick up the correct platform stackinfo.h.
77720         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77721         perform test if it is, otherwise return successfully without testing.
77722         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77723         DEFAULT_STACK_PERMS define in stackinfo.h.
77724         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77725         defined in stackinfo.h.
77726         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77727         DEFAULT_STACK_PERMS defined in stackinfo.h.
77728         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77729         * sysdeps/ia64/stackinfo.h: Likewise.
77730         * sysdeps/s390/stackinfo.h: Likewise.
77731         * sysdeps/sh/stackinfo.h: Likewise.
77732         * sysdeps/sparc/stackinfo.h: Likewise.
77733         * sysdeps/x86_64/stackinfo.h: Likewise.
77734         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77735         PF_X for powerpc64.  Retain PF_X for powerpc32.
77737 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77739         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77740         accurately.
77741         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77742         GETDENTS_64BIT_ALIGNED.
77744 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77746         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77748 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77750         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77751         _GNU_SOURCE.
77753         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77754         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77755         Remove __restrict.
77756         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77757         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77759 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77761         [BZ #11655]
77762         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77763         are initialized.
77765 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77767         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77769 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77771         * po/it.po: Update from translation team.
77773 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77776         unused codes.
77778 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77780         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77782 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77784         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77785         specially.
77786         (gaih_getanswer_slice): Likewise.
77788 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77792 2010-05-31  Petr Baudis  <pasky@suse.cz>
77794         [BZ #11149]
77795         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77796         silently even in the chroot mode.
77798 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77800         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77801         last patch a bit.  Pretty printing
77803 2010-05-31  Petr Baudis <pasky@suse.cz>
77805         [BZ #10085]
77806         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77807         initialization of skip_initgroups_dyn.
77809 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77811         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77812         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77814 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77816         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77818 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77820         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77821         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77822         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77823         ($(objpfx)tst-fnmatch-mem): New rule.
77824         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77825         * posix/tst-fnmatch.c (main): Call mtrace.
77827 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77830         Support Intel processor model 6 and model 0x2c.
77832 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77835           signed comparison.
77837 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77839         [BZ #12205]
77840         * string/test-strncasecmp.c (check_result): New function.
77841         (do_one_test): Use it.
77842         (check1): New function.
77843         (test_main): Use it.
77844         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77845         Support strcasecmp and strncasecmp.
77847 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77849         [BZ #12194]
77850         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77851         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77853 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77855         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77856         IFUNC support.
77857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77858         memset-x86-64.
77859         * sysdeps/x86_64/multiarch/bzero.S: New file.
77860         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77861         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77862         * sysdeps/x86_64/multiarch/memset.S: New file.
77863         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77865         Set bit_Prefer_SSE_for_memop for Intel processors.
77866         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77867         Define.
77868         (index_Prefer_SSE_for_memop): Define.
77869         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77871 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77873         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77874         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77876 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77878         [BZ #12191]
77879         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77880         (__x86_64_raw_data_cache_size_half): Likewise.
77881         (__x86_64_raw_shared_cache_size): Likewise.
77882         (__x86_64_raw_shared_cache_size_half): Likewise.
77884         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77885         (__x86_64_raw_data_cache_size_half): Likewise.
77886         (__x86_64_raw_shared_cache_size): Likewise.
77887         (__x86_64_raw_shared_cache_size_half): Likewise.
77888         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77889         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77890         and __x86_64_raw_shared_cache_size_half.  Round
77891         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77892         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77893         to multiple of 256 bytes.
77895 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77897         [BZ #12167]
77898         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77899         of inacessible symlinks.  Verify result of symlink before returning it.
77900         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77901         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77903 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77905         * math/math.h (isinf): Fix typo in comment.
77907 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77909         * po/da.po: Update from translation team.
77911 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77913         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77914         is added to the list.
77916 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77917             Ulrich Drepper  <drepper@gmail.com>
77919         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77920         the global list here.  Move code to...
77921         (_dl_add_to_namespace_list): ...here.  New function.
77922         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77923         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77924         * elf/dl-load.c (lose): Don't remove the element from the list.
77925         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77926         (_dl_map_object): Likewise.
77928 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77930         [BZ #12159]
77931         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77932         into all bytes of SSE register.
77933         Patch by Richard Li <richardpku@gmail.com>.
77935 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77937         [BZ #12140]
77938         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77939         perturbing.
77941 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77943         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77944         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77945         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77946         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77948         submachine.
77949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77951 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77953         * include/dlfcn.h (__RTLD_SECURE): Define.
77954         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77955         mode & __RTLD_SECURE instead.
77956         (open_path): Rename preloaded parameter to secure.
77957         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77958         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77959         * elf/dl-deps.c (openaux): Likewise.
77960         * elf/rtld.c (struct map_args): Remove is_preloaded.
77961         (map_doit): Don't use it.
77962         (dl_main): Likewise.
77963         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77964         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77966 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77968         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77969         (sysd-rules-targets): Remove duplicates.
77970         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77971         rtld-%.$o dependency.
77973 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77975         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77976         _dl_map_object do it.
77978 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77980         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77981         fast fma builtins, define the macros in the C99 standard.
77982         (FP_FAST_FMAF): Likewise.
77983         (FP_FAST_FMAL): Likewise.
77984         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77986         * bits/mathdef.h: Update copyright year.
77987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77989 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77991         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77992         builtins, define the macros in the C99 standard.
77993         (FP_FAST_FMAF): Likewise.
77994         (FP_FAST_FMAL): Likewise.
77995         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77996         multiply/add.
77997         (FP_FAST_FMAF): Likewise.
77999 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78001         [BZ #3268]
78002         * math/libm-test.inc (fma_test): Some new testcases.
78003         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78004         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78005         y and infinite z.  Do multiplication by C already in long double.
78006         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78008         y and infinite z.  Do bitwise or of inexact bit into u.d.
78009         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78010         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78011         * sysdeps/i386/fpu/s_fma.S: Removed.
78012         * sysdeps/i386/fpu/s_fmal.S: Removed.
78014 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78016         [BZ #3268]
78017         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78019         computation is not scheduled after fetestexcept.  Fix value
78020         of minimum denormal long double.
78022 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78024         [BZ #3268]
78025         * math/libm-test.inc (fma_test): Add some more tests.
78026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78027         correctly.
78029 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78031         * scripts/data/localplt-s390-linux-gnu.data: New file.
78032         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78034 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78036         [BZ #3268]
78037         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78038         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78039         instead of dbl-64.
78040         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78041         inlines.
78042         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78044         if one of x and y is very large and the other is subnormal.
78045         * sysdeps/s390/fpu/s_fmaf.c: New file.
78046         * sysdeps/s390/fpu/s_fma.c: New file.
78047         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78048         * sysdeps/powerpc/fpu/s_fma.S: New file.
78049         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78050         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78051         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78053 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78055         [BZ #3268]
78056         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78057         fma tests.
78058         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78059         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78060         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78061         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78062         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78063         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78064         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78066 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78068         [BZ #12078]
78069         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78070         * posix/bug-regex31.input: Add test case.
78072 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78074         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78075         * posix/bug-regex31.input: New file.
78077         [BZ #12078]
78078         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78079         (parse_sub_exp): Fix last change, use postorder.
78081         * posix/bug-regex31.c: New file.
78082         * posix/Makefile: Add rules to build and run bug-regex31.
78084         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78086         [BZ #12078]
78087         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78089         [BZ #12108]
78090         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78091         to have entries in sys_siglist.
78093         [BZ #12093]
78094         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78095         be NULL.
78097 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78099         [BZ #3268]
78100         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78101         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78102         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78103         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78104         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78105         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78106         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78107         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78108         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78109         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78110         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78111         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78112         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78113         * math/ftestexcept.c (fetestexcept): Likewise.
78114         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78115         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78116         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78117         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78118         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78119         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78120         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78122 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78124         [BZ #12107]
78125         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78126         newline.
78128 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78130         * string/bug-strstr1.c: New file.
78131         * string/Makefile: Add rules to build and run bug-strstr1.
78133 2010-10-05  Eric Blake  <eblake@redhat.com>
78135         [BZ #12092]
78136         * string/str-two-way.h (two_way_long_needle): Always clear memory
78137         when skipping input due to the shift table.
78139 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78141         [BZ #12005]
78142         * malloc/mcheck.c: Handle large requests.
78144         [BZ #12077]
78145         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78146         for strncmp and strncasecmp.
78147         * string/stratcliff.c: Add tests for strcmp and strncmp.
78148         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78150 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78152         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78153         __set_fpscr.
78155 2010-09-30  Andreas Jaeger  <aj@suse.de>
78157         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78158         (CGROUP_SUPER_MAGIC): Define.
78159         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78160         Handle btrfs and cgroup file systems.
78161         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78162         Likewise.
78164 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78166         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78167         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78169 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78171         [BZ #12067]
78172         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78173         trying to locate the ELF header.
78175 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78177         [BZ #11611]
78178         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78179         Mask out sign-bit copies when constructing f_fsid.
78181 2010-09-24  Petr Baudis <pasky@suse.cz>
78183         * debug/stack_chk_fail_local.c: Add missing licence exception.
78184         * debug/warning-nop.c: Likewise.
78186 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78188         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78189         implementing getdents64 using getdents syscall, set d_type if
78190         __ASSUME_GETDENTS32_D_TYPE.
78192 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78194         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78195         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78197 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78199         [BZ #12037]
78200         * posix/unistd.h: Undo change of feature selection for ftruncate from
78201         2010-01-11.
78203 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78205         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78206         detection.
78208 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78210         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78211         fanotify_mark.
78212         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78214 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78216         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78217         variables after CHECK_SP call.
78218         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78220 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78221             Ulrich Drepper  <drepper@redhat.com>
78223         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78224         re-relocationg ld.so.
78225         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78226         _dl_init_paths call.
78227         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78228         here anymore.
78230 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78232         * resolv/res_init.c (__res_vinit): Count the default server we added.
78234 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78235             Ulrich Drepper  <drepper@redhat.com>
78237         [BZ #11968]
78238         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78239         (____longjmp_chk): Use %ebx for saving value across system call.
78240         Add unwind info.
78242 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78244         * manual/Makefile: Don't mix pattern rules with normal rules.
78246 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78248         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78249         operation.
78250         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78251         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78252         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78253         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78255         Likewise.
78257 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78259         [BZ #11979]
78260         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78261         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78263 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78265         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78266         * sysdeps/x86_64/addmul_1.S: Likewise.
78267         * sysdeps/x86_64/lshift.S: Likewise.
78268         * sysdeps/x86_64/mul_1.S: Likewise.
78269         * sysdeps/x86_64/rshift.S: Likewise.
78270         * sysdeps/x86_64/sub_n.S: Likewise.
78271         * sysdeps/x86_64/submul_1.S: Likewise.
78273 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78275         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78276         Define __sched_param instead of SCHED_* and sched_param when
78277         <bits/sched.h> is included with __need_schedparam defined.
78278         * bits/sched.h [__need_schedparam]
78279         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78280         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78281         (__defined_schedparam): Define to 1.
78282         (__sched_param): New structure, identical to sched_param.
78283         (__need_schedparam): Undefine.
78285 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78287         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78288         (epoll_create1): Declare.
78290         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78292 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78294         [BZ #7066]
78295         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78296         shifting retval into place.
78298 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78300         * nis/rpcsvc/nis.h: Update copyright notice.
78301         * nis/rpcsvc/nis.x: Likewise.
78302         * nis/rpcsvc/nis_callback.h: Likewise.
78303         * nis/rpcsvc/nis_callback.x: Likewise.
78304         * nis/rpcsvc/nis_object.x: Likewise.
78305         * nis/rpcsvc/nis_tags.h: Likewise.
78306         * nis/rpcsvc/yp.h: Likewise.
78307         * nis/rpcsvc/yp.x: Likewise.
78308         * nis/rpcsvc/ypupd.h: Likewise.
78309         * nis/yp_xdr.c: Likewise.
78310         * nis/ypupdate_xdr.c: Likewise.
78312         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78313         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78314         (pmap_getport): Use __libc_rpc_getport.
78315         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78316         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78317         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78319 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78322         fanotify_mark.
78324 2010-08-27  Roland McGrath  <roland@redhat.com>
78326         * sysdeps/i386/i686/multiarch/Makefile
78327         (CFLAGS-varshift.c): New variable.
78329 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78331         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78332         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78336         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78338 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78340         * sysdeps/x86_64/strlen.S: Unroll the loop.
78341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78342         strlen-sse2 strlen-sse2-bsf.
78343         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78344         __strlen_no_bsf if bit_Slow_BSF is set.
78345         (__strlen_sse42): Removed.
78346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78347         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78349 2010-08-25  Roland McGrath  <roland@redhat.com>
78351         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78352         * sysdeps/x86_64/multiarch/varshift.c: New file.
78353         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78354         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78355         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78356         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78358 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78360         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78361         strlen-sse2 strlen-sse2-bsf.
78362         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78363         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78364         (__strlen_sse2): Removed.
78365         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78366         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78368         bit_Slow_BSF for Atom.
78369         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78370         (index_Slow_BSF): Define.
78371         (HAS_SLOW_BSF): Define.
78373 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78375         [BZ #10851]
78376         * resolv/res_init.c (__res_vinit): When no server address at all
78377         is given default to loopback.
78379 2010-08-24  Roland McGrath  <roland@redhat.com>
78381         * configure.in: Remove config-name.h generation.
78382         * configure: Regenerated.
78383         * config-name.in: File removed.
78384         * scripts/config-uname.sh: New file.
78385         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78386         ($(objdir)config-name.h): New target.
78388         * sunrpc/rpc_parse.h: Avoid nested comment.
78390 2010-08-24  Richard Henderson  <rth@redhat.com>
78391             Ulrich Drepper  <drepper@redhat.com>
78392             H.J. Lu  <hongjiu.lu@intel.com>
78394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78396         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78397         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78398         _mm_alignr_epi8 with _mm_loadu_si128.
78399         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78400         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78401         (__m128i_shift_right): Removed.
78402         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78403         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78404         * sysdeps/x86_64/multiarch/varshift.h: New file.
78405         * sysdeps/x86_64/multiarch/varshift.S: New file.
78407 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78409         * configure.in: Move assembler checks to before sysdep dir checking.
78411 2010-08-20  Petr Baudis  <pasky@suse.cz>
78413         * LICENSES: Sync the sunrpc license.
78415 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78417         * sunrpc/auth_des.c: Update copyright notice once again.
78418         * sunrpc/auth_none.c: Likewise.
78419         * sunrpc/auth_unix.c: Likewise.
78420         * sunrpc/authdes_prot.c: Likewise.
78421         * sunrpc/authuxprot.c: Likewise.
78422         * sunrpc/bindrsvprt.c: Likewise.
78423         * sunrpc/clnt_gen.c: Likewise.
78424         * sunrpc/clnt_perr.c: Likewise.
78425         * sunrpc/clnt_raw.c: Likewise.
78426         * sunrpc/clnt_simp.c: Likewise.
78427         * sunrpc/clnt_tcp.c: Likewise.
78428         * sunrpc/clnt_udp.c: Likewise.
78429         * sunrpc/clnt_unix.c: Likewise.
78430         * sunrpc/des_crypt.c: Likewise.
78431         * sunrpc/des_soft.c: Likewise.
78432         * sunrpc/get_myaddr.c: Likewise.
78433         * sunrpc/getrpcport.c: Likewise.
78434         * sunrpc/key_call.c: Likewise.
78435         * sunrpc/key_prot.c: Likewise.
78436         * sunrpc/openchild.c: Likewise.
78437         * sunrpc/pm_getmaps.c: Likewise.
78438         * sunrpc/pm_getport.c: Likewise.
78439         * sunrpc/pmap_clnt.c: Likewise.
78440         * sunrpc/pmap_prot.c: Likewise.
78441         * sunrpc/pmap_prot2.c: Likewise.
78442         * sunrpc/pmap_rmt.c: Likewise.
78443         * sunrpc/rpc/auth.h: Likewise.
78444         * sunrpc/rpc/auth_unix.h: Likewise.
78445         * sunrpc/rpc/clnt.h: Likewise.
78446         * sunrpc/rpc/des_crypt.h: Likewise.
78447         * sunrpc/rpc/key_prot.h: Likewise.
78448         * sunrpc/rpc/netdb.h: Likewise.
78449         * sunrpc/rpc/pmap_clnt.h: Likewise.
78450         * sunrpc/rpc/pmap_prot.h: Likewise.
78451         * sunrpc/rpc/pmap_rmt.h: Likewise.
78452         * sunrpc/rpc/rpc.h: Likewise.
78453         * sunrpc/rpc/rpc_des.h: Likewise.
78454         * sunrpc/rpc/rpc_msg.h: Likewise.
78455         * sunrpc/rpc/svc.h: Likewise.
78456         * sunrpc/rpc/svc_auth.h: Likewise.
78457         * sunrpc/rpc/types.h: Likewise.
78458         * sunrpc/rpc/xdr.h: Likewise.
78459         * sunrpc/rpc_clntout.c: Likewise.
78460         * sunrpc/rpc_cmsg.c: Likewise.
78461         * sunrpc/rpc_common.c: Likewise.
78462         * sunrpc/rpc_cout.c: Likewise.
78463         * sunrpc/rpc_dtable.c: Likewise.
78464         * sunrpc/rpc_hout.c: Likewise.
78465         * sunrpc/rpc_main.c: Likewise.
78466         * sunrpc/rpc_parse.c: Likewise.
78467         * sunrpc/rpc_parse.h: Likewise.
78468         * sunrpc/rpc_prot.c: Likewise.
78469         * sunrpc/rpc_sample.c: Likewise.
78470         * sunrpc/rpc_scan.c: Likewise.
78471         * sunrpc/rpc_scan.h: Likewise.
78472         * sunrpc/rpc_svcout.c: Likewise.
78473         * sunrpc/rpc_tblout.c: Likewise.
78474         * sunrpc/rpc_util.c: Likewise.
78475         * sunrpc/rpc_util.h: Likewise.
78476         * sunrpc/rpcinfo.c: Likewise.
78477         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78478         * sunrpc/rpcsvc/key_prot.x: Likewise.
78479         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78480         * sunrpc/rpcsvc/mount.x: Likewise.
78481         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78482         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78483         * sunrpc/rpcsvc/rex.x: Likewise.
78484         * sunrpc/rpcsvc/rstat.x: Likewise.
78485         * sunrpc/rpcsvc/rusers.x: Likewise.
78486         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78487         * sunrpc/rpcsvc/spray.x: Likewise.
78488         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78489         * sunrpc/rtime.c: Likewise.
78490         * sunrpc/svc.c: Likewise.
78491         * sunrpc/svc_auth.c: Likewise.
78492         * sunrpc/svc_authux.c: Likewise.
78493         * sunrpc/svc_raw.c: Likewise.
78494         * sunrpc/svc_run.c: Likewise.
78495         * sunrpc/svc_simple.c: Likewise.
78496         * sunrpc/svc_tcp.c: Likewise.
78497         * sunrpc/svc_udp.c: Likewise.
78498         * sunrpc/svc_unix.c: Likewise.
78499         * sunrpc/svcauth_des.c: Likewise.
78500         * sunrpc/xcrypt.c: Likewise.
78501         * sunrpc/xdr.c: Likewise.
78502         * sunrpc/xdr_array.c: Likewise.
78503         * sunrpc/xdr_float.c: Likewise.
78504         * sunrpc/xdr_mem.c: Likewise.
78505         * sunrpc/xdr_rec.c: Likewise.
78506         * sunrpc/xdr_ref.c: Likewise.
78507         * sunrpc/xdr_sizeof.c: Likewise.
78508         * sunrpc/xdr_stdio.c: Likewise.
78510         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78511         handling.
78513 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78515         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78517 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78519         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78520         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78521         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78522         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78523         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78524         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78525         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78526         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78529         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78530         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78531         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78532         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78534 2010-07-26  Anton Blanchard  <anton@samba.org>
78536         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78537         * malloc/arena.c (heap_trim): Likewise.
78539 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78541         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78542         here.  Not...
78543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78544         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78546 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78548         * sysdeps/i386/elf/Makefile: New file.
78550 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78552         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78553         from fanotify_init.
78554         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78557 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78559         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78560         of strncasecmp_l.
78561         * sysdeps/multiarch/strcmp.S: Likewise.
78563 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78565         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78566         strncase_l-nonascii.
78567         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78568         Add strncase_l-ssse3.
78569         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78570         * sysdeps/x86_64/strcmp.S: Likewise.
78571         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78572         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78573         * sysdeps/x86_64/strncase.S: New file.
78574         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78575         * sysdeps/x86_64/strncase_l.S: New file.
78576         * string/Makefile (strop-tests): Add strncasecmp.
78577         * string/test-strncasecmp.c: New file.
78579         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78580         warning.
78582         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78583         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78585 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78587         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78589 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78591         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78592         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78593         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78595 2010-05-01  Alan Modra  <amodra@gmail.com>
78597         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78598         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78599         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78600         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78601         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78602         tidying.  Don't tail-call __sigjmp_save for static lib.
78603         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78604         save location.
78605         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78606         (CALL_MCOUNT): Add eh info, and nop after bl.
78607         (TAIL_CALL_SYSCALL_ERROR): New macro.
78608         (PSEUDO_RET): Use it.
78609         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78610         Correct save location of integer regs and cr.
78611         (_dl_profile_resolve): Correct cr save location.  Delete nops
78612         after bl when SHARED.  Reduce cfi size a little by better
78613         placement of cfi directives.
78614         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78615         make a stack frame.  Instead use parm save area as a temp.
78616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78617         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78619         Don't make a stack frame for parent, use parm save area.
78620         Increase child stack frame to 112 bytes.  Don't save unused reg,
78621         and adjust reg usage.  Set up cfi on error recovery and
78622         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78624         (__makecontext): Add dummy nop after jump to exit.
78625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78626         Use correct parm save area and cr save, reduce stack frame.
78627         Correct cfi for possible PSEUDO_RET frame setup.
78628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78629         Branch to local label emitted by PSEUDO_RET rather than
78630         __syscall_error.
78632 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78634         [BZ #11904]
78635         * locale/programs/locale.c (print_assignment): New function.
78636         (show_locale_vars): Use it.
78638 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78640         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78641         field.
78642         (struct statfs64): Likewise.
78643         (_STATFS_F_FLAGS): Define.
78644         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78645         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78646         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78647         (ST_VALID): Define locally.
78648         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78649         __statvfs_getflags, use the provided value.
78650         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78651         __ASSUME_STATFS_F_FLAGS.
78653         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78655         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78656         Add sys/fanotify.h.
78657         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78658         fanotify_mask for GLIBC_2.13.
78659         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78660         fanotify_init and fanotify_mark.
78661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78662         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78664         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78665         Add prlimit.
78666         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78667         prlimit64 for GLIBC_2.13.
78668         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78669         prlimit64.
78670         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78671         syscall.
78672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78674         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78675         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78676         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78677         add prlimit alias.
78678         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78680         [BZ #11903]
78681         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78682         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78684         * nss/Makefile: Add rules to build and run tst-nss-test1.
78685         * shlib-versions: Add entry for libnss_test1.
78686         * nss/nss_test1.c: New file.
78687         * nss/tst-nss-test1.c: New file.
78689         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78690         (__nss_configure_lookup): Set appropriate entry in
78691         __nss_configure_lookup to true.
78692         * nss/nsswitch.h: Define enum with indeces of databases in
78693         databases and __nss_database_custom arrays.  Declare
78694         __nss_database_custom.
78695         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78696         to avoid using nscd when custom rules are installed.
78697         * nss/getXXbyYY_r.c: Likewise.
78698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78700         * nss/nss_files/files-parse.c: Whitespace fixes.
78702 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78704         [BZ #11883]
78705         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78706         * posix/fnmatch_loop.c: Likewise.
78708 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78710         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78711         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78712         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78713         * Versions.def [GLIBC_2.13]: Add.
78715 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78717         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78718         Also fail if tpwd after pwuid call is NULL.
78720 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78722         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78723         when converting to ms.
78725 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78727         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78728         EOPNOTSUPP errors with ENOTTY.
78729         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78730         EOPNOTSUPP errors with ENOTTY.
78732 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78734         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78735         Add strcasecmp_l-ssse3.
78736         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78737         strcasecmp.
78738         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78739         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78740         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78742 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78744         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78746         * string/Makefile (strop-tests): Add strcasecmp.
78747         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78748         strcasecmp_l-nonascii.
78749         (gen-as-const-headers): Add locale-defines.sym.
78750         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78751         * sysdeps/x86_64/strcasecmp.S: New file.
78752         * sysdeps/x86_64/strcasecmp_l.S: New file.
78753         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78754         * sysdeps/x86_64/locale-defines.sym: New file.
78755         * string/test-strcasecmp.c: New file.
78757         * string/test-strcasestr.c: Test both ends of the range of characters.
78758         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78760 2010-07-29  Roland McGrath  <roland@redhat.com>
78762         [BZ #11856]
78763         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78765 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78767         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78768         for ld.so.
78770 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78772         * manual/memory.texi (Malloc Tunable Parameters): Document
78773         M_PERTURB.
78775 2010-07-26  Roland McGrath  <roland@redhat.com>
78777         [BZ #11840]
78778         * configure.in (-fgnu89-inline check): Set and substitute
78779         gnu89_inline, not libc_cv_gnu89_inline.
78780         * configure: Regenerated.
78781         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78783 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78785         * string/test-strnlen.c: New file.
78786         * string/Makefile (strop-tests): Add strnlen.
78787         * string/tester.c (test_strnlen): Add a few more test cases.
78788         * string/tst-strlen.c: Better error reporting.
78790         * sysdeps/x86_64/strnlen.S: New file.
78792 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78794         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78795         lower-latency instructions.
78797 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78799         * string/test-strcasestr.c: New file.
78800         * string/test-strstr.c: New file.
78801         * string/Makefile (strop-tests): Add strstr and strcasestr.
78802         * string/str-two-way.h: Don't undefine MAX.
78803         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78805 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78808         strcasestr-nonascii.
78809         (CFLAGS-strcasestr-nonascii.c): Define.
78810         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78811         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78812         Remove unused attribute.
78814 2010-07-20  Roland McGrath  <roland@redhat.com>
78816         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78817         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78818         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78819         like LD_HWCAP_MASK can disable hwcaps.
78821 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78823         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78825 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78827         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78828         call in strcasestr.
78829         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78830         __strcasestr_sse42_nonascii.
78831         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78832         strcasestr-nonascii.c.
78833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78835 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78837         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78838         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78839         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78840         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78842 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78844         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78845         fcntl.
78847 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78849         [BZ #11577]
78850         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78851         dl_signal_cerror.
78853 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78855         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78856         _PC_PIPE_BUF using F_GETPIPE_SZ.
78858 2010-07-05  Roland McGrath  <roland@redhat.com>
78860         * manual/arith.texi (Rounding Functions): Fix rint description
78861         implicit in round description.
78863 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78865         * elf/Makefile: Fix linking for a few tests to make recent linker
78866         happy.
78868 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78870         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78871         $(common-objpfx)libc_nonshared.a.
78873 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78875         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78876         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78877         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78878         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78879         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78880         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78881         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78882         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78897         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78898         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78899         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78900         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78901         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78902         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78903         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78904         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78905         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78906         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78907         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78908         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78924 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78926         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78927         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78928         * string/memmove.c (memmove): Renamed to ...
78929         (MEMMOVE): ...this.  Default to memmove.
78930         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78931         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78932         (END_CHK): Define.
78933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78934         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78935         mempcpy-ssse3-back memmove-ssse3-back.
78936         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78937         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78939         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78940         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78941         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78942         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78943         * sysdeps/x86_64/multiarch/memmove.c: New file.
78944         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78945         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78946         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78947         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78948         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78949         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78950         Define.
78951         (index_Fast_Copy_Backward): Define.
78952         (HAS_ARCH_FEATURE): Define.
78953         (HAS_FAST_REP_STRING): Define.
78954         (HAS_FAST_COPY_BACKWARD): Define.
78956 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78958         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78959         Restore proper fallback handling.
78961 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78963         [BZ #11701]
78964         * posix/group_member.c (__group_member): Correct checking loop.
78966         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78967         OOM in getpwuid_r correctly.  Return error number when the caller
78968         should return, otherwise -1.
78969         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78970         call returning > 0 value.
78971         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78973 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78975         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78976         libc_nonshared.a from targets in modules-names.
78978 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78980         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78981         requires it.
78983 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78985         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78986         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78987         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78988         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78990 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78992         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78994 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78996         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78997         and F_GETPIPE_SZ.
78998         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78999         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79002         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79003         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79005 2010-06-14  Roland McGrath  <roland@redhat.com>
79007         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79009 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79011         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79012         __REDIRECT followed by __THROW.
79013         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79014         * posix/getopt.h (getopt): Likewise.
79016 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79018         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79019         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79020         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79021         in AT_FLAGS.
79022         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79023         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79025 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79027         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79029 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79031         [BZ #11640]
79032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79033         Properly check family and model.
79035 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79037         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79039 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79041         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79043 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79045         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79046         symbol reference.
79048 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79050         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79051         symbol reference.
79053 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79055         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79056         and internal_recvmmsg.
79057         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79058         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79059         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79060         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79062         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79063         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79064         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79066 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79068         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79070 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79072         POWER7 optimizations.
79073         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79074         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79076 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79078         * version.h: Update for 2.13 development version.
79080 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79082         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79083         exceptions.  Return 0.
79085 2010-05-07  Roland McGrath  <roland@redhat.com>
79087         * elf/ldconfig.c (main): Add a const.
79089 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79091         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79092         (args_options): Add no-idn option.
79093         (ahosts_keys_int): Add idn_flags to ai_flags.
79094         (parse_option): Handle 'i' option to clear idn_flags.
79096         * malloc/malloc.c (_int_free): Possible race in the most recently
79097         added check.  Only act on the data if no current modification
79098         happened.
79100 See ChangeLog.17 for earlier changes.